From: Aidan Cornelius-Bell Date: Wed, 8 Jan 2025 05:43:46 +0000 (+1030) Subject: Exclude pages from rendering with sidebar footnotes X-Git-Url: https://gitweb.mndrdr.org/?a=commitdiff_plain;h=56123f4c435965d3045a7467c692bc31aff22ffd;p=arelpe.git Exclude pages from rendering with sidebar footnotes --- diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index e21421a..008a172 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -327,10 +327,18 @@ footer p { .container .lead { color: var(--code-text); - max-width: 80%; margin: auto; } +.promo { + border: 1px solid var(--code-text); + border-radius: 3px; + padding: 0.55em 1em; + margin: 1em auto; + background: var(--body-bg); + max-width: 80%; +} + .lead-button { text-decoration: none; border: 1px dashed var(--link-color); @@ -709,6 +717,10 @@ ul .post-item a:visited { .toggle-icon { transition: transform 0.2s ease; } + + .button { + margin-bottom: 4px; + } } /* Margin Notes/Footnotes */ @@ -721,6 +733,13 @@ ul .post-item a:visited { margin: 0 auto; } + .page .post-grid { + display: initial; + } + .page .main-content { + grid-column: 0; + } + .main-content { grid-column: 1; position: relative; diff --git a/app/views/pubview/index.html.erb b/app/views/pubview/index.html.erb index dc1e881..9e02b68 100644 --- a/app/views/pubview/index.html.erb +++ b/app/views/pubview/index.html.erb @@ -8,15 +8,14 @@ <%= render partial: "layouts/navigation_buttons" %> -<% if !current_user %> -

<%= @promo_strings.sample %> <%= link_to "Start right now", join_path %>.

-<% end %> -