summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/head.html2
-rw-r--r--static/style.css35
2 files changed, 15 insertions, 22 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 47f4649..c2e3597 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -1,6 +1,6 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
-<link rel="stylesheet" type="text/css" href="/style.css?v=1.0.0">
+<link rel="stylesheet" type="text/css" href="/style.css?v=1.0.1">
<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) -}}">
diff --git a/static/style.css b/static/style.css
index 50b0066..5e64849 100644
--- a/static/style.css
+++ b/static/style.css
@@ -1,10 +1,7 @@
:root {
--bg: #e1e2e7;
- --sbg: #e9e663;
--fg: #32344a;
- --title: #7aa2f7;
- --subtitle: #449dab;
- --subsubtitle: #000;
+ --sbg: #e9e663;
--link: #9b4ae0;
--regularfont: system-ui;
--titlecodefont: 'Courier New', Courier, monospace;
@@ -15,10 +12,7 @@
--fg: #a9b1d6;
--bg: #1a1b26;
--sbg: #39405e;
- --title: #ad8ee6;
--link: #7aa2f7;
- --subtitle: #0db9d7;
- --subsubtitle: #ccf;
}
}
@@ -35,7 +29,7 @@ pre {
padding: 1em 1em;
line-break: auto;
text-align: left;
- border: solid 1px var(--fg);
+ border: solid 1px var(--sbg);
line-break: anywhere;
white-space: pre-wrap !important;
}
@@ -48,10 +42,11 @@ code {
}
blockquote {
- background: var(--sbg);
+ background: rgba(219, 75, 77, 0.2);
padding: 0.3em 0.9em;
margin: auto;
- border-left: 4px solid var(--link);
+ border-left: 4px solid #db4b4d;
+ color: #fff;
}
.buttons {
@@ -62,14 +57,6 @@ a {
color: var(--link);
}
-h1 {
- text-align: center;
-}
-
-h3 {
- color: var(--subsubtitle);
-}
-
.finaline {
display: flex;
justify-content: space-between;
@@ -96,13 +83,19 @@ pre {
}
h1 {
+ text-align: center;
font-size: 2.3em;
margin: 0.32em 0em 0em 0em;
- color: var(--title);
}
-h2 {
- color: var(--subtitle);
+h1,
+h2,
+h3,
+h4,
+h5,
+h6 {
+ color: #bb9af7;
+ line-height: 2em;
}
hr {