hugo-geekdoc/src/sass/_utils.scss
Robert Kaussow 5e105c9ff4
feat: auto-load custom svg sprites from assets folder (#79)
BREAKING CHANGE: Build-in icons are prefixed with `gdoc_` now. If you use build-in icons in e.g. menus you have to rename these references!
2021-03-03 21:07:59 +01:00

79 lines
922 B
SCSS

.flex {
display: flex;
}
.flex-auto {
flex: 1 1 auto;
}
.flex-inline {
display: inline-flex;
}
.flex-even {
flex: 1 1;
}
.flex-wrap {
flex-wrap: wrap;
}
.flex-grid {
flex-direction: column;
border: $border-1 solid $gray-200;
border-radius: $border-radius;
}
.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;
}
.hidden {
display: none;
}
.svg-sprite {
position: absolute;
width: 0;
height: 0;
overflow: hidden;
}
.badge-placeholder {
display: inline-block;
min-width: 4rem;
}
@mixin spin($duration) {
animation: spin $duration ease infinite;
@keyframes spin {
100% {
transform: rotate(360deg);
}
}
}