From 6a6ef20344a7cb51d4f4be658cf9aab8335e5355 Mon Sep 17 00:00:00 2001 From: Tony Grosinger Date: Sat, 2 Mar 2024 17:26:43 -0800 Subject: [PATCH] Add footer links and tailwind --- about.json | 5 ++- common/common.scss | 23 +++----------- common/footer.html | 74 ++++++++++++++++++++++++++++++++++++++++++++ common/head_tag.html | 0 4 files changed, 81 insertions(+), 21 deletions(-) create mode 100644 common/footer.html create mode 100644 common/head_tag.html diff --git a/about.json b/about.json index c7df7ad..d9dc3cd 100644 --- a/about.json +++ b/about.json @@ -8,8 +8,7 @@ "https://github.com/discourse/discourse-custom-header-links.git", "https://git.grosinger.net/tgrosinger/discourse-user-card-directory.git", "https://github.com/discourse/DiscoTOC.git", - "https://github.com/paviliondev/discourse-tc-topic-list-previews.git", - "https://github.com/discourse/Discourse-easy-footer.git" + "https://github.com/paviliondev/discourse-tc-topic-list-previews.git" ], "assets": { "OrcasHub-Top-Logo": "assets/OrcasHub-Top-Logo.png" @@ -31,4 +30,4 @@ "love": "c16ad7" } } -} +} \ No newline at end of file diff --git a/common/common.scss b/common/common.scss index adc5e48..a36a90e 100644 --- a/common/common.scss +++ b/common/common.scss @@ -730,26 +730,13 @@ html body #main-outlet { } // Footer -.custom-footer { - background-color: #1f2937; - - .list { - span { - font-weight: 500; - } - } - - .second-box .links li { +.orcashub-footer { + ul { margin: 0; } - .footer-section-link-wrapper a { - color: var(--header_primary); - font-size: 1rem; - line-height: 1.5rem; - - &:hover { - color: white; - } + a:visited { + // I couldn't get this to work with normal tailwind classes. + color: rgb(209 213 219/var(--tw-text-opacity)) !important; } } \ No newline at end of file diff --git a/common/footer.html b/common/footer.html new file mode 100644 index 0000000..0547bb4 --- /dev/null +++ b/common/footer.html @@ -0,0 +1,74 @@ + + + \ No newline at end of file diff --git a/common/head_tag.html b/common/head_tag.html new file mode 100644 index 0000000..e69de29