cosy-jekyll 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,156 @@
1
+ //
2
+ // Reset CSS
3
+ // Adapted from http://github.com/necolas/normalize.css
4
+ // --------------------------------------------------
5
+
6
+ *, *:after, *:before {
7
+ -webkit-box-sizing: border-box;
8
+ -moz-box-sizing: border-box;
9
+ box-sizing: border-box;
10
+ }
11
+
12
+ // Display in IE6-9 and FF3
13
+ // -------------------------
14
+ article,
15
+ aside,
16
+ details,
17
+ figcaption,
18
+ figure,
19
+ footer,
20
+ header,
21
+ hgroup,
22
+ nav,
23
+ section {
24
+ display: block;
25
+ }
26
+
27
+ // Display block in IE6-9 and FF3
28
+ // -------------------------
29
+ audio,
30
+ canvas,
31
+ video {
32
+ display: inline-block;
33
+ *display: inline;
34
+ *zoom: 1;
35
+ }
36
+
37
+ // Prevents modern browsers from displaying 'audio' without controls
38
+ // -------------------------
39
+ audio:not([controls]) {
40
+ display: none;
41
+ }
42
+
43
+ // Base settings
44
+ // -------------------------
45
+ html {
46
+ font-size: 100%;
47
+ -webkit-text-size-adjust: 100%;
48
+ -ms-text-size-adjust: 100%;
49
+ }
50
+ // Focus states
51
+ a:focus {
52
+ @include tab-focus();
53
+ }
54
+ // Hover & Active
55
+ a:hover,
56
+ a:active {
57
+ outline: 0;
58
+ }
59
+
60
+ // Prevents sub and sup affecting line-height in all browsers
61
+ // -------------------------
62
+ sub,
63
+ sup {
64
+ position: relative;
65
+ font-size: 75%;
66
+ line-height: 0;
67
+ vertical-align: baseline;
68
+ }
69
+ sup {
70
+ top: -0.5em;
71
+ }
72
+ sub {
73
+ bottom: -0.25em;
74
+ }
75
+
76
+ // Blockquote
77
+ // -------------------------
78
+ blockquote {
79
+ margin: 0;
80
+ }
81
+
82
+ // Img border in a's and image quality
83
+ // -------------------------
84
+ img,video {
85
+ /* Responsive images (ensure images don't scale beyond their parents) */
86
+ max-width: 100%; /* Part 1: Set a maxium relative to the parent */
87
+ width: auto\9; /* IE7-8 need help adjusting responsive images */
88
+ height: auto; /* Part 2: Scale the height according to the width, otherwise you get stretching */
89
+
90
+ vertical-align: middle;
91
+ border: 0;
92
+ -ms-interpolation-mode: bicubic;
93
+ }
94
+
95
+ // Full width tables
96
+ // -------------------------
97
+ table {
98
+ width: 100%;
99
+ }
100
+
101
+ // Prevent max-width from affecting Google Maps
102
+ #map_canvas img,
103
+ .google-maps img {
104
+ max-width: none;
105
+ }
106
+
107
+ // Forms
108
+ // -------------------------
109
+ // Font size in all browsers, margin changes, misc consistency
110
+ button,
111
+ input,
112
+ select,
113
+ textarea {
114
+ margin: 0;
115
+ font-size: 100%;
116
+ vertical-align: middle;
117
+ }
118
+ button,
119
+ input {
120
+ *overflow: visible; // Inner spacing ie IE6/7
121
+ line-height: normal; // FF3/4 have !important on line-height in UA stylesheet
122
+ }
123
+ button::-moz-focus-inner,
124
+ input::-moz-focus-inner { // Inner padding and border oddities in FF3/4
125
+ padding: 0;
126
+ border: 0;
127
+ }
128
+ button,
129
+ html input[type="button"], // Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls.
130
+ input[type="reset"],
131
+ input[type="submit"] {
132
+ -webkit-appearance: button; // Corrects inability to style clickable `input` types in iOS.
133
+ cursor: pointer; // Improves usability and consistency of cursor style between image-type `input` and others.
134
+ }
135
+ label,
136
+ select,
137
+ button,
138
+ input[type="button"],
139
+ input[type="reset"],
140
+ input[type="submit"],
141
+ input[type="radio"],
142
+ input[type="checkbox"] {
143
+ cursor: pointer; // Improves usability and consistency of cursor style between image-type `input` and others.
144
+ }
145
+ input[type="search"] { // Appearance in Safari/Chrome
146
+ @include box-sizing(content-box);
147
+ -webkit-appearance: textfield;
148
+ }
149
+ input[type="search"]::-webkit-search-decoration,
150
+ input[type="search"]::-webkit-search-cancel-button {
151
+ -webkit-appearance: none; // Inner-padding issues in Chrome OSX, Safari 5
152
+ }
153
+ textarea {
154
+ overflow: auto; // Remove vertical scrollbar in IE6-9
155
+ vertical-align: top; // Readability and alignment cross-browser
156
+ }
@@ -0,0 +1,74 @@
1
+ .highlight {
2
+ margin-bottom: 1.5em;
3
+ @include font(12);
4
+ color: #d0d0d0;
5
+ border: 1px solid darken($body-color, 5);
6
+ background-color: #272822;
7
+ @include rounded(3px);
8
+ pre {
9
+ position: relative;
10
+ margin: 0;
11
+ padding: 0.7em;
12
+ @include font-rem(14);
13
+ }
14
+ .lineno { padding-right: 24px; color: #8f908a;}
15
+ .hll { background-color: #49483e }
16
+ .c { color: #75715e } /* Comment */
17
+ .err { color: #960050; background-color: #1e0010 } /* Error */
18
+ .k { color: #66d9ef } /* Keyword */
19
+ .l { color: #ae81ff } /* Literal */
20
+ .n { color: #f8f8f2 } /* Name */
21
+ .o { color: #f92672 } /* Operator */
22
+ .p { color: #f8f8f2 } /* Punctuation */
23
+ .cm { color: #75715e } /* Comment.Multiline */
24
+ .cp { color: #75715e } /* Comment.Preproc */
25
+ .c1 { color: #75715e } /* Comment.Single */
26
+ .cs { color: #75715e } /* Comment.Special */
27
+ .ge { font-style: italic } /* Generic.Emph */
28
+ .gs { font-weight: bold } /* Generic.Strong */
29
+ .kc { color: #66d9ef } /* Keyword.Constant */
30
+ .kd { color: #66d9ef } /* Keyword.Declaration */
31
+ .kn { color: #f92672 } /* Keyword.Namespace */
32
+ .kp { color: #66d9ef } /* Keyword.Pseudo */
33
+ .kr { color: #66d9ef } /* Keyword.Reserved */
34
+ .kt { color: #66d9ef } /* Keyword.Type */
35
+ .ld { color: #e6db74 } /* Literal.Date */
36
+ .m { color: #ae81ff } /* Literal.Number */
37
+ .s { color: #e6db74 } /* Literal.String */
38
+ .na { color: #a6e22e } /* Name.Attribute */
39
+ .nb { color: #f8f8f2 } /* Name.Builtin */
40
+ .nc { color: #a6e22e } /* Name.Class */
41
+ .no { color: #66d9ef } /* Name.Constant */
42
+ .nd { color: #a6e22e } /* Name.Decorator */
43
+ .ni { color: #f8f8f2 } /* Name.Entity */
44
+ .ne { color: #a6e22e } /* Name.Exception */
45
+ .nf { color: #a6e22e } /* Name.Function */
46
+ .nl { color: #f8f8f2 } /* Name.Label */
47
+ .nn { color: #f8f8f2 } /* Name.Namespace */
48
+ .nx { color: #a6e22e } /* Name.Other */
49
+ .py { color: #f8f8f2 } /* Name.Property */
50
+ .nt { color: #f92672 } /* Name.Tag */
51
+ .nv { color: #f8f8f2 } /* Name.Variable */
52
+ .ow { color: #f92672 } /* Operator.Word */
53
+ .w { color: #f8f8f2 } /* Text.Whitespace */
54
+ .mf { color: #ae81ff } /* Literal.Number.Float */
55
+ .mh { color: #ae81ff } /* Literal.Number.Hex */
56
+ .mi { color: #ae81ff } /* Literal.Number.Integer */
57
+ .mo { color: #ae81ff } /* Literal.Number.Oct */
58
+ .sb { color: #e6db74 } /* Literal.String.Backtick */
59
+ .sc { color: #e6db74 } /* Literal.String.Char */
60
+ .sd { color: #e6db74 } /* Literal.String.Doc */
61
+ .s2 { color: #e6db74 } /* Literal.String.Double */
62
+ .se { color: #ae81ff } /* Literal.String.Escape */
63
+ .sh { color: #e6db74 } /* Literal.String.Heredoc */
64
+ .si { color: #e6db74 } /* Literal.String.Interpol */
65
+ .sx { color: #e6db74 } /* Literal.String.Other */
66
+ .sr { color: #e6db74 } /* Literal.String.Regex */
67
+ .s1 { color: #e6db74 } /* Literal.String.Single */
68
+ .ss { color: #e6db74 } /* Literal.String.Symbol */
69
+ .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */
70
+ .vc { color: #f8f8f2 } /* Name.Variable.Class */
71
+ .vg { color: #f8f8f2 } /* Name.Variable.Global */
72
+ .vi { color: #f8f8f2 } /* Name.Variable.Instance */
73
+ .il { color: #ae81ff } /* Literal.Number.Integer.Long */
74
+ }
@@ -0,0 +1,56 @@
1
+ // Selection
2
+ // --------------------------------------------------
3
+ ::-moz-selection {
4
+ background-color: lighten($base-color, 65%);
5
+ color: $base-color;
6
+ text-shadow: none;
7
+ }
8
+ ::selection {
9
+ background-color: lighten($base-color, 65%);
10
+ color: $base-color;
11
+ text-shadow: none;
12
+ }
13
+
14
+ // Global Classes
15
+ // --------------------------------------------------
16
+ .wrap {
17
+ margin: 0 auto;
18
+ }
19
+ .all-caps {
20
+ text-transform: uppercase;
21
+ }
22
+ .image-left {
23
+ float: none;
24
+ @media #{$medium} {
25
+ float: left;
26
+ }
27
+ }
28
+ .image-right {
29
+ float: none;
30
+ @media #{$medium} {
31
+ float: right;
32
+ }
33
+ }
34
+ .unstyled-list {
35
+ list-style: none;
36
+ margin-left: 0;
37
+ padding-left: 0;
38
+ li {
39
+ list-style-type: none;
40
+ }
41
+ }
42
+ .inline-list {
43
+ list-style: none;
44
+ margin-left: 0;
45
+ padding-left: 0;
46
+ li {
47
+ list-style-type: none;
48
+ display: inline;
49
+ }
50
+ }
51
+
52
+ // Global Transition
53
+ // ---------------------------------------------------
54
+ b, i, strong, em, blockquote, p, q, span, figure, img, h1, h2, header, input, a {
55
+ @include transition(all .2s ease);
56
+ }
@@ -0,0 +1,125 @@
1
+ // Body
2
+ // --------------------------------------------------
3
+ body {
4
+ font-family: $base-font;
5
+ color: $text-color;
6
+ }
7
+
8
+ // Headings
9
+ // --------------------------------------------------
10
+ h1, h2, h3, h4, h5, h6 {
11
+ font-family: $heading-font;
12
+ }
13
+ h1 {
14
+ @include font-rem(24);
15
+ margin: 12px 0;
16
+ @media #{$medium} {
17
+ @include font-rem(32);
18
+ }
19
+ }
20
+
21
+ // Links
22
+ // --------------------------------------------------
23
+ a {
24
+ text-decoration: none;
25
+ color: $link-color;
26
+ &:visited {
27
+ color: lighten($link-color, 20);
28
+ }
29
+ &:hover {
30
+ color: darken($link-color, 20);
31
+ }
32
+ &:focus {
33
+ outline: thin dotted;
34
+ color: darken($link-color, 20);
35
+ }
36
+ &:hover,
37
+ &:active {
38
+ outline: 0;
39
+ }
40
+ }
41
+
42
+ .link-arrow {
43
+ font-weight: 100;
44
+ text-decoration: underline;
45
+ font-style: normal;
46
+ }
47
+
48
+ // Figures
49
+ // --------------------------------------------------
50
+ figcaption {
51
+ padding-top: 10px;
52
+ @include font(14);
53
+ line-height: 1.3;
54
+ color: lighten($text-color, 10);
55
+ }
56
+
57
+ // Note text
58
+ // --------------------------------------------------
59
+ .notice {
60
+ margin-top: 1.5em;
61
+ padding: .5em 1em;
62
+ text-indent: 0;
63
+ @include font-rem(14);
64
+ background-color: $body-color;
65
+ border: 1px solid darken($body-color,20);
66
+ @include rounded(3px);
67
+ }
68
+
69
+ // Blockquotes
70
+ // --------------------------------------------------
71
+ blockquote {
72
+ font-family: $alt-font;
73
+ font-style: italic;
74
+ border-left: 8px solid $border-color;
75
+ padding-left: 20px;
76
+ @media #{$medium} {
77
+ margin-left: -28px;
78
+ }
79
+ }
80
+
81
+ // List items
82
+ // --------------------------------------------------
83
+ .entry-content li {
84
+ margin-bottom: 7px;
85
+ }
86
+
87
+ // Footnotes
88
+ // --------------------------------------------------
89
+ .entry-content .footnotes {
90
+ ol, li, p {
91
+ @include font-size(14);
92
+ }
93
+ }
94
+
95
+ // Code
96
+ // --------------------------------------------------
97
+ tt, code, kbd, samp, pre {
98
+ font-family: $code-font;
99
+ }
100
+ p,
101
+ li {
102
+ code {
103
+ @include font-rem(12);
104
+ line-height: 1.5;
105
+ margin: 0 2px;
106
+ padding: 0 5px;
107
+ border: 1px solid lighten($black, 90);
108
+ background-color: lighten($black, 95);
109
+ @include rounded(3px);
110
+ }
111
+ }
112
+ pre {
113
+ @include font-rem(12);
114
+ line-height: 1.5;
115
+ overflow-x: auto;
116
+ &::-webkit-scrollbar {
117
+ height: 12px;
118
+ background-color: #34362e;
119
+ border-radius: 0 0 4px 4px;
120
+ }
121
+ &::-webkit-scrollbar-thumb:horizontal {
122
+ background-color: #6a6d5d;
123
+ @include rounded(4px);
124
+ }
125
+ }
@@ -0,0 +1,45 @@
1
+ // Typography
2
+ // --------------------------------------------------
3
+
4
+ $base-font: Calibri, Arial, sans-serif;
5
+ $heading-font: $base-font;
6
+ $caption-font: $base-font;
7
+ $code-font: monospace;
8
+ $alt-font: serif;
9
+
10
+ $doc-font-size: 16;
11
+ $doc-line-height: 26;
12
+
13
+ // set-up the body font-size / line-height
14
+ body {
15
+ font-size: 0px + $doc-font-size;
16
+ }
17
+
18
+ // Colors
19
+ // --------------------------------------------------
20
+ $base-color: rgba(#222, 0.8);
21
+ $header-color: #000;
22
+ $header-active: #000;
23
+ $menu-top: white;
24
+ $menu-height: 60px;
25
+ $menu-overflow: #000;
26
+ $body-color: #e8e8e8;
27
+ $text-color: rgba(#222, 0.8);
28
+ $comp-color: complement(#222);
29
+ $border-color: lighten(#222, 60);
30
+ $white: #fff;
31
+ $black: #000;
32
+ $link-color: rgba(#222, 0.8);
33
+
34
+ $primary: #222;
35
+ $success: #5cb85c;
36
+ $warning: #dd8338;
37
+ $danger: #C64537;
38
+ $info: #308cbc;
39
+
40
+ // Screen Size
41
+ // --------------------------------------------------
42
+
43
+ $small: "only screen and (min-width: 30em)";
44
+ $medium: "only screen and (min-width: 48em)";
45
+ $large: "only screen and (min-width: 62.5em)";