jekyll-theme-chirpy-clarkezone 5.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +21 -0
  3. data/README.md +105 -0
  4. data/_data/assets/cross_origin.yml +62 -0
  5. data/_data/assets/self_host.yml +51 -0
  6. data/_data/authors.yml +17 -0
  7. data/_data/contact.yml +30 -0
  8. data/_data/locales/bg-BG.yml +83 -0
  9. data/_data/locales/de-DE.yml +82 -0
  10. data/_data/locales/en.yml +93 -0
  11. data/_data/locales/es-ES.yml +79 -0
  12. data/_data/locales/fr-FR.yml +79 -0
  13. data/_data/locales/hu-HU.yml +81 -0
  14. data/_data/locales/id-ID.yml +79 -0
  15. data/_data/locales/ko-KR.yml +86 -0
  16. data/_data/locales/my-MM.yml +79 -0
  17. data/_data/locales/pt-BR.yml +79 -0
  18. data/_data/locales/ru-RU.yml +79 -0
  19. data/_data/locales/tr-TR.yml +79 -0
  20. data/_data/locales/uk-UA.yml +79 -0
  21. data/_data/locales/vi-VN.yml +77 -0
  22. data/_data/locales/zh-CN.yml +85 -0
  23. data/_data/share.yml +27 -0
  24. data/_includes/assets-origin.html +12 -0
  25. data/_includes/comments/disqus.html +54 -0
  26. data/_includes/comments/giscus.html +56 -0
  27. data/_includes/comments/utterances.html +51 -0
  28. data/_includes/comments.html +5 -0
  29. data/_includes/datetime.html +15 -0
  30. data/_includes/favicons.html +17 -0
  31. data/_includes/footer.html +36 -0
  32. data/_includes/google-analytics.html +14 -0
  33. data/_includes/head.html +115 -0
  34. data/_includes/js-selector.html +100 -0
  35. data/_includes/jsdelivr-combine.html +32 -0
  36. data/_includes/language-alias.html +70 -0
  37. data/_includes/mermaid.html +57 -0
  38. data/_includes/mode-toggle.html +129 -0
  39. data/_includes/no-linenos.html +10 -0
  40. data/_includes/post-nav.html +30 -0
  41. data/_includes/post-paginator.html +88 -0
  42. data/_includes/post-sharing.html +27 -0
  43. data/_includes/read-time.html +30 -0
  44. data/_includes/refactor-content.html +282 -0
  45. data/_includes/related-posts.html +103 -0
  46. data/_includes/search-loader.html +46 -0
  47. data/_includes/search-results.html +11 -0
  48. data/_includes/sidebar.html +93 -0
  49. data/_includes/toc.html +16 -0
  50. data/_includes/topbar.html +70 -0
  51. data/_includes/trending-tags.html +50 -0
  52. data/_includes/update-list.html +40 -0
  53. data/_layouts/archives.html +34 -0
  54. data/_layouts/categories.html +118 -0
  55. data/_layouts/category.html +22 -0
  56. data/_layouts/compress.html +10 -0
  57. data/_layouts/default.html +71 -0
  58. data/_layouts/home.html +94 -0
  59. data/_layouts/page.html +63 -0
  60. data/_layouts/post.html +150 -0
  61. data/_layouts/tag.html +21 -0
  62. data/_layouts/tags.html +23 -0
  63. data/_sass/addon/commons.scss +1667 -0
  64. data/_sass/addon/module.scss +154 -0
  65. data/_sass/addon/syntax.scss +283 -0
  66. data/_sass/addon/variables.scss +30 -0
  67. data/_sass/colors/dark-syntax.scss +87 -0
  68. data/_sass/colors/dark-typography.scss +157 -0
  69. data/_sass/colors/light-syntax.scss +83 -0
  70. data/_sass/colors/light-typography.scss +93 -0
  71. data/_sass/jekyll-theme-chirpy-clarkezone.scss +24 -0
  72. data/_sass/layout/archives.scss +136 -0
  73. data/_sass/layout/categories.scss +66 -0
  74. data/_sass/layout/category-tag.scss +73 -0
  75. data/_sass/layout/home.scss +178 -0
  76. data/_sass/layout/post.scss +369 -0
  77. data/_sass/layout/tags.scss +19 -0
  78. data/_sass/variables-hook.scss +3 -0
  79. data/assets/404.html +14 -0
  80. data/assets/css/style.scss +12 -0
  81. data/assets/feed.xml +61 -0
  82. data/assets/img/favicons/android-chrome-192x192.png +0 -0
  83. data/assets/img/favicons/android-chrome-512x512.png +0 -0
  84. data/assets/img/favicons/apple-touch-icon.png +0 -0
  85. data/assets/img/favicons/browserconfig.xml +13 -0
  86. data/assets/img/favicons/favicon-16x16.png +0 -0
  87. data/assets/img/favicons/favicon-32x32.png +0 -0
  88. data/assets/img/favicons/favicon.ico +0 -0
  89. data/assets/img/favicons/mstile-150x150.png +0 -0
  90. data/assets/img/favicons/site.webmanifest +26 -0
  91. data/assets/js/data/search.json +18 -0
  92. data/assets/js/data/swcache.js +55 -0
  93. data/assets/js/dist/categories.min.js +6 -0
  94. data/assets/js/dist/commons.min.js +6 -0
  95. data/assets/js/dist/home.min.js +6 -0
  96. data/assets/js/dist/misc.min.js +6 -0
  97. data/assets/js/dist/page.min.js +6 -0
  98. data/assets/js/dist/post.min.js +6 -0
  99. data/assets/js/dist/pvreport.min.js +6 -0
  100. data/assets/js/pwa/app.js +47 -0
  101. data/assets/js/pwa/sw.js +89 -0
  102. data/assets/js/pwa/unregister.js +12 -0
  103. data/assets/robots.txt +10 -0
  104. metadata +236 -0
