Don't globally override table style, use shortcode

This commit is contained in:
ItsDrike 2022-05-15 13:11:03 +02:00
parent 35d891b9b3
commit c02b9e6498
No known key found for this signature in database
GPG key ID: B014E761034AF742
4 changed files with 26 additions and 16 deletions

View file

@ -52,14 +52,6 @@ ul ul, ol ol {
text-indent: 2em;
}
table td {
vertical-align: middle;
}
.table-dark {
color: $body-color;
}
.content {
h1, h2, h3, h4, h5, h6 {
margin-top: $headings-margin-bottom * 2.2;
@ -86,14 +78,6 @@ table td {
border-left: $spacer * 0.2 solid $light;
padding-left: $spacer * 1.2;
}
table {
@extend .table, .table-dark, .table-striped;
margin: 0 auto;
margin-bottom: $paragraph-margin-bottom;
width: 66%;
text-align: center;
}
}
img {
@ -104,3 +88,18 @@ img {
width: 100%;
height: 35vh;
}
.markdown-table {
table {
@extend .table, .table-dark, .table-striped;
margin: 0 auto;
color: $body-color;
margin-bottom: 0;
width: 66%;
text-align: center;
td {
vertical-align: middle;
}
}
}