hugo-geekblog/src/sass/_utils.scss

74 lines
831 B
SCSS
Raw Normal View History

2020-07-06 18:55:32 +00:00
.flex {
display: flex;
}
.flex-inline {
display: inline-flex;
}
.flex-auto {
flex: 1 1 auto;
}
.flex-even {
flex: 1 1;
}
.flex-wrap {
flex-wrap: wrap;
}
.flex-grid {
flex-direction: column;
2021-11-23 15:53:25 +00:00
border: $border-1 solid var(--accent-color);
border-radius: $border-radius;
2021-11-23 15:53:25 +00:00
background: var(--accent-color-lite);
}
2020-07-06 18:55:32 +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;
}
.no-wrap {
white-space: nowrap;
}
.hidden {
display: none;
}
.svg-sprite {
position: absolute;
width: 0;
height: 0;
overflow: hidden;
}
2021-11-23 15:53:25 +00:00
.table-wrap {
overflow: auto;
}