mirror of
https://tildegit.org/sbgodin/HtmGem.git
synced 2023-08-25 13:53:12 +02:00
146 lines
1.8 KiB
CSS
146 lines
1.8 KiB
CSS
html {
|
|
font-family: sans-serif;
|
|
font-size:1rem;
|
|
color:#1E4147;
|
|
background-color:#fafafa;
|
|
}
|
|
|
|
body {
|
|
max-width: 1024px;
|
|
margin: auto;
|
|
margin-top: 0.5em;
|
|
}
|
|
|
|
ul {
|
|
margin: 0.4rem 0;
|
|
padding: 0;
|
|
}
|
|
|
|
p, pre {
|
|
margin: 0 0 0.3rem;
|
|
padding: 0;
|
|
}
|
|
|
|
p {
|
|
text-align: justify;
|
|
text-justify: inter-word;
|
|
}
|
|
|
|
li {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
h1, h2, h3 {
|
|
color: #66f;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
h1 { font-size: 2rem; }
|
|
h2 { font-size: 1.6rem; }
|
|
h3 { font-size: 1.2rem; }
|
|
|
|
blockquote {
|
|
background-color: #eee;
|
|
border-left: 3px solid #444;
|
|
margin: 1rem -1rem 1rem calc(-1rem - 3px);
|
|
padding: 1rem;
|
|
}
|
|
|
|
a {
|
|
margin: -1.35rem;
|
|
color:#820;
|
|
text-decoration: none;
|
|
text-justify: none;
|
|
}
|
|
|
|
a:before {
|
|
content: "🔗 ";
|
|
}
|
|
|
|
a:visited {
|
|
color: #868;
|
|
}
|
|
|
|
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: "✉️ ";
|
|
}
|
|
|
|
pre {
|
|
margin: 0 -1rem;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
@media only screen and (max-width: 1024px) {
|
|
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;
|
|
}
|
|
}
|
|
|
|
@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;
|
|
}
|
|
}
|
|
|