@@ -0,0 +1,83 @@
1
+ /*
2
+ * The syntax light mode code snippet colors.
3
+ */
4
+
5
+ @mixin light-syntax {
6
+ /* see: <https://raw.githubusercontent.com/jwarby/pygments-css/master/github.css> */
7
+ .highlight .hll { background-color: #ffffcc; }
8
+ .highlight .c { color: #999988; font-style: italic; } /* Comment */
9
+ .highlight .err { color: #a61717; background-color: #e3d2d2; } /* Error */
10
+ .highlight .k { color: #000000; font-weight: bold; } /* Keyword */
11
+ .highlight .o { color: #000000; font-weight: bold; } /* Operator */
12
+ .highlight .cm { color: #999988; font-style: italic; } /* Comment.Multiline */
13
+ .highlight .cp { color: #999999; font-weight: bold; font-style: italic; } /* Comment.Preproc */
14
+ .highlight .c1 { color: #999988; font-style: italic; } /* Comment.Single */
15
+ .highlight .cs { color: #999999; font-weight: bold; font-style: italic; } /* Comment.Special */
16
+ .highlight .gd { color: #d01040; background-color: #ffdddd; } /* Generic.Deleted */
17
+ .highlight .ge { color: #000000; font-style: italic; } /* Generic.Emph */
18
+ .highlight .gr { color: #aa0000; } /* Generic.Error */
19
+ .highlight .gh { color: #999999; } /* Generic.Heading */
20
+ .highlight .gi { color: #008080; background-color: #ddffdd; } /* Generic.Inserted */
21
+ .highlight .go { color: #888888; } /* Generic.Output */
22
+ .highlight .gp { color: #555555; } /* Generic.Prompt */
23
+ .highlight .gs { font-weight: bold; } /* Generic.Strong */
24
+ .highlight .gu { color: #aaaaaa; } /* Generic.Subheading */
25
+ .highlight .gt { color: #aa0000; } /* Generic.Traceback */
26
+ .highlight .kc { color: #000000; font-weight: bold; } /* Keyword.Constant */
27
+ .highlight .kd { color: #000000; font-weight: bold; } /* Keyword.Declaration */
28
+ .highlight .kn { color: #000000; font-weight: bold; } /* Keyword.Namespace */
29
+ .highlight .kp { color: #000000; font-weight: bold; } /* Keyword.Pseudo */
30
+ .highlight .kr { color: #000000; font-weight: bold; } /* Keyword.Reserved */
31
+ .highlight .kt { color: #445588; font-weight: bold; } /* Keyword.Type */
32
+ .highlight .m { color: #009999; } /* Literal.Number */
33
+ .highlight .s { color: #d01040; } /* Literal.String */
34
+ .highlight .na { color: #008080; } /* Name.Attribute */
35
+ .highlight .nb { color: #0086b3; } /* Name.Builtin */
36
+ .highlight .nc { color: #445588; font-weight: bold; } /* Name.Class */
37
+ .highlight .no { color: #008080; } /* Name.Constant */
38
+ .highlight .nd { color: #3c5d5d; font-weight: bold; } /* Name.Decorator */
39
+ .highlight .ni { color: #800080; } /* Name.Entity */
40
+ .highlight .ne { color: #990000; font-weight: bold; } /* Name.Exception */
41
+ .highlight .nf { color: #990000; font-weight: bold; } /* Name.Function */
42
+ .highlight .nl { color: #990000; font-weight: bold; } /* Name.Label */
43
+ .highlight .nn { color: #555555; } /* Name.Namespace */
44
+ .highlight .nt { color: #000080; } /* Name.Tag */
45
+ .highlight .nv { color: #008080; } /* Name.Variable */
46
+ .highlight .ow { color: #000000; font-weight: bold; } /* Operator.Word */
47
+ .highlight .w { color: #bbbbbb; } /* Text.Whitespace */
48
+ .highlight .mf { color: #009999; } /* Literal.Number.Float */
49
+ .highlight .mh { color: #009999; } /* Literal.Number.Hex */
50
+ .highlight .mi { color: #009999; } /* Literal.Number.Integer */
51
+ .highlight .mo { color: #009999; } /* Literal.Number.Oct */
52
+ .highlight .sb { color: #d01040; } /* Literal.String.Backtick */
53
+ .highlight .sc { color: #d01040; } /* Literal.String.Char */
54
+ .highlight .sd { color: #d01040; } /* Literal.String.Doc */
55
+ .highlight .s2 { color: #d01040; } /* Literal.String.Double */
56
+ .highlight .se { color: #d01040; } /* Literal.String.Escape */
57
+ .highlight .sh { color: #d01040; } /* Literal.String.Heredoc */
58
+ .highlight .si { color: #d01040; } /* Literal.String.Interpol */
59
+ .highlight .sx { color: #d01040; } /* Literal.String.Other */
60
+ .highlight .sr { color: #009926; } /* Literal.String.Regex */
61
+ .highlight .s1 { color: #d01040; } /* Literal.String.Single */
62
+ .highlight .ss { color: #990073; } /* Literal.String.Symbol */
63
+ .highlight .bp { color: #999999; } /* Name.Builtin.Pseudo */
64
+ .highlight .vc { color: #008080; } /* Name.Variable.Class */
65
+ .highlight .vg { color: #008080; } /* Name.Variable.Global */
66
+ .highlight .vi { color: #008080; } /* Name.Variable.Instance */
67
+ .highlight .il { color: #009999; } /* Literal.Number.Integer.Long */
68
+
69
+ /* --- custom light colors --- */
70
+ --highlight-bg-color: #f7f7f7;
71
+ --highlighter-rouge-color: #2f2f2f;
72
+ --highlight-lineno-color: #c2c6cc;
73
+ --inline-code-bg: #f3f3f3;
74
+ --code-header-text-color: #a3a3b1;
75
+ --code-header-muted-color: #ebebeb;
76
+ --code-header-icon-color: #d1d1d1;
77
+ --clipboard-checked-color: #43c743;
78
+
79
+ [class^="prompt-"] {
80
+ --inline-code-bg: #fbfafa;
81
+ --highlighter-rouge-color: rgb(82, 82, 82);
82
+ }
83
+ } /* light-syntax */
@@ -0,0 +1,93 @@
1
+ /*
2
+ * The syntax light mode typography colors
3
+ */
4
+
5
+ @mixin light-scheme {
6
+ /* Framework color */
7
+ --body-bg: #fafafa;
8
+ --mask-bg: #c1c3c5;
9
+ --main-bg: white;
10
+ --main-border-color: #f3f3f3;
11
+
12
+ /* Common color */
13
+ --text-color: #34343c;
14
+ --text-muted-color: gray;
15
+ --heading-color: black;
16
+ --blockquote-border-color: #eeeeee;
17
+ --blockquote-text-color: #9a9a9a;
18
+ --link-color: #2a408e;
19
+ --link-underline-color: #dee2e6;
20
+ --button-bg: #ffffff;
21
+ --btn-border-color: #e9ecef;
22
+ --btn-backtotop-color: #686868;
23
+ --btn-backtotop-border-color: #f1f1f1;
24
+ --btn-box-shadow: #eaeaea;
25
+ --checkbox-color: #c5c5c5;
26
+ --checkbox-checked-color: #07a8f7;
27
+
28
+ /* Sidebar */
29
+ --sidebar-bg: #eeeeee;
30
+ --sidebar-muted-color: #a2a19f;
31
+ --sidebar-active-color: #424242;
32
+ --nav-cursor-color: #757575;
33
+ --sidebar-btn-bg: white;
34
+
35
+ /* Topbar */
36
+ --topbar-text-color: rgb(78, 78, 78);
37
+ --topbar-wrapper-bg: white;
38
+ --search-wrapper-bg: rgb(245, 245, 245, 0.5);
39
+ --search-wrapper-border-color: rgb(245, 245, 245);
40
+ --search-tag-bg: #f8f9fa;
41
+ --search-icon-color: #c2c6cc;
42
+ --input-focus-border-color: var(--btn-border-color);
43
+
44
+ /* Home page */
45
+ --post-list-text-color: dimgray;
46
+ --btn-patinator-text-color: #555555;
47
+ --btn-paginator-hover-color: var(--sidebar-bg);
48
+ --btn-paginator-border-color: var(--sidebar-bg);
49
+ --btn-text-color: #676666;
50
+ --pin-bg: #f5f5f5;
51
+ --pin-color: #999fa4;
52
+
53
+ /* Posts */
54
+ --btn-share-hover-color: var(--link-color);
55
+ --card-border-color: #f1f1f1;
56
+ --card-box-shadow: rgba(234, 234, 234, 0.76);
57
+ --label-color: #616161;
58
+ --relate-post-date: rgba(30, 55, 70, 0.4);
59
+ --footnote-target-bg: lightcyan;
60
+ --tag-bg: rgba(0, 0, 0, 0.075);
61
+ --tag-border: #dee2e6;
62
+ --tag-shadow: var(--btn-border-color);
63
+ --tag-hover: rgb(222, 226, 230);
64
+ --tb-odd-bg: #fbfcfd;
65
+ --tb-border-color: #eaeaea;
66
+ --dash-color: silver;
67
+ --preview-img-bg: radial-gradient(circle, rgb(255, 255, 255) 0%, rgb(249, 249, 249) 100%);
68
+ --kbd-wrap-color: #bdbdbd;
69
+ --kbd-text-color: var(--text-color);
70
+ --kbd-bg-color: white;
71
+ --prompt-text-color: rgb(46, 46, 46, 0.77);
72
+ --prompt-tip-bg: rgb(123, 247, 144, 0.2);
73
+ --prompt-tip-icon-color: #03b303;
74
+ --prompt-info-bg: #e1f5fe;
75
+ --prompt-info-icon-color: #0070cb;
76
+ --prompt-warning-bg: rgb(255, 243, 205);
77
+ --prompt-warning-icon-color: #ef9c03;
78
+ --prompt-danger-bg: rgb(248, 215, 218, 0.56);
79
+ --prompt-danger-icon-color: #df3c30;
80
+
81
+ [class^="prompt-"] {
82
+ --link-underline-color: rgb(219, 216, 216);
83
+ }
84
+
85
+ /* Categories */
86
+ --categories-hover-bg: var(--btn-border-color);
87
+ --categories-icon-hover-color: darkslategray;
88
+
89
+ /* Archive */
90
+ --timeline-color: rgba(0, 0, 0, 0.075);
91
+ --timeline-node-bg: #c2c6cc;
92
+ --timeline-year-dot-color: #ffffff;
93
+ } /* light-scheme */
@@ -0,0 +1,24 @@
1
+ /*!
2
+ * The styles for Jekyll theme Chirpy
3
+ *
4
+ * Chirpy v5.3.0 (https://github.com/cotes2020/jekyll-theme-chirpy)
5
+ * © 2019 Cotes Chung
6
+ * MIT Licensed
7
+ */
8
+
9
+ @import
10
+ "colors/light-typography",
11
+ "colors/dark-typography",
12
+
13
+ "addon/module",
14
+ "addon/variables",
15
+ "variables-hook",
16
+ "addon/syntax",
17
+ "addon/commons",
18
+
19
+ "layout/home",
20
+ "layout/post",
21
+ "layout/tags",
22
+ "layout/archives",
23
+ "layout/categories",
24
+ "layout/category-tag";
@@ -0,0 +1,136 @@
1
+ /*
2
+ Style for Archives
3
+ */
4
+
5
+ #archives {
6
+ letter-spacing: 0.03rem;
7
+
8
+ $timeline-width: 4px;
9
+
10
+ %timeline {
11
+ content: "";
12
+ width: $timeline-width;
13
+ position: relative;
14
+ float: left;
15
+ background-color: var(--timeline-color);
16
+ }
17
+
18
+ .year {
19
+ height: 3.5rem;
20
+ font-size: 1.5rem;
21
+ position: relative;
22
+ left: 2px;
23
+ margin-left: -$timeline-width;
24
+
25
+ &::before {
26
+ @extend %timeline;
27
+
28
+ height: 72px;
29
+ left: 79px;
30
+ bottom: 16px;
31
+ }
32
+
33
+ &:first-child::before {
34
+ @extend %timeline;
35
+
36
+ height: 32px;
37
+ top: 24px;
38
+ }
39
+
40
+ &::after { /* Year dot */
41
+ content: "";
42
+ display: inline-block;
43
+ position: relative;
44
+ border-radius: 50%;
45
+ width: 12px;
46
+ height: 12px;
47
+ left: 21.5px;
48
+ border: 3px solid;
49
+ background-color: var(--timeline-year-dot-color);
50
+ border-color: var(--timeline-node-bg);
51
+ box-shadow: 0 0 2px 0 #c2c6cc;
52
+ z-index: 1;
53
+ }
54
+ }
55
+
56
+ ul {
57
+ li {
58
+ font-size: 1.1rem;
59
+ line-height: 3rem;
60
+ white-space: nowrap;
61
+ overflow: hidden;
62
+ text-overflow: ellipsis;
63
+
64
+ &:nth-child(odd) {
65
+ background-color: var(--main-bg, #ffffff);
66
+ background-image: linear-gradient(to left, #ffffff, #fbfbfb, #fbfbfb, #fbfbfb, #ffffff);
67
+ }
68
+
69
+ &::before {
70
+ @extend %timeline;
71
+
72
+ top: 0;
73
+ left: 77px;
74
+ height: 3.1rem;
75
+ }
76
+ }
77
+
78
+ &:last-child li:last-child::before {
79
+ height: 1.5rem;
80
+ }
81
+ } /* #archives ul */
82
+
83
+ .date {
84
+ white-space: nowrap;
85
+ display: inline-block;
86
+ position: relative;
87
+ right: 0.5rem;
88
+
89
+ &.month {
90
+ width: 1.4rem;
91
+ text-align: center;
92
+ }
93
+
94
+ &.day {
95
+ font-size: 85%;
96
+ font-family: Lato, sans-serif;
97
+ }
98
+ }
99
+
100
+ a {
101
+ /* post title in Archvies */
102
+ margin-left: 2.5rem;
103
+ position: relative;
104
+ top: 0.1rem;
105
+
106
+ &:hover {
107
+ border-bottom: none;
108
+ }
109
+
110
+ &::before {
111
+ /* the dot before post title */
112
+ content: "";
113
+ display: inline-block;
114
+ position: relative;
115
+ border-radius: 50%;
116
+ width: 8px;
117
+ height: 8px;
118
+ float: left;
119
+ top: 1.35rem;
120
+ left: 71px;
121
+ background-color: var(--timeline-node-bg);
122
+ box-shadow: 0 0 3px 0 #c2c6cc;
123
+ z-index: 1;
124
+ }
125
+ }
126
+ } /* #archives */
127
+
128
+ @media all and (max-width: 576px) {
129
+ #archives {
130
+ margin-top: -1rem;
131
+
132
+ ul {
133
+ letter-spacing: 0;
134
+ }
135
+ }
136
+ }
@@ -0,0 +1,66 @@
1
+ /*
2
+ Style for Tab Categories
3
+ */
4
+
5
+ %category-icon-color {
6
+ color: gray;
7
+ }
8
+
9
+ .categories {
10
+ margin-bottom: 2rem;
11
+
12
+ .card-header {
13
+ padding-right: 12px;
14
+ }
15
+
16
+ i {
17
+ @extend %category-icon-color;
18
+
19
+ font-size: 86%; /* fontawesome icons */
20
+ }
21
+
22
+ .list-group-item {
23
+ border-left: none;
24
+ border-right: none;
25
+ padding-left: 2rem;
26
+
27
+ &:first-child {
28
+ border-top-left-radius: 0;
29
+ border-top-right-radius: 0;
30
+ }
31
+ }
32
+ } /* .categories */
33
+
34
+ .category-trigger {
35
+ width: 1.7rem;
36
+ height: 1.7rem;
37
+ border-radius: 50%;
38
+ text-align: center;
39
+ color: #6c757d !important;
40
+
41
+ i {
42
+ position: relative;
43
+ height: 0.7rem;
44
+ width: 1rem;
45
+ transition: -webkit-transform 300ms ease;
46
+ transition: transform 300ms ease;
47
+ transition: transform 300ms ease, -webkit-transform 300ms ease;
48
+ }
49
+
50
+ &:hover {
51
+ i {
52
+ color: var(--categories-icon-hover-color);
53
+ }
54
+ }
55
+ }
56
+
57
+ @media (hover: hover) { /* only works on desktop */
58
+ .category-trigger:hover {
59
+ background-color: var(--categories-hover-bg);
60
+ }
61
+ }
62
+
63
+ .rotate {
64
+ -webkit-transform: rotate(-90deg);
65
+ transform: rotate(-90deg);
66
+ }
@@ -0,0 +1,73 @@
1
+ /*
2
+ Style for page Category and Tag
3
+ */
4
+
5
+ .dash {
6
+ margin: 0 0.5rem 0.6rem 0.5rem;
7
+ border-bottom: 2px dotted var(--dash-color);
8
+ }
9
+
10
+ #page-category,
11
+ #page-tag {
12
+ ul > li {
13
+ line-height: 1.5rem;
14
+ padding: 0.6rem 0;
15
+
16
+ &::before { /* dot */
17
+ background: #999999;
18
+ width: 5px;
19
+ height: 5px;
20
+ border-radius: 50%;
21
+ display: block;
22
+ content: "";
23
+ position: relative;
24
+ top: 0.6rem;
25
+ margin-right: 0.5rem;
26
+ }
27
+
28
+ > a { /* post's title */
29
+ @extend %no-bottom-border;
30
+
31
+ font-size: 1.1rem;
32
+ }
33
+
34
+ > span:last-child {
35
+ white-space: nowrap;
36
+ } /* post's date */
37
+ }
38
+ }
39
+
40
+ #page-tag h1 > i { /* tag icon */
41
+ font-size: 1.2rem;
42
+ }
43
+
44
+ #page-category h1 > i {
45
+ font-size: 1.25rem;
46
+ }
47
+
48
+ #page-category,
49
+ #page-tag,
50
+ #access-lastmod {
51
+ a:hover {
52
+ @extend %link-hover;
53
+
54
+ margin-bottom: -1px; /* Avoid jumping */
55
+ }
56
+ }
57
+
58
+ @media all and (max-width: 576px) {
59
+ #page-category,
60
+ #page-tag {
61
+ ul > li {
62
+ &::before {
63
+ margin: 0 0.5rem;
64
+ }
65
+
66
+ > a {
67
+ white-space: nowrap;
68
+ overflow: hidden;
69
+ text-overflow: ellipsis;
70
+ }
71
+ }
72
+ }
73
+ }
@@ -0,0 +1,178 @@
1
+ /*
2
+ Style for Homepage
3
+ */
4
+
5
+ .pagination {
6
+ color: var(--btn-patinator-text-color);
7
+ font-family: Lato, sans-serif;
8
+
9
+ a:hover {
10
+ text-decoration: none;
11
+ }
12
+
13
+ .page-item {
14
+ .page-link {
15
+ color: inherit;
16
+ width: 2.5rem;
17
+ height: 2.5rem;
18
+ padding: 0;
19
+ display: -webkit-box;
20
+ -webkit-box-pack: center;
21
+ -webkit-box-align: center;
22
+ border-radius: 50%;
23
+ border: 1px solid var(--btn-paginator-border-color);
24
+ background-color: var(--button-bg);
25
+
26
+ &:hover {
27
+ background-color: var(--btn-paginator-hover-color);
28
+ }
29
+ }
30
+
31
+ &.active {
32
+ .page-link {
33
+ background-color: var(--btn-paginator-hover-color);
34
+ color: var(--btn-text-color);
35
+ }
36
+ }
37
+
38
+ &.disabled {
39
+ cursor: not-allowed;
40
+
41
+ .page-link {
42
+ color: rgba(108, 117, 125, 0.57);
43
+ border-color: var(--btn-paginator-border-color);
44
+ background-color: var(--button-bg);
45
+ }
46
+ }
47
+
48
+ &:first-child .page-link,
49
+ &:last-child .page-link {
50
+ border-radius: 50%;
51
+ }
52
+ } /* .page-item */
53
+ } /* .pagination */
54
+
55
+ #post-list {
56
+ margin-top: 1rem;
57
+ padding-right: 0.5rem;
58
+
59
+ .post-preview {
60
+ padding-top: 1.5rem;
61
+ padding-bottom: 1rem;
62
+ border-bottom: 1px solid var(--main-border-color);
63
+
64
+ a:hover {
65
+ @extend %link-hover;
66
+ }
67
+
68
+ h1 {
69
+ font-size: 1.4rem;
70
+ margin: 0;
71
+ }
72
+
73
+ .post-meta {
74
+ i {
75
+ font-size: 0.73rem;
76
+
77
+ &:not(:first-child) {
78
+ margin-left: 1.2rem;
79
+ }
80
+ }
81
+
82
+ em {
83
+ @extend %normal-font-style;
84
+ }
85
+
86
+ .pin {
87
+ i {
88
+ -webkit-transform: rotate(45deg);
89
+ transform: rotate(45deg);
90
+ padding-left: 3px;
91
+ color: var(--pin-color);
92
+ }
93
+
94
+ span {
95
+ display: none;
96
+ }
97
+ }
98
+ }
99
+
100
+ .post-content {
101
+ margin-top: 0.6rem;
102
+ margin-bottom: 0.6rem;
103
+ color: var(--post-list-text-color);
104
+
105
+ > p {
106
+ /* Make preview shorter on the homepage */
107
+ margin: 0;
108
+ overflow: hidden;
109
+ text-overflow: ellipsis;
110
+ display: -webkit-box;
111
+ -webkit-line-clamp: 2;
112
+ -webkit-box-orient: vertical;
113
+ }
114
+ }
115
+ } /* .post-preview */
116
+ } /* #post-list */
117
+
118
+ /* Hide SideBar and TOC */
119
+ @media all and (max-width: 830px) {
120
+ .pagination {
121
+ justify-content: space-evenly;
122
+
123
+ .page-item {
124
+ &:not(:first-child):not(:last-child) {
125
+ display: none;
126
+ }
127
+ }
128
+ }
129
+ }
130
+
131
+ /* Sidebar is visible */
132
+ @media all and (min-width: 831px) {
133
+ #post-list {
134
+ margin-top: 1.5rem;
135
+
136
+ .post-preview .post-meta {
137
+ .pin {
138
+ background: var(--pin-bg);
139
+ border-radius: 5px;
140
+ line-height: 1.4rem;
141
+ height: 1.3rem;
142
+ margin-top: 3px;
143
+ padding-left: 1px;
144
+ padding-right: 6px;
145
+
146
+ > span {
147
+ display: inline;
148
+ }
149
+ }
150
+ }
151
+ }
152
+
153
+ .pagination {
154
+ font-size: 0.85rem;
155
+
156
+ .page-item {
157
+ &:not(:last-child) {
158
+ margin-right: 0.7rem;
159
+ }
160
+
161
+ .page-link {
162
+ width: 2rem;
163
+ height: 2rem;
164
+ }
165
+ }
166
+
167
+ .page-index {
168
+ display: none;
169
+ }
170
+ } /* .pagination */
171
+ }
172
+
173
+ /* Panel hidden */
174
+ @media all and (max-width: 1200px) {
175
+ #post-list {
176
+ padding-right: 0;
177
+ }
178
+ }