hugo-book/assets/_utils.scss

49 lines
535 B
SCSS
Raw Normal View History

2018-11-24 14:10:43 +00:00
.flex {
display: flex;
}
.justify-start {
justify-content: flex-start;
}
.justify-end {
justify-content: flex-end;
}
.justify-center {
justify-content: center;
}
.justify-between {
justify-content: space-between;
}
.align-center {
align-items: center;
}
.mx-auto {
margin: 0 auto;
}
2018-11-25 12:30:25 +00:00
.hide {
display: none;
}
2018-11-24 14:10:43 +00:00
@mixin fixed {
position: fixed;
top: 0;
bottom: 0;
overflow-x: hidden;
overflow-y: auto;
2018-11-24 14:10:43 +00:00
}
2018-11-25 12:30:25 +00:00
@mixin dark-links {
a {
color: $nav-link-color;
}
a.active {
color: $color-link;
}
}