cosy-jekyll-theme 1.0.3

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.
Files changed (50) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +22 -0
  3. data/_includes/browser-upgrade.html +1 -0
  4. data/_includes/disqus_comments.html +26 -0
  5. data/_includes/feed-footer.html +1 -0
  6. data/_includes/footer.html +33 -0
  7. data/_includes/gallery +21 -0
  8. data/_includes/head.html +42 -0
  9. data/_includes/header.html +63 -0
  10. data/_includes/icons.html +3 -0
  11. data/_includes/pagination.html +66 -0
  12. data/_includes/read-more.html +20 -0
  13. data/_includes/scripts.html +22 -0
  14. data/_layouts/home.html +25 -0
  15. data/_layouts/page.html +37 -0
  16. data/_layouts/post.html +60 -0
  17. data/_sass/_animations.scss +327 -0
  18. data/_sass/_coderay.scss +66 -0
  19. data/_sass/_elements.scss +156 -0
  20. data/_sass/_grid.scss +47 -0
  21. data/_sass/_mixins.scss +381 -0
  22. data/_sass/_page.scss +649 -0
  23. data/_sass/_reset.scss +156 -0
  24. data/_sass/_rouge.scss +73 -0
  25. data/_sass/_site.scss +56 -0
  26. data/_sass/_typography.scss +125 -0
  27. data/_sass/_variables.scss +46 -0
  28. data/_sass/vendor/font-awesome/_animated.scss +34 -0
  29. data/_sass/vendor/font-awesome/_bordered-pulled.scss +25 -0
  30. data/_sass/vendor/font-awesome/_core.scss +12 -0
  31. data/_sass/vendor/font-awesome/_fixed-width.scss +6 -0
  32. data/_sass/vendor/font-awesome/_icons.scss +697 -0
  33. data/_sass/vendor/font-awesome/_larger.scss +13 -0
  34. data/_sass/vendor/font-awesome/_list.scss +19 -0
  35. data/_sass/vendor/font-awesome/_mixins.scss +26 -0
  36. data/_sass/vendor/font-awesome/_path.scss +15 -0
  37. data/_sass/vendor/font-awesome/_rotated-flipped.scss +20 -0
  38. data/_sass/vendor/font-awesome/_stacked.scss +20 -0
  39. data/_sass/vendor/font-awesome/_variables.scss +708 -0
  40. data/_sass/vendor/font-awesome/font-awesome.scss +17 -0
  41. data/assets/css/main.scss +26 -0
  42. data/assets/fonts/FontAwesome.otf +0 -0
  43. data/assets/fonts/fontawesome-webfont.eot +0 -0
  44. data/assets/fonts/fontawesome-webfont.svg +655 -0
  45. data/assets/fonts/fontawesome-webfont.ttf +0 -0
  46. data/assets/fonts/fontawesome-webfont.woff +0 -0
  47. data/assets/fonts/fontawesome-webfont.woff2 +0 -0
  48. data/assets/js/fitvids.min.js +1 -0
  49. data/assets/js/main.js +20 -0
  50. metadata +134 -0
