aboutsummaryrefslogtreecommitdiff
path: root/src/style.css
diff options
context:
space:
mode:
authorSn4il <sn4il@thedroth.rocks>2023-12-01 08:59:58 +0300
committerSn4il <sn4il@thedroth.rocks>2023-12-01 08:59:58 +0300
commit3a9a806e694f4b0e8f3cf25cfa77c0fb996ca069 (patch)
treeed1c6a6f0918fe93d63b5620e51d488f2ef2b154 /src/style.css
downloadtt-3a9a806e694f4b0e8f3cf25cfa77c0fb996ca069.tar.gz
tt-3a9a806e694f4b0e8f3cf25cfa77c0fb996ca069.zip
Clone
Diffstat (limited to 'src/style.css')
-rw-r--r--src/style.css67
1 files changed, 67 insertions, 0 deletions
diff --git a/src/style.css b/src/style.css
new file mode 100644
index 0000000..7c5535d
--- /dev/null
+++ b/src/style.css
@@ -0,0 +1,67 @@
+@font-face {
+ font-family: "Computer Modern Serif";
+ src: url(/font/cmunrm.ttf);
+}
+
+@font-face {
+ font-family: "Computer Modern Serif";
+ src: url(/font/cmunbx.ttf);
+ font-weight: bold;
+}
+
+body {
+ font-family: "Computer Modern Serif", serif;
+ font-size: 16pt;
+ font-variant-ligatures: none;
+ margin: 50px auto;
+ padding: 0 10px;
+ max-width: 650px;
+ color: #444;
+}
+
+.homelink {
+ margin-bottom: 25px;
+}
+
+@media (prefers-color-scheme: dark) {
+ body {
+ color:white;
+ background:#444
+ }
+ a:link {
+ color:#5bf
+ }
+ a:visited {
+ color:#ccf
+ }
+}
+
+h1, h2, h3 {
+ line-height: 1.2;
+}
+
+a {
+ color: #524632;
+}
+
+hr {
+ width: 75%;
+ border: none;
+ height: 1px;
+ color: #292f36;
+ background-color: #292f36;
+}
+
+ul {
+ list-style-type: square;
+}
+
+blockquote {
+ font-style: italic;
+ padding-left: 20px;
+ border-left: 3px solid #78c0a8;
+}
+
+code {
+ font-size: 0.9em;
+}