From f7b4ec938e4f9100e44cac8ab5a6b1cbaf68f15a Mon Sep 17 00:00:00 2001 From: Timur Ismagilov Date: Fri, 14 May 2021 14:24:31 +0500 Subject: [PATCH] Make new hypha notice's buttons dark in the dark theme --- assets/assets.qtpl.go | 5 ++++- assets/default.css | 5 ++++- views/hypha.qtpl | 4 ++-- views/hypha.qtpl.go | 4 ++-- 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/assets/assets.qtpl.go b/assets/assets.qtpl.go index aef5d36..2cbf0bd 100644 --- a/assets/assets.qtpl.go +++ b/assets/assets.qtpl.go @@ -394,6 +394,8 @@ a:visited, .wikilink_external:visited { color: #ffb86c; } blockquote { border-left: 4px #ddd solid; } .transclusion .transclusion__link { color: #ddd; } + +.btn, article code, article .codeblock, .transclusion, @@ -404,13 +406,14 @@ article .codeblock, .upload-amnt, textarea, table { border: 0; background-color: #444444; color: #ddd; } +.btn:visited { color: #ddd;} + .transclusion code, .transclusion .codeblock { background-color: #454545; } mark { background: rgba(130, 80, 30, 5); color: inherit; } @media screen and (max-width: 800px) { .hypha-tabs { background-color: #232323; } } - .btn { background-color: #ddd; color: black; } } diff --git a/assets/default.css b/assets/default.css index 24f0a24..696b0cd 100644 --- a/assets/default.css +++ b/assets/default.css @@ -279,6 +279,8 @@ a:visited, .wikilink_external:visited { color: #ffb86c; } blockquote { border-left: 4px #ddd solid; } .transclusion .transclusion__link { color: #ddd; } + +.btn, article code, article .codeblock, .transclusion, @@ -289,13 +291,14 @@ article .codeblock, .upload-amnt, textarea, table { border: 0; background-color: #444444; color: #ddd; } +.btn:visited { color: #ddd;} + .transclusion code, .transclusion .codeblock { background-color: #454545; } mark { background: rgba(130, 80, 30, 5); color: inherit; } @media screen and (max-width: 800px) { .hypha-tabs { background-color: #232323; } } - .btn { background-color: #ddd; color: black; } } diff --git a/views/hypha.qtpl b/views/hypha.qtpl index e514fdd..d611049 100644 --- a/views/hypha.qtpl +++ b/views/hypha.qtpl @@ -22,7 +22,7 @@

📝 Write a text

Write a note, a diary, an article, a story or anything textual using Mycomarkup.

Make sure to follow this wiki's writing conventions if there are any.

- Create + Create
@@ -34,7 +34,7 @@ - +
diff --git a/views/hypha.qtpl.go b/views/hypha.qtpl.go index 24824d3..042cfb8 100644 --- a/views/hypha.qtpl.go +++ b/views/hypha.qtpl.go @@ -70,7 +70,7 @@ func streamnonExistentHyphaNotice(qw422016 *qt422016.Writer, h *hyphae.Hypha, u

📝 Write a text

Write a note, a diary, an article, a story or anything textual using Mycomarkup.

Make sure to follow this wiki's writing conventions if there are any.

- - +