hugo-book-theme/assets/_pure-extension.scss

45 lines
738 B
SCSS
Raw Normal View History

2018-09-05 16:22:04 +02:00
@import 'variables';
html, button, input, select, textarea, .pure-g [class *= "pure-u"] {
2018-09-13 18:07:55 +02:00
font-family: Roboto, sans-serif;
font-weight: $body-font-weight;
2018-09-05 16:22:04 +02:00
}
.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 {
2018-09-13 18:07:55 +02:00
font-weight: 700;
2018-09-05 16:22:04 +02:00
}
}
.pure-menu-link, .pure-menu-heading {
padding: $padding-4 $padding-16;
text-transform: capitalize;
}
.pure-menu-link {
&:hover, &.active {
background: none;
}
}