From cdf00a50269f51275781f5a6ede91818bf9be404 Mon Sep 17 00:00:00 2001 From: Tony Grosinger Date: Sat, 2 Mar 2024 20:21:46 -0800 Subject: [PATCH] Link to become an editor on published pages --- common/common.scss | 37 ++++++++++++++++++++++++++++--------- common/footer.html | 6 ++++++ common/head_tag.html | 0 3 files changed, 34 insertions(+), 9 deletions(-) delete mode 100644 common/head_tag.html diff --git a/common/common.scss b/common/common.scss index 6979d53..2e8aee9 100644 --- a/common/common.scss +++ b/common/common.scss @@ -662,16 +662,41 @@ html body #main-outlet { } } +.become-editor-link { + display: none; + margin: -40px auto 30px auto; + max-width: 1000px; + + a { + color: var(--primary-high); + text-decoration: underline; + } + + a:visited { + color: var(--primary-high); + } +} + +.published-page { + .become-editor-link { + display: block; + } +} + // published page additions .published-page-header { background-color: unset; box-shadow: unset; top: unset; position: unset; - margin-top: 10px; + margin-top: 30px; .published-page-header-wrapper { justify-content: center; + background: var(--secondary); + max-width: 1000px; + border-radius: 1em 1em 0 0; + padding-top: 3em; a { display: none; @@ -685,17 +710,11 @@ html body #main-outlet { .published-page-content-wrapper { max-width: 1000px; - margin-top: 30px; + margin-top: 0; margin-bottom: 50px; background: var(--secondary); - border-radius: 1em; + border-radius: 0 0 1em 1em; padding: 3em 3em 5%; - box-shadow: 0 24px 40px rgba(0, 0, 0, 0.07), - 0 10.8529px 24.1177px rgba(0, 0, 0, 0.0456112), - 0 4.50776px 10.0172px rgba(0, 0, 0, 0.035), - 0 1.63037px 3.62304px rgba(0, 0, 0, 0.0243888); - z-index: 1; - position: relative; } .published-page-author { diff --git a/common/footer.html b/common/footer.html index aa9022f..f350151 100644 --- a/common/footer.html +++ b/common/footer.html @@ -1,3 +1,9 @@ + +