added table style

This commit is contained in:
Gabriele Musco 2021-11-25 13:59:57 +01:00
parent 0eb66543c7
commit 0ef7e1e210
No known key found for this signature in database
GPG Key ID: 0587A5D65B5DC99E
1 changed files with 19 additions and 2 deletions

View File

@ -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;