hugo-book-theme/assets/_pure-extension.scss
2018-09-13 18:07:55 +02:00

45 lines
No EOL
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;
}
}