hugo-geekblog/src/sass/_utils.scss

92 lines
1.0 KiB
SCSS
Raw Permalink Normal View History

2020-07-06 20:55:32 +02:00
.flex {
display: flex;
}
.flex-inline {
display: inline-flex;
}
.flex-auto {
flex: 1 1 auto;
}
.flex-25 {
flex: 1 1 25%;
}
2020-07-06 20:55:32 +02:00
.flex-even {
flex: 1 1;
}
.flex-wrap {
flex-wrap: wrap;
}
.flex-grid {
flex-direction: column;
2021-11-23 16:53:25 +01:00
border: $border-1 solid var(--accent-color);
border-radius: $border-radius;
2021-11-23 16:53:25 +01:00
background: var(--accent-color-lite);
}
2022-07-11 14:37:17 +02:00
.flex-gap {
flex-wrap: wrap;
gap: $padding-16;
}
2020-07-06 20:55:32 +02: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;
}
.text-right {
text-align: right;
}
2020-07-06 20:55:32 +02:00
.no-wrap {
white-space: nowrap;
}
.hidden {
display: none !important;
2020-07-06 20:55:32 +02:00
}
.svg-sprite {
position: absolute;
width: 0;
height: 0;
overflow: hidden;
}
2021-11-23 16:53:25 +01:00
.table-wrap {
overflow: auto;
margin: $padding-16 0;
> table {
margin: 0 !important;
}
2021-11-23 16:53:25 +01:00
}