summaryrefslogtreecommitdiff
path: root/extras/html/themes/bright_light/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'extras/html/themes/bright_light/style.css')
-rw-r--r--extras/html/themes/bright_light/style.css176
1 files changed, 176 insertions, 0 deletions
diff --git a/extras/html/themes/bright_light/style.css b/extras/html/themes/bright_light/style.css
new file mode 100644
index 0000000..73336ac
--- /dev/null
+++ b/extras/html/themes/bright_light/style.css
@@ -0,0 +1,176 @@
+/* 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: #0fb543;
+ --color-secondary: #420fb5;
+ --color-accent: #b5430f;
+ --color-bg: #edf0ee;
+ --color-text: #1b1b1b;
+ --font-size-base: 16px;
+ --font-size-h1: 2.37em;
+ --font-size-h2: 1.78em;
+ --font-size-h3: 1.33em;
+ --line-height: 1.56;
+}
+
+* {
+ 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(15, 181, 67, 0.07);
+ font-style: italic;
+}
+
+pre {
+ font-family: code, monospace;
+ background-color: rgba(27, 27, 27, 0.04);
+ border: 1px solid rgba(27, 27, 27, 0.13);
+ padding: 1em;
+ overflow-x: auto;
+ border-radius: 4px;
+ font-size: 0.9em;
+}
+
+code {
+ font-family: code, monospace;
+ background-color: rgba(27, 27, 27, 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(27, 27, 27, 0.20);
+ margin: 2em 0;
+}
+
+
+/* Layout: hero */
+
+body {
+ margin: 0;
+ padding: 0;
+}
+
+.header {
+ min-height: 80vh;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ background: linear-gradient(135deg, rgba(15, 181, 67, 0.80), rgba(66, 15, 181, 0.80)), linear-gradient(45deg, rgba(181, 67, 15, 0.13), transparent);
+ color: var(--color-bg);
+ text-align: center;
+ position: relative;
+}
+
+.header h1 {
+ font-size: 5em;
+ margin: 0;
+ color: var(--color-bg);
+ text-shadow: 0 4px 8px rgba(0,0,0,0.3);
+}
+
+.header p {
+ font-size: 1.5em;
+ opacity: 0.9;
+}
+
+.content {
+ max-width: 65ch;
+ margin: 4em auto;
+ padding: 0 2em;
+}