jekyll-theme-wapiti 0.1.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.
Files changed (62) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +9 -0
  3. data/Gemfile +4 -0
  4. data/README.md +36 -0
  5. data/Rakefile +2 -0
  6. data/bin/console +14 -0
  7. data/bin/setup +8 -0
  8. data/jekyll-theme-wapiti.gemspec +34 -0
  9. data/lib/.gitignore +2 -0
  10. data/lib/404.html +25 -0
  11. data/lib/LICENSE +21 -0
  12. data/lib/README.md +20 -0
  13. data/lib/_config.yml +74 -0
  14. data/lib/_includes/footer.html +219 -0
  15. data/lib/_includes/head.html +37 -0
  16. data/lib/_includes/nav.html +85 -0
  17. data/lib/_layouts/default.html +17 -0
  18. data/lib/_layouts/page.html +199 -0
  19. data/lib/_layouts/post.html +205 -0
  20. data/lib/_posts/2017-03-25-markdown-test.md +19 -0
  21. data/lib/_posts/2017-03-26-catalog-test.md +24 -0
  22. data/lib/about.md +9 -0
  23. data/lib/css/backtop.css +23 -0
  24. data/lib/css/bootstrap.min.css +5 -0
  25. data/lib/css/clean-blog.min.css +1 -0
  26. data/lib/css/material.min.css +9 -0
  27. data/lib/css/print.css +15 -0
  28. data/lib/css/style.css +1091 -0
  29. data/lib/css/syntax.css +84 -0
  30. data/lib/feed.xml +30 -0
  31. data/lib/fonts/glyphicons-halflings-regular.eot +0 -0
  32. data/lib/fonts/glyphicons-halflings-regular.svg +288 -0
  33. data/lib/fonts/glyphicons-halflings-regular.ttf +0 -0
  34. data/lib/fonts/glyphicons-halflings-regular.woff +0 -0
  35. data/lib/fonts/glyphicons-halflings-regular.woff2 +0 -0
  36. data/lib/img/avatar.png +0 -0
  37. data/lib/img/favicon.png +0 -0
  38. data/lib/img/index.jpg +0 -0
  39. data/lib/index.html +42 -0
  40. data/lib/jekyll/theme/wapiti/version.rb +7 -0
  41. data/lib/jekyll/theme/wapiti.rb +9 -0
  42. data/lib/js/animatescroll.min.js +2 -0
  43. data/lib/js/bootstrap.min.js +7 -0
  44. data/lib/js/jquery.js +9205 -0
  45. data/lib/js/jquery.min.js +4 -0
  46. data/lib/js/jquery.nav.js +224 -0
  47. data/lib/js/jquery.tagcloud.js +81 -0
  48. data/lib/js/js.js +84 -0
  49. data/lib/js/js.min.js +1 -0
  50. data/lib/js/material.min.js +10 -0
  51. data/lib/less/hux-blog.less +1028 -0
  52. data/lib/less/mixins.less +52 -0
  53. data/lib/less/side-catalog.less +81 -0
  54. data/lib/less/sidebar.less +58 -0
  55. data/lib/less/variables.less +8 -0
  56. data/lib/offline.html +25 -0
  57. data/lib/package.json +22 -0
  58. data/lib/pwa/icons/192.png +0 -0
  59. data/lib/pwa/manifest.json +17 -0
  60. data/lib/sw.js +146 -0
  61. data/lib/tags.html +53 -0
  62. metadata +131 -0
