1
1
/* PT Sans */
2
2
3
3
@font-face {
4
- font-family : 'PT Sans' ;
5
- font-display : swap;
6
- font-weight : 400 ;
7
- src : url ('@fontsource/pt-sans/files/pt-sans-latin-ext-400-normal.woff2' ) format ('woff2' );
4
+ font-family : 'PT Sans' ;
5
+ font-display : swap;
6
+ font-weight : 400 ;
7
+ src : url ('@fontsource/pt-sans/files/pt-sans-latin-ext-400-normal.woff2' ) format ('woff2' );
8
8
}
9
9
10
10
@font-face {
11
- font-family : 'PT Sans' ;
12
- font-display : swap;
13
- font-weight : 400 ;
14
- font-style : italic;
15
- src : url ('@fontsource/pt-sans/files/pt-sans-latin-ext-400-italic.woff2' ) format ('woff2' );
11
+ font-family : 'PT Sans' ;
12
+ font-display : swap;
13
+ font-weight : 400 ;
14
+ font-style : italic;
15
+ src : url ('@fontsource/pt-sans/files/pt-sans-latin-ext-400-italic.woff2' ) format ('woff2' );
16
16
}
17
17
18
18
@font-face {
19
- font-family : 'PT Sans' ;
20
- font-display : swap;
21
- font-weight : 700 ;
22
- src : url ('@fontsource/pt-sans/files/pt-sans-latin-ext-700-normal.woff2' ) format ('woff2' );
19
+ font-family : 'PT Sans' ;
20
+ font-display : swap;
21
+ font-weight : 700 ;
22
+ src : url ('@fontsource/pt-sans/files/pt-sans-latin-ext-700-normal.woff2' ) format ('woff2' );
23
23
}
24
24
25
25
@font-face {
26
- font-family : 'PT Sans' ;
27
- font-display : swap;
28
- font-weight : 700 ;
29
- font-style : italic;
30
- src : url ('@fontsource/pt-sans/files/pt-sans-latin-ext-700-italic.woff2' ) format ('woff2' );
26
+ font-family : 'PT Sans' ;
27
+ font-display : swap;
28
+ font-weight : 700 ;
29
+ font-style : italic;
30
+ src : url ('@fontsource/pt-sans/files/pt-sans-latin-ext-700-italic.woff2' ) format ('woff2' );
31
31
}
32
32
33
33
/* 2MASSJ1808 */
34
34
35
35
@font-face {
36
- font-family : '2MASS J1808' ;
37
- font-display : swap;
38
- font-weight : normal;
39
- src : url (./ fonts/ 2 MASSJ1808-Normal.woff2) format ('woff2' );
36
+ font-family : '2MASS J1808' ;
37
+ font-display : swap;
38
+ font-weight : normal;
39
+ src : url (./ fonts/ 2 MASSJ1808-Normal.woff2) format ('woff2' );
40
40
}
41
41
42
42
@font-face {
43
- font-family : '2MASS J1808' ;
44
- font-display : swap;
45
- font-weight : 900 ;
46
- src : url (./ fonts/ 2 MASSJ1808-Heavy.woff2) format ('woff2' );
43
+ font-family : '2MASS J1808' ;
44
+ font-display : swap;
45
+ font-weight : 900 ;
46
+ src : url (./ fonts/ 2 MASSJ1808-Heavy.woff2) format ('woff2' );
47
47
}
48
48
49
49
/* Fira Code */
50
50
51
51
@font-face {
52
- font-family : 'Fira Code' ;
53
- font-display : swap;
54
- font-weight : 400 ;
55
- src : url ('@fontsource/fira-code/files/fira-code-latin-400-normal.woff2' ) format ('woff2' );
52
+ font-family : 'Fira Code' ;
53
+ font-display : swap;
54
+ font-weight : 400 ;
55
+ src : url ('@fontsource/fira-code/files/fira-code-latin-400-normal.woff2' ) format ('woff2' );
56
56
}
57
57
58
58
67
67
}
68
68
69
69
::marker {
70
- font-family : monospace;
71
- font-weight : bold;
70
+ font-family : monospace;
71
+ font-weight : bold;
72
72
}
73
73
74
74
h1 ,
79
79
h6 {
80
80
color : var (--slidev-theme-primary );
81
81
font-family : "2MASS J1808" ;
82
- margin-bottom : 0 !important ;
82
+ margin-bottom : 0 !important ;
83
83
}
84
84
85
85
.slidev-layout p , .slidev-layout li {
86
- line-height : 1.8 ;
86
+ line-height : 1.8 ;
87
87
}
88
88
89
89
.slidev-layout h1 {
90
90
font-size : 1.4rem ;
91
- font-weight : bold;
91
+ font-weight : bold;
92
92
}
93
93
94
94
.slidev-layout h2 {
@@ -112,54 +112,55 @@ h6 {
112
112
}
113
113
114
114
.slidev-layout h1 + h2 {
115
- color : var (--slidev-theme-primary-alternative );
116
- font-size : 1rem ;
115
+ color : var (--slidev-theme-primary-alternative );
116
+ font-size : 1rem ;
117
117
}
118
118
119
119
.slidev-layout h1 + * {
120
- margin-top : 0.5rem !important ;
120
+ margin-top : 0.5rem !important ;
121
121
}
122
122
123
123
.slidev-layout ul li ::marker {
124
- content : '> ' ;
124
+ content : '> ' ;
125
125
}
126
126
127
127
.slidev-layout ul li li ::marker {
128
- content : '- ' ;
128
+ content : '- ' ;
129
129
}
130
130
131
131
.slidev-layout ul , .slidev-layout ol , .slidev-layout dl {
132
- margin-top : 1rem ;
133
- margin-bottom : 0.5rem ;
132
+ margin-top : 1rem ;
133
+ margin-bottom : 0.5rem ;
134
134
}
135
135
136
136
.slidev-layout li ul , .slidev-layout li ol , .slidev-layout li dl {
137
- margin-top : 0 ;
137
+ margin-top : 0 ;
138
138
}
139
139
140
140
.slidev-layout li {
141
- margin-left : 2rem ;
141
+ margin-left : 2rem ;
142
142
}
143
143
144
144
.slidev-layout {
145
145
padding : 1.9rem 3rem 3rem 3rem ;
146
- z-index : 1 !important ;
146
+ z-index : 1 !important ;
147
147
}
148
148
149
149
.slidev-layout .two-cols , .slidev-layout .two-cols-header {
150
- gap : 0.25rem 1rem ;
150
+ gap : 0.25rem 1rem ;
151
+ grid-template-columns : repeat (2 , minmax (0 , 1fr )) !important ;
151
152
}
152
153
153
154
.slidev-layout .two-cols-header {
154
- grid-template-rows : repeat (2 , min-content) !important ;
155
+ grid-template-rows : repeat (2 , min-content) !important ;
155
156
}
156
157
157
158
.slidev-layout .two-cols-header > div {
158
- margin : 0 ;
159
+ margin : 0 ;
159
160
}
160
161
161
162
.slidev-layout .cover {
162
- background-repeat : no-repeat;
163
+ background-repeat : no-repeat;
163
164
}
164
165
165
166
.col-right pre : first-of-type , .col-left pre : first-of-type {
0 commit comments