2023-02-22 22:50:46 +01:00
|
|
|
/* Gemini.css
|
|
|
|
* Author: Paul Wilde
|
|
|
|
* Source: https://codeberg.org/pswilde/geminicss
|
|
|
|
* Website: https://geminicss.paulwilde.uk
|
|
|
|
* */
|
|
|
|
:root {
|
2023-11-22 15:01:22 +01:00
|
|
|
--bg: #111111;
|
2023-02-22 22:50:46 +01:00
|
|
|
--text: #eeeedd;
|
|
|
|
--text-dark: #ccccbb;
|
|
|
|
--accent: #d0c010;
|
|
|
|
--accent-2: #228822;
|
|
|
|
--accent-2-dark: #006600;
|
|
|
|
--accent-3: #ffaa44;
|
2023-11-22 15:01:22 +01:00
|
|
|
--accent-4: #ddd;
|
|
|
|
--accent-5: #777;
|
2023-02-22 22:50:46 +01:00
|
|
|
}
|
|
|
|
* {
|
|
|
|
color: var(--text);
|
2023-11-22 15:01:22 +01:00
|
|
|
font-family: 'DejaVu Mono Sans', monospace;
|
2023-02-22 22:50:46 +01:00
|
|
|
}
|
|
|
|
body {
|
2023-11-22 15:01:22 +01:00
|
|
|
margin:auto;
|
2023-02-22 22:50:46 +01:00
|
|
|
background-color: var(--bg);
|
2023-11-22 15:01:22 +01:00
|
|
|
font-size: 1em;
|
|
|
|
max-width: 40vw;
|
|
|
|
display:block;
|
2023-02-22 22:50:46 +01:00
|
|
|
margin:auto;
|
|
|
|
margin-top: 2em;
|
2023-11-22 15:01:22 +01:00
|
|
|
}
|
|
|
|
main {
|
2023-02-22 22:50:46 +01:00
|
|
|
}
|
|
|
|
p, a, label, h1, h2, h3, h4, h5, ul, li {
|
|
|
|
color: var(--text);
|
|
|
|
}
|
|
|
|
h1:before, h2:before, h3:before, a:before {
|
|
|
|
transition: left 0.5s;
|
|
|
|
}
|
|
|
|
h1:before, h2:before, h3:before, a:before {
|
|
|
|
position:absolute;
|
2023-11-22 15:01:22 +01:00
|
|
|
left: 25vw;
|
2023-02-22 22:50:46 +01:00
|
|
|
}
|
|
|
|
a {
|
|
|
|
transition: color 0.3s, background 0.3s;
|
|
|
|
}
|
|
|
|
a:before {
|
|
|
|
content: "=> "
|
|
|
|
}
|
|
|
|
a:hover {
|
|
|
|
color: var(--accent);
|
|
|
|
}
|
|
|
|
a[id]:before {
|
|
|
|
content: "";
|
|
|
|
}
|
|
|
|
h1 a:before, h2 a:before, h3 a:before {
|
|
|
|
content: "";
|
|
|
|
}
|
|
|
|
a.button {
|
|
|
|
display:inline-block;
|
|
|
|
padding: 1em;
|
|
|
|
margin: 0.4em;
|
|
|
|
margin-left:0;
|
|
|
|
background-color: var(--accent-2);
|
|
|
|
border-radius: 15px;
|
|
|
|
text-decoration:none;
|
|
|
|
}
|
|
|
|
a.button:before {
|
|
|
|
content: "";
|
|
|
|
position:relative;
|
|
|
|
}
|
|
|
|
a.button:hover {
|
|
|
|
color: var(--text-dark);
|
|
|
|
background-color: var(--accent-2-dark);
|
|
|
|
}
|
|
|
|
h1 a, h2 a, h3 a {
|
|
|
|
text-decoration:0;
|
|
|
|
}
|
|
|
|
h1 {
|
|
|
|
font-size: 1.8em;
|
|
|
|
color: var(--accent);
|
|
|
|
}
|
|
|
|
h1:before {
|
|
|
|
content: "# ";
|
|
|
|
}
|
|
|
|
h2 {
|
|
|
|
font-size: 1.6em;
|
|
|
|
color: var(--accent-2);
|
|
|
|
}
|
|
|
|
h2:before {
|
|
|
|
content: "## ";
|
|
|
|
}
|
|
|
|
h3 {
|
|
|
|
font-size: 1.4em;
|
|
|
|
color: var(--accent-3);
|
|
|
|
}
|
|
|
|
h3:before {
|
|
|
|
content: "### ";
|
|
|
|
}
|
2023-11-22 15:01:22 +01:00
|
|
|
h4 {
|
|
|
|
font-size: 1.2em;
|
|
|
|
color: var(--accent-3);
|
|
|
|
}
|
|
|
|
h4:before {
|
|
|
|
content: "#### ";
|
|
|
|
}
|
|
|
|
h5 {
|
|
|
|
font-size: 1.0em;
|
|
|
|
color: var(--accent-3);
|
|
|
|
}
|
|
|
|
h5:before {
|
|
|
|
content: "##### ";
|
|
|
|
}
|
2023-02-22 22:50:46 +01:00
|
|
|
blockquote {
|
|
|
|
border-left: 3px solid var(--accent-2);
|
|
|
|
padding: 0.4em;
|
|
|
|
font-style: italic;
|
|
|
|
padding-left: 2em;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
blockquote pre {
|
|
|
|
padding: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-width: 1600px) {
|
|
|
|
h1:before, h2:before, h3:before, a:before {
|
2023-11-22 15:01:22 +01:00
|
|
|
left: 220px;
|
|
|
|
}
|
|
|
|
body {
|
|
|
|
max-width: 50vw;
|
2023-02-22 22:50:46 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
@media only screen and (max-width: 1200px) {
|
|
|
|
h1:before, h2:before, h3:before, a:before {
|
2023-11-22 15:01:22 +01:00
|
|
|
left: 50px;
|
|
|
|
}
|
|
|
|
body {
|
|
|
|
max-width: 70vw;
|
2023-02-22 22:50:46 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
@media only screen and (max-width: 700px) {
|
|
|
|
body {
|
2023-11-22 15:01:22 +01:00
|
|
|
max-width: 70vw;
|
2023-02-22 22:50:46 +01:00
|
|
|
}
|
|
|
|
h1:before, h2:before, h3:before, a:before {
|
|
|
|
left: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|