patek.cz/themes/patek/assets/css/main.scss
2019-07-13 21:12:40 +02:00

64 lines
975 B
SCSS

// Bulma customization
$primary: #0b2a37;
// /Bulma customization
// Bulma import
@import "./bulma/bulma.sass";
// /Bulma import
// Custom styles
.big-logo {
font-size: 80px;
color: $primary-invert;
&:hover {
color: darken($primary-invert, 10);
}
}
#home-navbar {
&:not(.is-fixed-top) {
patek-logo {
font-size: 0;
}
}
&.is-fixed-top {
patek-logo {
font-size: unset;
}
}
patek-logo {
transition: font-size 0.2s;
}
}
.is-fixed-top .navbar {
left: 0;
position: fixed;
right: 0;
z-index: 30;
top: 0;
}
.is-fixed-top .menu-placeholder {
height: 52px;
visibility: hidden;
}
.home-content, .home-content h1 {
background-color: $primary;
color: $primary-invert !important;
font-family: 'Fira Code';
}
.footer {
background-color: $primary;
color: $primary-invert;
text-align: center;
font-family: 'Fira Code';
font-size: smaller;
}
.author-media {
margin-bottom: 15px;
}
// /Custom styles