updated css

This commit is contained in:
Thies Lennart Alff 2023-03-08 22:17:16 +01:00
parent e14f1692f0
commit bad9c24657
2 changed files with 26 additions and 7 deletions

View file

@ -1,5 +1,5 @@
body { body {
font-family: "Liberation Sans", "Noto Sans", Arial, sans-serif; font-family: "Lato", "Liberation Sans", "Noto Sans", Arial, sans-serif;
} }
code { code {
font-family: "DejaVu Sans Mono", monospace; font-family: "DejaVu Sans Mono", monospace;

View file

@ -5,6 +5,10 @@ body {
line-height: 1.5; line-height: 1.5;
} }
h2, h3, h4, h5 {
border-bottom: 1px solid;
}
/* header and footer areas */ /* header and footer areas */
.menu { .menu {
padding: 0; padding: 0;
@ -14,10 +18,16 @@ body {
display: inline-block; display: inline-block;
} }
.article-meta, .menu a { /* .article-meta, .menu a {
text-decoration: none; text-decoration: none;
background: #eee; background: #eee;
border-radius: 5px;
} */
.menu a {
padding: 5px; padding: 5px;
text-decoration: none;
background: #eee;
border-radius: 5px; border-radius: 5px;
} }
@ -44,19 +54,28 @@ pre {
box-shadow: 5px 5px 5px #eee; box-shadow: 5px 5px 5px #eee;
padding: 1em; padding: 1em;
overflow-x: auto; overflow-x: auto;
background-color: #f9f2f4
} }
code { code {
background: #afb8c133; background: #afb8c133;
padding-left: 5px; padding-left: 0.4em;
padding-right: 5px; padding-right: 0.4em;
padding-top: 3px; padding-top: 0.2em;
padding-bottom: 3px; padding-bottom: 0.2em;
border-radius: 6px border-radius: 6px;
color: #c7254e;
}
code.has-jax {
padding: unset;
color: unset;
} }
pre code { pre code {
background: none; background: none;
padding: 0px;
color: unset;
} }
/* misc elements */ /* misc elements */