Center logo & sitename when they stack on tiny screens
No really that's what that does.
This commit is contained in:
parent
ebbc647f39
commit
00a13ef4b6
2 changed files with 15 additions and 0 deletions
|
@ -1,2 +1,15 @@
|
||||||
@charset "UTF-8";
|
@charset "UTF-8";
|
||||||
// Extend or override Bulma's layouts ../../node_modules/bulma/sass/layout
|
// Extend or override Bulma's layouts ../../node_modules/bulma/sass/layout
|
||||||
|
|
||||||
|
|
||||||
|
@include until($mini) {
|
||||||
|
.sitename.column,
|
||||||
|
.logo.column {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.search-bar > .block,
|
||||||
|
.logo > .image {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
|
@ -10,6 +10,8 @@ $green-gray: #8FB489;
|
||||||
// Update Bulma's global variables.
|
// Update Bulma's global variables.
|
||||||
$primary: $green;
|
$primary: $green;
|
||||||
|
|
||||||
|
$mini: 363px;
|
||||||
|
|
||||||
// Import each part of Bulma separately so we can layer in our styles.
|
// Import each part of Bulma separately so we can layer in our styles.
|
||||||
// Extend or override Bulam's base styles in this themes base.scss etc.
|
// Extend or override Bulam's base styles in this themes base.scss etc.
|
||||||
@import "../../node_modules/bulma/sass/utilities/_all";
|
@import "../../node_modules/bulma/sass/utilities/_all";
|
||||||
|
|
Loading…
Add table
Reference in a new issue