-
Notifications
You must be signed in to change notification settings - Fork 11
/
style.styl
executable file
·611 lines (511 loc) · 11.7 KB
/
style.styl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
/*
Theme Name: Sidebar
Theme URI: http://sidebar.themeskult.me/
Author: Themes Kult
Author URI: http://themeskult.com/
Github Theme URI: https://github.com/themeskult/sidebar-theme
Version: 1.4.3
Description: Sidebar is a tight, visually clean and well-structured theme that allows you to focus on reading.
*/
/* Theme General
================================================== */
.tipsy
font-weight: bold;
text-transform: uppercase;
color: white;
font-family: "Helvetica Neue", Arial;
html
-webkit-font-smoothing:antialiased;
color: #4d4d4d;
body
margin-left: 80px;
a
text-decoration: none;
color: #333;
h1,h2,h3,h4,h5,h6
font-weight: 900;
color: black;
body, h1,h2,h3,h4,h5,h6
font-family: 'Droid Serif', Georgia, serif;
.gallery
border: 1px solid #f1f1f1;padding: 30px 0; margin-bottom: 30px !important; overflow: hidden;
.gallery-item
text-align: center; padding: 10px 0;
img
margin: auto;
/* Search
================================================== */
#searchform.search-overlay
background: black;
background: rgba(0,0,0,.8);
position: fixed;
z-index: 100000;
bottom: 0;
top: 0;
right: 0;
left: 0;
display: none;
padding: 10%;
margin: 0;
color: white;
.close-item
font-size: 40px;
color: white;
position: fixed;
top: 30px;
right: 30px;
label
display: block;
margin-bottom: 30px;
font-size: 30px;
input.field
padding: 10px 0;
border-radius: 0;
border: 0;
background: none;
color: white;
border-bottom: 1px solid white;
width: 90%;
#searchsubmit
background: none;
border: 1px solid white;
box-shadow: none;
text-shadow: none;
color: white;
border-radius: 0;
padding: 20px;
padding: 10px 20px;
&:hover
background: white;
color: black;
/* Header
================================================== */
header.site-header
background: #222;
position: fixed;
bottom: 0;
left: 0;
top: 0;
width: 80px;
z-index: 1000;
a.header-image
display: block;
img
width: 100%;
height: auto;
display: block;
.menu-toggle
display: none;
cursor: pointer;
.main-small-navigation ul
display: none;
nav
ul
margin: 0;
padding: 0;
li
margin-bottom: 0;
a
display: block;
font-weight: bold;
color: white;
border-top: 1px solid transparent;
border-bottom: 1px solid rgba(0,0,0,.4);
padding: 28px 0 28px 0;
height: 22px;
text-align: center;
font-family: "futura-pt",sans-serif;
opacity: .5;
background-repeat: no-repeat;
background-position: center;
img
max-height: 24px
i
display: inline-block;
span
display: none;
&:hover
background-color: #333;
&.search-item
a
background-image: url("img/icon-search.png");
&.current-menu-item a
background-color: #333;
opacity: 1;
.copyright
background: rgba(0,0,0,.4);
color: #333;
font-family: Menlo, monospace;
position: absolute;
right: 0;
left: 0;
padding: 5px;
text-align: center;
font-size: 10px;
text-transform: uppercase;
bottom: 0;
&:hover
color: white;
/* Sidebar
================================================== */
#sidebar
background: #20d6ab;
width: 260px;
position: fixed;
margin: 0;
padding: 10px 0;
margin: 0;
left: 80px;
top: 0;
ul
margin: 0;
padding: 0;
overflow: hidden
li
margin: 0;
overflow: hidden;
border-bottom: 1px solid rgba(0,0,0,.2);
a
padding: 15px 20px;
display: block;
color: black;
span
&.title
font-weight: bold; display: block; line-height: 18px; font-size: 15px; margin-bottom: 10px;
&.date, &.words
font-size: 12px;
margin-top: 6px;
opacity: .7;
&:hover
background-color: #fff;
&:hover
color: black;
background-color: none;
&.current-post
a
background-color: rgba(0,0,0,.2);
color: white;
span
opacity: 1;
.presentation,.page-title, .comments-area
padding-left: 80px;
body
.post-cover-image
height: 360px;
background-size: cover;
background-position: center;
background-color: #222;
margin-bottom: 10px;
.presentation,.page-title
font-size: 14px;
font-weight: normal;
border-bottom: 1px solid #f1f1f1;
margin-bottom: 0;
color: #999;
padding-bottom: 6px;
line-height: 30px;
article.page
margin-top: 30px;
article
width: 580px;
margin: auto;
padding-bottom: 100px;
font-size: 110%;
a
color: black;
.entry-header
border-radius: 3px;
margin-bottom: 30px;
.entry-meta
opacity: .6;
font-size: 13px;
.entry-title
margin: 50px 0 16px 0;font-size: 56px; line-height: 66px; color: black;
a
color: black; position: relative; display: inline-block;
&:hover{color: #2a94ca;}
&.link a
&.anchor img{height: 18px; width: 18px; margin-top: -5px; margin-left: 6px; opacity: .3;}
&.title{border-bottom: 1px solid #CCC; display: inline-block;}
&:hover
span{border-color: #666;}
&.anchor:hover img{opacity: 1;}
blockquote
border-left: 8px solid #222; color:#666; padding: 0 0 0 20px;
p:last-child
margin-bottom:0
.entry-content
line-height: 1.5;
a
font-weight: normal; color: black; padding-bottom: 0px; border-bottom: 1px solid #ccc;
&.view{border: 0}
&:hover{ border-color: #333}
p iframe,p object{display:block;margin:0;padding:0;width:100%;float:none}
img, iframe, object{display:block;margin:0;padding:0;max-width:100%;float:none}
p iframe, p object{min-height:250px;min-width:0}
img{height: auto; width: auto;}
.embed-container{ position:relative; padding-bottom:56.25%; /* 16/9 ratio */ padding-top:30px; /* IE6 workaround*/ height:0; overflow:hidden; margin-bottom:30px}
.embed-container iframe,
.embed-container object,
.embed-container embed{ position:absolute; top:0; left:0; width:100%; height:100%}
code,pre
border: none;
background-color: #f8f8f8;
padding: 0 4px;
font-size: 13px;
width: auto;
font-family: monospace, serif;
display: inline-block;
pre.prettyprint
white-space: pre-wrap;
word-wrap: break-word;
line-height: 2em;
padding: 20px 30px;
display: block;
margin: 20px 0;
display: block;
border: 1px solid #d2d2d2;
code
border-radius: 4px;
border: 0;
border-radius: 0;
hr
border-width: 3px;
strong
background-color: #fde482;
font-weight: bold;
em
font-style: italic;
.tk-sharing
display: block; width: 100px; min-height: 140px; font-size: 11px;
&:hover
a.tk-share-button
color: #333; border-color: #333;
a.tk-share-button
border: 1px solid #ccc; color: #999; text-transform: uppercase; line-height: 20px; padding: 0 10px; border-radius: 3px; display: inline-block;
.tk-share-content
border: 1px solid #ccc; display: none; position: relative; margin-top: 10px; width: 90px; border-radius: 3px;
i
border: 6px solid transparent;
position: absolute;
border-bottom-color: #ccc;
top: -12px;
left: 10px;
a
display: block; line-height: 24px; padding: 0 10px;
&:hover
color: #222; background: #f1f1f1; border-bottom-color: inherit;
&.tk-share-twitter
border-top-left-radius: 3px;
border-top-right-radius: 3px;
&:last-child
border: 0;
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
&:hover
.tk-share-content
display: block;
.cat-links, .tags-links
display: block;
margin-bottom: 20px;
font-size: 12px;
opacity: .5;
color: black;
background-position: left center;
background-repeat: no-repeat;
padding-left: 24px;
a
color: black;
.cat-links
background-image: url('img/icon-folder.png');
.tags-links
background-image: url('img/icon-tag.png');
/* Specific styles for home & single
================================================== */
body.home, body.single
overflow-y: hidden;
#main
.content-area
position: fixed;
overflow-y: scroll;
z-index: 1000;
box-shadow: -1px -4px 3px rgba(0,0,0,.4);
bottom: 0;
top: 0;
right: 0;
left: 40px;
padding: 0;
margin-left: 300px;
/* Specific styles for archives
================================================== */
body.archive
.page-title
padding-left: 0;
article
margin: 0;
padding-bottom: 0;
header.entry-header
border-bottom: 1px solid #f1f1f1;
padding-bottom: 20px;
margin: 0;
h1.entry-title
font-size: 20px;
line-height: 34px;
margin-bottom: 10px;
margin-top: 20px;
display: inline-block;
body.page, body.archive, body.search, body.error404, body.attachment
#main
margin-left: 50px;
padding: 10px 30px;
position: static;
.content-area
margin: 0;
body.attachment
#main
.content-area
margin-left: 0;
/* Navigation
================================================== */
#nav-below.site-navigation
margin: 60px 0;
a
border: 1px solid #ddd;
padding: 20px;
display: inline-block;
margin-right: 100px;
&:hover
border-color: black;
/* Comments
================================================== */
.comments-area
background: #f1f1f1;
padding: 40px 0;
.comment-respond, .comments-title, .commentlist
max-width: 600px;
margin: auto;
#comment
padding: 2%;
width: 96%;
.commentlist
padding: 0;
list-style: none;
margin-top: 40px;
li
list-style: none;
footer
em
font-size: 11px;
article.comment
padding-left: 60px;
margin-bottom: 40px;
position: relative;
border-bottom: 1px solid #f1f1f1;
padding-bottom: 20px;
time
font-size: 12px;
opacity: .5;
.comment-author
img
border-radius: 100px;
position: absolute;
left: 0;
.children
margin-top: -10px;
padding-left: 0;
margin-left: 60px;
img
left: 0;
.comment-reply-link
text-transform: uppercase
font-weight: bold
border-bottom: 2px solid #ccc;
font-size: 12px;
form
input[type="text"]
padding: 4px 10px;
.form-allowed-tags
font-size: 12px;
opacity: .5;
.select-posts
display: none;
/* #Media Queries
================================================== */
/* Smaller than standard 960 (devices and browsers) */
@media only screen and (max-width: 1080px)
#main
.content-area
article
p, ul, ol, hr, .entry-title{ width: auto}
/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 768px)
body
overflow: auto !important;
margin: 0;
.tipsy
display: none !important;
header.site-header
position: static;
width: auto;
margin-bottom: 20px;
nav
ul
li
a
padding: 10px 0;
.menu-toggle
font-size: 20px;
text-transform: uppercase;
color: white;
margin: 0;
text-align: center;
.menu-toggle, .main-small-navigation ul.nav-menu.toggled-on
display: block;
.navigation-main ul
display: none;
.copyright
display: none;
#main
.content-area
.entry-title
font-size: 20px;
line-height: 30px;
&.home, &.single
#main
.content-area
margin-left: 0;
position: static;
box-shadow: none;
padding: 0 20px;
overflow-y: visible;
#sidebar
display: none;
.select-posts
display: block;
max-width: 100%;
margin: 30px 0;
margin-left: 30px;
width: 260px;
article.post, article.page
padding: 0;
width: auto;
&.page, &.archive, &.search, &.error404
#main
margin-left: 0;
padding: 10px 30px;
.content-area
padding: 0;
/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 480px)
body
color: inherit;
.comments-area
padding: 10px 10px;
margin-top: 30px;
h2.comments-title, h3#reply-title
padding-top: 0;
margin-top: 0;
#respond textarea
width: 96%;
padding: 2%;
max-width: 400px;