From d5f086c088d3c9a4a0dfa24659cefd803a4fbc8b Mon Sep 17 00:00:00 2001 From: Jonah Aragon Date: Sun, 28 May 2023 15:45:56 -0500 Subject: [PATCH] Import custom CSS --- common/common.scss | 7 + common/embedded.scss | 22 +++ common/footer.html | 394 ++++++++++++++++++++++--------------------- common/head.html | 11 ++ desktop/desktop.scss | 4 + 5 files changed, 245 insertions(+), 193 deletions(-) create mode 100644 common/embedded.scss create mode 100644 common/head.html diff --git a/common/common.scss b/common/common.scss index 9962ddf..e4deaf1 100644 --- a/common/common.scss +++ b/common/common.scss @@ -89,6 +89,13 @@ body:not(.category-announcements-blog) .forum-custom-header-links > a { border-top: none; } +.create-account .user-fields { + display: none; +} +.second-factor-item > .actions > button.btn-danger.btn-flat.no-text.btn.no-text.btn-icon { + display: none; +} + // From discourse-easy-footer component: .custom-footer { diff --git a/common/embedded.scss b/common/embedded.scss new file mode 100644 index 0000000..dc2dd41 --- /dev/null +++ b/common/embedded.scss @@ -0,0 +1,22 @@ +@media (prefers-color-scheme: dark) { + html { + background-color: rgb(26, 26, 27); + color: rgb(233, 235, 252); + } + a, a:visited, .in-reply-to { + color: rgb(255, 208, 111); + } + .username a { + color: var(--primary-low); + } + article.post { + border-bottom: 1px solid hsla(232,72%,90%,0.12); + } + header.discourse { + border-bottom: 3px solid hsla(232,72%,90%,0.12); + } + footer .button { + background-color: rgb(255, 208, 111); + color: #070707; + } +} diff --git a/common/footer.html b/common/footer.html index d626dcf..57e7b70 100644 --- a/common/footer.html +++ b/common/footer.html @@ -1,4 +1,4 @@ -