mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-25 16:19:19 +02:00
36 lines
693 B
CSS
36 lines
693 B
CSS
/* ============================================================
|
|
DETAILS / SUMMARY — Base styling for <details>/<summary>.
|
|
Root: element selectors
|
|
============================================================ */
|
|
|
|
details > summary {
|
|
cursor: pointer;
|
|
list-style: none;
|
|
}
|
|
|
|
details > summary::-webkit-details-marker {
|
|
display: none;
|
|
}
|
|
|
|
details {
|
|
padding: var(--space-s);
|
|
}
|
|
|
|
summary {
|
|
font-family: var(--font-display);
|
|
font-weight: 600;
|
|
text-decoration: none;
|
|
color: var(--accent-secondary);
|
|
transition: color 0.15s;
|
|
|
|
svg {
|
|
fill: var(--accent-secondary);
|
|
vertical-align: text-bottom;
|
|
height: 1.4em;
|
|
}
|
|
}
|
|
|
|
summary:hover {
|
|
color: var(--accent-primary);
|
|
}
|