mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2024-11-28 22:20:17 +00:00
45 lines
738 B
SCSS
45 lines
738 B
SCSS
@import 'variables';
|
|
|
|
html, button, input, select, textarea, .pure-g [class *= "pure-u"] {
|
|
font-family: Roboto, sans-serif;
|
|
font-weight: $body-font-weight;
|
|
}
|
|
|
|
.pure-g {
|
|
[class *= "pure-u"] {
|
|
box-sizing: border-box;
|
|
}
|
|
}
|
|
|
|
.pure-u {
|
|
flex-grow: 1;
|
|
width: 0;
|
|
}
|
|
|
|
.pure-menu-list ul ul {
|
|
// left padding for nested sections
|
|
padding-left: $padding-16;
|
|
}
|
|
|
|
.pure-menu-root {
|
|
// vertical space between root sections
|
|
> li {
|
|
padding-bottom: $padding-16;
|
|
}
|
|
|
|
// font weight only for root sections
|
|
> li > .section {
|
|
font-weight: 700;
|
|
}
|
|
}
|
|
|
|
.pure-menu-link, .pure-menu-heading {
|
|
padding: $padding-4 $padding-16;
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
.pure-menu-link {
|
|
&:hover, &.active {
|
|
background: none;
|
|
}
|
|
} |