Files
tsv08kulmbach-website/public/assets/css/utilities.css

64 lines
1.4 KiB
CSS
Raw Normal View History

/* ============================================================
UTILITIES Buttons, visually-hidden, kleine Helfer
============================================================ */
.btn {
display: inline-block;
padding: 10px 18px;
white-space: nowrap;
background: var(--clr-accent);
color: var(--clr-text);
font-size: var(--fs-500);
text-decoration: none;
text-align: center;
border: 1px solid var(--clr-accent);
border-radius: var(--radius-btn);
cursor: pointer;
transition: background var(--transition), border-color var(--transition);
}
.btn:hover {
background: var(--clr-accent-dark);
border-color: var(--clr-accent-dark);
color: var(--clr-text);
}
.btn--outline {
background: transparent;
border-color: var(--clr-text);
}
.btn--outline:hover {
background: var(--clr-glass-bg);
border-color: var(--clr-text);
}
.visually-hidden {
position: absolute !important;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip-path: inset(50%);
white-space: nowrap;
border: 0;
}
/* Inline-Icons (Bootstrap Icons via icon()-Helper). Größe = font-size, Farbe = currentColor. */
.icon {
display: inline-block;
width: 1em;
height: 1em;
fill: currentColor;
vertical-align: -0.125em;
flex: none;
}
.text-center {
text-align: center;
}
.text-muted {
color: var(--clr-text-muted);
}