hexo-theme-shokax 0.4.4 → 0.4.6-beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (183) hide show
  1. package/CODE_OF_CONDUCT.md +128 -128
  2. package/CONTRIBUTING.md +58 -58
  3. package/LICENSE +660 -660
  4. package/LICENSE-shoka +21 -21
  5. package/README.md +99 -98
  6. package/README_en.MD +91 -90
  7. package/UsageRestrictions.md +25 -25
  8. package/_config.yml +381 -388
  9. package/_images.yml +9 -9
  10. package/eslint.config.mjs +55 -55
  11. package/index.html +231 -0
  12. package/languages/README.md +19 -19
  13. package/languages/default.yml +1 -1
  14. package/languages/en.yml +153 -153
  15. package/languages/ja.yml +153 -153
  16. package/languages/zh-CN.yml +153 -153
  17. package/languages/zh-HK.yml +153 -153
  18. package/languages/zh-TW.yml +153 -153
  19. package/layout/_alternate/atom.ejs +30 -30
  20. package/layout/_alternate/json.ejs +16 -16
  21. package/layout/_alternate/rss.ejs +34 -34
  22. package/layout/_mixin/breadcrumb.pug +33 -33
  23. package/layout/_mixin/card.pug +38 -38
  24. package/layout/_mixin/comment.pug +6 -6
  25. package/layout/_mixin/postmeta.pug +29 -29
  26. package/layout/_mixin/segment.pug +35 -35
  27. package/layout/_mixin/sidebar.pug +40 -40
  28. package/layout/_mixin/widgets.pug +28 -28
  29. package/layout/_partials/footer.pug +43 -43
  30. package/layout/_partials/head/head.pug +55 -56
  31. package/layout/_partials/head/head_com.pug +24 -24
  32. package/layout/_partials/head/pwa.pug +18 -18
  33. package/layout/_partials/header.pug +18 -18
  34. package/layout/_partials/layout.pug +140 -140
  35. package/layout/_partials/loading.pug +13 -13
  36. package/layout/_partials/pagination.pug +4 -4
  37. package/layout/_partials/post/copyright.pug +20 -20
  38. package/layout/_partials/post/footer.pug +17 -17
  39. package/layout/_partials/post/nav.pug +13 -13
  40. package/layout/_partials/post/post.pug +41 -41
  41. package/layout/_partials/post/reward.pug +18 -18
  42. package/layout/_partials/sidebar/menu.pug +37 -37
  43. package/layout/_partials/sidebar/overview.pug +42 -42
  44. package/layout/_partials/third-party/baidu-analytics.pug +11 -11
  45. package/layout/_partials/third-party/clarity.pug +8 -8
  46. package/layout/_partials/third-party/google-analytics.pug +9 -9
  47. package/layout/archive.pug +118 -118
  48. package/layout/category.pug +59 -59
  49. package/layout/index.pug +33 -33
  50. package/layout/page.pug +55 -55
  51. package/layout/post.pug +36 -36
  52. package/layout/tag.pug +43 -43
  53. package/meta.json +6431 -0
  54. package/package.json +72 -70
  55. package/scripts/helpers/engine.js +10 -0
  56. package/scripts/plugin/check.js +2 -2
  57. package/scripts/tags/links.js +4 -4
  58. package/source/assets/algolia_logo.svg +9 -9
  59. package/source/assets/logo.svg +16 -16
  60. package/source/css/_colors.styl +207 -207
  61. package/source/css/_common/components/components.styl +6 -6
  62. package/source/css/_common/components/highlight/highlight.styl +357 -357
  63. package/source/css/_common/components/highlight/operation.styl +21 -21
  64. package/source/css/_common/components/pages/collapse.styl +119 -119
  65. package/source/css/_common/components/pages/home.styl +391 -391
  66. package/source/css/_common/components/pages/pages.styl +56 -56
  67. package/source/css/_common/components/pages/tag-cloud.styl +12 -12
  68. package/source/css/_common/components/post/breadcrumb.styl +39 -39
  69. package/source/css/_common/components/post/copyright.styl +41 -41
  70. package/source/css/_common/components/post/expand.styl +263 -263
  71. package/source/css/_common/components/post/footer.styl +11 -11
  72. package/source/css/_common/components/post/header.styl +79 -79
  73. package/source/css/_common/components/post/nav.styl +64 -64
  74. package/source/css/_common/components/post/post.styl +29 -29
  75. package/source/css/_common/components/post/reward.styl +50 -50
  76. package/source/css/_common/components/post/rtl.styl +12 -12
  77. package/source/css/_common/components/post/tags.styl +39 -39
  78. package/source/css/_common/components/tags/collapse.styl +72 -72
  79. package/source/css/_common/components/tags/container.styl +49 -49
  80. package/source/css/_common/components/tags/label.styl +12 -12
  81. package/source/css/_common/components/tags/links.styl +77 -77
  82. package/source/css/_common/components/tags/list.styl +131 -131
  83. package/source/css/_common/components/tags/note.styl +70 -70
  84. package/source/css/_common/components/tags/player.styl +361 -361
  85. package/source/css/_common/components/tags/quiz.styl +200 -200
  86. package/source/css/_common/components/tags/tabs.styl +89 -89
  87. package/source/css/_common/components/tags/tags.styl +9 -9
  88. package/source/css/_common/components/third-party/loading.styl +222 -222
  89. package/source/css/_common/components/third-party/mermaid/class.styl +90 -90
  90. package/source/css/_common/components/third-party/mermaid/flowchart.styl +72 -72
  91. package/source/css/_common/components/third-party/mermaid/gantt.styl +251 -251
  92. package/source/css/_common/components/third-party/mermaid/git.styl +7 -7
  93. package/source/css/_common/components/third-party/mermaid/mermaid.styl +37 -37
  94. package/source/css/_common/components/third-party/mermaid/pie.styl +9 -9
  95. package/source/css/_common/components/third-party/mermaid/sequence.styl +95 -95
  96. package/source/css/_common/components/third-party/mermaid/state.styl +130 -130
  97. package/source/css/_common/components/third-party/pace.styl +18 -18
  98. package/source/css/_common/components/third-party/search.styl +167 -167
  99. package/source/css/_common/components/third-party/theme.styl +151 -151
  100. package/source/css/_common/components/third-party/third-party.styl +22 -22
  101. package/source/css/_common/components/third-party/widgets.styl +57 -57
  102. package/source/css/_common/outline/footer/footer.styl +67 -67
  103. package/source/css/_common/outline/header/brand.styl +77 -77
  104. package/source/css/_common/outline/header/header.styl +20 -20
  105. package/source/css/_common/outline/header/image.styl +85 -85
  106. package/source/css/_common/outline/header/menu.styl +117 -117
  107. package/source/css/_common/outline/header/nav.styl +81 -81
  108. package/source/css/_common/outline/header/right.styl +15 -15
  109. package/source/css/_common/outline/header/tool.styl +207 -207
  110. package/source/css/_common/outline/header/waves.styl +57 -57
  111. package/source/css/_common/outline/mobile.styl +46 -46
  112. package/source/css/_common/outline/outline.styl +78 -78
  113. package/source/css/_common/outline/sidebar/author.styl +59 -59
  114. package/source/css/_common/outline/sidebar/dimmer.styl +23 -23
  115. package/source/css/_common/outline/sidebar/menu.styl +63 -63
  116. package/source/css/_common/outline/sidebar/quick.styl +43 -43
  117. package/source/css/_common/outline/sidebar/related.styl +56 -56
  118. package/source/css/_common/outline/sidebar/sidebar.styl +80 -80
  119. package/source/css/_common/outline/sidebar/social.styl +69 -69
  120. package/source/css/_common/outline/sidebar/state.styl +37 -37
  121. package/source/css/_common/outline/sidebar/tab.styl +71 -71
  122. package/source/css/_common/outline/sidebar/toc.styl +47 -47
  123. package/source/css/_common/scaffolding/animate.styl +322 -322
  124. package/source/css/_common/scaffolding/base.styl +190 -190
  125. package/source/css/_common/scaffolding/buttons.styl +48 -48
  126. package/source/css/_common/scaffolding/divider.styl +36 -36
  127. package/source/css/_common/scaffolding/iconfont.styl +443 -443
  128. package/source/css/_common/scaffolding/normalize.styl +273 -273
  129. package/source/css/_common/scaffolding/pagination.styl +81 -81
  130. package/source/css/_common/scaffolding/ribbon.styl +38 -38
  131. package/source/css/_common/scaffolding/scaffolding.styl +14 -14
  132. package/source/css/_common/scaffolding/scrollbar.styl +37 -37
  133. package/source/css/_common/scaffolding/tables.styl +50 -50
  134. package/source/css/_common/scaffolding/tip.styl +19 -19
  135. package/source/css/_common/scaffolding/toggles.styl +59 -59
  136. package/source/css/_iconfont.styl +455 -455
  137. package/source/css/_mixins.styl +148 -148
  138. package/source/css/_variables.styl +89 -89
  139. package/source/css/app.styl +41 -41
  140. package/source/css/mermaid.styl +5 -5
  141. package/source/css/optimize.styl +5 -5
  142. package/source/js/_app/components/comments.js +59 -0
  143. package/source/js/_app/components/comments.ts +88 -89
  144. package/source/js/_app/components/sidebar.js +244 -0
  145. package/source/js/_app/components/sidebar.ts +239 -239
  146. package/source/js/_app/components/tcomments.js +47 -0
  147. package/source/js/_app/components/tcomments.ts +54 -55
  148. package/source/js/_app/globals/globalVars.ts +99 -99
  149. package/source/js/_app/globals/handles.js +105 -0
  150. package/source/js/_app/globals/handles.ts +124 -123
  151. package/source/js/_app/globals/themeColor.ts +63 -64
  152. package/source/js/_app/globals/thirdparty.ts +63 -63
  153. package/source/js/_app/globals/tools.ts +75 -75
  154. package/source/js/_app/library/anime.ts +110 -110
  155. package/source/js/_app/library/declare.d.ts +128 -133
  156. package/source/js/_app/library/dom.ts +28 -26
  157. package/source/js/_app/library/loadFile.js +43 -0
  158. package/source/js/_app/library/loadFile.ts +47 -43
  159. package/source/js/_app/library/proto.ts +137 -141
  160. package/source/js/_app/library/scriptPjax.ts +72 -72
  161. package/source/js/_app/library/storage.ts +12 -12
  162. package/source/js/_app/library/vue.js +52 -0
  163. package/source/js/_app/library/vue.ts +49 -50
  164. package/source/js/_app/page/common.js +45 -0
  165. package/source/js/_app/page/common.ts +43 -42
  166. package/source/js/_app/page/fancybox.js +70 -0
  167. package/source/js/_app/page/fancybox.ts +72 -71
  168. package/source/js/_app/page/post.js +253 -0
  169. package/source/js/_app/page/post.ts +266 -266
  170. package/source/js/_app/page/search.js +111 -0
  171. package/source/js/_app/page/search.ts +115 -115
  172. package/source/js/_app/page/tab.ts +60 -60
  173. package/source/js/_app/pjax/domInit.js +80 -0
  174. package/source/js/_app/pjax/domInit.ts +97 -97
  175. package/source/js/_app/pjax/refresh.js +137 -0
  176. package/source/js/_app/pjax/refresh.ts +140 -138
  177. package/source/js/_app/pjax/siteInit.js +115 -0
  178. package/source/js/_app/pjax/siteInit.ts +106 -104
  179. package/source/js/_app/player.js +777 -0
  180. package/source/js/_app/player.ts +798 -799
  181. package/toolbox/compiler.mjs +73 -0
  182. package/toolbox/hoistdep.mjs +6 -0
  183. package/toolbox/lib.mjs +40 -0
