summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-05-17 23:52:36 +0300
committerPaul Buetow <paul@buetow.org>2024-05-17 23:52:36 +0300
commitc6ca611809f3149d330908207b746390725e6a88 (patch)
tree4cbecffe4f87ab228dd9e10c0cb4331056a06b65 /extras
parente0f9a7722da62dec49353abff27cce9caf409113 (diff)
update css styles
Diffstat (limited to 'extras')
-rw-r--r--extras/html/style-business.css121
-rw-r--r--extras/html/style.css92
2 files changed, 180 insertions, 33 deletions
diff --git a/extras/html/style-business.css b/extras/html/style-business.css
new file mode 100644
index 0000000..0581633
--- /dev/null
+++ b/extras/html/style-business.css
@@ -0,0 +1,121 @@
+@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");
+}
+@font-face {
+ font-family: 'typewriter';
+ src: url("./typewriter.ttf") format("truetype");
+}
+
+body {
+ font-family: text, sans-serif;
+ background: linear-gradient(135deg, #f4f4f4, #e0e0e0);
+ color: #333;
+ max-width: 1024px;
+ padding: 20px;
+ margin: 20px auto;
+ border: 1px solid #ccc;
+ box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
+ border-radius: 8px;
+}
+
+h1, h2, h3 {
+ font-family: heading, serif;
+ color: #303c6c;
+ text-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
+}
+
+a {
+ text-decoration: none;
+ color: #1a73e8;
+ transition: color 0.3s, text-shadow 0.3s;
+}
+
+a:hover {
+ text-decoration: underline;
+ color: #2a65ba;
+ text-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
+}
+
+a.textlink:before {
+ content: "⇒ ";
+ padding-left: 11px;
+}
+
+.quote {
+ font-style: italic;
+ color: #2a65ba;
+ text-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
+}
+
+.quote:before {
+ content: "« ";
+ padding-left: 2px;
+}
+
+.quote:after {
+ content: " »";
+ padding-right: 2px;
+}
+
+ul {
+ list-style: none;
+ padding-right: 23px;
+ padding-left: 10px;
+ margin: 0.75em 0 0.75em 0;
+}
+
+li {
+ color: #303c6c;
+ margin-left: 1em;
+ margin-bottom: 0.25em;
+ text-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
+}
+
+li:before {
+ content: "★";
+ padding-right: 5px;
+ color: #1a73e8;
+}
+
+img {
+ max-width: 90%;
+ display: block;
+ margin: auto;
+ border: 2px solid #ccc;
+ box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
+ border-radius: 5px;
+}
+
+pre {
+ font-family: code, monospace;
+ overflow-x: auto;
+ background: #f0f0f0;
+ padding: 20px;
+ border-left: 4px solid #1a73e8;
+ border-radius: 5px;
+ box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
+ color: #333;
+}
+
+span.inlinecode {
+ font-family: code, monospace;
+ background: #f0f0f0;
+ padding: 5px;
+ border: 1px solid #ccc;
+ border-radius: 5px;
+ box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.1);
+ color: #333;
+}
diff --git a/extras/html/style.css b/extras/html/style.css
index 45a3533..8d20578 100644
--- a/extras/html/style.css
+++ b/extras/html/style.css
@@ -24,76 +24,102 @@
}
body {
- font-family: text, sans-serif;
- max-width: 1024px;
- padding: 10px 10px;
- margin: 20px auto;
+ font-family: text, sans-serif;
+ background: linear-gradient(135deg, #0d0d0d, #1f1f1f);
+ color: #e0e0e0;
+ max-width: 1024px;
+ padding: 20px;
+ margin: 20px auto;
+ border: 1px solid #333;
+ box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
+ border-radius: 15px;
}
h1, h2, h3 {
- font-family: heading, serif;
+ font-family: heading, serif;
+ color: #00ff9d;
+ text-shadow: 0 0 10px #00ff9d, 0 0 20px #00ff9d;
}
a {
- text-decoration: none;
+ text-decoration: none;
+ color: #00ff9d;
+ transition: color 0.3s, text-shadow 0.3s;
}
a:hover {
- text-decoration: underline;
+ text-decoration: underline;
+ color: #00d4ff;
+ text-shadow: 0 0 10px #00d4ff, 0 0 20px #00d4ff;
}
a.textlink:before {
- content: "⇒ ";
- padding-left: 11px;
+ content: "⇒ ";
+ padding-left: 11px;
}
.quote {
- font-style: italic;
+ font-style: italic;
+ color: #00d4ff;
+ text-shadow: 0 0 7px #00d4ff, 0 0 14px #00d4ff;
}
.quote:before {
- content: "« ";
- padding-left: 2px;
+ content: "« ";
+ padding-left: 2px;
}
.quote:after {
- content: " »";
- padding-right: 2px;
+ content: " »";
+ padding-right: 2px;
}
ul {
- list-style: none;
- padding-right: 23px;
- padding-left: 10px;
- margin: 0.75em 0 0.75em 0;
+ list-style: none;
+ padding-right: 23px;
+ padding-left: 10px;
+ margin: 0.75em 0 0.75em 0;
}
li {
- color: purple;
- margin-left: 1em;
- margin-bottom: 0.25em;
+ color: #ff6347;
+ margin-left: 1em;
+ margin-bottom: 0.25em;
+ text-shadow: 0 0 5px #ff6347, 0 0 10px #ff6347;
}
li:before {
- content: "★";
- padding-right: 5px;
+ content: "★";
+ padding-right: 5px;
+ color: #00ff9d;
}
img {
- max-width: 90%;
- display: block;
- margin: auto;
- border: 1px solid #333333;
+ max-width: 90%;
+ display: block;
+ margin: auto;
+ border: 2px solid #00d4ff;
+ box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
+ border-radius: 10px;
}
pre {
- font-family: code, monospace;
- overflow-x: auto;
- padding-left: 23px;
- border-left: dashed grey;
+ font-family: code, monospace;
+ overflow-x: auto;
+ background: #1e1e1e;
+ padding: 20px;
+ border-left: 4px solid #00ff9d;
+ border-radius: 5px;
+ box-shadow: inset 0 0 10px #00ff9d;
+ color: #00d4ff;
}
span.inlinecode {
- font-family: code, monospace;
- padding: 1px;
+ font-family: code, monospace;
+ background: #1e1e1e;
+ padding: 5px;
+ border: 1px solid #00d4ff;
+ border-radius: 5px;
+ box-shadow: 0 0 5px #00d4ff;
+ color: #00d4ff;
}