Improves the CSS

This commit is contained in:
Christophe HENRY 2021-03-01 20:19:24 +00:00
parent db5fd02737
commit 2032f6037e
1 changed files with 24 additions and 7 deletions

View File

@ -6,14 +6,13 @@ html {
} }
body { body {
max-width: 920px; max-width: 1024px;
margin: 0 auto; margin: auto;
padding: 1rem 2rem;
} }
p { p {
margin-bottom: 0; margin-bottom: 0;
padding-bottom: 0; padding-bottom: 0;
} }
h1,h2,h3{ h1,h2,h3{
@ -48,12 +47,12 @@ li:not(:last-child) {
} }
a { a {
color:#66f; color:#820;
text-decoration: none; text-decoration: none;
} }
a:visited { a:visited {
color: #802200; color: #868;
} }
pre { pre {
@ -63,6 +62,24 @@ pre {
overflow-x: auto; overflow-x: auto;
} }
@media only screen and (max-width: 1024px) {
body {
margin: 2em;
}
h1 {
font-size: 4em;
}
h2 {
font-size: 3.5em;
}
h3 {
font-size: 3em;
}
p, pre {
font-size: 2.6em;
}
}
@media(prefers-color-scheme:dark) { @media(prefers-color-scheme:dark) {
html { html {
background-color: #111; background-color: #111;