File tree Expand file tree Collapse file tree 3 files changed +70
-6
lines changed Expand file tree Collapse file tree 3 files changed +70
-6
lines changed Original file line number Diff line number Diff line change @@ -759,6 +759,63 @@ Varying the delimiter line length allows the parser to distinguish one block fro
759
759
[#tables]
760
760
== Tables
761
761
762
+ [frame=none, grid=rows,%autowidth.stretch]
763
+ .Default
764
+ |===
765
+ |Column 1, header row |Column 2, header row |Column 3, header row
766
+
767
+ |Cell in column 1, row 2
768
+ |Cell in column 2, row 2
769
+ |Cell in column 3, row 2
770
+
771
+ |Cell in column 1, row 3
772
+ |Cell in column 2, row 3
773
+ |Cell in column 3, row 3
774
+ |===
775
+
776
+ [%autowidth.stretch,stripes=even]
777
+ .Striped
778
+ |===
779
+ |Header |Header |Header |Header
780
+
781
+ |Cell
782
+ |Cell
783
+ |Cell
784
+ |Cell
785
+
786
+ |Cell
787
+ |Cell
788
+ |Cell
789
+ |Cell
790
+
791
+ |Cell
792
+ |Cell
793
+ |Cell
794
+ |Cell
795
+ |===
796
+
797
+
798
+ [%footer%autowidth.stretch]
799
+ .Footer
800
+ |===
801
+ |Header |Header |Header |Header
802
+
803
+ h|Item
804
+ |2
805
+ |1
806
+ |5
807
+
808
+ h|Item
809
+ |2
810
+ |1
811
+ |5
812
+
813
+ h|Total
814
+ |4
815
+ |2
816
+ |10
817
+ |===
818
+
762
819
.Basic table
763
820
[cols="3*"]
764
821
|===
Original file line number Diff line number Diff line change 315
315
margin-top : 0 ;
316
316
}
317
317
318
- .doc table .tableblock th ,
318
+ .doc table .tableblock th {
319
+ padding : var (--ds-space-1 ) var (--ds-space-2 );
320
+ }
321
+
319
322
.doc table .tableblock td {
320
- padding : calc ( 13 / var (--rem-base ) * 1 rem ) var (--ds-space-2 );
323
+ padding : var (--ds-space-1h ) var (--ds-space-2 );
321
324
}
322
325
323
326
.doc table .tableblock ,
326
329
}
327
330
328
331
.doc table .grid-all > * > tr > * {
329
- border-width : 1px ;
332
+ border-bottom- width : 1px ;
330
333
}
331
334
332
335
.doc table .grid-cols > * > tr > * {
345
348
}
346
349
347
350
.doc table .frame-all {
348
- border-width : 1 px ;
351
+ border-bottom- width : 0 ;
349
352
}
350
353
351
354
.doc table .frame-ends {
390
393
background : var (--table-footer-background );
391
394
}
392
395
396
+ .doc table .tableblock > tfoot > tr > * {
397
+ border-bottom-width : 0 ;
398
+ }
399
+
393
400
.doc .halign-left {
394
401
text-align : left;
395
402
}
Original file line number Diff line number Diff line change 91
91
--quote-attribution-font-color : var (--ds-text-tertiary );
92
92
--sidebar-background : var (--ds-background-body );
93
93
--table-border-color : var (--ds-divider );
94
- --table-stripe-background : var (--ds-background-body );
95
- --table-footer-background : linear-gradient (to bottom , var (--ds-background-level1 ) 0 % , var ( --ds-background-body ) 100 % );
94
+ --table-stripe-background : var (--ds-background-level1 );
95
+ --table-footer-background : var (--ds-background-level1 );
96
96
/* toc */
97
97
--toc-font-color : var (--ds-text-secondary );
98
98
--toc-menu-font-weight : var (--body-font-weight-bold );
You can’t perform that action at this time.
0 commit comments