@@ -0,0 +1,327 @@
1
+ .animated{-webkit-animation-fill-mode:both;-moz-animation-fill-mode:both;-ms-animation-fill-mode:both;-o-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:1s;-moz-animation-duration:1s;-ms-animation-duration:1s;-o-animation-duration:1s;animation-duration:1s;}.animated.hinge{-webkit-animation-duration:2s;-moz-animation-duration:2s;-ms-animation-duration:2s;-o-animation-duration:2s;animation-duration:2s;}
2
+
3
+
4
+ // Fade in
5
+ // --------------------------------------------------
6
+
7
+ @-webkit-keyframes fadeIn {
8
+ 0% {opacity: 0;}
9
+ 100% {opacity: 1;}
10
+ }
11
+ @-moz-keyframes fadeIn {
12
+ 0% {opacity: 0;}
13
+ 100% {opacity: 1;}
14
+ }
15
+ @-o-keyframes fadeIn {
16
+ 0% {opacity: 0;}
17
+ 100% {opacity: 1;}
18
+ }
19
+ @keyframes fadeIn {
20
+ 0% {opacity: 0;}
21
+ 100% {opacity: 1;}
22
+ }
23
+ .fadeIn {
24
+ -webkit-animation-name: fadeIn;
25
+ -moz-animation-name: fadeIn;
26
+ -o-animation-name: fadeIn;
27
+ animation-name: fadeIn;
28
+ }
29
+
30
+ @-webkit-keyframes fadeInDown {
31
+ 0% {
32
+ opacity: 0;
33
+ -webkit-transform: translateY(-20px);
34
+ }
35
+ 100% {
36
+ opacity: 1;
37
+ -webkit-transform: translateY(0);
38
+ }
39
+ }
40
+ @-moz-keyframes fadeInDown {
41
+ 0% {
42
+ opacity: 0;
43
+ -moz-transform: translateY(-20px);
44
+ }
45
+ 100% {
46
+ opacity: 1;
47
+ -moz-transform: translateY(0);
48
+ }
49
+ }
50
+ @-o-keyframes fadeInDown {
51
+ 0% {
52
+ opacity: 0;
53
+ -o-transform: translateY(-20px);
54
+ }
55
+ 100% {
56
+ opacity: 1;
57
+ -o-transform: translateY(0);
58
+ }
59
+ }
60
+ @keyframes fadeInDown {
61
+ 0% {
62
+ opacity: 0;
63
+ transform: translateY(-20px);
64
+ }
65
+ 100% {
66
+ opacity: 1;
67
+ transform: translateY(0);
68
+ }
69
+ }
70
+ .fadeInDown {
71
+ -webkit-animation-name: fadeInDown;
72
+ -moz-animation-name: fadeInDown;
73
+ -o-animation-name: fadeInDown;
74
+ animation-name: fadeInDown;
75
+ }
76
+
77
+ @-webkit-keyframes fadeInDownBig {
78
+ 0% {
79
+ opacity: 0;
80
+ -webkit-transform: translateY(-2000px);
81
+ }
82
+ 100% {
83
+ opacity: 1;
84
+ -webkit-transform: translateY(0);
85
+ }
86
+ }
87
+ @-moz-keyframes fadeInDownBig {
88
+ 0% {
89
+ opacity: 0;
90
+ -moz-transform: translateY(-2000px);
91
+ }
92
+ 100% {
93
+ opacity: 1;
94
+ -moz-transform: translateY(0);
95
+ }
96
+ }
97
+ @-o-keyframes fadeInDownBig {
98
+ 0% {
99
+ opacity: 0;
100
+ -o-transform: translateY(-2000px);
101
+ }
102
+ 100% {
103
+ opacity: 1;
104
+ -o-transform: translateY(0);
105
+ }
106
+ }
107
+ @keyframes fadeInDownBig {
108
+ 0% {
109
+ opacity: 0;
110
+ transform: translateY(-2000px);
111
+ }
112
+ 100% {
113
+ opacity: 1;
114
+ transform: translateY(0);
115
+ }
116
+ }
117
+ .fadeInDownBig {
118
+ -webkit-animation-name: fadeInDownBig;
119
+ -moz-animation-name: fadeInDownBig;
120
+ -o-animation-name: fadeInDownBig;
121
+ animation-name: fadeInDownBig;
122
+ }
123
+
124
+
125
+ // Bounce
126
+ // --------------------------------------------------
127
+
128
+ @-webkit-keyframes bounceIn {
129
+ 0% {
130
+ opacity: 0;
131
+ -webkit-transform: scale(.3);
132
+ }
133
+ 50% {
134
+ opacity: 1;
135
+ -webkit-transform: scale(1.05);
136
+ }
137
+ 70% {
138
+ -webkit-transform: scale(.9);
139
+ }
140
+ 100% {
141
+ -webkit-transform: scale(1);
142
+ }
143
+ }
144
+ @-moz-keyframes bounceIn {
145
+ 0% {
146
+ opacity: 0;
147
+ -moz-transform: scale(.3);
148
+ }
149
+ 50% {
150
+ opacity: 1;
151
+ -moz-transform: scale(1.05);
152
+ }
153
+ 70% {
154
+ -moz-transform: scale(.9);
155
+ }
156
+ 100% {
157
+ -moz-transform: scale(1);
158
+ }
159
+ }
160
+ @-o-keyframes bounceIn {
161
+ 0% {
162
+ opacity: 0;
163
+ -o-transform: scale(.3);
164
+ }
165
+ 50% {
166
+ opacity: 1;
167
+ -o-transform: scale(1.05);
168
+ }
169
+ 70% {
170
+ -o-transform: scale(.9);
171
+ }
172
+ 100% {
173
+ -o-transform: scale(1);
174
+ }
175
+ }
176
+ @keyframes bounceIn {
177
+ 0% {
178
+ opacity: 0;
179
+ transform: scale(.3);
180
+ }
181
+ 50% {
182
+ opacity: 1;
183
+ transform: scale(1.05);
184
+ }
185
+ 70% {
186
+ transform: scale(.9);
187
+ }
188
+ 100% {
189
+ transform: scale(1);
190
+ }
191
+ }
192
+ .bounceIn {
193
+ -webkit-animation-name: bounceIn;
194
+ -moz-animation-name: bounceIn;
195
+ -o-animation-name: bounceIn;
196
+ animation-name: bounceIn;
197
+ }
198
+ @-webkit-keyframes bounceInDown {
199
+ 0% {
200
+ opacity: 0;
201
+ -webkit-transform: translateY(-2000px);
202
+ }
203
+
204
+ 60% {
205
+ opacity: 1;
206
+ -webkit-transform: translateY(30px);
207
+ }
208
+
209
+ 80% {
210
+ -webkit-transform: translateY(-10px);
211
+ }
212
+
213
+ 100% {
214
+ -webkit-transform: translateY(0);
215
+ }
216
+ }
217
+
218
+ @-moz-keyframes bounceInDown {
219
+ 0% {
220
+ opacity: 0;
221
+ -moz-transform: translateY(-2000px);
222
+ }
223
+
224
+ 60% {
225
+ opacity: 1;
226
+ -moz-transform: translateY(30px);
227
+ }
228
+
229
+ 80% {
230
+ -moz-transform: translateY(-10px);
231
+ }
232
+
233
+ 100% {
234
+ -moz-transform: translateY(0);
235
+ }
236
+ }
237
+
238
+ @-o-keyframes bounceInDown {
239
+ 0% {
240
+ opacity: 0;
241
+ -o-transform: translateY(-2000px);
242
+ }
243
+
244
+ 60% {
245
+ opacity: 1;
246
+ -o-transform: translateY(30px);
247
+ }
248
+
249
+ 80% {
250
+ -o-transform: translateY(-10px);
251
+ }
252
+
253
+ 100% {
254
+ -o-transform: translateY(0);
255
+ }
256
+ }
257
+
258
+ @keyframes bounceInDown {
259
+ 0% {
260
+ opacity: 0;
261
+ transform: translateY(-2000px);
262
+ }
263
+
264
+ 60% {
265
+ opacity: 1;
266
+ transform: translateY(30px);
267
+ }
268
+
269
+ 80% {
270
+ transform: translateY(-10px);
271
+ }
272
+
273
+ 100% {
274
+ transform: translateY(0);
275
+ }
276
+ }
277
+
278
+ .bounceInDown {
279
+ -webkit-animation-name: bounceInDown;
280
+ -moz-animation-name: bounceInDown;
281
+ -o-animation-name: bounceInDown;
282
+ animation-name: bounceInDown;
283
+ }
284
+
285
+
286
+ // Drop
287
+ // --------------------------------------------------
288
+
289
+ @-webkit-keyframes drop {
290
+ 0% {
291
+ -webkit-transform: translateY(-500px);
292
+ }
293
+ 100% {
294
+ -webkit-transform: translateY(0);
295
+ }
296
+ }
297
+ @-moz-keyframes drop {
298
+ 0% {
299
+ -moz-transform: translateY(-500px);
300
+ }
301
+ 100% {
302
+ -moz-transform: translateY(0);
303
+ }
304
+ }
305
+ @-o-keyframes drop {
306
+ 0% {
307
+ -o-transform: translateY(-500px);
308
+ }
309
+ 100% {
310
+ -o-transform: translateY(0);
311
+ }
312
+ }
313
+ @keyframes drop {
314
+ 0% {
315
+ transform: translateY(-500px);
316
+ }
317
+ 100% {
318
+ transform: translateY(0);
319
+ }
320
+ }
321
+
322
+ .drop {
323
+ -webkit-animation-name: drop;
324
+ -moz-animation-name: drop;
325
+ -o-animation-name: drop;
326
+ animation-name: drop;
327
+ }
@@ -0,0 +1,66 @@
1
+ .CodeRay {
2
+ font-family: $code-font;
3
+ @include font(12);
4
+ color: #d0d0d0;
5
+ margin-bottom: 1.5em;
6
+ @include rounded(3px);
7
+ }
8
+
9
+ .CodeRay .code pre {
10
+ margin: 0;
11
+ padding: 1em;
12
+ background-color: #272822;
13
+ border: 1px solid darken($body-color, 5);
14
+ }
15
+
16
+ div.CodeRay { }
17
+ span.CodeRay { white-space: pre; border: 0px; padding: 2px }
18
+
19
+ table.CodeRay { border-collapse: collapse; width: 100%; padding: 2px }
20
+ table.CodeRay td {
21
+ padding: 1em 0.5em;
22
+ vertical-align: top;
23
+ }
24
+
25
+ .CodeRay .line-numbers, .CodeRay .no {
26
+ color: #8f908a;
27
+ text-align: right;
28
+ }
29
+
30
+ .CodeRay .line-numbers a {
31
+ color: #8f908a;
32
+ }
33
+
34
+ .CodeRay .line-numbers tt { font-weight: bold }
35
+ .CodeRay .line-numbers .highlighted { color: red }
36
+ .CodeRay .line { display: block; float: left; width: 100%; }
37
+ .CodeRay span.line-numbers { padding: 0 24px 0 4px; }
38
+ .CodeRay .code { width: 100% }
39
+
40
+ ol.CodeRay { font-size: 10pt }
41
+ ol.CodeRay li { white-space: pre }
42
+
43
+ .CodeRay .code pre { overflow: auto }
44
+ .CodeRay .debug { color:white ! important; background:blue ! important; }
45
+
46
+ .CodeRay .doctype,
47
+ .CodeRay .key,
48
+ .CodeRay .instance-variable { color: #f8f8f2; }
49
+ .CodeRay .attribute-name { color: #a6e22e;}
50
+ .CodeRay .symbol,
51
+ .CodeRay .integer,
52
+ .CodeRay .float { color: #ff658b; }
53
+ .CodeRay .string { color: #2dc900; }
54
+ .CodeRay .keyword { color: #66d9ef; }
55
+ .CodeRay .function,
56
+ .CodeRay .class { color: #a6e22e; }
57
+ .CodeRay .regexp,
58
+ .CodeRay .constant,
59
+ .CodeRay .tag { color: #f92672; }
60
+ .CodeRay .modifier,
61
+ .CodeRay .predefined-constant { color: #ff84e4; }
62
+ .CodeRay .comment { color: #75715e; }
63
+ .CodeRay .error { color: #ecc; }
64
+ .CodeRay .content { color: #e6db74; }
65
+ .CodeRay .delimiter { color: #e6db74; }
66
+ .CodeRay .inline { color: #e6db74; }
@@ -0,0 +1,156 @@
1
+ hr {
2
+ display: block;
3
+ margin: 1em 0;
4
+ padding: 0;
5
+ height: 1px;
6
+ border: 0;
7
+ border-top: 1px solid #ccc;
8
+ border-bottom: 1px solid #fff;
9
+ }
10
+
11
+ // Figures and images
12
+ // --------------------------------------------------
13
+ figure {
14
+ margin: 0;
15
+ padding-top: 10px;
16
+ padding-bottom: 10px;
17
+ @include clearfix();
18
+ img {
19
+ margin-bottom: 10px;
20
+ }
21
+ a {
22
+ img {
23
+ @include translate(0, 0);
24
+ -webkit-transition-duration: 0.25s;
25
+ -moz-transition-duration: 0.25s;
26
+ -o-transition-duration: 0.25s;
27
+ &:hover {
28
+ @include translate(0, -5px);
29
+ @include box-shadow(0 0 10px fade($base-color, 20));
30
+ }
31
+ }
32
+ }
33
+ &.half {
34
+ @media #{$large} {
35
+ img {
36
+ width: 310px;
37
+ float: left;
38
+ margin-right: 10px;
39
+ }
40
+ figcaption {
41
+ clear: left;
42
+ }
43
+ }
44
+ }
45
+ &.third {
46
+ @media #{$large} {
47
+ img {
48
+ width: 200px;
49
+ float: left;
50
+ margin-right: 10px;
51
+ }
52
+ figcaption {
53
+ clear: left;
54
+ }
55
+ }
56
+ }
57
+ }
58
+ svg:not(:root) {
59
+ overflow: hidden;
60
+ }
61
+ figure.center{
62
+ text-align: center;
63
+ }
64
+
65
+ figure.center img{
66
+ float: none;
67
+ }
68
+ // Buttons
69
+ // --------------------------------------------------
70
+ .btn {
71
+ display: inline-block;
72
+ margin-bottom: 20px;
73
+ padding: 8px 20px;
74
+ @include font-rem(14);
75
+ background-color: $primary;
76
+ color: $white;
77
+ border-width: 2px !important;
78
+ border-style: solid !important;
79
+ border-color: $primary;
80
+ @include rounded(3px);
81
+ &:visited {
82
+ color: $white;
83
+ }
84
+ &:hover {
85
+ background-color: $white;
86
+ color: $primary;
87
+ }
88
+ }
89
+ .btn-inverse {
90
+ background-color: $white;
91
+ color: $primary;
92
+ border-color: $white;
93
+ &:visited {
94
+ color: $primary;
95
+ }
96
+ &:hover {
97
+ background-color: $primary;
98
+ color: $white;
99
+ }
100
+ }
101
+ .btn-success {
102
+ background-color: $success;
103
+ color: $white;
104
+ border-color: $success;
105
+ &:visited {
106
+ color: $white;
107
+ }
108
+ &:hover {
109
+ background-color: $white;
110
+ color: $success;
111
+ }
112
+ }
113
+ .btn-warning {
114
+ background-color: $warning;
115
+ color: $white;
116
+ border-color: $warning;
117
+ &:visited {
118
+ color: $white;
119
+ }
120
+ &:hover {
121
+ background-color: $white;
122
+ color: $warning;
123
+ }
124
+ }
125
+ .btn-danger {
126
+ background-color: $danger;
127
+ color: $white;
128
+ border-color: $danger;
129
+ &:visited {
130
+ color: $white;
131
+ }
132
+ &:hover {
133
+ background-color: $white;
134
+ color: $danger;
135
+ }
136
+ }
137
+ .btn-info {
138
+ background-color: $info;
139
+ color: $white;
140
+ border-color: $info;
141
+ &:visited {
142
+ color: $white;
143
+ }
144
+ &:hover {
145
+ background-color: $white;
146
+ color: $info;
147
+ }
148
+ }
149
+
150
+ // Well
151
+ // --------------------------------------------------
152
+ .well {
153
+ padding: 20px;
154
+ border: 1px solid $comp-color;
155
+ @include rounded(4px);
156
+ }
data/_sass/_grid.scss ADDED
@@ -0,0 +1,47 @@
1
+ // Defining number of columns in the grid.
2
+ // Common Values would be 12, 16 or 24
3
+ $width: 100%;
4
+ $def_grid: 12;
5
+ $margin: 0;
6
+
7
+ @mixin container(){
8
+ margin:0 auto;
9
+ width:$width;
10
+ }
11
+
12
+ // Works out the width of elements based
13
+ // on total number of columns and width
14
+ // number of columns being displayed.
15
+ // Removes 20px for margins
16
+ @mixin grid($grid:$def_grid,$cols:'',$float:left,$display:inline){
17
+ display:$display;
18
+ float:$float;
19
+ width:(100%/$grid * $cols) - ($margin * 2);
20
+ }
21
+
22
+ // Allows for padding before element
23
+ @mixin prefix($grid:$def_grid,$cols:''){
24
+ margin-left:(100%/$grid * $cols);
25
+ }
26
+ // Allows for padding after element
27
+ @mixin suffix($grid:$def_grid,$cols:''){
28
+ margin-right:(100%/$grid * $cols);
29
+ }
30
+ // Removes left margin
31
+ @mixin first(){
32
+ margin-left:0;
33
+ }
34
+ // Removes right margin
35
+ @mixin last(){
36
+ margin-right:0;
37
+ }
38
+
39
+ @mixin push($grid:$def_grid,$move:'') {
40
+ position:relative;
41
+ left:(100%/$grid * $move);
42
+ }
43
+
44
+ @mixin pull($grid:$def_grid,$move:''){
45
+ position:relative;
46
+ left:(100%/$grid * $move) * -1;
47
+ }