hugo-theme-hilfe/src/sass/_utils.scss
Robert Kaussow fb905bd6c1
feat: add optional page description to search (#550)
Add optional page description to the search result list. The feature can be enabled by `geekdocSearchShowDescription=true` and is disabled by default. The max length of the description is set to `55` and will be truncated automatically if the limit is exceeded.
2022-12-07 08:57:41 +01:00

92 lines
1 KiB
SCSS

.flex {
display: flex;
}
.flex-auto {
flex: 1 1 auto;
}
.flex-25 {
flex: 1 1 25%;
}
.flex-inline {
display: inline-flex;
}
.flex-even {
flex: 1 1;
}
.flex-wrap {
flex-wrap: wrap;
}
.flex-grid {
flex-direction: column;
border: $border-1 solid var(--accent-color);
border-radius: $border-radius;
background: var(--accent-color-lite);
}
.flex-gap {
flex-wrap: wrap;
gap: $padding-16;
}
.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;
}
.no-wrap {
white-space: nowrap;
}
.hidden {
display: none !important;
}
.svg-sprite {
position: absolute;
width: 0;
height: 0;
overflow: hidden;
}
.table-wrap {
overflow: auto;
}
.badge-placeholder {
display: inline-block;
min-width: 4rem;
}