@@ -0,0 +1,1028 @@
1
+ @import "variables.less";
2
+ @import "mixins.less";
3
+ @import "sidebar.less";
4
+ @import "side-catalog.less";
5
+
6
+ // Global Components
7
+
8
+ body {
9
+ .sans-serif;
10
+ font-size: 16px;
11
+ // Hux mpdify to 16px (Mobile First), and increase to 20px while 768+ width
12
+ color: @gray-dark;
13
+ //-webkit-user-select:text; //对于 Blog 还是先不开启这句。
14
+ overflow-x : hidden;
15
+ }
16
+
17
+ // -- Typography
18
+
19
+ p {
20
+ margin: 30px 0;
21
+ }
22
+
23
+ h1,
24
+ h2,
25
+ h3,
26
+ h4,
27
+ h5,
28
+ h6 {
29
+ .sans-serif;
30
+ line-height: 1.1;
31
+ font-weight: bold;
32
+ }
33
+ h1{
34
+ // drop V1.1.1
35
+ //font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
36
+ }
37
+ h4{
38
+ font-size: 21px;
39
+ }
40
+ a {
41
+ color: @gray-dark;
42
+ &:hover,
43
+ &:focus {
44
+ color: @brand-primary;
45
+ }
46
+ }
47
+
48
+ a img {
49
+ &:hover,
50
+ &:focus {
51
+ cursor: zoom-in;
52
+ }
53
+ }
54
+
55
+ article{
56
+ overflow-x : hidden;
57
+ }
58
+ blockquote {
59
+ color: @gray;
60
+ font-style: italic;
61
+ font-size: 0.95em;
62
+ margin: 20px 0 20px;
63
+ p{
64
+ margin: 0;
65
+ }
66
+ }
67
+
68
+ // Utils Style Class can be used in Markdown.
69
+ small.img-hint{
70
+ display: block;
71
+ margin-top: -20px;
72
+ text-align: center;
73
+ }
74
+ br + small.img-hint{
75
+ margin-top: -40px;
76
+ }
77
+ img.shadow{
78
+ box-shadow: rgba(0, 0, 0, 0.258824) 0px 2px 5px 0px;
79
+ }
80
+ // Utils Style End
81
+
82
+ // Select
83
+ select{
84
+ -webkit-appearance:none;
85
+ margin-top:15px;
86
+ color:#337ab7;
87
+ border-color:#337ab7;
88
+ padding: 0em 0.4em;
89
+ background: white;
90
+ &.sel-lang{
91
+ min-height: 28px;
92
+ font-size:14px;
93
+ }
94
+ }
95
+
96
+
97
+ // override table style in bootstrap
98
+ .table th, .table td{
99
+ border: 1px solid #eee !important;
100
+ }
101
+
102
+ hr.small {
103
+ max-width: 100px;
104
+ margin: 15px auto;
105
+ border-width: 4px;
106
+ border-color: white;
107
+ }
108
+ // add by Hux
109
+ pre,.table-responsive{
110
+ // sometimes you should use vendor-feature.
111
+ -webkit-overflow-scrolling: touch;
112
+ }
113
+ pre code{
114
+ display: block;
115
+ width: auto;
116
+ white-space: pre; // save it but no-wrap;
117
+ word-wrap: normal; // no-wrap
118
+ }
119
+
120
+ // In the list of posts
121
+ .postlist-container{
122
+ margin-bottom: 15px;
123
+ }
124
+
125
+ // In the post.
126
+ .post-container{
127
+ a{
128
+ color:#337ab7;
129
+ // different to @brand-primary
130
+ &:hover,
131
+ &:focus {
132
+ color: @brand-primary;
133
+ }
134
+ }
135
+ h1,
136
+ h2,
137
+ h3,
138
+ h4,
139
+ h5,
140
+ h6 {
141
+ margin: 30px 0 10px;
142
+ }
143
+ h5{
144
+ font-size: 19px;
145
+ font-weight: 600;
146
+ color:gray;
147
+ & + p{
148
+ margin-top: 5px;
149
+ }
150
+ }
151
+ h6{
152
+ font-size: 16px;
153
+ font-weight: 600;
154
+ color: gray;
155
+ & + p{
156
+ margin-top: 5px;
157
+ }
158
+ }
159
+ ul,ol{
160
+ margin-bottom: 40px;
161
+ @media screen and (max-width: 768px){
162
+ &{
163
+ padding-left: 30px;
164
+ }
165
+ }
166
+ @media screen and (max-width: 500px){
167
+ &{
168
+ padding-left: 20px;
169
+ }
170
+ }
171
+ }
172
+ ol ol, ol ul, ul ol, ul ul{
173
+ margin-bottom: 5px
174
+ }
175
+ li{
176
+ p{
177
+ margin: 0;
178
+ margin-bottom: 5px;
179
+ }
180
+ h1,h2,h3,h4,h5,h6{
181
+ line-height: 2;
182
+ margin-top: 20px;
183
+ }
184
+ }
185
+ // V1.6 Hux display title by default.
186
+ .pager li{
187
+ width: 48%;
188
+ &.next{ float: right};
189
+ &.previous{ float: left};
190
+ > a {
191
+ width: 100%;
192
+ > span{
193
+ color: @gray;
194
+ font-weight: normal;
195
+ letter-spacing: 0.5px;
196
+ }
197
+ }
198
+ }
199
+ }
200
+
201
+
202
+
203
+ // Navigation
204
+
205
+ // materialize, mobile only
206
+ @media only screen and (max-width: 767px) {
207
+ /**
208
+ * Layout
209
+ * Since V1.6 we use absolute positioning to prevent to expand container-fluid
210
+ * which would cover tags. A absolute positioning make a new layer.
211
+ */
212
+ .navbar-default .navbar-collapse{
213
+ position: absolute;
214
+ right: 0;
215
+ border: none;
216
+ background: white;
217
+ box-shadow: 0px 5px 10px 2px rgba(0, 0, 0, 0.2);
218
+ box-shadow: rgba(0, 0, 0, 0.117647) 0px 1px 6px, rgba(0, 0, 0, 0.239216) 0px 1px 4px;
219
+ border-radius: 2px;
220
+ width: 170px;
221
+ }
222
+ /**
223
+ * Animation
224
+ * HuxBlog-Navbar using genuine Material Design Animation
225
+ */
226
+ #navbar{
227
+ /**
228
+ * Sharable code and 'out' function
229
+ */
230
+ // the container do width-transition
231
+ opacity: 0;
232
+ transform: scaleX(0);
233
+ transform-origin: top right;
234
+ transition: all 200ms cubic-bezier(0.47, 0, 0.4, 0.99) 0ms;
235
+ -webkit-transform: scaleX(0);
236
+ -webkit-transform-origin: top right;
237
+ -webkit-transition: all 200ms cubic-bezier(0.47, 0, 0.4, 0.99) 0ms;
238
+ a {
239
+ font-size: 13px;
240
+ line-height: 28px;
241
+ }
242
+ .navbar-collapse{ // the navbar do height-transition
243
+ height: 0px; // to solve container-mask-tags issue (default state).
244
+ transform: scaleY(0);
245
+ transform-origin: top right;
246
+ transition: transform 400ms cubic-bezier(0.32, 1, 0.23, 1) 0ms;
247
+ -webkit-transform: scaleY(0);
248
+ -webkit-transform-origin: top right;
249
+ -webkit-transition: -webkit-transform 400ms cubic-bezier(0.32, 1, 0.23, 1) 0ms;
250
+ }
251
+ li{
252
+ opacity: 0;
253
+ transition: opacity 100ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
254
+ -webkit-transition: opacity 100ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
255
+ }
256
+ /**
257
+ *'In' Animation
258
+ */
259
+ &.in {
260
+ transform: scaleX(1);
261
+ -webkit-transform: scaleX(1);
262
+ opacity: 1;
263
+ transition: all 250ms cubic-bezier(0.23,1,0.32,1) 0ms;
264
+ -webkit-transition: all 250ms cubic-bezier(0.23,1,0.32,1) 0ms;
265
+ .navbar-collapse{
266
+ transform: scaleY(1);
267
+ -webkit-transform: scaleY(1);
268
+ transition: transform 500ms cubic-bezier(0.23, 1, 0.32, 1);
269
+ -webkit-transition: -webkit-transform 500ms cubic-bezier(0.23, 1, 0.32, 1);
270
+ }
271
+ li{
272
+ opacity: 1;
273
+ transition: opacity 450ms cubic-bezier(0.23, 1, 0.32, 1) 205ms;
274
+ -webkit-transition: opacity 450ms cubic-bezier(0.23, 1, 0.32, 1) 205ms;
275
+ }
276
+ }
277
+ }
278
+ }
279
+
280
+ .navbar-custom {
281
+ // materialize
282
+ background: none;
283
+ border:none;
284
+ position: absolute;
285
+ top: 0;
286
+ left: 0;
287
+ width: 100%;
288
+ z-index: 3;
289
+ .sans-serif;
290
+ .navbar-brand {
291
+ font-weight: 800;
292
+ // materialize
293
+ color: white;
294
+ height: 56px;
295
+ line-height: 25px;
296
+ &:hover{
297
+ color: rgba(255, 255, 255, 0.8);
298
+ }
299
+ }
300
+ .nav {
301
+ li {
302
+ a {
303
+ text-transform: uppercase;
304
+ font-size: 12px;
305
+ line-height: 20px;
306
+ font-weight: 800;
307
+ letter-spacing: 1px;
308
+ // only highlight in mobile
309
+ &:active{
310
+ background: rgba(0,0,0,0.12)
311
+ }
312
+ }
313
+ }
314
+ }
315
+ @media only screen and (min-width: 768px) {
316
+ body{
317
+ font-size: 20px;
318
+ }
319
+ background: transparent;
320
+ border-bottom: 1px solid transparent;
321
+ .navbar-brand {
322
+ color: white;
323
+ padding: 20px;
324
+ line-height: 20px;
325
+ &:hover,
326
+ &:focus {
327
+ color: @white-faded;
328
+ }
329
+ }
330
+ .nav {
331
+ li {
332
+ a {
333
+ color: white;
334
+ padding: 20px;
335
+ &:hover,
336
+ &:focus {
337
+ color: @white-faded;
338
+ }
339
+ &:active{
340
+ background: none;
341
+ }
342
+ }
343
+ }
344
+ }
345
+ }
346
+ @media only screen and (min-width: 1170px) {
347
+ -webkit-transition: background-color 0.3s;
348
+ -moz-transition: background-color 0.3s;
349
+ transition: background-color 0.3s;
350
+ /* Force Hardware Acceleration in WebKit */
351
+ -webkit-transform: translate3d(0, 0, 0);
352
+ -moz-transform: translate3d(0, 0, 0);
353
+ -ms-transform: translate3d(0, 0, 0);
354
+ -o-transform: translate3d(0, 0, 0);
355
+ transform: translate3d(0, 0, 0);
356
+ -webkit-backface-visibility: hidden;
357
+ backface-visibility: hidden;
358
+ &.is-fixed {
359
+ /* when the user scrolls down, we hide the header right above the viewport */
360
+ position: fixed;
361
+ top: -61px;
362
+ background-color: fade(white, 90%);
363
+ border-bottom: 1px solid darken(white, 5%);
364
+ -webkit-transition: -webkit-transform 0.3s;
365
+ -moz-transition: -moz-transform 0.3s;
366
+ transition: transform 0.3s;
367
+ .navbar-brand {
368
+ color: @gray-dark;
369
+ &:hover,
370
+ &:focus {
371
+ color: @brand-primary;
372
+ }
373
+ }
374
+ .nav {
375
+ li {
376
+ a {
377
+ color: @gray-dark;
378
+ &:hover,
379
+ &:focus {
380
+ color: @brand-primary;
381
+ }
382
+ }
383
+ }
384
+ }
385
+ }
386
+ &.is-visible {
387
+ /* if the user changes the scrolling direction, we show the header */
388
+ -webkit-transform: translate3d(0, 100%, 0);
389
+ -moz-transform: translate3d(0, 100%, 0);
390
+ -ms-transform: translate3d(0, 100%, 0);
391
+ -o-transform: translate3d(0, 100%, 0);
392
+ transform: translate3d(0, 100%, 0);
393
+ }
394
+ }
395
+ }
396
+
397
+ // Header
398
+
399
+ .intro-header {
400
+ background: no-repeat center center;
401
+ background-color: @gray;
402
+ background-attachment: scroll;
403
+ .background-cover;
404
+ // NOTE: Background images are set within the HTML using inline CSS!
405
+ margin-bottom: 0px; /* 0 on mobile, modify by Hux */
406
+ @media only screen and (min-width: 768px) {
407
+ margin-bottom: 20px; /* response on desktop */
408
+ }
409
+ .site-heading,
410
+ .post-heading,
411
+ .page-heading {
412
+ padding: 85px 0 55px;
413
+ color: white;
414
+ @media only screen and (min-width: 768px) {
415
+ padding: 150px 0;
416
+ }
417
+ }
418
+ // masterialize
419
+ .site-heading{
420
+ padding: 95px 0 70px;
421
+ @media only screen and (min-width: 768px) {
422
+ padding: 150px 0;
423
+ }
424
+ }
425
+ .site-heading,
426
+ .page-heading {
427
+ text-align: center;
428
+ h1 {
429
+ margin-top: 0;
430
+ font-size: 50px;
431
+ }
432
+ .subheading {
433
+ .sans-serif;
434
+ font-size: 18px;
435
+ line-height: 1.1;
436
+ display: block;
437
+ font-weight: 300;
438
+ margin: 10px 0 0;
439
+ }
440
+ @media only screen and (min-width: 768px) {
441
+ h1 {
442
+ font-size: 80px;
443
+ }
444
+ }
445
+ }
446
+ .post-heading {
447
+ h1 {
448
+ font-size: 30px;
449
+ margin-bottom: 24px;
450
+ }
451
+ .subheading,
452
+ .meta {
453
+ line-height: 1.1;
454
+ display: block;
455
+ }
456
+ .subheading {
457
+ .sans-serif;
458
+ font-size: 17px;
459
+ line-height: 1.4;
460
+ font-weight: normal;
461
+ margin: 10px 0 30px;
462
+ margin-top: -5px;
463
+ }
464
+ .meta {
465
+ .serif;
466
+ font-style: italic;
467
+ font-weight: 300;
468
+ font-size: 18px;
469
+ a {
470
+ color: white;
471
+ }
472
+ }
473
+ @media only screen and (min-width: 768px) {
474
+ h1 {
475
+ font-size: 55px;
476
+ }
477
+ .subheading {
478
+ font-size: 30px;
479
+ }
480
+ .meta {
481
+ font-size: 20px;
482
+ }
483
+ }
484
+ }
485
+ }
486
+
487
+ // Post Preview Pages (Home Page)
488
+
489
+ .post-preview {
490
+ > a {
491
+ color: @gray-dark;
492
+ &:hover,
493
+ &:focus {
494
+ text-decoration: none;
495
+ color: @brand-primary;
496
+ }
497
+ > .post-title {
498
+ font-size: 21px;
499
+ line-height: 1.3;
500
+ margin-top: 30px;
501
+ margin-bottom: 8px;
502
+ }
503
+ > .post-subtitle {
504
+ font-size: 15px;
505
+ line-height: 1.3;
506
+ margin: 0;
507
+ font-weight: 300;
508
+ margin-bottom: 10px;
509
+ }
510
+ }
511
+ > .post-meta {
512
+ .serif;
513
+ color: @gray;
514
+ font-size: 16px;
515
+ font-style: italic;
516
+ margin-top: 0;
517
+ > a {
518
+ text-decoration: none;
519
+ color: @gray-dark;
520
+ &:hover,
521
+ &:focus {
522
+ color: @brand-primary;
523
+ text-decoration: underline;
524
+ }
525
+ }
526
+ }
527
+ @media only screen and (min-width: 768px) {
528
+ > a {
529
+ > .post-title {
530
+ font-size: 26px;
531
+ line-height: 1.3;
532
+ margin-bottom: 10px;
533
+ }
534
+ > .post-subtitle{
535
+ font-size: 16px;
536
+ }
537
+ }
538
+ .post-meta{
539
+ font-size: 18px;
540
+ }
541
+ }
542
+ }
543
+
544
+ // Hux add home-page post-content-preview
545
+ .post-content-preview{
546
+ font-size: 13px;
547
+ font-style: italic;
548
+ color:#a3a3a3;
549
+ &:hover{
550
+ color: @brand-primary;
551
+ }
552
+ @media only screen and (min-width: 768px) {
553
+ font-size:14px;
554
+ }
555
+ }
556
+
557
+ // Sections
558
+
559
+ .section-heading {
560
+ font-size: 36px;
561
+ margin-top: 60px;
562
+ font-weight: 700;
563
+ }
564
+
565
+ .caption {
566
+ text-align: center;
567
+ font-size: 14px;
568
+ padding: 10px;
569
+ font-style: italic;
570
+ margin: 0;
571
+ display: block;
572
+ border-bottom-right-radius: 5px;
573
+ border-bottom-left-radius: 5px;
574
+ }
575
+
576
+ footer {
577
+ font-size: 20px;
578
+ padding: 50px 0 65px;
579
+ .list-inline {
580
+ margin: 0;
581
+ padding: 0;
582
+ }
583
+ .copyright {
584
+ font-size: 14px;
585
+ text-align: center;
586
+ margin-bottom: 0;
587
+ a{
588
+ color:#337ab7;
589
+ // different to @brand-primary
590
+ &:hover,
591
+ &:focus {
592
+ color: @brand-primary;
593
+ }
594
+ }
595
+ }
596
+ }
597
+
598
+ // Contact Form Styles
599
+
600
+ .floating-label-form-group {
601
+ font-size: 14px;
602
+ position: relative;
603
+ margin-bottom: 0;
604
+ padding-bottom: 0.5em;
605
+ border-bottom: 1px solid @gray-light;
606
+ input,
607
+ textarea {
608
+ z-index: 1;
609
+ position: relative;
610
+ padding-right: 0;
611
+ padding-left: 0;
612
+ border: none;
613
+ border-radius: 0;
614
+ font-size: 1.5em;
615
+ background: none;
616
+ box-shadow: none !important;
617
+ resize: none;
618
+ }
619
+ label {
620
+ display: block;
621
+ z-index: 0;
622
+ position: relative;
623
+ top: 2em;
624
+ margin: 0;
625
+ font-size: 0.85em;
626
+ line-height: 1.764705882em;
627
+ vertical-align: middle;
628
+ vertical-align: baseline;
629
+ opacity: 0;
630
+ -webkit-transition: top 0.3s ease,opacity 0.3s ease;
631
+ -moz-transition: top 0.3s ease,opacity 0.3s ease;
632
+ -ms-transition: top 0.3s ease,opacity 0.3s ease;
633
+ transition: top 0.3s ease,opacity 0.3s ease;
634
+ }
635
+ &::not(:first-child) {
636
+ padding-left: 14px;
637
+ border-left: 1px solid @gray-light;
638
+ }
639
+ }
640
+
641
+ .floating-label-form-group-with-value {
642
+ label {
643
+ top: 0;
644
+ opacity: 1;
645
+ }
646
+ }
647
+
648
+ .floating-label-form-group-with-focus {
649
+ label {
650
+ color: @brand-primary;
651
+ }
652
+ }
653
+
654
+ form .row:first-child .floating-label-form-group {
655
+ border-top: 1px solid @gray-light;
656
+ }
657
+
658
+ // Button Styles
659
+
660
+ .btn {
661
+ .sans-serif;
662
+ text-transform: uppercase;
663
+ font-size: 14px;
664
+ font-weight: 800;
665
+ letter-spacing: 1px;
666
+ border-radius: 0;
667
+ padding: 15px 25px;
668
+ }
669
+
670
+ .btn-lg {
671
+ font-size: 16px;
672
+ padding: 25px 35px;
673
+ }
674
+
675
+ .btn-default {
676
+ &:hover,
677
+ &:focus {
678
+ background-color: @brand-primary;
679
+ border: 1px solid @brand-primary;
680
+ color: white;
681
+ }
682
+ }
683
+
684
+ // Pager Styling
685
+
686
+ .pager {
687
+ margin: 20px 0 0 !important;
688
+ padding:0px !important;
689
+
690
+ li {
691
+ > a,
692
+ > span {
693
+ .sans-serif;
694
+ text-transform: uppercase;
695
+ font-size: 13px;
696
+ font-weight: 800;
697
+ letter-spacing: 1px;
698
+ padding: 10px;
699
+ background-color: white;
700
+ border-radius: 0;
701
+ @media only screen and (min-width: 768px) {
702
+ font-size: 14px;
703
+ padding: 15px 25px;
704
+ }
705
+ }
706
+
707
+ > a {
708
+ color: @gray-dark;
709
+ }
710
+ > a:hover,
711
+ > a:focus {
712
+ color: white;
713
+ background-color: @brand-primary;
714
+ border: 1px solid @brand-primary;
715
+
716
+ // V1.6 display title
717
+ > span{
718
+ color: white;
719
+ }
720
+ }
721
+ }
722
+
723
+ .disabled {
724
+ > a,
725
+ > a:hover,
726
+ > a:focus,
727
+ > span {
728
+ color: @gray;
729
+ background-color: @gray-dark;
730
+ cursor: not-allowed;
731
+ }
732
+ }
733
+ }
734
+
735
+ // -- Highlight Color Customization
736
+
737
+ ::-moz-selection {
738
+ color: white;
739
+ text-shadow: none;
740
+ background: @brand-primary;
741
+ }
742
+
743
+ ::selection {
744
+ color: white;
745
+ text-shadow: none;
746
+ background: @brand-primary;
747
+ }
748
+
749
+ img::selection {
750
+ color: white;
751
+ background: transparent;
752
+ }
753
+
754
+ img::-moz-selection {
755
+ color: white;
756
+ background: transparent;
757
+ }
758
+
759
+
760
+ /* Hux add tags support */
761
+ .tags{
762
+ margin-bottom: -5px;
763
+ a,.tag{
764
+ display: inline-block;
765
+ border: 1px solid rgba(255,255,255,0.8);
766
+ border-radius: 999em;
767
+ padding: 0 10px;
768
+ color: rgba(255,255,255,1);
769
+ line-height: 24px;
770
+ font-size: 12px;
771
+ text-decoration: none;
772
+ margin: 0 1px;
773
+ margin-bottom: 6px;
774
+ &:hover, &:active{
775
+ color:white;
776
+ border-color: white;
777
+ background-color: rgba(255,255,255,0.4);
778
+ text-decoration: none;
779
+
780
+ }
781
+ @media only screen and (min-width: 768px) {
782
+ margin-right: 5px;
783
+ }
784
+ }
785
+ }
786
+
787
+ #tag-heading{
788
+ padding: 70px 0 60px;
789
+ @media only screen and (min-width: 768px) {
790
+ padding:55px 0;
791
+ }
792
+
793
+ }
794
+ // tag_cloud
795
+ #tag_cloud{
796
+ margin:20px 0 15px 0;
797
+ a,.tag{
798
+ font-size: 14px;
799
+ border: none;
800
+ line-height: 28px;
801
+ margin: 0 2px;
802
+ margin-bottom: 8px;
803
+ background: #D6D6D6;
804
+ &:hover, &:active{
805
+ background-color: #0085a1 !important;
806
+ }
807
+ }
808
+ @media only screen and (min-width: 768px) {
809
+ margin-bottom: 25px;
810
+ }
811
+ }
812
+
813
+ .tag-comments{
814
+ font-size: 12px;
815
+ @media only screen and (min-width: 768px) {
816
+ font-size:14px;
817
+ }
818
+ }
819
+
820
+ .t{
821
+ //margin-top: 50px;
822
+ &:first-child{
823
+ margin-top: 0px;
824
+ }
825
+ hr:last-of-type{
826
+ //display: none;
827
+ }
828
+ }
829
+ .listing-seperator{
830
+ color:#0085a1;
831
+ font-size: 21px !important;
832
+ &::before{
833
+ margin-right: 5px;
834
+ }
835
+ @media only screen and (min-width: 768px) {
836
+ font-size: 20px !important;
837
+ line-height: 2 !important;
838
+ }
839
+ }
840
+
841
+ // Customize Style for Posts in One-Tag-List
842
+ .one-tag-list{
843
+ .tag-text{
844
+ font-weight: 200;
845
+ .sans-serif;
846
+ }
847
+ .post-preview {
848
+ position: relative;
849
+ > a {
850
+ .post-title{
851
+ font-size: 16px;
852
+ font-weight: 500;
853
+ margin-top: 20px;
854
+ }
855
+ .post-subtitle{
856
+ font-size: 12px;
857
+ }
858
+ }
859
+ > .post-meta{
860
+ position: absolute;
861
+ right: 5px;
862
+ bottom: 0px;
863
+ margin: 0px;
864
+ font-size: 12px;
865
+ line-height: 12px;
866
+ }
867
+ @media only screen and (min-width: 768px) {
868
+ margin-left: 20px;
869
+ > a {
870
+ > .post-title {
871
+ font-size: 18px;
872
+ line-height: 1.3
873
+ }
874
+ > .post-subtitle{
875
+ font-size: 14px;
876
+ }
877
+ }
878
+ .post-meta{
879
+ font-size: 18px;
880
+ }
881
+ }
882
+ }
883
+ }
884
+
885
+ /* Tags support End*/
886
+
887
+ /* Hux make all img responsible in post-container */
888
+ .post-container img{
889
+ display: block;
890
+ max-width: 100%;
891
+ height: auto;
892
+ margin: 1.5em auto 1.6em auto;
893
+ }
894
+
895
+
896
+ /* Hux Optimize UserExperience */
897
+ .navbar-default .navbar-toggle {
898
+ &:focus, &:hover{
899
+ background-color: inherit;
900
+ }
901
+ &:active{
902
+ background-color: rgba(255, 255, 255, 0.25);
903
+ }
904
+ }
905
+
906
+ /* Hux customize Style for navBar button */
907
+
908
+ .navbar-default .navbar-toggle{
909
+ border-color: transparent;
910
+ padding:19px 16px;
911
+ margin-top: 2px;
912
+ margin-right: 2px;
913
+ margin-bottom: 2px;
914
+ border-radius: 50%;
915
+ .icon-bar{
916
+ width: 18px;
917
+ border-radius: 0px;
918
+ // materialize
919
+ background-color: white;
920
+ }
921
+ .icon-bar+.icon-bar{
922
+ margin-top: 3px;
923
+ }
924
+ }
925
+
926
+
927
+ /* Hux customize Style for Duoshuo */
928
+ .comment{
929
+ margin-top: 20px;
930
+ #ds-thread {
931
+ #ds-reset {
932
+ a.ds-like-thread-button{
933
+ border:1px solid #ddd;
934
+ border-radius: 0px;
935
+ background: white;
936
+ box-shadow: none;
937
+ text-shadow: none;
938
+ }
939
+ a.ds-thread-liked{
940
+
941
+ }
942
+ li.ds-tab a.ds-current{
943
+ border:1px solid #ddd;
944
+ border-radius: 0px;
945
+ background: white;
946
+ box-shadow: none;
947
+ text-shadow: none;
948
+ }
949
+ .ds-textarea-wrapper{
950
+ //border:1px solid #ddd;
951
+ background: none;
952
+ }
953
+ .ds-gradient-bg{
954
+ background: none;
955
+ }
956
+ .ds-post-options{
957
+ border-bottom: 1px solid #ccc;
958
+ }
959
+ .ds-post-button{
960
+ border-bottom: 1px solid #ccc;
961
+ }
962
+ //v1.6 flatten button
963
+ .ds-post-button{
964
+ background: white;
965
+ box-shadow: none;
966
+ &:hover{
967
+ background: @gray-light;
968
+ }
969
+ }
970
+ }
971
+ }
972
+ }
973
+ #ds-smilies-tooltip ul.ds-smilies-tabs li a {
974
+ background: white !important;
975
+ }
976
+
977
+
978
+ // Hux fullscreen mode in 404.html
979
+
980
+ .page-fullscreen .intro-header{
981
+ position: fixed;
982
+ left: 0;
983
+ top: 0;
984
+ width: 100%;
985
+ height: 100%;
986
+ }
987
+ .page-fullscreen #tag-heading{
988
+ position: fixed;
989
+ left: 0;
990
+ top: 0;
991
+ padding-bottom: 150px;
992
+ width: 100%;
993
+ height: 100%;
994
+ display: -webkit-box;
995
+ -webkit-box-orient: vertical;
996
+ -webkit-box-pack: center;
997
+ -webkit-box-align: center;
998
+
999
+ display: -webkit-flex;
1000
+ -webkit-align-items: center;
1001
+ -webkit-justify-content: center;
1002
+ -webkit-flex-direction: column;
1003
+
1004
+ display: flex;
1005
+ align-items: center;
1006
+ justify-content: center;
1007
+ flex-direction: column;
1008
+ }
1009
+ .page-fullscreen footer{
1010
+ position: absolute;
1011
+ width: 100%;
1012
+ bottom: 0;
1013
+ padding-bottom: 20px;
1014
+ opacity: 0.6;
1015
+ color: #fff;
1016
+ }
1017
+ .page-fullscreen footer .copyright{
1018
+ color: #fff;
1019
+ }
1020
+ .page-fullscreen footer .copyright a{
1021
+ color: #fff;
1022
+ }
1023
+ .page-fullscreen footer .copyright a:hover{
1024
+ color: #ddd;
1025
+ }
1026
+
1027
+
1028
+