summaryrefslogtreecommitdiff
path: root/extras/html/themes
diff options
context:
space:
mode:
Diffstat (limited to 'extras/html/themes')
-rw-r--r--extras/html/themes/business/style.css2
-rw-r--r--extras/html/themes/classic/style.css1
-rw-r--r--extras/html/themes/crt/style.css184
-rw-r--r--extras/html/themes/crt/theme.conf5
-rw-r--r--extras/html/themes/default/style.css2
-rw-r--r--extras/html/themes/future/style.css2
-rw-r--r--extras/html/themes/retrosimple/style.css1
-rw-r--r--extras/html/themes/simple/style.css1
8 files changed, 195 insertions, 3 deletions
diff --git a/extras/html/themes/business/style.css b/extras/html/themes/business/style.css
index 43898f7..ebe4615 100644
--- a/extras/html/themes/business/style.css
+++ b/extras/html/themes/business/style.css
@@ -106,7 +106,7 @@ img {
pre {
font-family: code, monospace;
- overflow-x: auto;
+ white-space: pre-wrap;
background: #f0f0f0;
padding: 20px;
border-left: 4px solid #1a73e8;
diff --git a/extras/html/themes/classic/style.css b/extras/html/themes/classic/style.css
index 4d42872..dee4a4b 100644
--- a/extras/html/themes/classic/style.css
+++ b/extras/html/themes/classic/style.css
@@ -92,6 +92,7 @@ pre {
padding: 20px;
border: 1px solid #dddddd;
border-radius: 15px;
+ white-space: pre-wrap;
}
span.inlinecode {
diff --git a/extras/html/themes/crt/style.css b/extras/html/themes/crt/style.css
new file mode 100644
index 0000000..7305297
--- /dev/null
+++ b/extras/html/themes/crt/style.css
@@ -0,0 +1,184 @@
+@keyframes flicker {
+ 0% { opacity: 0.97; }
+ 5% { opacity: 0.95; }
+ 10% { opacity: 0.98; }
+ 15% { opacity: 0.96; }
+ 20% { opacity: 0.99; }
+ 50% { opacity: 0.96; }
+ 80% { opacity: 0.98; }
+ 100% { opacity: 0.97; }
+}
+
+@keyframes blink {
+ 50% { opacity: 0; }
+}
+
+html {
+ background-color: #0a0a0a;
+}
+
+body {
+ font-family: code, monospace;
+ background: #0d0d0d;
+ max-width: 1200px;
+ padding: 30px 40px;
+ margin: 20px auto;
+ border: 3px solid #1a3a1a;
+ border-radius: 20px;
+ word-wrap: break-word;
+ color: #33ff33;
+ box-shadow:
+ inset 0 0 60px rgba(0, 255, 0, 0.05),
+ 0 0 20px rgba(0, 255, 0, 0.1),
+ 0 0 60px rgba(0, 255, 0, 0.05);
+ text-shadow: 0 0 5px rgba(51, 255, 51, 0.4);
+ animation: flicker 0.15s infinite;
+ position: relative;
+}
+
+body::before {
+ content: "";
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background: repeating-linear-gradient(
+ 0deg,
+ rgba(0, 0, 0, 0.15) 0px,
+ rgba(0, 0, 0, 0.15) 1px,
+ transparent 1px,
+ transparent 3px
+ );
+ pointer-events: none;
+ z-index: 9999;
+}
+
+body::after {
+ content: "";
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background: radial-gradient(
+ ellipse at center,
+ transparent 60%,
+ rgba(0, 0, 0, 0.6) 100%
+ );
+ pointer-events: none;
+ z-index: 9998;
+}
+
+h1, h2, h3 {
+ font-family: code, monospace;
+ color: #66ff66;
+ text-shadow: 0 0 10px rgba(102, 255, 102, 0.6);
+ text-transform: uppercase;
+ letter-spacing: 2px;
+}
+
+h1::before { content: ">> "; }
+h2::before { content: "> "; }
+h3::before { content: "$ "; }
+
+h1::after {
+ content: "█";
+ animation: blink 1s step-end infinite;
+ color: #33ff33;
+}
+
+a {
+ font-family: code, monospace;
+ text-decoration: none;
+ color: #00ccff;
+ text-shadow: 0 0 5px rgba(0, 204, 255, 0.5);
+ padding: 0;
+}
+
+a:hover {
+ text-decoration: none;
+ color: #ffffff;
+ text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
+ background-color: rgba(0, 204, 255, 0.1);
+}
+
+a.textlink:before {
+ content: "⇒ ";
+ color: #33ff33;
+}
+
+.quote {
+ font-style: normal;
+ color: #22aa22;
+ border-left: 2px solid #33ff33;
+ padding-left: 10px;
+}
+
+.quote:before {
+ content: "/* ";
+ padding-left: 0;
+ color: #1a8a1a;
+}
+
+.quote:after {
+ content: " */";
+ padding-right: 0;
+ color: #1a8a1a;
+}
+
+ul {
+ list-style: none;
+ margin: 0;
+ padding: 0;
+}
+
+li:before {
+ content: "▸";
+ padding-right: 5px;
+ color: #33ff33;
+}
+
+img {
+ max-width: 90%;
+ filter: sepia(20%) hue-rotate(80deg) saturate(150%) brightness(0.8);
+ border: 1px solid #1a3a1a;
+}
+
+pre {
+ font-family: code, monospace;
+ padding: 20px;
+ border: 1px solid #1a3a1a;
+ border-radius: 5px;
+ background: #080808;
+ color: #33ff33;
+ text-shadow: 0 0 3px rgba(51, 255, 51, 0.3);
+ white-space: pre-wrap;
+}
+
+span.inlinecode {
+ font-family: code, monospace;
+ border: 1px solid #1a3a1a;
+ border-radius: 2px;
+ background: #080808;
+ color: #66ff66;
+ padding: 1px 4px;
+}
+
+p.header, p.footer {
+ color: #1a8a1a;
+ border-bottom: 1px dashed #1a3a1a;
+ padding-bottom: 5px;
+ font-size: 0.9em;
+}
+
+p.footer {
+ border-bottom: none;
+ border-top: 1px dashed #1a3a1a;
+ padding-top: 5px;
+}
+
+::selection {
+ background: #33ff33;
+ color: #0d0d0d;
+}
diff --git a/extras/html/themes/crt/theme.conf b/extras/html/themes/crt/theme.conf
new file mode 100644
index 0000000..88296fa
--- /dev/null
+++ b/extras/html/themes/crt/theme.conf
@@ -0,0 +1,5 @@
+declare -xr HTML_HEADER=./extras/html/header.html.part
+declare -xr HTML_FOOTER=./extras/html/footer.html.part
+declare -xr HTML_CSS_STYLE=$HTML_THEME_DIR/style.css
+declare -xr HTML_WEBFONT_CODE=./extras/html/fonts/hack/Hack-Regular.ttf
+declare -xr SOURCE_HIGHLIGHT_CSS=./extras/html/source-highlight-styles/mono.css
diff --git a/extras/html/themes/default/style.css b/extras/html/themes/default/style.css
index 0f0f07b..35d93f5 100644
--- a/extras/html/themes/default/style.css
+++ b/extras/html/themes/default/style.css
@@ -139,7 +139,7 @@ pre {
padding: 18px 20px;
border-left: 4px solid #4f46e5;
border-radius: 14px;
- overflow-x: auto;
+ white-space: pre-wrap;
}
span.inlinecode {
diff --git a/extras/html/themes/future/style.css b/extras/html/themes/future/style.css
index 3441ec9..a49d7f8 100644
--- a/extras/html/themes/future/style.css
+++ b/extras/html/themes/future/style.css
@@ -125,7 +125,7 @@ img {
pre {
font-family: code, monospace;
- overflow-x: auto;
+ white-space: pre-wrap;
background: #1e1e1e;
padding: 20px;
border-left: 4px solid #00ff9d;
diff --git a/extras/html/themes/retrosimple/style.css b/extras/html/themes/retrosimple/style.css
index 1edd18c..6c99536 100644
--- a/extras/html/themes/retrosimple/style.css
+++ b/extras/html/themes/retrosimple/style.css
@@ -72,6 +72,7 @@ pre {
font-family: courier, monospace;
padding: 20px;
border: 1px solid #666666;
+ white-space: pre-wrap;
}
span.inlinecode {
diff --git a/extras/html/themes/simple/style.css b/extras/html/themes/simple/style.css
index 49bfd75..4284284 100644
--- a/extras/html/themes/simple/style.css
+++ b/extras/html/themes/simple/style.css
@@ -75,6 +75,7 @@ pre {
background: #1e1e1e;
padding: 20px;
color: #ffffff;
+ white-space: pre-wrap;
}
span.inlinecode {