hugo-theme-hilfe/src/sass/_utils.scss

88 lines
1 KiB
SCSS
Raw Normal View History

2020-01-12 15:33:02 +01:00
.flex {
display: flex;
}
.flex-auto {
flex: 1 1 auto;
}
.flex-25 {
flex: 1 1 25%;
}
.flex-inline {
display: inline-flex;
}
2020-01-12 15:33:02 +01:00
.flex-even {
flex: 1 1;
}
.flex-wrap {
flex-wrap: wrap;
}
.flex-grid {
flex-direction: column;
2021-04-27 23:44:35 +02:00
border: $border-1 solid var(--accent-color);
border-radius: $border-radius;
2021-04-27 23:44:35 +02:00
background: var(--accent-color-lite);
}
2020-01-12 15:33:02 +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;
}
2021-09-01 10:18:00 +02:00
.no-wrap {
white-space: nowrap;
}
2020-01-12 15:33:02 +01:00
.hidden {
display: none !important;
2020-01-12 15:33:02 +01:00
}
.svg-sprite {
position: absolute;
width: 0;
height: 0;
overflow: hidden;
}
2020-09-19 12:23:14 +02:00
.badge-placeholder {
display: inline-block;
min-width: 4rem;
}
2020-01-12 15:33:02 +01:00
@mixin spin($duration) {
animation: spin $duration ease infinite;
@keyframes spin {
100% {
transform: rotate(360deg);
}
}
}