mirror of
https://github.com/ItsDrike/itsdrike.com.git
synced 2025-06-29 16:10:43 +00:00
Don't globally override table style, use shortcode
This commit is contained in:
parent
35d891b9b3
commit
c02b9e6498
4 changed files with 26 additions and 16 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue