diff options
Diffstat (limited to 'extras/html/themes/clean_rhythm/style.css')
| -rw-r--r-- | extras/html/themes/clean_rhythm/style.css | 211 |
1 files changed, 211 insertions, 0 deletions
diff --git a/extras/html/themes/clean_rhythm/style.css b/extras/html/themes/clean_rhythm/style.css new file mode 100644 index 0000000..72faab7 --- /dev/null +++ b/extras/html/themes/clean_rhythm/style.css @@ -0,0 +1,211 @@ +/* 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: #c76399; + --color-secondary: #6ebd6d; + --color-accent: #6dbdb9; + --color-bg: #edeaec; + --color-text: #252525; + --font-size-base: 18px; + --font-size-h1: 1.95em; + --font-size-h2: 1.56em; + --font-size-h3: 1.25em; + --line-height: 1.72; +} + +* { + 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(199, 99, 153, 0.07); + font-style: italic; +} + +pre { + font-family: code, monospace; + background-color: rgba(37, 37, 37, 0.04); + border: 1px solid rgba(37, 37, 37, 0.13); + padding: 1em; + overflow-x: auto; + border-radius: 4px; + font-size: 0.9em; +} + +code { + font-family: code, monospace; + background-color: rgba(37, 37, 37, 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(37, 37, 37, 0.20); + margin: 2em 0; +} + + +/* Layout: future */ + +body { + background-color: #000; + color: #fff; + padding: 0; + margin: 0; + position: relative; + overflow-x: hidden; +} + +body::before { + content: ""; + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: radial-gradient(circle at 20% 50%, rgba(199, 99, 153, 0.27) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(110, 189, 109, 0.27) 0%, transparent 50%), radial-gradient(circle at 40% 20%, rgba(109, 189, 185, 0.27) 0%, transparent 50%); + z-index: -1; +} + +.header { + padding: 6em 2em; + text-align: center; + position: relative; +} + +.header h1 { + font-size: 5em; + margin: 0; + background: linear-gradient(45deg, #c76399, #6ebd6d, #6dbdb9); + -webkit- + -webkit-text-fill-color: transparent; + + text-transform: uppercase; + letter-spacing: 0.2em; +} + +h1, h2, h3, p, ul, pre, .quote { + max-width: 65ch; + margin: 2em auto; + padding: 2em; + background: rgba(255,255,255,0.05); + backdrop-filter: blur(10px); + border: 1px solid rgba(255,255,255,0.1); + border-radius: 20px; + box-shadow: 0 8px 32px rgba(0,0,0,0.2); +} + +a { + color: #6dbdb9; + text-decoration: none; + position: relative; +} + +a::after { + content: ""; + position: absolute; + bottom: -2px; + left: 0; + right: 0; + height: 2px; + background: linear-gradient(90deg, #c76399, #6ebd6d); + transform: scaleX(0); + transition: transform 0.3s ease; +} + +a:hover::after { + transform: scaleX(1); +} |
