1
- @import './variable' ;
1
+ @import 'swiper/swiper-bundle.css' ;
2
+ @import 'modern-normalize/modern-normalize.css' ;
3
+ @import './variable.css' ;
4
+ @import './customize.css' ;
2
5
@import './sidebar.css' ;
6
+ @import './grid.css' ;
3
7
4
8
html {
9
+ color : var (--color-black );
5
10
font-size : 62.5% ;
6
11
}
7
12
8
13
body {
9
14
font-size : 2.4rem ;
10
15
}
11
16
17
+ html ,
18
+ body {
19
+ font-family : 'Roboto' , 'San Francisco' , helvetica, arial, sans-serif;
20
+ font-weight : 300 ;
21
+ line-height : 1 ;
22
+ text-rendering : optimizeLegibility;
23
+ }
24
+
25
+ h1 ,
26
+ h2 ,
27
+ h3 ,
28
+ h4 ,
29
+ h5 ,
30
+ h6 {
31
+ font-weight : inherit;
32
+ margin : 0 ;
33
+ }
34
+
35
+ a ,
36
+ a : active ,
37
+ a : focus ,
38
+ a : visited ,
39
+ input : focus ,
40
+ textarea : focus ,
41
+ button {
42
+ text-decoration : none;
43
+ -webkit-transition : all 0.3s ease-out;
44
+ transition : all 0.3s ease-out;
45
+ }
46
+
12
47
a {
13
48
padding-left : 0 ;
14
49
}
15
50
51
+ a : hover {
52
+ color : # 3af ;
53
+ }
54
+
55
+ p a : active {
56
+ position : relative;
57
+ top : 2px ;
58
+ }
59
+
16
60
p {
17
61
margin : 0 ;
18
62
}
@@ -30,35 +74,148 @@ img {
30
74
margin : 0 auto;
31
75
}
32
76
33
- .fa-hatena : before {
34
- content : 'B!' ;
35
- font-family : Verdana;
36
- font-weight : bold;
77
+ ol {
78
+ padding-left : 0 ;
37
79
}
38
80
39
- .toc {
40
- background : transparent;
81
+ p ,
82
+ li ,
83
+ dt ,
84
+ dd ,
85
+ table ,
86
+ textarea ,
87
+ label {
88
+ line-height : 3.2rem ;
41
89
}
42
90
43
- # root {
44
- display : flex;
91
+ li ,
92
+ p : last-child {
93
+ margin-bottom : 0 ;
45
94
}
46
95
47
- # webslides {
48
- flex : 1 ;
96
+ ul > li ,
97
+ ol > li {
98
+ margin-left : 3.2rem ;
49
99
}
50
100
51
- # webslides-zoomed {
52
- position : absolute;
53
- width : 100% ;
101
+ li li {
102
+ font-size : 100% ;
54
103
}
55
104
56
- .katex-html {
57
- display : none;
105
+ h1 {
106
+ font-size : 4rem ;
107
+ line-height : 5.6rem ;
58
108
}
59
109
60
- .qr {
61
- width : 320px ;
62
- height : 320px ;
63
- margin : 0 auto;
110
+ @media (min-width : 768px ) {
111
+ h1 {
112
+ font-size : 5.6rem ;
113
+ line-height : 7.2rem ;
114
+ }
115
+ }
116
+
117
+ @media (min-width : 850px ) {
118
+ .slide-box {
119
+ margin : auto 24px ;
120
+ }
121
+ }
122
+
123
+ h1 span {
124
+ font-style : italic;
125
+ }
126
+
127
+ h2 {
128
+ font-size : 3.2rem ;
129
+ line-height : 4.8rem ;
130
+ }
131
+ @media (min-width : 768px ) {
132
+ h2 {
133
+ font-size : 4.8rem ;
134
+ line-height : 6.4rem ;
135
+ }
136
+ }
137
+
138
+ h3 {
139
+ font-size : 2.4rem ;
140
+ line-height : 4rem ;
141
+ }
142
+ @media (min-width : 768px ) {
143
+ h3 {
144
+ font-size : 4rem ;
145
+ line-height : 5.6rem ;
146
+ }
147
+ }
148
+
149
+ h4 {
150
+ font-size : 2.2rem ;
151
+ line-height : 4rem ;
152
+ }
153
+ @media (min-width : 768px ) {
154
+ h4 {
155
+ font-size : 3.2rem ;
156
+ line-height : 4.8rem ;
157
+ }
158
+ }
159
+
160
+ h5 {
161
+ font-size : 2rem ;
162
+ font-weight : 600 ;
163
+ line-height : 3.2rem ;
164
+ }
165
+
166
+ h6 {
167
+ font-size : 1.8rem ;
168
+ font-weight : 600 ;
169
+ line-height : 3.2rem ;
170
+ }
171
+
172
+ hr {
173
+ background : radial-gradient (
174
+ ellipse at center,
175
+ rgba (0 , 20 , 80 , 0.2 ) 0 ,
176
+ rgba (255 , 255 , 255 , 0 ) 75%
177
+ );
178
+ }
179
+
180
+ hr : after {
181
+ background-color : rgba (255 , 255 , 255 , 0.8 );
182
+ color : # 333 ;
183
+ }
184
+
185
+ pre {
186
+ background : # fff ;
187
+ border : 1px solid rgba (0 , 20 , 80 , 0.1 );
188
+ -webkit-box-shadow : 0 8px 16px rgba (0 , 20 , 80 , 0.04 ), 0 4px 16px rgba (0 , 0 , 0 , 0.08 );
189
+ box-shadow : 0 8px 16px rgba (0 , 20 , 80 , 0.04 ), 0 4px 16px rgba (0 , 0 , 0 , 0.08 );
190
+ }
191
+
192
+ nav ul {
193
+ display : -webkit-box;
194
+ display : -ms-flexbox;
195
+ display : flex;
196
+ -ms-flex-wrap : wrap;
197
+ flex-wrap : wrap;
198
+ /*====align left====*/
199
+ -webkit-box-pack : start;
200
+ -ms-flex-pack : start;
201
+ justify-content : flex-start;
202
+ /* ==== align center ====*/
203
+ /*justify-content: center; */
204
+ /*====align right====*/
205
+ /* justify-content: flex-end; */
206
+ /*====separated columns li a====*/
207
+ /* justify-content: space-between; */
208
+ /*====separated columns centered li a====*/
209
+ /*justify-content: space-around;*/
210
+ }
211
+ nav ul li {
212
+ float : left;
213
+ list-style : none;
214
+ position : relative;
215
+ }
216
+
217
+ ul {
218
+ list-style : square;
219
+ text-indent : inherit;
220
+ padding-left : 0 ;
64
221
}
0 commit comments