leilukin-site/assets/css/utility.css

48 lines
771 B
CSS
Raw Normal View History

/* UTILITY CLASSES */
.bold-text { font-weight: 700; }
.center-text { text-align: center; }
.inline-img { display: inline-block; }
.center-el {
display: grid;
place-content: center;
}
.indent-text {
padding: 1em 0 1em 2em;
display: grid;
gap: 1em;
}
.date-style {
font-weight: 700;
color: var(--clr-dates);
}
.inline-icon {
vertical-align: -10%;
height: 1em;
fill: currentColor;
}
.inline-list {
display: flex;
flex-wrap: wrap;
gap: 0.7em 1.5em;
}
.hidden { display: none; }
.visually-hidden {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0,0,0,0);
white-space: nowrap;
border: 0;
outline: 0;
outline-offset: 0;
}