54 lines
1.2 KiB
CSS
54 lines
1.2 KiB
CSS
/* ============================================================
|
|
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;
|
|
}
|
|
|
|
.text-center {
|
|
text-align: center;
|
|
}
|
|
|
|
.text-muted {
|
|
color: var(--clr-text-muted);
|
|
}
|