@@ -1,207 +1,207 @@
1
- #tool {
2
- position: fixed;
3
- if (hexo-config('sidebar.position') == 'left') {
4
- right: 1rem;
5
- } else {
6
- left: 1rem;
7
- }
8
-
9
- top: 50vh;
10
- z-index: $zindex-2;
11
-
12
-
13
- +tablet-mobile() {
14
- right: 1rem;
15
- left: auto;
16
- }
17
-
18
- .item {
19
- display: none;
20
- width: 1.875rem;
21
- height: 1.875rem;
22
- opacity: .5;
23
- cursor: pointer;
24
- align-items: center;
25
- justify-content: center;
26
- flex-direction: column;
27
- the-transition();
28
- &:hover {
29
- opacity: .9;
30
- }
31
- }
32
-
33
- .player {
34
- display: inline-flex;
35
- flex-direction: row-reverse;
36
- font-size: $font-size-largest;
37
- width: auto;
38
- height: auto;
39
-
40
- > .btn {
41
- font-family-icons();
42
- width: 1.875rem;
43
- text-align: center;
44
- &+.btn {
45
- margin-right: .625rem;
46
- }
47
- }
48
-
49
- .play-pause {
50
- &::before {
51
- @extend .i-play:before;
52
- }
53
- }
54
-
55
- .music {
56
- display: none;
57
- &::before {
58
- @extend .i-music:before;
59
- }
60
- }
61
- }
62
-
63
- &.playing .player {
64
- .play-pause::before {
65
- @extend .i-pause:before;
66
- }
67
- }
68
-
69
- .player-info {
70
- shadow-box();
71
- background: var(--grey-1-a7);
72
- backdrop-filter: blur(.625rem);
73
- position: fixed;
74
- display: none;
75
- bottom: 0;
76
- overflow: hidden;
77
-
78
- if (hexo-config('sidebar.position') == 'left') {
79
- right: 3.5rem;
80
- } else {
81
- left: 3.5rem;
82
- }
83
- width: 50vw;
84
- z-index: $zindex-2;
85
- max-width: 25rem;
86
-
87
- +mobile() {
88
- right: 2.5rem;
89
- }
90
-
91
- .nav {
92
- font-size: $font-size-smallest;
93
- height: 2.1875rem;
94
- }
95
- }
96
-
97
- .back-to-top {
98
- span {
99
- font-size: $font-size-smallest;
100
- }
101
- }
102
-
103
-
104
- &.affix {
105
- text-shadow: none;
106
- top: auto;
107
- box-shadow: 0 0 .5rem rgba(0,0,0,.1);
108
- background: var(--grey-1-a3);
109
- border-radius: .3125rem;
110
- if (hexo-config('sidebar.position') == 'left') {
111
- right: 0;
112
- } else {
113
- left: 0;
114
- }
115
- bottom: 0;
116
-
117
- .item {
118
- display: flex;
119
- color: var(--primary-color);
120
- }
121
-
122
- .player {
123
- font-size: $font-size-base;
124
- flex-direction: column-reverse;
125
-
126
- > .btn+.btn {
127
- margin-right: 0;
128
- }
129
-
130
- .music {
131
- display: block;
132
- }
133
-
134
- }
135
-
136
- .player-info {
137
- if (hexo-config('sidebar.position') == 'left') {
138
- right: 2.5rem;
139
- } else {
140
- left: 2.5rem;
141
- }
142
-
143
- +desktop-large() {
144
- if (hexo-config('sidebar.position') == 'left') {
145
- right: 3.5rem;
146
- } else {
147
- left: 3.5rem;
148
- }
149
- }
150
-
151
- +tablet-mobile() {
152
- right: 2.5rem;
153
- left: auto;
154
- }
155
-
156
- &.show {
157
- display: block;
158
- if (hexo-config('sidebar.position') == 'left') {
159
- @extend .slide-right-in;
160
- } else {
161
- @extend .slide-left-in;
162
-
163
- +tablet-mobile() {
164
- animation: slideRightIn .3s;
165
- }
166
- }
167
-
168
- &.hide {
169
- @extend .fade-out;
170
- }
171
- }
172
- }
173
-
174
- .back-to-top {
175
- align-items: center;
176
- justify-content: center;
177
- height: auto;
178
- padding: .3125rem 0 0;
179
- }
180
-
181
- .contents {
182
- display: none;
183
-
184
- +tablet-mobile() {
185
- display: flex;
186
- }
187
- }
188
-
189
- +desktop-large() {
190
- if (hexo-config('sidebar.position') == 'left') {
191
- right: 1rem;
192
- } else {
193
- left: 1rem;
194
- }
195
- bottom: 1rem;
196
- }
197
-
198
- +tablet-mobile() {
199
- right: 0;
200
- bottom: 0;
201
- left: auto;
202
- }
203
- }
204
- }
205
-
206
-
207
-
1
+ #tool {
2
+ position: fixed;
3
+ if (hexo-config('sidebar.position') == 'left') {
4
+ right: 1rem;
5
+ } else {
6
+ left: 1rem;
7
+ }
8
+
9
+ top: 50vh;
10
+ z-index: $zindex-2;
11
+
12
+
13
+ +tablet-mobile() {
14
+ right: 1rem;
15
+ left: auto;
16
+ }
17
+
18
+ .item {
19
+ display: none;
20
+ width: 1.875rem;
21
+ height: 1.875rem;
22
+ opacity: .5;
23
+ cursor: pointer;
24
+ align-items: center;
25
+ justify-content: center;
26
+ flex-direction: column;
27
+ the-transition();
28
+ &:hover {
29
+ opacity: .9;
30
+ }
31
+ }
32
+
33
+ .player {
34
+ display: inline-flex;
35
+ flex-direction: row-reverse;
36
+ font-size: $font-size-largest;
37
+ width: auto;
38
+ height: auto;
39
+
40
+ > .btn {
41
+ font-family-icons();
42
+ width: 1.875rem;
43
+ text-align: center;
44
+ &+.btn {
45
+ margin-right: .625rem;
46
+ }
47
+ }
48
+
49
+ .play-pause {
50
+ &::before {
51
+ @extend .i-play:before;
52
+ }
53
+ }
54
+
55
+ .music {
56
+ display: none;
57
+ &::before {
58
+ @extend .i-music:before;
59
+ }
60
+ }
61
+ }
62
+
63
+ &.playing .player {
64
+ .play-pause::before {
65
+ @extend .i-pause:before;
66
+ }
67
+ }
68
+
69
+ .player-info {
70
+ shadow-box();
71
+ background: var(--grey-1-a7);
72
+ backdrop-filter: blur(.625rem);
73
+ position: fixed;
74
+ display: none;
75
+ bottom: 0;
76
+ overflow: hidden;
77
+
78
+ if (hexo-config('sidebar.position') == 'left') {
79
+ right: 3.5rem;
80
+ } else {
81
+ left: 3.5rem;
82
+ }
83
+ width: 50vw;
84
+ z-index: $zindex-2;
85
+ max-width: 25rem;
86
+
87
+ +mobile() {
88
+ right: 2.5rem;
89
+ }
90
+
91
+ .nav {
92
+ font-size: $font-size-smallest;
93
+ height: 2.1875rem;
94
+ }
95
+ }
96
+
97
+ .back-to-top {
98
+ span {
99
+ font-size: $font-size-smallest;
100
+ }
101
+ }
102
+
103
+
104
+ &.affix {
105
+ text-shadow: none;
106
+ top: auto;
107
+ box-shadow: 0 0 .5rem rgba(0,0,0,.1);
108
+ background: var(--grey-1-a3);
109
+ border-radius: .3125rem;
110
+ if (hexo-config('sidebar.position') == 'left') {
111
+ right: 0;
112
+ } else {
113
+ left: 0;
114
+ }
115
+ bottom: 0;
116
+
117
+ .item {
118
+ display: flex;
119
+ color: var(--primary-color);
120
+ }
121
+
122
+ .player {
123
+ font-size: $font-size-base;
124
+ flex-direction: column-reverse;
125
+
126
+ > .btn+.btn {
127
+ margin-right: 0;
128
+ }
129
+
130
+ .music {
131
+ display: block;
132
+ }
133
+
134
+ }
135
+
136
+ .player-info {
137
+ if (hexo-config('sidebar.position') == 'left') {
138
+ right: 2.5rem;
139
+ } else {
140
+ left: 2.5rem;
141
+ }
142
+
143
+ +desktop-large() {
144
+ if (hexo-config('sidebar.position') == 'left') {
145
+ right: 3.5rem;
146
+ } else {
147
+ left: 3.5rem;
148
+ }
149
+ }
150
+
151
+ +tablet-mobile() {
152
+ right: 2.5rem;
153
+ left: auto;
154
+ }
155
+
156
+ &.show {
157
+ display: block;
158
+ if (hexo-config('sidebar.position') == 'left') {
159
+ @extend .slide-right-in;
160
+ } else {
161
+ @extend .slide-left-in;
162
+
163
+ +tablet-mobile() {
164
+ animation: slideRightIn .3s;
165
+ }
166
+ }
167
+
168
+ &.hide {
169
+ @extend .fade-out;
170
+ }
171
+ }
172
+ }
173
+
174
+ .back-to-top {
175
+ align-items: center;
176
+ justify-content: center;
177
+ height: auto;
178
+ padding: .3125rem 0 0;
179
+ }
180
+
181
+ .contents {
182
+ display: none;
183
+
184
+ +tablet-mobile() {
185
+ display: flex;
186
+ }
187
+ }
188
+
189
+ +desktop-large() {
190
+ if (hexo-config('sidebar.position') == 'left') {
191
+ right: 1rem;
192
+ } else {
193
+ left: 1rem;
194
+ }
195
+ bottom: 1rem;
196
+ }
197
+
198
+ +tablet-mobile() {
199
+ right: 0;
200
+ bottom: 0;
201
+ left: auto;
202
+ }
203
+ }
204
+ }
205
+
206
+
207
+
@@ -1,57 +1,57 @@
1
- .waves {
2
- width: 100%;
3
- height: 15vh;
4
- margin-bottom: -.6875rem;
5
- min-height: 3.125rem;
6
- max-height: 9.375rem;
7
- position:relative;
8
- content-visibility: auto;
9
- contain-intrinsic-size: 100vw 15vh;
10
-
11
- +mobile() {
12
- height: 10vh;
13
- contain-intrinsic-size: 100vw 10vh;
14
- }
15
- }
16
- /* Animation */
17
- .parallax>use {
18
- animation: wave 25s cubic-bezier(.55, .5, .45, .5) infinite;
19
- }
20
-
21
- use.stop-animation {
22
- animation-play-state: paused;
23
- }
24
-
25
- .parallax>use:nth-child(1) {
26
- animation-delay: -2s;
27
- animation-duration: 7s;
28
- fill: var(--grey-1-a7);
29
- }
30
-
31
- .parallax>use:nth-child(2) {
32
- animation-delay: -3s;
33
- animation-duration: 10s;
34
- fill: var(--grey-1-a5);
35
- }
36
-
37
- .parallax>use:nth-child(3) {
38
- animation-delay: -4s;
39
- animation-duration: 13s;
40
- fill: var(--grey-1-a3);
41
- }
42
-
43
- .parallax>use:nth-child(4) {
44
- animation-delay: -5s;
45
- animation-duration: 20s;
46
- fill: var(--grey-1);
47
- }
48
-
49
- @keyframes wave {
50
- 0% {
51
- transform: translate3d(-90px, 0, 0);
52
- }
53
-
54
- 100% {
55
- transform: translate3d(85px, 0, 0);
56
- }
57
- }
1
+ .waves {
2
+ width: 100%;
3
+ height: 15vh;
4
+ margin-bottom: -.6875rem;
5
+ min-height: 3.125rem;
6
+ max-height: 9.375rem;
7
+ position:relative;
8
+ content-visibility: auto;
9
+ contain-intrinsic-size: 100vw 15vh;
10
+
11
+ +mobile() {
12
+ height: 10vh;
13
+ contain-intrinsic-size: 100vw 10vh;
14
+ }
15
+ }
16
+ /* Animation */
17
+ .parallax>use {
18
+ animation: wave 25s cubic-bezier(.55, .5, .45, .5) infinite;
19
+ }
20
+
21
+ use.stop-animation {
22
+ animation-play-state: paused;
23
+ }
24
+
25
+ .parallax>use:nth-child(1) {
26
+ animation-delay: -2s;
27
+ animation-duration: 7s;
28
+ fill: var(--grey-1-a7);
29
+ }
30
+
31
+ .parallax>use:nth-child(2) {
32
+ animation-delay: -3s;
33
+ animation-duration: 10s;
34
+ fill: var(--grey-1-a5);
35
+ }
36
+
37
+ .parallax>use:nth-child(3) {
38
+ animation-delay: -4s;
39
+ animation-duration: 13s;
40
+ fill: var(--grey-1-a3);
41
+ }
42
+
43
+ .parallax>use:nth-child(4) {
44
+ animation-delay: -5s;
45
+ animation-duration: 20s;
46
+ fill: var(--grey-1);
47
+ }
48
+
49
+ @keyframes wave {
50
+ 0% {
51
+ transform: translate3d(-90px, 0, 0);
52
+ }
53
+
54
+ 100% {
55
+ transform: translate3d(85px, 0, 0);
56
+ }
57
+ }
@@ -1,46 +1,46 @@
1
- /*
2
- // < 47.9375rem
3
- +mobile() {
4
-
5
- }
6
- */
7
-
8
- +mobile-small() {
9
- .post.block {
10
- padding: initial !important;
11
- }
12
-
13
- .md {
14
- // For headers narrow width.
15
- h1, h2, h3, h4, h5, h6 {
16
- padding-left: 1.25rem;
17
- }
18
-
19
- // Rewrite paddings & margins inside tags.
20
- .note, .tabs .tab-content .tab-pane {
21
- h1, h2, h3, h4, h5, h6 {
22
- margin: 0 .3125rem;
23
- }
24
- }
25
-
26
- img, video {
27
- margin-bottom: .625rem !important;
28
- }
29
-
30
- .tabs .tab-content .tab-pane {
31
- padding: .625rem .625rem 0 .625rem !important;
32
- }
33
- }
34
-
35
- .post .eof {
36
- margin: 2.5rem auto 1.25rem !important;
37
- }
38
-
39
- }
40
-
41
- /*
42
- // < 25.8125rem
43
- +mobile-smallest() {
44
-
45
- }
46
- */
1
+ /*
2
+ // < 47.9375rem
3
+ +mobile() {
4
+
5
+ }
6
+ */
7
+
8
+ +mobile-small() {
9
+ .post.block {
10
+ padding: initial !important;
11
+ }
12
+
13
+ .md {
14
+ // For headers narrow width.
15
+ h1, h2, h3, h4, h5, h6 {
16
+ padding-left: 1.25rem;
17
+ }
18
+
19
+ // Rewrite paddings & margins inside tags.
20
+ .note, .tabs .tab-content .tab-pane {
21
+ h1, h2, h3, h4, h5, h6 {
22
+ margin: 0 .3125rem;
23
+ }
24
+ }
25
+
26
+ img, video {
27
+ margin-bottom: .625rem !important;
28
+ }
29
+
30
+ .tabs .tab-content .tab-pane {
31
+ padding: .625rem .625rem 0 .625rem !important;
32
+ }
33
+ }
34
+
35
+ .post .eof {
36
+ margin: 2.5rem auto 1.25rem !important;
37
+ }
38
+
39
+ }
40
+
41
+ /*
42
+ // < 25.8125rem
43
+ +mobile-smallest() {
44
+
45
+ }
46
+ */