File tree 3 files changed +40
-1
lines changed
3 files changed +40
-1
lines changed Original file line number Diff line number Diff line change @@ -484,7 +484,6 @@ blockquote,
484
484
dd ,
485
485
ol ,
486
486
p ,
487
- table ,
488
487
ul {
489
488
border : 0 ;
490
489
font-family : inherit;
@@ -496,6 +495,29 @@ ul {
496
495
padding : 0 ;
497
496
}
498
497
498
+ table {
499
+ width : 100% ;
500
+ border-collapse : collapse;
501
+ }
502
+ th , td {
503
+ padding : 8px ;
504
+ text-align : left;
505
+ }
506
+ th {
507
+ background-color : # 289951 ; /* Dark green */
508
+ color : white; /* White text for readability */
509
+ }
510
+ .table-striped > tbody > tr : nth-of-type (odd ) {
511
+ background-color : # fff ; /* White */
512
+ }
513
+ .table-striped > tbody > tr : nth-of-type (even ) {
514
+ background-color : # f9f9f9 ; /* Light gray */
515
+ }
516
+ th , td {
517
+ border : none;
518
+ }
519
+
520
+
499
521
.section-heading {
500
522
padding-top : 20px ;
501
523
}
Original file line number Diff line number Diff line change
1
+ < blockquote class ="tip ">
2
+ < div > < strong > Before you begin:</ strong > < br /> {{ .Inner | markdownify }}</ div >
3
+ </ blockquote >
Original file line number Diff line number Diff line change
1
+ <!-- Blockquote element with a class that is the first parameter passed to the shortcode -->
2
+ < blockquote class ="{{ .Get 0 }} ">
3
+ < div >
4
+ <!-- Check if the third parameter (icon class) is provided -->
5
+ {{ with .Get 2 }}
6
+ <!-- If the icon class is provided, render an <i> element with the given class -->
7
+ < i class ="{{ . }} "> </ i >
8
+ {{ end }}
9
+ <!-- Render the second parameter (title) as a strong element -->
10
+ < strong > {{ .Get 1 }}</ strong > < br />
11
+ <!-- Render the inner content of the shortcode, converting it from Markdown to HTML -->
12
+ {{ .Inner | markdownify }}
13
+ </ div >
14
+ </ blockquote >
You can’t perform that action at this time.
0 commit comments