hugo-book/assets/_utils.scss

71 lines
788 B
SCSS
Raw Normal View History

2018-11-24 14:10:43 +00:00
.flex {
display: flex;
}
2019-05-22 14:17:55 +00:00
.flex-auto {
flex: 1 1 auto;
}
.flex-even {
flex: 1 1;
}
2019-06-18 21:20:29 +00:00
.flex-wrap {
flex-wrap: wrap;
}
2018-11-24 14:10:43 +00: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 12:34:02 +00:00
.hidden {
display: none;
}
.clearfix::after {
content: "";
display: table;
clear: both;
}
@mixin spin($duration) {
animation: spin $duration ease infinite;
@keyframes spin {
100% {
transform: rotate(360deg);
}
}
}
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
}