forked from pagecho/maupassant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
803 lines (794 loc) · 15 KB
/
style.css
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
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
/**
*
* @package Maupassant
* @author cho
* @version 1.3
* @link http://pickcho.com
*/
@font-face {
font-family: 'icomoon';
src:url('fonts/icomoon.eot?-i5ysuu');
src:url('fonts/icomoon.eot?#iefix-i5ysuu') format('embedded-opentype'),
url('fonts/icomoon.woff?-i5ysuu') format('woff'),
url('fonts/icomoon.ttf?-i5ysuu') format('truetype'),
url('fonts/icomoon.svg?-i5ysuu#icomoon') format('svg');
font-weight: normal;
font-style: normal;
}
[class^="icon-"], [class*=" icon-"] {
font-family: 'icomoon';
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-search:before {
content: "\e601";
}
.icon-air:before {
content: "\e602";
}
.icon-rss:before {
content: "\e603";
}
.icon-list:before {
content: "\e604";
}
.icon-cc-by:before {
content: "\e605";
}
.icon-cc-nc:before {
content: "\e606";
}
.icon-cc-sa:before {
content: "\e607";
}
.icon-github:before {
content: "\e608";
}
.icon-twitter:before {
content: "\e609";
}
.icon-googleplus:before {
content: "\e60a";
}
.icon-qq:before {
content: "\e60b";
}
.icon-instagram:before {
content: "\e60c";
}
.icon-sina-weibo:before {
content: "\e60d";
}
html {
font-size: 62.5%
}
body {
background-color:#FFF;
color:#444;
font-size:1.4rem;
font-family:"TIBch", "Classic Grotesque W01", "Helvetica Neue", Arial, "Hiragino Sans GB", "STHeiti", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
a, button.submit {
color:#6E7173;
text-decoration:none;
-webkit-transition:all .1s ease-in;
-moz-transition:all .1s ease-in;
-o-transition:all .1s ease-in;
transition:all .1s ease-in;
}
a:hover, a:active {
color:#6E7173;
}
mark {
padding: 3px 3px 3px 5px;
background: #fffdd1;
}
pre, code {
background:#f8f8f8;
font-family:Menlo, Monaco, Consolas, "Lucida Console", "Courier New", monospace;
font-size:.92857em;
display: block;
}
pre {
margin: 2em 0;
overflow:auto;
background: none;
border: 1px solid #ddd;
}
blockquote {
margin:2em 1.5em;
padding-left:1.5em;
border-left:4px solid #ddd;
color:#777;
}
/*
blockquote:first-letter {
font-size:2.5em;
line-height: 1.15;
padding: 0 7px 0 0;
color: #666;
font-weight:bolder;
float:left;
}
*/
h1, h2, h3 {
font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
}
input[type="text"], input[type="email"], input[type="url"], input[type="password"], textarea {
padding:6px;
border:1px solid #ddd;
width:100%;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
box-sizing:border-box;
outline:none;
}
textarea {
resize:vertical;
}
.clear {
clear:both;
}
.clearfix, .col-group {
zoom:1;
}
.clearfix:before, .col-group:before, .clearfix:after, .col-group:after {
content:" ";
display:table;
}
.clearfix:after, .col-group:after {
clear:both;
}
.post-content a, .comment-content a {
border-bottom:1px solid #ddd;
}
.post-meta a:hover, .post-content a:hover, .widget a:hover, .comment-content a {
border-bottom-color:transparent;
}
#header {
padding:58px 0 0;
text-align:left;
}
#header .col-group {
border-bottom: 1px solid #ddd;
}
.site-name h1{
padding: 0;
margin:0;
}
#logo {
font:bold 4.2rem/1.12 "Times New Roman", Georgia, Times, sans-serif;
color:#555;
}
#logo span {
color:#777;
}
#logo:hover {
color:#777;
}
.description {
margin:5px 0 0;
color:#999;
font-size:1.6rem;
}
#nav-menu {
margin:10px 0 -1px;
padding:0;
float:right;
}
#nav-menu a {
display:inline-block;
margin-right:-1px;
padding:0 20px;
height:32px;
line-height:32px;
color:#444;
font-size:1.6rem;
}
#nav-menu a:first-child {
border:none;
}
#nav-menu a:hover {
}
#nav-menu a.current {
margin-top: 1px;
border:1px solid #ddd;
border-bottom:1px solid #fff;
}
.site-search {
display:none;
}
#search {
position:relative;
overflow: hidden;
}
#search input {
padding:15px 30px 11px 15px;
line-height: 1.5;
}
#search button {
position:absolute;
top:0;
right:10px;
font-size: 20px;
line-height: 1.5;
border:none;
padding:11px 0;
width:20px;
height:48px;
color:#444;
background:none;
}
.col-8 {
width:800px;
}
.col-12{
width: 100%;
}
.container {
width:1150px;
padding:0 60px;
margin:0 auto;
}
#secondary {
float:right;
width:245px;
padding-left:35px;
word-wrap:break-word;
display:block;
padding-top:40px;
}
#main {
padding-top:20px;
float:left;
}
.post {
padding:25px 0 15px;
}
.post-title {
margin:0;
color:#555;
text-align:left;
font:bold 2.5rem/1.1 "ff-tisa-web-pro", Cambria, "Times New Roman", Georgia, Times, sans-serif;
}
.post-title a {
color:#555;
}
.post-meta {
padding:0;
margin:9px 0 0;
color:#999;
text-align:left;
display: block;
font-size:1.6rem;
}
.post-category {
display: inline;
}
.post-content {
font-size: 1.5rem;
line-height: 1.75;
color:#444;
padding-top:27px;
}
.page-content{
padding-top: 40px;
}
.post-content h3,.post-content h2{
margin: 1.4em 0 1.1em;
}
.post-content pre, .comment-content pre {
max-height: 320px;
}
.post-content pre code ,.comment-content pre code {
padding: 1.5em 2em;
white-space: pre;
}
.post-content p code, .comment-content p code {
display:inline;
margin:0 5px;
padding:3px 5px;
border: 1px solid #ddd;
}
.post-content p {
margin:0 0 1.234em;
}
.post-content> p {
text-indent: 2em;
}
.post-content> table {
margin:0 0 1.234em;
font-size: 13px;
display: block;
overflow: auto;
width: 100%;
border-spacing: 0;
border-collapse: collapse;
word-wrap: normal;
word-break: normal
}
.post-content> table th {
font-weight: 700
}
.post-content> table td,table th {
padding: 6px 13px;
white-space: nowrap;
border: 1px solid #ddd
}
.post-content> table tr {
border-top: 1px solid #ccc;
background-color: #fff
}
.post-content> table tr:hover {
background-color: #f7f7f7
}
.post-content> table thead tr {
background-color: #f7f7f7
}
.post-content img {
padding:1em 0;
clear: both;
display: block;
margin: auto;
}
.post-content>ul {
margin:1.8em 0;
}
.post-content ul {
overflow: auto;
padding: .5em 2.4em;
border-radius: 3px;
margin:0;
}
.post-content ul li{
text-indent: .5em;
}
.post-content ul li p{
margin-top: 0px;
margin-bottom: 0px;
}
.archive-title {
padding-top:20px;
color:#999;
font-size:1em;
}
.more {
padding:10px 0 0;
}
.more a {
border:none;
}
.protected .text {
width:50%;
}
.page-navigator {
border-top:1px solid #ddd;
list-style:none;
padding:0;
font-size:1.6rem;
}
.page-navigator li {
display:inline-block;
margin:0;
}
.page-navigator a {
display:inline-block;
height:25px;
line-height:25px;
padding:6px 10px;
margin: -1px 0 10px;
}
.page-navigator .current a {
border: 1px solid #ddd;
border-top: 1px solid #fff;
}
.comment-list, .comment-list ol {
list-style:none;
margin:0;
padding:0;
}
.comment-list {
margin-top:-1px;
}
.comment-list li {
padding-top:2em;
}
.comment-children {
padding-left:2em;
border-left:1px solid #ddd;
}
.comment-list li.comment-level-even {
background:#FFF;
}
.comment-list li .comment-reply {
float:right;
margin-top:-39px;
font-size:.92857em;
}
.comment-meta a {
color:#999;
font-size:.92857em;
}
.comment-author {
display:block;
margin-bottom:3px;
color:#444;
}
.comment-author .avatar {
float:left;
margin:1px 10px 0 0;
border: 1px solid #ddd;
padding: 1px;
}
.comment-author cite {
font-weight:bold;
font-style:normal;
line-height: 1.2;
}
.comment-awaiting-moderation {
font-style:normal;
float:right;
margin-top:-20px;
color:#777;
}
.comment-list .respond {
margin:15px 0;
border-top:1px solid #ddd;
}
.comment-body .respond {
border:none;
margin:0 0 25px;
}
.respond .cancel-comment-reply {
float:right;
margin-top:15px;
font-size:.92857em;
}
#comment-form {
padding-top:5px;
}
#comment-form label {
display:block;
color:#888;
position:absolute;
margin:7px;
}
#comment-form input {
padding:8px 6px;
height:36px;
border:solid 1px #D4D4D4;
background:#fdfdfd;
padding-left:45px;
color: #555;
}
button.submit {
border:1px solid #272727;
display:block;
line-height:32px;
width:100%;
outline:none;
color: #fff;
background:#272727;
height: 38px;
}
button.submit:hover {
background:#505050;
border-color: #505050;
}
textarea.textarea {
line-height:1.8;
padding:5px 10px 5px 10px;
width:100%;
height:174px;
padding:10px;
overflow:auto;
margin:0;
line-height:1.8;
color:#222;
font-size:14px;
background:#fdfdfd!important;
color: #555;
}
.col2 p, .col1 p {
margin:9px 0;
}
.col1 p {
margin-right:220px;
}
.col1 {
margin-right:-220px;
height:auto;
float:left;
width:100%;
position:relative;
background-position:0 0;
}
.col2 {
width:204px;
float:right;
position:relative;
overflow:hidden;
background-position:right top;
}
.widget {
margin-bottom:30px;
}
.widget-title {
color:#6E7173;
line-height:2.7;
margin-top:0;
font-size:1.6rem;
border-bottom:1px solid #ddd;
display:block;
}
#response {
margin-bottom:.8em;
}
.widget-list {
list-style:none;
padding:0;
}
.widget-list li {
margin:5px 0;
line-height:1.5;
}
#footer {
padding:.8em 0 3.6em;
line-height:1.5;
color:#999;
}
.error-page {
margin-top:100px;
margin-bottom:100px;
}
.comment-content {
line-height:1.5;
word-wrap:break-word;
padding:10px 40px 10px 0;
}
.post-content h2, .comment-content h2 {
font-size:1.28571em;
}
.post-content img, .comment-content img {
max-width:100%;
}
.post-content a img {
background:#FFF;
position:relative;
bottom:-4px;
}
.post-content hr, .comment-content hr {
margin:2.1em auto;
width:75%;
border:1px solid #ccc;
border-width:1px 0 0 0;
position: relative;
}
.aligncenter, div.aligncenter {
display:block;
margin-left:auto;
margin-right:auto;
}
.alignleft {
float:left;
}
.alignright {
float:right;
}
img.alignleft {
margin:5px 15px 0 0;
}
img.alignright {
margin:5px 0 0 15px;
}
/* archives page*/
.al_year {
width:60px;
padding: 10px 0;
}
.al_mon_list {
margin-left: 90px;
margin-top: -2.2em;
border-left: 1px solid #ddd;
}
.al_mon_list li {
list-style: none;
line-height: 1.8;
}
.al_mon_list li a {
margin-left: 1.5em;
}
.post-content-pages {
font-size: 17px;
}
.body404{
position: absolute;
height: 100%;
width: 100%;
background:#fff url(img/404.jpg)no-repeat center top;
background-size: cover;
}
.site-name404 {
margin: 0 auto;
width: 3em;
text-align: center;
letter-spacing: 2px;
font:700 88px/1.2 "ff-tisa-web-pro", Cambria, "Times New Roman", Georgia, Times, sans-serif;
}
.title404 span{
font-size: 15px;
width: 2px;
}
.site-name404 i {
font-style: normal;
}
.title404 p{
font-size: 20px;
margin: 0.5em 0 .6em;
}
.info404{
position: absolute;
top: 50%;
text-align: center;
width: 100%;
margin-top: -160px;
}
#footer404{
margin-top:30px;
}
.index404{
margin-top: 13px;
display: inline-block;
padding: 14px 27px 14px 29px;
color: #fff;
white-space: nowrap;
border-radius: 50px;
text-align: center;
cursor: pointer;
background: #444;
font-weight: 500;
line-height: 14px;
letter-spacing: 1px;
font-size: 14px;
-moz-user-select: -moz-none;
-webkit-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none;
}
.index404:hover{
background-color: #000;
color: #fff;
}
.icon-about{
padding: 10px 0 25px;
}
.icon-about a{
font-size: 20px;
margin: 5px;
color: #fff;
background-color: #000;
border-radius: 100%;
padding: 6px;
}
@media print, screen and (max-width:1290px) {
.container {
width:auto;
}
#main {
width:100%;
margin-right:-320px;
float:left;
}
.res-cons {
width:auto;
margin-right:320px;
}
.post-content img {
max-width:100%;
}
}
@media print, screen and (max-width:1057px) {
.container {
width:auto;
}
#main {
width:100%;
margin-right:-260px;
float:left;
}
.res-cons {
width:auto;
margin-right:260px;
}
#secondary {
width:175px;
margin-top:35px;
padding-top:5px;
}
.post-content {
font-size: 14px;
}
}
@media print, screen and (max-width:860px) {
#header {
text-align:center;
}
#main {
width:100%;
margin-right:0;
}
#nav-menu {
margin:35px 0 -1px;
float: none;
}
.res-cons {
width:auto;
margin-right:0;
}
#secondary {
display:none;
}
.page-navigator {
text-align: center;
}
}
@media print, screen and (max-width:680px) {
.container {
padding:0 20px;
}
.post-title {
font-size:22px;
}
#footer {
padding-top:10px;
}
.page-navigator a {
padding:4px 8px;
}
.post-content img {
padding:0.2em 0;
}
.post {
padding:12px 0;
}
#nav-menu a {
padding:0 15px;
line-height:27px;
height:27px;
font-size:13px;
}
}
@media print, screen and (max-width:500px) {
.col2 {
width:140px;
}
.post-meta li.comment-count {
display: none;
}
.col1 p {
margin-right:160px;
}
.col1 {
margin-right:-160px;
}
.post-content-pages {
font-size: 14px;
}
.al_mon_list {
margin-left: 70px;
padding-left: 20px;
}
}
.about{
width: 100%;
}