File tree Expand file tree Collapse file tree 2 files changed +37
-1
lines changed Expand file tree Collapse file tree 2 files changed +37
-1
lines changed Original file line number Diff line number Diff line change @@ -106,9 +106,20 @@ Hover on the bottom-left corner to see the navigation's controls panel
106
106
1 . is
107
107
1 . an enumerated list.
108
108
109
+ ---
110
+
111
+ # Tables
112
+
113
+ | Header 1 | Header 2 | Header 3 |
114
+ | -------- | -------- | -------- |
115
+ | Row 1 | Row 1 | Row 1 |
116
+ | Row 2 | Row 2 | Row 2 |
117
+ | Row 3 | Row 3 | Row 3 |
118
+ | Row 4 | Row 4 | Row 4 |
119
+
109
120
---
110
121
layout: image-right
111
- image: 'https://source .unsplash.com/collection/94734566/1920x1080 '
122
+ image: 'https://images .unsplash.com/photo-1527095655060-4026c4af2b25?q=80&w=1740 '
112
123
---
113
124
114
125
# Code ` Code `
Original file line number Diff line number Diff line change 60
60
--slidev-theme-primary : # 539350 ;
61
61
--slidev-theme-primary-alternative : # 8bca88 ;
62
62
--slidev-theme-secondary : # fa5100 ;
63
+ --slidev-theme-background-gray : # e2e2e2 ;
64
+ }
65
+
66
+ @media (prefers-color-scheme : dark) {
67
+ : root {
68
+ --slidev-theme-background-gray : # 2e2e2e ;
69
+ }
63
70
}
64
71
65
72
html {
@@ -159,10 +166,28 @@ h6 {
159
166
margin : 0 ;
160
167
}
161
168
169
+ .slidev-layout th {
170
+ font-weight : bold;
171
+ padding : 0.3rem ;
172
+ background-color : var (--slidev-theme-background-gray );
173
+ }
174
+
175
+ .slidev-layout th : empty {
176
+ background-color : transparent;
177
+ }
178
+
179
+ .slidev-layout td {
180
+ padding : 0.3rem ;
181
+ }
182
+
162
183
.slidev-layout .cover {
163
184
background-repeat : no-repeat;
164
185
}
165
186
187
+ .slidev-layout + .h-full {
188
+ z-index : -1 ;
189
+ }
190
+
166
191
.col-right pre : first-of-type , .col-left pre : first-of-type {
167
192
margin-top : 1rem ;
168
193
}
You can’t perform that action at this time.
0 commit comments