Files
roll20-character-sheets/Without Numbers/Source/scss/utility.scss
T
2024-03-17 18:19:30 +00:00

175 lines
1.8 KiB
SCSS

//Recommend using classes named after Tailwind CSS, https://tailwindcss.com/docs/installation
.flex {
display: flex;
}
.flex-start {
display: flex;
align-items: flex-start;
}
.flex-center {
display: flex;
align-items: center;
}
.flex-between {
display: flex;
align-items: center;
justify-content: space-between;
}
.flex-even {
display: flex;
align-items: center;
justify-content: space-evenly;
}
.flex-wrap {
display: flex;
flex-wrap: wrap;
align-content: flex-start;
align-items: flex-start;
}
.grid {
display: grid;
}
.grid-flow-col {
grid-auto-flow: column;
}
.gap-1 {
gap: 4px;
}
.grow {
flex-grow: 1;
}
.halfgrid {
display: grid;
grid: auto/ 1fr 1fr;
grid-gap: 5px;
}
.thirdsgrid {
display: grid;
grid: auto/ repeat(3, 1fr);
grid-column-gap: 1%;
}
.col-2 {
grid-column: 2;
}
.col-3 {
grid-column: 3;
}
.col-4 {
grid-column: 4;
}
.cols-2 {
grid-column: span 2;
}
.cols-3 {
grid-column: span 3;
}
.cols-4 {
grid-column: span 4;
}
.rows-2 {
grid-row: span 2;
}
.col55 {
width: 55%;
}
.col50 {
width: 50%;
}
.col40 {
width: 40%;
}
.colthird {
width: calc(100% / 3);
}
.col25 {
width: 25%;
}
.col20 {
width: 20%;
}
.colsixth {
width: calc(100% / 6);
}
.chevron {
background-image: url($chevron);
background-position: center;
scale: 0.8;
}
.column > div:not(:first-child),
.mt {
margin-top: 5px;
}
.mb {
margin-bottom: 5px;
}
.mr {
margin-right: 5px;
}
.font-bold {
font-weight: 700;
}
.text-center {
text-align: center;
}
.ellipsis {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
.w-full {
width: 100%;
}
.lowercase {
text-transform: lowercase;
}
.center {
text-align: center;
}
.border-bottom {
border-bottom: 1px solid $gray-300;
}
.pb-5 {
padding-bottom: 5px;
}
.relative {
position: relative;
}