mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-05-05 21:54:47 -04:00
Add list style
This commit is contained in:
@@ -316,4 +316,26 @@ ul {
|
||||
|
||||
.body-bg {
|
||||
background-color: rgb(var(--color-canvas-0));
|
||||
}
|
||||
|
||||
/* Restore normal ol numbers and ensure they are visible */
|
||||
ol {
|
||||
list-style-position: inside; /* or 'inside' if you prefer */
|
||||
/*margin: 0 0 1rem 0;*/
|
||||
list-style: decimal;
|
||||
padding-left: 0.5rem; /* space for numbers */
|
||||
}
|
||||
|
||||
/* Ensure li behaves as a list item (some resets or flex can break markers) */
|
||||
ol > li {
|
||||
display: list-item; /* prevents flex from removing marker layout */
|
||||
padding-left: 1rem; /* extra spacing after number */
|
||||
text-indent: -1rem; /* pull first line back so text aligns */
|
||||
}
|
||||
|
||||
/* Style the marker (modern browsers) */
|
||||
ol > li::marker {
|
||||
font-weight: 600;
|
||||
font-size: 1em;
|
||||
color: #374151; /* pick a visible color */
|
||||
}
|
||||
Reference in New Issue
Block a user