File tree Expand file tree Collapse file tree 3 files changed +30
-1
lines changed
theme-coreui/src/client/styles Expand file tree Collapse file tree 3 files changed +30
-1
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export default defineUserConfig<DefaultThemeOptions>({
2626 extendsMarkdown : ( md ) => {
2727 md . use ( require ( 'markdown-it-include' ) ) ,
2828 ( md . renderer . rules . table_open = function ( tokens , idx ) {
29- return '<table class="table table-striped">'
29+ return '<table class="table table-striped table-api ">'
3030 } )
3131 } ,
3232 markdown : {
Original file line number Diff line number Diff line change 1+ .table-api {
2+ --cui-table-striped-bg : #{rgba (#f0f4f7 , .25 )} !important ;
3+ tr td {
4+ padding-top : 1rem ;
5+ padding-bottom : 1rem ;
6+ }
7+ td :nth-child (1 n ),
8+ th :nth-child (1 n ) {
9+ width : 15% ;
10+ padding-left : 1rem ;
11+ }
12+ td :nth-child (2 n ) {
13+ width : 55% ;
14+ }
15+ td :nth-child (3 n ) {
16+ width : 10% ;
17+ }
18+ td :nth-child (4 n ) {
19+ width : 10% ;
20+ }
21+ td :nth-child (5 n ) {
22+ width : 10% ;
23+ }
24+ }
25+
26+ .markdown + h3 {
27+ margin-top : 3rem ;
28+ }
Original file line number Diff line number Diff line change 55@import ' footer' ;
66@import ' layout' ;
77@import ' sidebar' ;
8+ @import ' table-api' ;
89@import ' toc' ;
910
1011@import ' vars' ;
You can’t perform that action at this time.
0 commit comments