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.
- checksums.yaml +7 -0
- data/License +21 -0
- data/README.md +59 -0
- data/_includes/buy-me-coffee.html +6 -0
- data/_includes/feed-footer.html +1 -0
- data/_includes/footer.html +68 -0
- data/_includes/gallery +21 -0
- data/_includes/gitalk.html +4 -0
- data/_includes/head.html +56 -0
- data/_includes/header.html +42 -0
- data/_includes/pagination.html +66 -0
- data/_includes/read-more.html +11 -0
- data/_layouts/home.html +11 -0
- data/_layouts/page.html +16 -0
- data/_layouts/post.html +26 -0
- data/_sass/_404.scss +215 -0
- data/_sass/_animations.scss +327 -0
- data/_sass/_coderay.scss +66 -0
- data/_sass/_elements.scss +156 -0
- data/_sass/_gitalk.scss +1186 -0
- data/_sass/_grid.scss +47 -0
- data/_sass/_mixins.scss +396 -0
- data/_sass/_page.scss +634 -0
- data/_sass/_reset.scss +156 -0
- data/_sass/_rouge.scss +74 -0
- data/_sass/_site.scss +56 -0
- data/_sass/_typography.scss +125 -0
- data/_sass/_variables.scss +45 -0
- metadata +119 -0
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
|
+
}
|
data/_sass/_mixins.scss
ADDED
@@ -0,0 +1,396 @@
|
|
1
|
+
// UTILITY MIXINS
|
2
|
+
// --------------------------------------------------
|
3
|
+
|
4
|
+
// Clearfix
|
5
|
+
// --------------------
|
6
|
+
// For clearing floats like a boss h5bp.com/q
|
7
|
+
@mixin clearfix {
|
8
|
+
zoom: 1;
|
9
|
+
&:before,
|
10
|
+
&:after {
|
11
|
+
display: table;
|
12
|
+
content: "";
|
13
|
+
// Fixes Opera/contenteditable bug:
|
14
|
+
// http://nicolasgallagher.com/micro-clearfix-hack/#comment-36952
|
15
|
+
line-height: 0;
|
16
|
+
}
|
17
|
+
&:after {
|
18
|
+
clear: both;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
|
23
|
+
@mixin need-dotted{
|
24
|
+
border-bottom: 1px dotted lighten($link-color, 50);
|
25
|
+
&:hover {
|
26
|
+
border-bottom-style: solid;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
// Webkit-style focus
|
30
|
+
// --------------------
|
31
|
+
@mixin tab-focus() {
|
32
|
+
// Default
|
33
|
+
outline: thin dotted #333;
|
34
|
+
// Webkit
|
35
|
+
outline: 5px auto -webkit-focus-ring-color;
|
36
|
+
outline-offset: -2px;
|
37
|
+
}
|
38
|
+
|
39
|
+
// Center-align a block level element
|
40
|
+
// ----------------------------------
|
41
|
+
@mixin center-block() {
|
42
|
+
display: block;
|
43
|
+
margin-left: auto;
|
44
|
+
margin-right: auto;
|
45
|
+
}
|
46
|
+
|
47
|
+
// TYPOGRAPHY
|
48
|
+
// --------------------------------------------------
|
49
|
+
|
50
|
+
// Full-fat vertical rhythm
|
51
|
+
// ------------------------
|
52
|
+
@mixin font-size($size) {
|
53
|
+
font-size: 0px + $size;
|
54
|
+
font-size: 0rem + $size / $doc-font-size;
|
55
|
+
line-height: 0 + round($doc-line-height / $size*10000) / 10000;
|
56
|
+
margin-bottom: 0px + $doc-line-height;
|
57
|
+
margin-bottom: 0rem + ($doc-line-height / $doc-font-size);
|
58
|
+
}
|
59
|
+
|
60
|
+
// Just the REMs
|
61
|
+
// -------------
|
62
|
+
@mixin font-rem($size) {
|
63
|
+
font-size: 0px + $size;
|
64
|
+
font-size: 0rem + $size / $doc-font-size;
|
65
|
+
}
|
66
|
+
|
67
|
+
// Just font-size and line-height
|
68
|
+
// ------------------------------
|
69
|
+
@mixin font($size) {
|
70
|
+
font-size: 0px + $size;
|
71
|
+
font-size: 0rem + $size / $doc-font-size;
|
72
|
+
line-height: 0 + round($doc-line-height / $size*10000) / 10000;
|
73
|
+
}
|
74
|
+
|
75
|
+
@mixin text-overflow($type: ellipsis) {
|
76
|
+
overflow: hidden;
|
77
|
+
text-overflow: $type;
|
78
|
+
white-space: nowrap;
|
79
|
+
}
|
80
|
+
|
81
|
+
// GRADIENTS
|
82
|
+
// --------------------------------------------------
|
83
|
+
|
84
|
+
@mixin horizontal($startColor : $white, $endColor : $lightergrey) {
|
85
|
+
background-color: $endColor;
|
86
|
+
background-image: -webkit-gradient(linear, 0 0, 100% 0, from($startColor), to($endColor)); // Safari 4+, Chrome 2+
|
87
|
+
background-image: -webkit-linear-gradient(left, $startColor, $endColor); // Safari 5.1+, Chrome 10+
|
88
|
+
background-image: -moz-linear-gradient(left, $startColor, $endColor); // FF 3.6+
|
89
|
+
background-image: -ms-linear-gradient(left, $startColor, $endColor); // IE10
|
90
|
+
background-image: -o-linear-gradient(left, $startColor, $endColor); // Opera 11.10
|
91
|
+
background-image: linear-gradient(left, $startColor, $endColor); // W3C
|
92
|
+
background-repeat: repeat-x;
|
93
|
+
}
|
94
|
+
|
95
|
+
@mixin vertical($startColor : $white, $endColor: $lightergrey) {
|
96
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from($startColor), to($endColor)); // Safari 4+, Chrome 2+
|
97
|
+
background-image: -webkit-linear-gradient(top, $startColor, $endColor); // Safari 5.1+, Chrome 10+
|
98
|
+
background-color: $endColor;
|
99
|
+
background-image: -moz-linear-gradient(top, $startColor, $endColor); // FF 3.6+
|
100
|
+
background-image: -ms-linear-gradient(top, $startColor, $endColor); // IE10
|
101
|
+
background-image: -o-linear-gradient(top, $startColor, $endColor); // Opera 11.10
|
102
|
+
background-image: linear-gradient(top, $startColor, $endColor); // W3C
|
103
|
+
background-repeat: repeat-x;
|
104
|
+
}
|
105
|
+
|
106
|
+
@mixin directional($startColor : $white, $endColor : $lightergrey, $deg : 45deg) {
|
107
|
+
background-color: $endColor;
|
108
|
+
background-image: -moz-linear-gradient($deg, $startColor, $endColor); // FF 3.6+
|
109
|
+
background-image: -ms-linear-gradient($deg, $startColor, $endColor); // IE10
|
110
|
+
background-image: -webkit-linear-gradient($deg, $startColor, $endColor); // Safari 5.1+, Chrome 10+
|
111
|
+
background-image: -o-linear-gradient($deg, $startColor, $endColor); // Opera 11.10
|
112
|
+
background-image: linear-gradient($deg, $startColor, $endColor); // W3C
|
113
|
+
background-repeat: repeat-x;
|
114
|
+
}
|
115
|
+
|
116
|
+
// .bordered(COLOR, COLOR, COLOR, COLOR);
|
117
|
+
@mixin bordered($top-color: #eee, $right-color: #eee, $bottom-color: #eee, $left-color: #eee) {
|
118
|
+
border-top: solid 1px $top-color;
|
119
|
+
border-left: solid 1px $left-color;
|
120
|
+
border-right: solid 1px $right-color;
|
121
|
+
border-bottom: solid 1px $bottom-color;
|
122
|
+
}
|
123
|
+
|
124
|
+
// ROUND CORNERS
|
125
|
+
// --------------------------------------------------
|
126
|
+
|
127
|
+
// .rounded(VALUE);
|
128
|
+
@mixin rounded($radius:4px) {
|
129
|
+
-webkit-border-radius: $radius;
|
130
|
+
-moz-border-radius: $radius;
|
131
|
+
border-radius: $radius;
|
132
|
+
}
|
133
|
+
|
134
|
+
// .border-radius(VALUE,VALUE,VALUE,VALUE);
|
135
|
+
@mixin border-radius($topright: 0, $bottomright: 0, $bottomleft: 0, $topleft: 0) {
|
136
|
+
-webkit-border-top-right-radius: $topright;
|
137
|
+
-webkit-border-bottom-right-radius: $bottomright;
|
138
|
+
-webkit-border-bottom-left-radius: $bottomleft;
|
139
|
+
-webkit-border-top-left-radius: $topleft;
|
140
|
+
-moz-border-radius-topright: $topright;
|
141
|
+
-moz-border-radius-bottomright: $bottomright;
|
142
|
+
-moz-border-radius-bottomleft: $bottomleft;
|
143
|
+
-moz-border-radius-topleft: $topleft;
|
144
|
+
border-top-right-radius: $topright;
|
145
|
+
border-bottom-right-radius: $bottomright;
|
146
|
+
border-bottom-left-radius: $bottomleft;
|
147
|
+
border-top-left-radius: $topleft;
|
148
|
+
-webkit-background-clip: padding-box;
|
149
|
+
-moz-background-clip: padding;
|
150
|
+
background-clip: padding-box;
|
151
|
+
}
|
152
|
+
|
153
|
+
// .box-shadow(HORIZONTAL VERTICAL BLUR COLOR))
|
154
|
+
@mixin box-shadow($shadow: 0 1px 3px rgba(0,0,0,.25)) {
|
155
|
+
-webkit-box-shadow: $shadow;
|
156
|
+
-moz-box-shadow: $shadow;
|
157
|
+
box-shadow: $shadow;
|
158
|
+
}
|
159
|
+
|
160
|
+
// .drop-shadow(HORIZONTAL, VERTICAL, BLUR, ALPHA);
|
161
|
+
@mixin drop-shadow($x-axis: 0, $y-axis: 1px, $blur: 2px, $alpha: 0.1) {
|
162
|
+
-webkit-box-shadow: $x-axis $y-axis $blur rgba(0, 0, 0, $alpha);
|
163
|
+
-moz-box-shadow: $x-axis $y-axis $blur rgba(0, 0, 0, $alpha);
|
164
|
+
box-shadow: $x-axis $y-axis $blur rgba(0, 0, 0, $alpha);
|
165
|
+
}
|
166
|
+
|
167
|
+
// .text-shadow();
|
168
|
+
@mixin text-shadow($shadow: 0 2px 3px rgba(0,0,0,.25)) {
|
169
|
+
text-shadow: $shadow;
|
170
|
+
}
|
171
|
+
|
172
|
+
// TRANSFORMATIONS
|
173
|
+
// --------------------------------------------------
|
174
|
+
|
175
|
+
// .rotate(VALUEdeg);
|
176
|
+
@mixin rotate($deg) {
|
177
|
+
-webkit-transform: rotate($deg);
|
178
|
+
-moz-transform: rotate($deg);
|
179
|
+
-ms-transform: rotate($deg);
|
180
|
+
-o-transform: rotate($deg);
|
181
|
+
transform: rotate($deg);
|
182
|
+
}
|
183
|
+
|
184
|
+
// .scale(VALUE);
|
185
|
+
@mixin scale($ratio) {
|
186
|
+
-webkit-transform: scale($ratio);
|
187
|
+
-moz-transform: scale($ratio);
|
188
|
+
-ms-transform: scale($ratio);
|
189
|
+
-o-transform: scale($ratio);
|
190
|
+
transform: scale($ratio);
|
191
|
+
}
|
192
|
+
|
193
|
+
@mixin transform($value) {
|
194
|
+
-webkit-transform: $value;
|
195
|
+
-moz-transform: $value;
|
196
|
+
-ms-transform: $value;
|
197
|
+
-o-transform: $value;
|
198
|
+
transform: $value;
|
199
|
+
}
|
200
|
+
|
201
|
+
// .skew(VALUE, VALUE);
|
202
|
+
@mixin skew($x: 0, $y: 0) {
|
203
|
+
-webkit-transform: skew($x, $y);
|
204
|
+
-moz-transform: skew($x, $y);
|
205
|
+
-ms-transform: skew($x, $y);
|
206
|
+
-o-transform: skew($x, $y);
|
207
|
+
transform: skew($x, $y);
|
208
|
+
}
|
209
|
+
|
210
|
+
// .transition(PROPERTY DURATION DELAY(OPTIONAL) TIMING-FINCTION);
|
211
|
+
@mixin transition($transition) {
|
212
|
+
-webkit-transition: $transition;
|
213
|
+
-moz-transition: $transition;
|
214
|
+
-ms-transition: $transition;
|
215
|
+
-o-transition: $transition;
|
216
|
+
transition: $transition;
|
217
|
+
}
|
218
|
+
|
219
|
+
// .translate(VALUE, VALUE)
|
220
|
+
@mixin translate($x: 0, $y: 0) {
|
221
|
+
-webkit-transform: translate($x, $y);
|
222
|
+
-moz-transform: translate($x, $y);
|
223
|
+
-ms-transform: translate($x, $y);
|
224
|
+
-o-transform: translate($x, $y);
|
225
|
+
transform: translate($x, $y);
|
226
|
+
}
|
227
|
+
|
228
|
+
@mixin translate3d($x: 0, $y: 0, $z: 0) {
|
229
|
+
-webkit-transform: translate($x, $y, $z);
|
230
|
+
-moz-transform: translate($x, $y, $z);
|
231
|
+
-ms-transform: translate($x, $y, $z);
|
232
|
+
-o-transform: translate($x, $y, $z);
|
233
|
+
transform: translate($x, $y, $z);
|
234
|
+
}
|
235
|
+
|
236
|
+
@mixin animation($name, $duration: 300ms, $delay: 0, $ease: ease) {
|
237
|
+
-webkit-animation: $name $duration $delay $ease;
|
238
|
+
-moz-animation: $name $duration $delay $ease;
|
239
|
+
-ms-animation: $name $duration $delay $ease;
|
240
|
+
}
|
241
|
+
|
242
|
+
// BACKGROUND
|
243
|
+
// --------------------------------------------------
|
244
|
+
|
245
|
+
// .background-alpha(VALUE VALUE);
|
246
|
+
@mixin background-alpha($color: $white, $alpha: 1) {
|
247
|
+
background-color: hsla(hue($color), saturation($color), lightness($color), $alpha);
|
248
|
+
}
|
249
|
+
|
250
|
+
// .background-size(VALUE VALUE);
|
251
|
+
@mixin background-size($size) {
|
252
|
+
-webkit-background-size: $size;
|
253
|
+
-moz-background-size: $size;
|
254
|
+
-o-background-size: $size;
|
255
|
+
background-size: $size;
|
256
|
+
}
|
257
|
+
|
258
|
+
// .background-clip(VALUE); (border-box, padding-box, content-box)
|
259
|
+
@mixin background-clip($clip) {
|
260
|
+
-webkit-background-clip: $clip;
|
261
|
+
-moz-background-clip: $clip;
|
262
|
+
background-clip: $clip;
|
263
|
+
}
|
264
|
+
|
265
|
+
// .box-sizing(VALUE); (border-box, padding-box, content-box)
|
266
|
+
@mixin box-sizing($boxsize: border-box) {
|
267
|
+
-webkit-box-sizing: $boxsize;
|
268
|
+
-moz-box-sizing: $boxsize;
|
269
|
+
-ms-box-sizing: $boxsize;
|
270
|
+
box-sizing: $boxsize;
|
271
|
+
}
|
272
|
+
|
273
|
+
// For image replacement
|
274
|
+
@mixin hide-text() {
|
275
|
+
text-indent: 100%;
|
276
|
+
white-space: nowrap;
|
277
|
+
overflow: hidden;
|
278
|
+
}
|
279
|
+
|
280
|
+
// Hide from visual and speaking browsers
|
281
|
+
@mixin hidden() {
|
282
|
+
display: none !important;
|
283
|
+
visibility: hidden;
|
284
|
+
}
|
285
|
+
|
286
|
+
.hidden {
|
287
|
+
display: none;
|
288
|
+
visibility: hidden;
|
289
|
+
}
|
290
|
+
|
291
|
+
// Hide but maintain layout
|
292
|
+
@mixin invisible() {
|
293
|
+
visibility: hidden;
|
294
|
+
}
|
295
|
+
|
296
|
+
// .resize(VALUE) (none, both, horizontal, vertical, inherit)
|
297
|
+
@mixin resize($direction: both) {
|
298
|
+
resize: $direction;
|
299
|
+
overflow: auto;
|
300
|
+
}
|
301
|
+
|
302
|
+
// .userselect(VALUE) (all, element, none, text)
|
303
|
+
@mixin user-select($select) {
|
304
|
+
-webkit-user-select: $select;
|
305
|
+
-moz-user-select: $select;
|
306
|
+
-o-user-select: $select;
|
307
|
+
user-select: $select;
|
308
|
+
}
|
309
|
+
|
310
|
+
// Hidden but available to speaking browsers
|
311
|
+
@mixin visuallyhidden() {
|
312
|
+
overflow: hidden;
|
313
|
+
position: absolute;
|
314
|
+
clip: rect(0 0 0 0);
|
315
|
+
height: 1px;
|
316
|
+
width: 1px;
|
317
|
+
margin: -1px;
|
318
|
+
padding: 0;
|
319
|
+
border: 0;
|
320
|
+
}
|
321
|
+
|
322
|
+
// Make visuallyhidden focusable with a keyboard
|
323
|
+
.visuallyhidden.focusable:active,
|
324
|
+
.visuallyhidden.focusable:focus {
|
325
|
+
position: static;
|
326
|
+
clip: auto;
|
327
|
+
height: auto;
|
328
|
+
width: auto;
|
329
|
+
margin: 0;
|
330
|
+
overflow: visible;
|
331
|
+
}
|
332
|
+
|
333
|
+
@mixin flexbox {
|
334
|
+
display: -webkit-box;
|
335
|
+
display: -webkit-flex;
|
336
|
+
display: -moz-flex;
|
337
|
+
display: -ms-flexbox;
|
338
|
+
display: flex;
|
339
|
+
}
|
340
|
+
|
341
|
+
@mixin justify-content($value: flex-start) {
|
342
|
+
@if $value == flex-start {
|
343
|
+
-webkit-box-pack: start;
|
344
|
+
-ms-flex-pack: start;
|
345
|
+
} @else if $value == flex-end {
|
346
|
+
-webkit-box-pack: end;
|
347
|
+
-ms-flex-pack: end;
|
348
|
+
} @else if $value == space-between {
|
349
|
+
-webkit-box-pack: justify;
|
350
|
+
-ms-flex-pack: justify;
|
351
|
+
} @else if $value == space-around {
|
352
|
+
-ms-flex-pack: distribute;
|
353
|
+
} @else {
|
354
|
+
-webkit-box-pack: $value;
|
355
|
+
-ms-flex-pack: $value;
|
356
|
+
}
|
357
|
+
-webkit-justify-content: $value;
|
358
|
+
-moz-justify-content: $value;
|
359
|
+
justify-content: $value;
|
360
|
+
}
|
361
|
+
|
362
|
+
@mixin align-items($value: stretch) {
|
363
|
+
@if $value == flex-start {
|
364
|
+
-webkit-box-align: start;
|
365
|
+
-ms-flex-align: start;
|
366
|
+
} @else if $value == flex-end {
|
367
|
+
-webkit-box-align: end;
|
368
|
+
-ms-flex-align: end;
|
369
|
+
} @else {
|
370
|
+
-webkit-box-align: $value;
|
371
|
+
-ms-flex-align: $value;
|
372
|
+
}
|
373
|
+
-webkit-align-items: $value;
|
374
|
+
-moz-align-items: $value;
|
375
|
+
align-items: $value;
|
376
|
+
}
|
377
|
+
|
378
|
+
@mixin flex-direction($value: row) {
|
379
|
+
@if $value == row-reverse {
|
380
|
+
-webkit-box-direction: reverse;
|
381
|
+
-webkit-box-orient: horizontal;
|
382
|
+
} @else if $value == column {
|
383
|
+
-webkit-box-direction: normal;
|
384
|
+
-webkit-box-orient: vertical;
|
385
|
+
} @else if $value == column-reverse {
|
386
|
+
-webkit-box-direction: reverse;
|
387
|
+
-webkit-box-orient: vertical;
|
388
|
+
} @else {
|
389
|
+
-webkit-box-direction: normal;
|
390
|
+
-webkit-box-orient: horizontal;
|
391
|
+
}
|
392
|
+
-webkit-flex-direction: $value;
|
393
|
+
-moz-flex-direction: $value;
|
394
|
+
-ms-flex-direction: $value;
|
395
|
+
flex-direction: $value;
|
396
|
+
}
|
data/_sass/_page.scss
ADDED
@@ -0,0 +1,634 @@
|
|
1
|
+
body {
|
2
|
+
margin: 0;
|
3
|
+
padding: 0;
|
4
|
+
width: 100%;
|
5
|
+
background-color: $body-color;
|
6
|
+
overflow-x: hidden;
|
7
|
+
}
|
8
|
+
|
9
|
+
iframe {
|
10
|
+
border: 0;
|
11
|
+
}
|
12
|
+
// Main
|
13
|
+
// --------------------------------------------------
|
14
|
+
.entry,
|
15
|
+
.hentry {
|
16
|
+
@include clearfix;
|
17
|
+
h1,
|
18
|
+
h2,
|
19
|
+
h3,
|
20
|
+
h4,
|
21
|
+
h5,
|
22
|
+
h6,
|
23
|
+
p,
|
24
|
+
li {
|
25
|
+
word-wrap: break-word;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
.body-title {
|
30
|
+
display: block;
|
31
|
+
}
|
32
|
+
|
33
|
+
.entry-content {
|
34
|
+
@include font-size(16);
|
35
|
+
position: relative;
|
36
|
+
word-wrap: break-word;
|
37
|
+
.page-info {
|
38
|
+
color: rgba(85, 85, 85, 0.8);
|
39
|
+
@include font-size(14);
|
40
|
+
font-weight: normal;
|
41
|
+
margin: -5px 2px 0;
|
42
|
+
position: relative;
|
43
|
+
time {
|
44
|
+
margin: 0 20px;
|
45
|
+
}
|
46
|
+
.qr-text {
|
47
|
+
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAA9ElEQVRYR9VXWw7DIAwbN+Yo3HjTJqUfqSI/FNaWvwpIjeOYMOac75cw1lrjuzz2xXeEUOMNdcM2APkkmRR0YgSsincwcBsAOSXVyVRGgoEc78TAYwBk1SOm2hnYBqCyhJxzVgMonl0F7QBYM6ycL2uAjWc7IdIADYBdyDqjGu93sTij0oAaqzQiVNeVdaNqyfPXA6jEhHKunrRaf2gA5bTrh6fLSBWNygxab1cB8gFWpLYRdaXkPgB2tWSIKfs2ZDUgA3BbMreM23rCvwNwU5B9wWZgGwDUw7EvICS+mLerwM15+TBh7wS2J2T7CdsJXQ1k5j7FF35r3ynsoAAAAABJRU5ErkJggg==)
|
48
|
+
no-repeat;
|
49
|
+
background-size: 16px 16px;
|
50
|
+
width: 16px;
|
51
|
+
height: 16px;
|
52
|
+
display: none;
|
53
|
+
position: relative;
|
54
|
+
&::before {
|
55
|
+
content: "";
|
56
|
+
position: absolute;
|
57
|
+
top: -20px;
|
58
|
+
right: -20px;
|
59
|
+
bottom: -20px;
|
60
|
+
left: -20px;
|
61
|
+
}
|
62
|
+
&:hover {
|
63
|
+
.qr-code {
|
64
|
+
width: 128px;
|
65
|
+
opacity: 1;
|
66
|
+
@include transform(none);
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
.qr-code {
|
71
|
+
position: absolute;
|
72
|
+
opacity: 0;
|
73
|
+
@include transition(0.3s all ease-in-out);
|
74
|
+
@include transform(scale(0) perspective(60px) rotateX(50deg));
|
75
|
+
width: 0;
|
76
|
+
left: -4px;
|
77
|
+
top: -4px;
|
78
|
+
z-index: 10;
|
79
|
+
> img {
|
80
|
+
box-shadow: 0 0 0 0, 0 6px 12px rgba($black, 0.5);
|
81
|
+
padding: 4px;
|
82
|
+
background-color: #fff;
|
83
|
+
}
|
84
|
+
}
|
85
|
+
@media #{$medium} {
|
86
|
+
@include font-size(16);
|
87
|
+
.qr-text {
|
88
|
+
display: inline-block;
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
p > a,
|
93
|
+
li > a {
|
94
|
+
@include need-dotted();
|
95
|
+
}
|
96
|
+
}
|
97
|
+
|
98
|
+
.need_dotted {
|
99
|
+
@include need-dotted();
|
100
|
+
}
|
101
|
+
|
102
|
+
///sections
|
103
|
+
.content-header-title {
|
104
|
+
text-align: center;
|
105
|
+
margin: 30px 0 0;
|
106
|
+
h1 {
|
107
|
+
margin: 10px 20px;
|
108
|
+
font-weight: 700;
|
109
|
+
@include font-rem(32);
|
110
|
+
color: lighten($base-color, 20);
|
111
|
+
@media #{$medium} {
|
112
|
+
@include font-rem(48);
|
113
|
+
}
|
114
|
+
@media #{$large} {
|
115
|
+
@include font-rem(60);
|
116
|
+
}
|
117
|
+
}
|
118
|
+
h2 {
|
119
|
+
margin: 0;
|
120
|
+
@include font-rem(18);
|
121
|
+
text-transform: uppercase;
|
122
|
+
color: lighten($base-color, 40);
|
123
|
+
@media #{$medium} {
|
124
|
+
@include font-rem(24);
|
125
|
+
}
|
126
|
+
}
|
127
|
+
p {
|
128
|
+
color: lighten($base-color, 20);
|
129
|
+
}
|
130
|
+
}
|
131
|
+
|
132
|
+
// Single Post and Page
|
133
|
+
// --------------------------------------------------
|
134
|
+
.entry-meta {
|
135
|
+
@include font-rem(12);
|
136
|
+
margin-top: 0;
|
137
|
+
color: lighten($base-color, 60);
|
138
|
+
a {
|
139
|
+
color: lighten($base-color, 60);
|
140
|
+
}
|
141
|
+
.tag {
|
142
|
+
display: inline-block;
|
143
|
+
margin: 4px;
|
144
|
+
color: $white;
|
145
|
+
@include rounded(3px);
|
146
|
+
background-color: lighten($base-color, 50);
|
147
|
+
span {
|
148
|
+
float: left;
|
149
|
+
padding: 2px 6px;
|
150
|
+
}
|
151
|
+
.count {
|
152
|
+
background-color: lighten($base-color, 40);
|
153
|
+
@include border-radius(3px, 3px, 0, 0);
|
154
|
+
}
|
155
|
+
&:hover {
|
156
|
+
background-color: lighten($base-color, 40);
|
157
|
+
}
|
158
|
+
}
|
159
|
+
}
|
160
|
+
|
161
|
+
#post,
|
162
|
+
#page {
|
163
|
+
.entry-content {
|
164
|
+
margin: 80px 2px 20px 2px;
|
165
|
+
padding: 10px 15px;
|
166
|
+
background-color: $white;
|
167
|
+
box-shadow: 0 0 0 0, 0 6px 12px rgba($black, 0.1);
|
168
|
+
@include rounded(3px);
|
169
|
+
@media #{$medium} {
|
170
|
+
margin: 30px 10px;
|
171
|
+
padding: 20px 30px;
|
172
|
+
}
|
173
|
+
@media #{$large} {
|
174
|
+
max-width: 800px;
|
175
|
+
margin: 30px auto 30px auto;
|
176
|
+
padding: 50px 80px;
|
177
|
+
> p:first-child {
|
178
|
+
@include font-size(20);
|
179
|
+
}
|
180
|
+
}
|
181
|
+
}
|
182
|
+
#gitalk-container {
|
183
|
+
margin: 20px 2px;
|
184
|
+
padding: 15px;
|
185
|
+
background-color: $white;
|
186
|
+
box-shadow: 0 0 0 1px rgba($border-color, 0.1), 0 6px 12px rgba($black, 0.1);
|
187
|
+
@include rounded(3px);
|
188
|
+
@media #{$medium} {
|
189
|
+
margin-left: 10px;
|
190
|
+
margin-right: 10px;
|
191
|
+
padding: 20px 30px;
|
192
|
+
}
|
193
|
+
@media #{$large} {
|
194
|
+
max-width: 800px;
|
195
|
+
padding: 50px 80px;
|
196
|
+
margin: 0 auto 30px auto;
|
197
|
+
}
|
198
|
+
}
|
199
|
+
.entry-meta {
|
200
|
+
margin: 50px 30px 30px;
|
201
|
+
text-align: center;
|
202
|
+
}
|
203
|
+
}
|
204
|
+
|
205
|
+
.entry-tags {
|
206
|
+
display: block;
|
207
|
+
margin-bottom: 6px;
|
208
|
+
}
|
209
|
+
|
210
|
+
.tag-heading,
|
211
|
+
.year-heading {
|
212
|
+
margin-top: 0;
|
213
|
+
}
|
214
|
+
|
215
|
+
.tag-list {
|
216
|
+
line-height: 1.6;
|
217
|
+
.tag-time {
|
218
|
+
display: none;
|
219
|
+
@media #{$medium} {
|
220
|
+
display: inline-block;
|
221
|
+
}
|
222
|
+
}
|
223
|
+
}
|
224
|
+
|
225
|
+
// Go to the exact location of bookmarks in tags, categories
|
226
|
+
.anchor-bookmark {
|
227
|
+
display: block;
|
228
|
+
height: $menu-height; /*same height as header*/
|
229
|
+
margin-top: -$menu-height; /*same height as header*/
|
230
|
+
visibility: hidden;
|
231
|
+
}
|
232
|
+
|
233
|
+
// Permalink icon for link post
|
234
|
+
.permalink {
|
235
|
+
margin-right: 7px;
|
236
|
+
}
|
237
|
+
|
238
|
+
// Post Pagination Module
|
239
|
+
.pagination {
|
240
|
+
margin: 36px 10px 0;
|
241
|
+
text-align: center;
|
242
|
+
ul {
|
243
|
+
display: inline;
|
244
|
+
margin-left: 10px;
|
245
|
+
margin-right: 10px;
|
246
|
+
}
|
247
|
+
li {
|
248
|
+
padding-left: 4px;
|
249
|
+
padding-right: 4px;
|
250
|
+
}
|
251
|
+
.current-page {
|
252
|
+
font-weight: 700;
|
253
|
+
}
|
254
|
+
}
|
255
|
+
|
256
|
+
// Read More Module
|
257
|
+
.read-more {
|
258
|
+
display: block;
|
259
|
+
position: relative;
|
260
|
+
margin: 40px 2px 20px 2px;
|
261
|
+
padding: 40px 15px 25px;
|
262
|
+
background-color: $white;
|
263
|
+
box-shadow: 0 0 0 1px rgba($border-color, 0.1), 0 6px 12px rgba($black, 0.1);
|
264
|
+
@include rounded(3px);
|
265
|
+
@media #{$medium} {
|
266
|
+
margin: 40px 10px 30px 10px;
|
267
|
+
padding: 50px 40px 25px;
|
268
|
+
}
|
269
|
+
@media #{$large} {
|
270
|
+
max-width: 800px;
|
271
|
+
padding: 50px 80px;
|
272
|
+
margin: 50px auto 30px;
|
273
|
+
}
|
274
|
+
text-align: center;
|
275
|
+
@include clearfix;
|
276
|
+
}
|
277
|
+
|
278
|
+
.read-more-header {
|
279
|
+
position: absolute;
|
280
|
+
top: -20px;
|
281
|
+
left: 0;
|
282
|
+
right: 0;
|
283
|
+
height: 35px;
|
284
|
+
.read-more-btn {
|
285
|
+
@extend .btn;
|
286
|
+
}
|
287
|
+
}
|
288
|
+
|
289
|
+
.read-more-content {
|
290
|
+
@include font-size(16);
|
291
|
+
margin-bottom: 0;
|
292
|
+
p {
|
293
|
+
text-align: left;
|
294
|
+
}
|
295
|
+
p > a,
|
296
|
+
li > a {
|
297
|
+
@include need-dotted();
|
298
|
+
}
|
299
|
+
h3 {
|
300
|
+
margin: 0;
|
301
|
+
@include font-rem(20);
|
302
|
+
@media #{$medium} {
|
303
|
+
@include font-rem(28);
|
304
|
+
}
|
305
|
+
a {
|
306
|
+
color: $text-color;
|
307
|
+
}
|
308
|
+
@media #{$medium} {
|
309
|
+
@include font-rem(36);
|
310
|
+
}
|
311
|
+
}
|
312
|
+
}
|
313
|
+
|
314
|
+
.list-inline {
|
315
|
+
padding-left: 0;
|
316
|
+
margin-left: -5px;
|
317
|
+
list-style: none;
|
318
|
+
}
|
319
|
+
|
320
|
+
.list-inline > li {
|
321
|
+
display: inline-block;
|
322
|
+
padding-right: 5px;
|
323
|
+
padding-left: 5px;
|
324
|
+
}
|
325
|
+
|
326
|
+
// Post Index
|
327
|
+
// --------------------------------------------------
|
328
|
+
#post-index {
|
329
|
+
#main {
|
330
|
+
margin: 80px 2px 20px 2px;
|
331
|
+
overflow: hidden;
|
332
|
+
@media #{$medium} {
|
333
|
+
margin: 20px;
|
334
|
+
}
|
335
|
+
@media #{$large} {
|
336
|
+
max-width: 800px;
|
337
|
+
margin: 30px auto 0;
|
338
|
+
}
|
339
|
+
}
|
340
|
+
article {
|
341
|
+
background-color: $white;
|
342
|
+
box-shadow: 0 0 0 0, 0 6px 12px rgba($base-color, 0.1);
|
343
|
+
@include rounded(3px);
|
344
|
+
margin-bottom: 20px;
|
345
|
+
padding: 15px;
|
346
|
+
@media #{$medium} {
|
347
|
+
padding: 30px;
|
348
|
+
}
|
349
|
+
@media #{$large} {
|
350
|
+
margin-bottom: 30px;
|
351
|
+
padding: 30px 80px;
|
352
|
+
}
|
353
|
+
}
|
354
|
+
}
|
355
|
+
|
356
|
+
// Footer
|
357
|
+
// --------------------------------------------------
|
358
|
+
.footer-wrapper {
|
359
|
+
@include clearfix;
|
360
|
+
margin: 14px auto 30px auto;
|
361
|
+
text-align: center;
|
362
|
+
color: lighten($text-color, 20);
|
363
|
+
@include font-rem(14);
|
364
|
+
@media #{$medium} {
|
365
|
+
margin: 8px auto 35px auto;
|
366
|
+
@include font-rem(16);
|
367
|
+
}
|
368
|
+
a {
|
369
|
+
color: lighten($text-color, 20);
|
370
|
+
}
|
371
|
+
}
|
372
|
+
|
373
|
+
// Browser Upgrade
|
374
|
+
// --------------------------------------------------
|
375
|
+
.upgrade {
|
376
|
+
padding: 10px;
|
377
|
+
text-align: center;
|
378
|
+
}
|
379
|
+
|
380
|
+
// Google Search
|
381
|
+
// --------------------------------------------------
|
382
|
+
#goog-fixurl {
|
383
|
+
ul {
|
384
|
+
list-style: none;
|
385
|
+
margin-left: 0;
|
386
|
+
padding-left: 0;
|
387
|
+
li {
|
388
|
+
list-style-type: none;
|
389
|
+
}
|
390
|
+
}
|
391
|
+
}
|
392
|
+
|
393
|
+
#goog-wm-qt {
|
394
|
+
width: auto;
|
395
|
+
margin-right: 10px;
|
396
|
+
margin-bottom: 20px;
|
397
|
+
padding: 8px 20px;
|
398
|
+
display: inline-block;
|
399
|
+
@include font-rem(14);
|
400
|
+
background-color: $white;
|
401
|
+
color: $text-color;
|
402
|
+
border-width: 2px;
|
403
|
+
border-style: solid;
|
404
|
+
border-color: lighten($primary, 50);
|
405
|
+
@include rounded(3px);
|
406
|
+
}
|
407
|
+
|
408
|
+
#goog-wm-sb {
|
409
|
+
@extend .btn;
|
410
|
+
}
|
411
|
+
|
412
|
+
// Header
|
413
|
+
.entry-header {
|
414
|
+
position: relative;
|
415
|
+
overflow: hidden;
|
416
|
+
width: 100%;
|
417
|
+
height: 260px;
|
418
|
+
background: $header-color;
|
419
|
+
display: none;
|
420
|
+
svg {
|
421
|
+
margin-top: 60px;
|
422
|
+
}
|
423
|
+
canvas {
|
424
|
+
position: absolute;
|
425
|
+
left: 0;
|
426
|
+
top: 0;
|
427
|
+
}
|
428
|
+
@media #{$medium} {
|
429
|
+
display: block;
|
430
|
+
}
|
431
|
+
}
|
432
|
+
|
433
|
+
.header-menu {
|
434
|
+
position: absolute;
|
435
|
+
top: 0;
|
436
|
+
left: 0;
|
437
|
+
width: 100%;
|
438
|
+
z-index: 20;
|
439
|
+
overflow: hidden;
|
440
|
+
background-color: $menu-top;
|
441
|
+
height: $menu-height;
|
442
|
+
box-shadow: 0 0 0 0, 0 6px 12px rgba($black, 0.1);
|
443
|
+
@media #{$medium} {
|
444
|
+
position: fixed;
|
445
|
+
@include transition(0.3s height ease-out);
|
446
|
+
}
|
447
|
+
ul {
|
448
|
+
margin: 0 auto;
|
449
|
+
list-style-type: none;
|
450
|
+
height: 100%;
|
451
|
+
padding: 0;
|
452
|
+
@media #{$large} {
|
453
|
+
max-width: 900px;
|
454
|
+
}
|
455
|
+
}
|
456
|
+
}
|
457
|
+
|
458
|
+
.header-menu-overflow {
|
459
|
+
@media #{$medium} {
|
460
|
+
height: 0;
|
461
|
+
}
|
462
|
+
}
|
463
|
+
|
464
|
+
.header-item,
|
465
|
+
.header-item-title {
|
466
|
+
float: right;
|
467
|
+
padding-left: 20px;
|
468
|
+
padding-right: 20px;
|
469
|
+
a {
|
470
|
+
vertical-align: middle;
|
471
|
+
display: table-cell;
|
472
|
+
height: $menu-height;
|
473
|
+
@include font-rem(16);
|
474
|
+
box-sizing: border-box;
|
475
|
+
font-weight: 600;
|
476
|
+
&:visited {
|
477
|
+
color: $text-color;
|
478
|
+
}
|
479
|
+
}
|
480
|
+
&.active,
|
481
|
+
&:hover {
|
482
|
+
a {
|
483
|
+
color: $header-active;
|
484
|
+
}
|
485
|
+
}
|
486
|
+
}
|
487
|
+
|
488
|
+
///sections
|
489
|
+
.logo {
|
490
|
+
width: $menu-height;
|
491
|
+
height: $menu-height;
|
492
|
+
float: left;
|
493
|
+
padding: 10px;
|
494
|
+
}
|
495
|
+
|
496
|
+
.header-item-container {
|
497
|
+
height: 100%;
|
498
|
+
}
|
499
|
+
|
500
|
+
.header-item {
|
501
|
+
height: 100%;
|
502
|
+
@media #{$large} {
|
503
|
+
display: block;
|
504
|
+
}
|
505
|
+
}
|
506
|
+
|
507
|
+
.header-item-title {
|
508
|
+
float: left;
|
509
|
+
border-top-width: 0px;
|
510
|
+
height: 100%;
|
511
|
+
a.title {
|
512
|
+
font-size: 1.5rem;
|
513
|
+
padding-left: 5px;
|
514
|
+
vertical-align: middle;
|
515
|
+
height: $menu-height;
|
516
|
+
@media #{$medium} {
|
517
|
+
display: table-cell;
|
518
|
+
}
|
519
|
+
}
|
520
|
+
}
|
521
|
+
|
522
|
+
.header-href {
|
523
|
+
display: block;
|
524
|
+
}
|
525
|
+
|
526
|
+
.index-content-time {
|
527
|
+
margin-left: -6px;
|
528
|
+
}
|
529
|
+
|
530
|
+
.video-container {
|
531
|
+
position: relative;
|
532
|
+
padding-bottom: 75%;
|
533
|
+
padding-top: 30px;
|
534
|
+
height: 0;
|
535
|
+
overflow: hidden;
|
536
|
+
iframe,
|
537
|
+
object,
|
538
|
+
embed,
|
539
|
+
video {
|
540
|
+
position: absolute;
|
541
|
+
top: 0;
|
542
|
+
left: 0;
|
543
|
+
width: 100%;
|
544
|
+
height: 100%;
|
545
|
+
}
|
546
|
+
}
|
547
|
+
|
548
|
+
.coffee {
|
549
|
+
width: 100%;
|
550
|
+
@include flexbox();
|
551
|
+
@include flex-direction(column);
|
552
|
+
@include align-items(center);
|
553
|
+
margin: 40px 0 10px;
|
554
|
+
position: relative;
|
555
|
+
@media #{$large} {
|
556
|
+
margin-bottom: -20px;
|
557
|
+
}
|
558
|
+
.buy-me-coffee {
|
559
|
+
@extend .btn;
|
560
|
+
margin: 0 auto;
|
561
|
+
position: relative;
|
562
|
+
height: 36px;
|
563
|
+
width: 158px;
|
564
|
+
padding-left: 36px;
|
565
|
+
line-height: 17px;
|
566
|
+
text-align: center;
|
567
|
+
@include text-overflow(clip);
|
568
|
+
cursor: pointer;
|
569
|
+
@include user-select(none);
|
570
|
+
&:hover {
|
571
|
+
background-color: #222;
|
572
|
+
color: #fff;
|
573
|
+
}
|
574
|
+
&.active {
|
575
|
+
background-color: #fff;
|
576
|
+
color: #222;
|
577
|
+
}
|
578
|
+
&::after {
|
579
|
+
content: "";
|
580
|
+
position: absolute;
|
581
|
+
top: 11px;
|
582
|
+
left: 10px;
|
583
|
+
width: 20px;
|
584
|
+
height: 13px;
|
585
|
+
background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIiAgIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyIgICB4bWxuczpzdmc9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgICB4bWxuczpzb2RpcG9kaT0iaHR0cDovL3NvZGlwb2RpLnNvdXJjZWZvcmdlLm5ldC9EVEQvc29kaXBvZGktMC5kdGQiICAgeG1sbnM6aW5rc2NhcGU9Imh0dHA6Ly93d3cuaW5rc2NhcGUub3JnL25hbWVzcGFjZXMvaW5rc2NhcGUiICAgd2lkdGg9IjE4MS45ODgybW0iICAgaGVpZ2h0PSIxMTUuOTU2MjltbSIgICB2aWV3Qm94PSIwIDAgNjQ0Ljg0MDEgNDEwLjg2ODc1IiAgIGlkPSJzdmc0MjM4IiAgIHZlcnNpb249Ij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DwvZz4gICAgPC9nPiAgPC9nPjwvc3ZnPg==);
|
586
|
+
background-size: 20px 13px;
|
587
|
+
}
|
588
|
+
}
|
589
|
+
.my-pay-img {
|
590
|
+
width: 300px;
|
591
|
+
height: 0;
|
592
|
+
display: block;
|
593
|
+
overflow: hidden;
|
594
|
+
box-shadow: 0 0 0 0, 0 6px 12px rgba($black, 0.5);
|
595
|
+
margin: 0 auto;
|
596
|
+
position: absolute;
|
597
|
+
top: 34px;
|
598
|
+
left: 0;
|
599
|
+
right: 0;
|
600
|
+
z-index: 101;
|
601
|
+
@include transition(0.4s all ease-in-out);
|
602
|
+
@include transform(scale(0) perspective(600px) rotateX(45deg));
|
603
|
+
&.active {
|
604
|
+
height: 300px;
|
605
|
+
top: 38px;
|
606
|
+
@include transform(none);
|
607
|
+
}
|
608
|
+
}
|
609
|
+
}
|
610
|
+
|
611
|
+
.img-zoom {
|
612
|
+
cursor: -webkit-zoom-in;
|
613
|
+
cursor: -moz-zoom-in;
|
614
|
+
cursor: zoom-in;
|
615
|
+
}
|
616
|
+
|
617
|
+
.lazyload,
|
618
|
+
.lazyloading {
|
619
|
+
-webkit-filter: blur(5px);
|
620
|
+
filter: blur(5px);
|
621
|
+
transition: filter 400ms, -webkit-filter 400ms;
|
622
|
+
}
|
623
|
+
|
624
|
+
.lazyloaded {
|
625
|
+
-webkit-filter: blur(0);
|
626
|
+
filter: blur(0);
|
627
|
+
}
|
628
|
+
|
629
|
+
.share-img {
|
630
|
+
margin: 0 auto;
|
631
|
+
width: 0px;
|
632
|
+
height: 0px;
|
633
|
+
overflow: hidden;
|
634
|
+
}
|