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
Raw Normal View History

2021-03-01 15:22:22 +01:00
html {
font-family: sans-serif;
font-size:16px;
color:#1E4147;
background-color:#fafafa;
}
body {
2021-03-01 21:19:24 +01:00
max-width: 1024px;
margin: auto;
2021-03-01 15:22:22 +01:00
}
p {
2021-03-01 21:19:24 +01:00
margin-bottom: 0;
padding-bottom: 0;
2021-03-01 15:22:22 +01:00
}
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 {
2021-03-01 21:19:24 +01:00
color:#820;
2021-03-01 15:22:22 +01:00
text-decoration: none;
}
a:visited {
2021-03-01 21:19:24 +01:00
color: #868;
2021-03-01 15:22:22 +01:00
}
pre {
background-color: #eee;
margin: 0 -1rem;
padding: 1rem;
overflow-x: auto;
}
2021-03-01 21:19:24 +01:00
@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;
}
}
2021-03-01 15:22:22 +01:00
@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;
}
}