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

148 lines
1.9 KiB
CSS
Raw Normal View History

2021-03-01 15:22:22 +01:00
html {
2021-03-04 20:39:54 +01:00
font-family: sans-serif;
font-size:1rem;
color:#1E4147;
background-color:#fafafa;
2021-03-01 15:22:22 +01:00
}
body {
2021-03-04 20:39:54 +01:00
max-width: 1024px;
margin: auto;
2021-03-08 00:13:04 +01:00
margin-top: 0.5em;
2021-03-01 15:22:22 +01:00
}
2021-03-04 20:39:54 +01:00
ul {
margin: 0.4rem 0;
padding: 0;
2021-03-01 15:22:22 +01:00
}
2021-03-04 20:39:54 +01:00
p, pre {
margin: 0 0 0.3rem;
padding: 0;
2021-03-01 15:22:22 +01:00
}
2021-03-04 21:59:57 +01:00
p {
text-align: justify;
text-justify: inter-word;
}
2021-03-04 20:39:54 +01:00
li {
margin: 0;
padding: 0;
2021-03-01 15:22:22 +01:00
}
2021-03-08 00:13:04 +01:00
h1, h2, h3 {
2021-03-04 20:39:54 +01:00
color: #66f;
margin: 0;
padding: 0;
2021-03-01 15:22:22 +01:00
}
2021-03-08 00:13:04 +01:00
h1 { font-size: 2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.5rem; }
2021-03-04 20:39:54 +01:00
blockquote {
background-color: #eee;
border-left: 3px solid #444;
margin: 1rem -1rem 1rem calc(-1rem - 3px);
padding: 1rem;
2021-03-01 15:22:22 +01:00
}
a {
2021-03-04 20:39:54 +01:00
margin: -1.35rem;
color:#820;
text-decoration: none;
2021-03-04 22:09:22 +01:00
text-justify: none;
2021-03-04 20:39:54 +01:00
}
a:before {
content: "🔗 ";
2021-03-01 15:22:22 +01:00
}
a:visited {
2021-03-04 20:39:54 +01:00
color: #868;
2021-03-01 15:22:22 +01:00
}
2021-03-08 16:59:17 +01:00
a.local:before {
content: "🛩️ ";
font-weight: bold;
}
a.gemini:before {
content: "🚀 ";
}
a.gopher:before {
content: "📜 ";
}
a.https:before {
content: "🕸️ ";
font-weight: bolder;
}
a.http:before {
content: "🕸️ ";
font-weight: lighter;
}
a.mumble:before {
content: "🎤 ";
}
a.mailto:before {
content: "✉️ ";
}
2021-03-01 15:22:22 +01:00
pre {
2021-03-04 20:39:54 +01:00
background-color: #eee;
margin: 0 -1rem;
padding: 1rem;
overflow-x: auto;
2021-03-01 15:22:22 +01:00
}
2021-03-01 21:19:24 +01:00
@media only screen and (max-width: 1024px) {
2021-03-04 20:39:54 +01:00
a {
margin: -4rem;
}
body {
margin: 3rem;
}
h1 {
font-size: 4rem;
}
h2 {
font-size: 3.5rem;
}
h3 {
font-size: 3rem;
}
p, pre, ul {
font-size: 2.6rem;
}
2021-03-01 21:19:24 +01:00
}
2021-03-01 15:22:22 +01:00
@media(prefers-color-scheme:dark) {
2021-03-04 20:39:54 +01:00
html {
background-color: #111;
color: #eee;
}
blockquote {
background-color: #000;
}
pre {
background-color: #222;
}
a {
color: #0087BD;
}
a:visited {
color: #802200;
}
2021-03-01 15:22:22 +01:00
}