added table style
This commit is contained in:
parent
0eb66543c7
commit
0ef7e1e210
|
@ -100,9 +100,10 @@ article, .articlePreview {
|
|||
code {
|
||||
font-family: "Symbols Nerd Font", $mono_font, monospace;
|
||||
font-size: .8em;
|
||||
padding: 2px;
|
||||
border: 1px solid $stroke_color;
|
||||
border-radius: 3px;
|
||||
}
|
||||
code, table {
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
pre code {
|
||||
|
@ -111,6 +112,22 @@ pre code {
|
|||
padding: 0
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
overflow-x: auto;
|
||||
display: block;
|
||||
td, th {
|
||||
padding: 6px;
|
||||
border: 1px solid $stroke_color;
|
||||
}
|
||||
th {
|
||||
background-color: lighten($bg_color, 10%);
|
||||
}
|
||||
tr:nth-child(even) {
|
||||
background-color: lighten($bg_color, 10%);
|
||||
}
|
||||
}
|
||||
|
||||
.date, .date a {
|
||||
color: $dim_fg_color;
|
||||
border-color: $dim_fg_color;
|
||||
|
|
Loading…
Reference in New Issue