Add table CSS

This commit is contained in:
Jonas Tobias Hopusch 2021-08-17 09:58:37 +02:00
parent f488844496
commit 2ef63cc982
Failed to generate hash of commit

View file

@ -62,6 +62,24 @@ hr {
margin: 0.5em 0; margin: 0.5em 0;
} }
table {
border-style: solid;
border-color: black;
border-right: none;
border-bottom: none;
border-collapse: collapse;
margin: 1rem 2rem;
}
td {
border-style: solid;
border-color: black;
border-left: none;
border-top: none;
border-collapse: collapse;
padding: 0.5rem 1rem;
}
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
html { html {
background-color: black; background-color: black;
@ -84,6 +102,10 @@ hr {
a { a {
color: lightskyblue; color: lightskyblue;
} }
table, td {
border-color: white;
}
} }
@media (prefers-color-scheme: light) { @media (prefers-color-scheme: light) {
@ -104,4 +126,8 @@ hr {
code { code {
color: green; color: green;
} }
table, td {
border-color: black;
}
} }