Get rid of all kinds of crazy CSS in favor of Bulma classes

This commit is contained in:
Benjamin Melançon 2019-08-16 12:39:34 -04:00
parent c95a25824e
commit 6d89d74332
4 changed files with 4 additions and 31 deletions

View file

@ -14,22 +14,6 @@
} }
} }
// Move the user account menu to the left of the hamburger menu on mobile
@include mobile {
#block-geofresco-account-menu .menubar {
position: absolute;
right: 3.25rem;
z-index: 40;
top: 1.75rem;
}
}
// OK somehow now we need to give the navbar a z-index, any z-index at all,
// or else the slogan is hidden.
.navbar {
z-index: 0;
}
// Featured images on article pages // Featured images on article pages
.featured-image figure.image { .featured-image figure.image {

View file

@ -14,16 +14,7 @@
.user-account-menu li { .user-account-menu li {
display: inline-block; display: inline-block;
padding: .1rem .6rem; padding: .1rem .6rem;
float: right; // float: right;
}
.search-bar form {
float: right;
}
.navbar-brand {
position: relative;
top: -36px;
} }
// Add a gradient across only a portion of the vertical width of the navbar. // Add a gradient across only a portion of the vertical width of the navbar.
@ -40,9 +31,7 @@
} }
#navbar-menu .navbar-item { #navbar-menu .navbar-item {
height: 36px;
font-size: 22px; font-size: 22px;
padding-top: 18px;
} }
.slogan { .slogan {

View file

@ -15,7 +15,7 @@
*/ */
#} #}
{% if site_logo %} {% if site_logo %}
<div class="logo column is-narrow is-paddingless"> <div class="logo column is-narrow is-paddingless has-text-centered">
<figure class="image no-upscale"> <figure class="image no-upscale">
<a href="{{ path('<front>') }}" title="{{ 'Home'|t }}" rel="home"> <a href="{{ path('<front>') }}" title="{{ 'Home'|t }}" rel="home">
<img src="{{ site_logo }}" alt="{{ site_name }} Home" /> <img src="{{ site_logo }}" alt="{{ site_name }} Home" />
@ -23,7 +23,7 @@
</figure> </figure>
</div> </div>
{% endif %} {% endif %}
<div class="sitename column is-narrow is-paddingless"> <div class="sitename column is-narrow is-paddingless has-text-centered">
<a class="site-title title is-3" href="{{ path('<front>') }}" title="{{ 'Home'|t }}" rel="home"> <a class="site-title title is-3" href="{{ path('<front>') }}" title="{{ 'Home'|t }}" rel="home">
<span class="green">Grassroots <span class="green">Grassroots
Economic</span> Economic</span>

View file

@ -53,7 +53,7 @@
</nav> </nav>
</div> </div>
<div class="columns"> <div class="columns">
<div class="column"> <div class="column has-text-centered">
<p class="slogan"><strong class="title">{{ site_slogan }}</strong></p> <p class="slogan"><strong class="title">{{ site_slogan }}</strong></p>
</div> </div>
</div> </div>