hugo-book-theme/assets/_utils.scss

53 lines
572 B
SCSS
Raw Normal View History

2018-11-24 15:10:43 +01: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;
}
2019-01-24 23:30:31 +01:00
.mr-auto {
margin-right: auto;
}
2018-11-25 13:30:25 +01:00
.hide {
display: none;
}
2018-11-24 15:10:43 +01:00
@mixin fixed {
position: fixed;
top: 0;
bottom: 0;
overflow-x: hidden;
overflow-y: auto;
2018-11-24 15:10:43 +01:00
}
2018-11-25 13:30:25 +01:00
@mixin dark-links {
a {
color: $color-dark-link;
2018-11-25 13:30:25 +01:00
}
a.active {
color: $color-link;
}
}