Merge pull request 'Make coloring and global formatting changes' (#2) from recolor into master

Reviewed-on: https://gitea.jotoho.de/jotoho/my-website/pulls/2
This commit is contained in:
Jonas Tobias Hopusch 2021-09-27 13:47:12 +02:00
commit c33f1fb9e3
Failed to generate hash of commit

View file

@ -27,17 +27,12 @@ footer {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
flex-direction: row; flex-direction: row;
border: 2px solid white;
border-top: none;
border-left: none;
text-align: center; text-align: center;
gap: max(1px, 0.1rem);
} }
.globalnav-element { .globalnav-element {
display: block; display: block;
border: 2px solid white;
border-right: none;
border-bottom: none;
background-color: #ddd; background-color: #ddd;
text-align: center; text-align: center;
flex-basis: 0; flex-basis: 0;
@ -99,7 +94,7 @@ table {
display: block; display: block;
border-collapse: collapse; border-collapse: collapse;
margin: 1rem auto; margin: 1rem auto;
width: fit-content; width: max-content;
max-width: 100%; max-width: 100%;
overflow-y: auto; overflow-y: auto;
} }
@ -119,17 +114,12 @@ td, th {
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
html { html {
background-color: black; background-color: #111;
color: white; color: white;
} }
.globalnav {
border-color: black;
}
.globalnav-element { .globalnav-element {
background-color: #222; background-color: #222;
border-color: black;
} }
code { code {
@ -151,12 +141,7 @@ td, th {
color: black; color: black;
} }
.globalnav {
border-color: white;
}
.globalnav-element { .globalnav-element {
border-color: white;
background-color: #ddd; background-color: #ddd;
} }