blog/assets/sass/_partial/_header/_menu.scss

36 lines
570 B
SCSS
Raw Normal View History

2022-03-11 05:02:10 +00:00
// ==============================
// Menu
// =============================
.site-navbar {
float: right;
.menu {
display: inline-block;
position: relative;
padding-left: 0;
padding-right: 25px;
font-family: $global-serif-font-family;
.menu-item {
display: inline-block;
& + .menu-item {
margin-left: $menu-item-margin-left;;
}
@include underline-from-center;
}
.menu-item-link {
font-size: $menu-link-font-size;
}
}
}
@include max-screen() {
.site-navbar {
display: none;
}
}