hugo-book-theme/assets/_utils.scss
2019-05-22 16:17:55 +02:00

61 lines
636 B
SCSS

.flex {
display: flex;
}
.flex-auto {
flex: 1 1 auto;
}
.flex-even {
flex: 1 1;
}
.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;
}
.mr-auto {
margin-right: auto;
}
.hide {
display: none;
}
@mixin fixed {
position: fixed;
top: 0;
bottom: 0;
overflow-x: hidden;
overflow-y: auto;
}
@mixin dark-links {
a {
color: $color-dark-link;
}
a.active {
color: $color-link;
}
}