From fed3eea3ab620ee93ecb1dc573c3aab25933505c Mon Sep 17 00:00:00 2001 From: "russell@unturf.com" Date: Fri, 24 Apr 2026 07:47:23 -0400 Subject: [PATCH] feat: move call_to_action into wikibar-right next to search; style inline button --- .../static/theme/chaostheory/css/theme.css | 29 +++++++++++++++++++ .../templates/chaostheory-base.j2 | 6 +--- 2 files changed, 30 insertions(+), 5 deletions(-) diff --git a/remarkbox_chaostheory/static/theme/chaostheory/css/theme.css b/remarkbox_chaostheory/static/theme/chaostheory/css/theme.css index 153b6f9..aebc7da 100644 --- a/remarkbox_chaostheory/static/theme/chaostheory/css/theme.css +++ b/remarkbox_chaostheory/static/theme/chaostheory/css/theme.css @@ -140,6 +140,35 @@ a:hover { border-top: 1px solid #1c1c1c; } +/********************* + wikibar-right call to action (e.g. new thread) +*********************/ + +#wikibar-right #search { + display: inline-block; + margin: 0; + vertical-align: middle; +} + +#wikibar-right .button-small { + display: inline-block; + margin-right: 8px; + padding: 4px 10px; + background-color: #184254; + color: #6DCFF6; + border: 1px solid #336173; + border-radius: 3px; + font-size: 12px; + text-decoration: none; + vertical-align: middle; +} + +#wikibar-right .button-small:hover { + background-color: #1C4E63; + color: #9de3fb; + border-color: #6DCFF6; +} + /********************* search box *********************/ diff --git a/remarkbox_chaostheory/templates/chaostheory-base.j2 b/remarkbox_chaostheory/templates/chaostheory-base.j2 index 407a095..1039e57 100644 --- a/remarkbox_chaostheory/templates/chaostheory-base.j2 +++ b/remarkbox_chaostheory/templates/chaostheory-base.j2 @@ -43,6 +43,7 @@ {%- endif %}
+ {% block call_to_action %}{% endblock %}