Compare commits

..

2 commits

Author SHA1 Message Date
af50ba58b9 Compile CSS 2025-02-23 23:41:31 -05:00
92d29700de Stick search bar on right for consistency and to fix weirdness at middle sizes
(this weirdness introduced by other recent changes, but it's better on the right anyway)

Also do not wrap menu on desktop and widescreen.

Ref #114
2025-02-23 23:41:26 -05:00
3 changed files with 13 additions and 5 deletions

View file

@ -5315,6 +5315,10 @@ label.panel-block {
#navbar-menu { #navbar-menu {
width: 100%; width: 100%;
justify-content: space-around; } } justify-content: space-around; } }
@media screen and (min-width: 1024px) {
#navbar-menu {
flex-wrap: nowrap;
margin-right: -1rem; } }
/* Featured images on article pages */ /* Featured images on article pages */
.featured-image figure.image { .featured-image figure.image {
width: 100vw; width: 100vw;

View file

@ -56,6 +56,10 @@
width: 100%; width: 100%;
justify-content: space-around; justify-content: space-around;
} }
@include from($desktop) {
flex-wrap: nowrap;
margin-right: -1rem;
}
} }

View file

@ -25,11 +25,6 @@
{% endblock navbar_branding %} {% endblock navbar_branding %}
<nav class="navigation column"> <nav class="navigation column">
<div class="columns"> <div class="columns">
{% if page.header_search %}
<div class="search-bar column has-text-right">
{{ page.header_search }}
</div>
{% endif %}
{% block navbar_social %} {% block navbar_social %}
{% if page.navbar_social %} {% if page.navbar_social %}
<div class="column is-narrow"> <div class="column is-narrow">
@ -44,6 +39,11 @@
</div> </div>
{% endif %} {% endif %}
{% endblock primary_menu %} {% endblock primary_menu %}
{% if page.header_search %}
<div class="search-bar column is-narrow">
{{ page.header_search }}
</div>
{% endif %}
</div> </div>
</nav> </nav>
</div> </div>