summaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-06-22 22:34:49 +0300
committerPaul Buetow <paul@buetow.org>2025-06-22 22:34:49 +0300
commit1a3b474ca52256f2f5a25e412f0b0da39a313542 (patch)
tree7f4858eed4933babf630bd4f57d8a5cb67657572 /style.css
parent925a1fd8f6b62df7c074f8861a20c4d5642ed1b8 (diff)
Update content for html
Diffstat (limited to 'style.css')
-rw-r--r--style.css339
1 files changed, 300 insertions, 39 deletions
diff --git a/style.css b/style.css
index 2e6e7239..eb871147 100644
--- a/style.css
+++ b/style.css
@@ -1,3 +1,4 @@
+/* Retro Theme: classic_matrix */
@font-face {
font-family: 'text';
src: url("./text.ttf") format("truetype");
@@ -18,81 +19,341 @@
src: url("./handnotes.ttf") format("truetype");
}
+:root {
+ --color-bg: #1a1a2e;
+ --color-text: #f0f0f5;
+ --color-primary: #ff3399;
+ --color-secondary: #33ffff;
+ --color-accent: #ffff66;
+ --color-glow: rgba(255, 51, 153, 0.3);
+}
+
+* {
+ box-sizing: border-box;
+}
+
html {
- background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="%23cccccc"><polygon points="50,15 61,39 87,39 66,57 76,84 50,68 24,84 34,57 13,39 39,39"/></svg>'),
- radial-gradient(#000000 1px, transparent 1px);
- background-size: 32px 32px;
- background-color: #000000;
+ font-size: 16px;
+ background-color: var(--color-bg);
+ min-height: 100vh;
}
+/* Terminal scan effect */
+@keyframes terminal-scan {
+ 0% { transform: translateY(-100%); }
+ 100% { transform: translateY(100vh); }
+}
+
+html::before {
+ content: "";
+ position: fixed;
+ top: 0;
+ left: 0;
+ right: 0;
+ height: 100px;
+ background: linear-gradient(
+ 180deg,
+ transparent 0%,
+ rgba(51, 255, 255, 0.15) 50%,
+ transparent 100%
+ );
+ pointer-events: none;
+ z-index: 9999;
+ animation: terminal-scan 6s linear infinite;
+}
+
body {
- font-family: text, sans-serif;
- background: #ffffff;
- max-width: 1200px;
- padding: 20px;
- margin: 20px auto;
- border: 5px solid #eeeeee;
- border-radius: 15px;
- word-wrap: break-word;
+ font-family: text, monospace;
+ background-color: var(--color-bg);
+ color: var(--color-text);
+ line-height: 1.6;
+ margin: 0 auto;
+ padding: 2em;
+ min-width: 1200px;
+ max-width: 1400px;
+ position: relative;
+ overflow-x: auto;
+
+ text-shadow: 0 0 1px currentColor;
+}
+
+/* Retro glow effect */
+body::before {
+ content: "";
+ position: fixed;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ background: radial-gradient(ellipse at center, transparent 0%, var(--color-bg) 100%);
+ pointer-events: none;
+ z-index: 2;
+}
+
+/* Content wrapper */
+.content {
+ position: relative;
+ z-index: 3;
+ width: 100%;
+ min-width: 1200px;
}
+/* Headers with retro styling */
h1, h2, h3 {
- font-family: heading, serif;
+ font-family: heading, monospace;
+ text-transform: uppercase;
+ letter-spacing: 0.1em;
+ margin: 1.5em 0 0.5em 0;
+ position: relative;
+}
+
+h1 {
+ font-size: 2.5em;
+ color: var(--color-primary);
+ text-shadow:
+ 0 0 10px var(--color-glow),
+ 0 0 20px var(--color-glow),
+ 0 0 30px var(--color-glow);
+ border-bottom: 2px solid var(--color-primary);
+ padding-bottom: 0.5em;
+}
+
+h1::before {
+ content: "$ ";
+ color: var(--color-secondary);
+}
+
+h2 {
+ font-size: 1.8em;
+ color: var(--color-secondary);
+}
+
+h2::before {
+ content: "> ";
+ color: var(--color-accent);
+}
+
+h3 {
+ font-size: 1.4em;
+ color: var(--color-accent);
+}
+
+h3::before {
+ content: "# ";
+ color: var(--color-secondary);
+}
+
+/* Terminal cursor effect */
+@keyframes blink {
+ 0%, 49% { opacity: 1;
+}
+ 50%, 100% { opacity: 0;
+};
}
+h1::after {
+ content: "_";
+ animation: blink 1s infinite;
+ color: var(--color-primary);
+}
+
+/* Links with retro hover effects */
a {
font-family: code, monospace;
+ color: var(--color-secondary);
text-decoration: none;
- color: #666666;
- padding: 0 0 0 0;
+ position: relative;
+ transition: all 0.3s ease;
}
a:hover {
- text-decoration: underline;
+ color: var(--color-accent);
+ text-shadow: 0 0 5px var(--color-glow);
+}
+
+a::after {
+ content: "";
+ position: absolute;
+ bottom: -2px;
+ left: 0;
+ width: 0;
+ height: 2px;
+ background: var(--color-accent);
+ transition: width 0.3s ease;
}
-a.textlink:before {
- content: "⇒ ";
+a:hover::after {
+ width: 100%;
}
+/* Text link styling */
+.textlink {
+ font-family: text, monospace;
+}
+
+/* Quotes with retro border */
.quote {
+ font-family: handnotes, monospace;
+ border-left: 4px solid var(--color-accent);
+ border-right: 4px solid var(--color-accent);
+ padding: 1em 2em;
+ margin: 2em 0;
+ background-color: rgba(255, 255, 255, 0.02);
font-style: italic;
+ position: relative;
+}
+
+.quote::before,
+.quote::after {
+ content: '"';
+ font-size: 3em;
+ color: var(--color-accent);
+ position: absolute;
+ opacity: 0.3;
+}
+
+.quote::before {
+ top: -0.2em;
+ left: 0.1em;
+}
+
+.quote::after {
+ bottom: -0.5em;
+ right: 0.1em;
}
-.quote:before {
- content: "« ";
- padding-left: 2px;
+/* Code blocks with terminal styling */
+pre {
+ font-family: code, monospace;
+ background-color: rgba(0, 0, 0, 0.5);
+ border: 1px solid var(--color-primary);
+ padding: 1.5em;
+ overflow-x: auto;
+ margin: 2em 0;
+ box-shadow:
+ inset 0 0 20px rgba(0, 0, 0, 0.5),
+ 0 0 10px var(--color-glow);
+ position: relative;
+}
+
+pre::before {
+ content: "OUTPUT";
+ position: absolute;
+ top: -0.5em;
+ left: 1em;
+ background: var(--color-bg);
+ padding: 0 0.5em;
+ color: var(--color-primary);
+ font-size: 0.8em;
+ letter-spacing: 0.2em;
}
-.quote:after {
- content: " »";
- padding-right: 2px;
+code {
+ font-family: code, monospace;
+ color: var(--color-accent);
}
+/* Lists with retro bullets */
ul {
list-style: none;
- margin: 0 0 0 0;
- padding: 0 0 0 0;
+ padding-left: 2em;
}
-li:before {
- content: "★";
- padding-right: 5px;
+ul li::before {
+ content: "▸ ";
+ color: var(--color-accent);
+ font-weight: bold;
+ margin-left: -1.5em;
+ margin-right: 0.5em;
}
+/* Images */
img {
- max-width: 90%;
+ max-width: 100%;
+ height: auto;
+ filter: contrast(1.1) brightness(0.9);
+ border: 2px solid var(--color-primary);
}
-pre {
- font-family: code, monospace;
- padding: 20px;
- border: 1px solid #dddddd;
- border-radius: 15px;
+/* Horizontal rules */
+hr {
+ border: none;
+ height: 2px;
+ background: linear-gradient(90deg,
+ transparent 0%,
+ var(--color-primary) 20%,
+ var(--color-primary) 80%,
+ transparent 100%);
+ margin: 3em 0;
+ position: relative;
}
-span.inlinecode {
- font-family: code, monospace;
- border: 1px solid #999999;
- border-radius: 2px;
+hr::after {
+ content: "◆";
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+ background: var(--color-bg);
+ color: var(--color-primary);
+ padding: 0 1em;
+ font-size: 1.5em;
+}
+
+/* Paragraphs */
+p {
+ margin: 1em 0;
+ text-align: justify;
+ hyphens: auto;
+}
+
+/* Special retro effects */
+@keyframes glitch {
+ 0%, 100% { text-shadow: 0 0 5px var(--color-glow);
+}
+ 25% { text-shadow: -2px 0 var(--color-accent), 2px 0 var(--color-secondary);
+}
+ 50% { text-shadow: 2px 0 var(--color-accent), -2px 0 var(--color-secondary);
+}
+ 75% { text-shadow: 0 0 10px var(--color-glow);
+};
+}
+
+h1:hover {
+ animation: glitch 0.3s infinite;
+}
+
+/* Terminal scan refresh */
+@keyframes terminal-scan {
+ 0% { transform: translateY(-100%); }
+ 100% { transform: translateY(100%); }
+}
+
+body::after {
+ content: "";
+ position: fixed;
+ top: 0;
+ left: 0;
+ right: 0;
+ height: 100px;
+ background: linear-gradient(
+ 180deg,
+ transparent 0%,
+ rgba(255, 255, 255, 0.02) 50%,
+ transparent 100%
+ );
+ pointer-events: none;
+ z-index: 5;
+ animation: terminal-scan 8s linear infinite;
+}
+
+/* Footer styling */
+.footer {
+ margin-top: 4em;
+ padding-top: 2em;
+ border-top: 2px solid var(--color-primary);
+ text-align: center;
+ color: var(--color-secondary);
+ font-size: 0.9em;
+ letter-spacing: 0.1em;
}