File tree 3 files changed +43
-29
lines changed
3 files changed +43
-29
lines changed Original file line number Diff line number Diff line change 30
30
@import "./markup/content.css" ;
31
31
@import "./markup/codecopy.css" ;
32
32
@import "./markup/asciicast.css" ;
33
+ @import "./markup/filepreview.css" ;
33
34
34
35
@import "./chroma/base.css" ;
35
36
@import "./codemirror/base.css" ;
Original file line number Diff line number Diff line change 128
128
.markup ul ,
129
129
.markup ol ,
130
130
.markup dl ,
131
- .markup table : not (. file-preview ) ,
131
+ .markup table ,
132
132
.markup pre {
133
133
margin-top : 0 ;
134
134
margin-bottom : 16px ;
281
281
margin-bottom : 0 ;
282
282
}
283
283
284
- .markup table : not (. file-preview ) {
284
+ .markup table {
285
285
display : block;
286
286
width : 100% ;
287
287
width : max-content;
288
288
max-width : 100% ;
289
289
overflow : auto;
290
290
}
291
291
292
- .markup table : not (. file-preview ) th {
292
+ .markup table th {
293
293
font-weight : var (--font-weight-semibold );
294
294
}
295
295
296
- .markup table : not (. file-preview ) th ,
297
- .markup table : not (. file-preview ) td {
296
+ .markup table th ,
297
+ .markup table td {
298
298
padding : 6px 13px !important ;
299
299
border : 1px solid var (--color-secondary ) !important ;
300
300
}
301
301
302
- .markup table : not (. file-preview ) tr {
302
+ .markup table tr {
303
303
border-top : 1px solid var (--color-secondary );
304
304
}
305
305
306
- .markup table : not (. file-preview ) tr : nth-child (2n) {
306
+ .markup table tr : nth-child (2n) {
307
307
background-color : var (--color-markup-table-row );
308
308
}
309
309
586
586
.file-view .markup .orgmode li .indeterminate > p {
587
587
display : inline-block;
588
588
}
589
-
590
- .markup .file-preview-box {
591
- margin-bottom : 16px ;
592
- }
593
-
594
- .markup .file-preview-box div : nth-child (1 ) {
595
- padding : .5rem ;
596
- padding-left : 1rem ;
597
- border : 1px solid var (--color-secondary );
598
- border-bottom : none;
599
- border-radius : 0.28571429rem 0.28571429rem 0 0 ;
600
- background : var (--color-box-header );
601
- }
602
-
603
- .markup .file-preview-box div : nth-child (1 ) > a {
604
- display : block;
605
- }
606
-
607
- .markup .file-preview-box .table {
608
- margin-top : 0 ;
609
- border-radius : 0 0 0.28571429rem 0.28571429rem ;
610
- }
Original file line number Diff line number Diff line change
1
+ .markup table .file-preview {
2
+ margin-bottom : 0px ;
3
+ }
4
+
5
+ .markup table .file-preview td {
6
+ padding : 0 10px 0 10px !important ;
7
+ border : none !important ;
8
+ }
9
+
10
+ .markup table .file-preview tr {
11
+ border-top : none;
12
+ background-color : inherit !important ;
13
+ }
14
+
15
+ .markup .file-preview-box {
16
+ margin-bottom : 16px ;
17
+ }
18
+
19
+ .markup .file-preview-box .header {
20
+ padding : .5rem ;
21
+ padding-left : 1rem ;
22
+ border : 1px solid var (--color-secondary );
23
+ border-bottom : none;
24
+ border-radius : 0.28571429rem 0.28571429rem 0 0 ;
25
+ background : var (--color-box-header );
26
+ }
27
+
28
+ .markup .file-preview-box .header > a {
29
+ display : block;
30
+ }
31
+
32
+ .markup .file-preview-box .table {
33
+ margin-top : 0 ;
34
+ border-radius : 0 0 0.28571429rem 0.28571429rem ;
35
+ }
You can’t perform that action at this time.
0 commit comments