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 {
width: 100%;
justify-content: space-around; } }
@media screen and (min-width: 1024px) {
#navbar-menu {
flex-wrap: nowrap;
margin-right: -1rem; } }
/* Featured images on article pages */
.featured-image figure.image {
width: 100vw;

View file

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

View file

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