1
0
mirror of https://tildegit.org/sbgodin/HtmGem.git synced 2023-08-25 13:53:12 +02:00
HtmGem/htmgem.css

106 lines
1.1 KiB
CSS

html {
font-family: sans-serif;
font-size:16px;
color:#1E4147;
background-color:#fafafa;
}
body {
max-width: 1024px;
margin: auto;
}
p {
margin-bottom: 0;
padding-bottom: 0;
}
h1,h2,h3{
line-height:1.2;
color: #66f;
}
h1 {
text-align: center;
margin-bottom: 1em;
}
blockquote {
background-color: #eee;
border-left: 3px solid #444;
margin: 1rem -1rem 1rem calc(-1rem - 3px);
padding: 1rem;
}
ul {
margin-left: 0;
padding-left: 0;
padding-bottom: 1em;
}
li {
padding: 0;
}
li:not(:last-child) {
margin-bottom: 0.5rem;
}
a {
color:#820;
text-decoration: none;
}
a:visited {
color: #868;
}
pre {
background-color: #eee;
margin: 0 -1rem;
padding: 1rem;
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) {
html {
background-color: #111;
color: #eee;
}
blockquote {
background-color: #000;
}
pre {
background-color: #222;
}
a {
color: #0087BD;
}
a:visited {
color: #802200;
}
}