summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNantha Sorubakanthan <nantha@mielota.com>2025-10-18 17:08:06 +0200
committerNantha Sorubakanthan <nantha@mielota.com>2025-10-18 17:08:06 +0200
commitab85985325d818b874176199d0f1f938600887e1 (patch)
treeec5bfccdf52398eb22a14be0202e52533f8ab40e
parent41859ed259464b15a047333cefd571e0dff37f9b (diff)
clean css
-rw-r--r--layouts/_default/baseof.html3
-rw-r--r--static/style.css47
2 files changed, 8 insertions, 42 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 31c5d8f..8359630 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
- <link rel="stylesheet" type="text/css" href="/style.css?v=1.0.2">
+ <link rel="stylesheet" type="text/css" href="/style.css?v=1.0.3">
<title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ .Title }}{{ end }}</title>
<meta name="author" content="{{ .Site.Params.email }} ({{ .Site.Params.name }})">
<meta name="description" content="{{- plainify (chomp .Summary) -}}">
@@ -23,7 +23,6 @@
<header>
<h1>{{ if .IsHome }}{{ site.Title }}</h1>{{ else }}{{ .Title }}</h1>
{{ end }}
- <br>
</header>
<main>
{{ block "main" . }}{{ end }}
diff --git a/static/style.css b/static/style.css
index a2ec892..0f6c16a 100644
--- a/static/style.css
+++ b/static/style.css
@@ -1,21 +1,12 @@
:root {
- --bg: #e1e2e7;
- --fg: #32344a;
- --sbg: #e9e663;
- --link: #9b4ae0;
+ --fg: #bac2e7;
+ --bg: #1a1b26;
+ --sbg: #39405e;
+ --link: #7aa2f7;
--regularfont: system-ui;
--titlecodefont: 'Courier New', Courier, monospace;
}
-@media (prefers-color-scheme: dark) {
- :root {
- --fg: #bac2e7;
- --bg: #1a1b26;
- --sbg: #39405e;
- --link: #7aa2f7;
- }
-}
-
body {
width: 90%;
max-width: 42em;
@@ -54,14 +45,6 @@ a {
color: var(--link);
}
-.notfound>h1 {
- font-size: 15em;
-}
-
-.notfound {
- text-align: center;
-}
-
.highlight {
font-family: var(--titlecodefont);
}
@@ -69,14 +52,15 @@ a {
h1,
h2,
h3,
+h4,
+h5,
+h6,
pre {
font-family: var(--titlecodefont);
}
h1 {
text-align: center;
- font-size: 2.3em;
- margin: 0.32em 0em 0em 0em;
}
h1,
@@ -112,23 +96,6 @@ li {
margin: 0 0 0.1em 0;
}
-footer {
- text-align: center;
-}
-
-footer img {
- margin: auto;
- display: inline-block;
-}
-
-img {
- display: block;
- margin: auto;
- max-height: 25em;
- width: auto;
- max-width: 100%;
-}
-
@media print {
.address {
overflow: visible;