diff options
Diffstat (limited to 'extras/html/themes/muted_oasis/style.css')
| -rw-r--r-- | extras/html/themes/muted_oasis/style.css | 208 |
1 files changed, 208 insertions, 0 deletions
diff --git a/extras/html/themes/muted_oasis/style.css b/extras/html/themes/muted_oasis/style.css new file mode 100644 index 0000000..520c1de --- /dev/null +++ b/extras/html/themes/muted_oasis/style.css @@ -0,0 +1,208 @@ +/* Base styles */ +@font-face { + font-family: 'text'; + src: url("./text.ttf") format("truetype"); +} + +@font-face { + font-family: 'heading'; + src: url("./heading.ttf") format("truetype"); +} + +@font-face { + font-family: 'code'; + src: url("./code.ttf") format("truetype"); +} + +@font-face { + font-family: 'handnotes'; + src: url("./handnotes.ttf") format("truetype"); +} + +:root { + --color-primary: #50d619; + --color-secondary: #4e2cc3; + --color-accent: #c32ca7; + --color-bg: #0e110e; + --color-text: #e2e2e2; + --font-size-base: 14px; + --font-size-h1: 1.73em; + --font-size-h2: 1.44em; + --font-size-h3: 1.2em; + --line-height: 1.43; +} + +* { + box-sizing: border-box; +} + +html { + font-size: var(--font-size-base); + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +body { + font-family: text, sans-serif; + background-color: var(--color-bg); + color: var(--color-text); + line-height: var(--line-height); + margin: 0; + padding: 0; + overflow-wrap: break-word; +} + +h1, h2, h3 { + font-family: heading, serif; + line-height: 1.2; + margin-top: 1em; + margin-bottom: 0.5em; +} + +h1 { + font-size: var(--font-size-h1); + color: var(--color-primary); +} + +h2 { + font-size: var(--font-size-h2); + color: var(--color-primary); +} + +h3 { + font-size: var(--font-size-h3); + color: var(--color-secondary); +} + +a { + font-family: code, monospace; + color: var(--color-secondary); + text-decoration: none; + transition: all 0.3s ease; +} + +a:hover { + color: var(--color-accent); + text-decoration: underline; +} + +.textlink { + font-family: text, sans-serif; +} + +.quote { + font-family: handnotes, cursive; + border-left: 4px solid var(--color-accent); + padding: 1em 1.5em; + margin: 1.5em 0; + background-color: rgba(80, 214, 25, 0.07); + font-style: italic; +} + +pre { + font-family: code, monospace; + background-color: rgba(226, 226, 226, 0.04); + border: 1px solid rgba(226, 226, 226, 0.13); + padding: 1em; + overflow-x: auto; + border-radius: 4px; + font-size: 0.9em; +} + +code { + font-family: code, monospace; + background-color: rgba(226, 226, 226, 0.04); + padding: 0.2em 0.4em; + border-radius: 3px; + font-size: 0.9em; +} + +ul, ol { + padding-left: 2em; + margin: 1em 0; +} + +li { + margin: 0.5em 0; +} + +img { + max-width: 100%; + height: auto; +} + +hr { + border: none; + border-top: 1px solid rgba(226, 226, 226, 0.20); + margin: 2em 0; +} + + +/* Layout: technical */ + +body { + font-family: code, monospace; + background-color: #0a0a0a; + color: #e0e0e0; + padding: 2em; + background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px); + background-size: 20px 20px; +} + +.header { + border: 2px solid #50d619; + padding: 2em; + margin-bottom: 3em; + position: relative; + background: linear-gradient(135deg, transparent 10px, #0a0a0a 10px); +} + +.header::before { + content: "//"; + position: absolute; + top: 10px; + left: 10px; + color: #50d619; + font-size: 2em; +} + +h1, h2, h3 { + font-family: code, monospace; + text-transform: uppercase; + letter-spacing: 0.1em; + border-left: 4px solid #c32ca7; + padding-left: 1em; +} + +h1::before { content: "001 "; color: #50d619; } +h2::before { content: "010 "; color: #4e2cc3; } +h3::before { content: "011 "; color: #c32ca7; } + +p, ul, pre, .quote { + background-color: rgba(255,255,255,0.02); + border: 1px solid rgba(255,255,255,0.1); + padding: 1.5em; + margin: 1.5em 0; + position: relative; +} + +p::before, ul::before, .quote::before { + content: ">"; + position: absolute; + left: -1em; + color: #c32ca7; +} + +a { + color: #c32ca7; + text-decoration: none; + padding: 0.2em 0.4em; + background-color: rgba(255,255,255,0.05); + border: 1px solid rgba(195, 44, 167, 0.20); + transition: all 0.3s ease; +} + +a:hover { + background-color: rgba(195, 44, 167, 0.13); + border-color: #c32ca7; +} |
