diff --git a/templates/assets/css/styles.css b/templates/assets/css/styles.css index 5bfd90d..ebdccab 100644 --- a/templates/assets/css/styles.css +++ b/templates/assets/css/styles.css @@ -8,7 +8,6 @@ html { color: #000; scrollbar-color: var(--primary) transparent; } - @media (prefers-color-scheme: dark) { html { --background: #000; @@ -27,7 +26,6 @@ body { word-break: break-word; overflow-wrap: break-word; } - body * { color: #000; color: var(--primary, #000); @@ -37,7 +35,6 @@ body * { header { padding: 10px 0; } - header * { margin-top: 0; margin-bottom: 0; @@ -65,6 +62,10 @@ input, textarea, button, .button { font-size: 1rem; } +input:not([type]), input[type=text], input[type=email], input[type=url], textarea { + margin-bottom: 5px; +} + blockquote { border-left: 5px solid #000; border-left: 5px solid var(--primary, #000); @@ -90,7 +91,6 @@ code { footer { padding: 10px 0; } - footer * { margin-top: 0; margin-bottom: 0; @@ -127,7 +127,7 @@ footer * { display: none; } -.fw, .fw-form, .fw-form input[type=text], .fw-form input[type=email], .fw-form textarea { +.fw, .fw-form, .fw-form input:not([type]), .fw-form input[type=text], .fw-form input[type=email], .fw-form input[type=url], .fw-form textarea { width: 100%; } @@ -135,14 +135,6 @@ footer * { text-align: center; } -/* Twemoji */ -img.emoji { - height: 1em; - width: 1em; - margin: 0 0.05em 0 0.1em; - vertical-align: -0.1em; -} - /* Print */ @media print { html { @@ -157,9 +149,9 @@ img.emoji { } nav, - #post-actions, - #related, - #interactions { +#post-actions, +#related, +#interactions { display: none; } } diff --git a/templates/assets/css/styles.scss b/templates/assets/css/styles.scss index f9eab38..3470065 100644 --- a/templates/assets/css/styles.scss +++ b/templates/assets/css/styles.scss @@ -85,10 +85,14 @@ input, textarea, button, .button { font-size: 1rem; } +input:not([type]), input[type="text"], input[type="email"], input[type="url"], textarea { + margin-bottom: 5px; +} + .fw-form { @extend .fw; - input[type="text"], input[type="email"], textarea { + input:not([type]), input[type="text"], input[type="email"], input[type="url"], textarea { @extend .fw; } } @@ -159,14 +163,6 @@ footer { text-align: center; } -/* Twemoji */ -img.emoji { - height: 1em; - width: 1em; - margin: 0 .05em 0 .1em; - vertical-align: -0.1em; -} - /* Print */ @media print { html { diff --git a/templates/editor.gohtml b/templates/editor.gohtml index 85ea3f8..5c718dc 100644 --- a/templates/editor.gohtml +++ b/templates/editor.gohtml @@ -8,7 +8,7 @@

{{ string .Blog.Lang "create" }}

- +

{{ string .Blog.Lang "update" }}

@@ -16,17 +16,17 @@ {{ if .Data.UpdatePostURL }} - + {{ else }} - + {{ end }}

{{ string .Blog.Lang "delete" }}

- +
diff --git a/templates/interactions.gohtml b/templates/interactions.gohtml index 0dfc83b..79d41ce 100644 --- a/templates/interactions.gohtml +++ b/templates/interactions.gohtml @@ -18,9 +18,9 @@ {{ end }}
- + - +
{{ string .Blog.Lang "anoncomment" }} diff --git a/templates/search.gohtml b/templates/search.gohtml index db544a7..ed1e411 100644 --- a/templates/search.gohtml +++ b/templates/search.gohtml @@ -10,7 +10,7 @@
{{ end }}
- +