brutcss/src/components.less
Yann Esposito (Yogsototh) 19641e9561
Added better size rules
2022-10-24 17:05:36 +02:00

37 lines
776 B
Plaintext

/* card and block to put space between blocks */
.card, .block {
padding: 1rem;
border: solid 1rem;
overflow: hidden;
}
.col.card, .col.block {
justify-content: flex-start;
align-items: flex-start;
}
.card { border-color: var(--nl); }
.block { border-color: transparent; }
/* To be used as main image for presentation */
.central {
display: flex;
align-items: center;
justify-content: center;
background-size: cover;
min-height: 100vh;
}
/* If central is close to a button it should indicate we have a nav bar*/
/* in this case, we should remove the size of the navbar */
button ~ .central {
min-height: calc(100vh - 50px);
}
.hero {
padding: 2rem;
border: double 1rem;
}
.fill { flex-grow: 1; }
.push { justify-self: flex-end; margin-top: auto;}