hugo-book-theme/assets/_utils.scss

66 lines
677 B
SCSS
Raw Normal View History

2018-11-24 15:10:43 +01:00
.flex {
display: flex;
}
2019-05-22 16:17:55 +02:00
.flex-auto {
flex: 1 1 auto;
}
.flex-even {
flex: 1 1;
}
2019-06-18 23:20:29 +02:00
.flex-wrap {
flex-wrap: wrap;
}
2018-11-24 15:10:43 +01:00
.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;
}
.text-center {
text-align: center;
}
2019-07-16 14:34:02 +02:00
.hidden {
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;
}
2019-05-22 16:17:55 +02:00
}