Skip to content

Commit 8c6688d

Browse files
committed
CSS to make UL tags look better.
1 parent 1554cb8 commit 8c6688d

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

src/styles/global.css

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,45 @@ p a:hover, .body-link:hover {
530530
opacity: 0.8;
531531
}
532532

533+
/* =============================================
534+
STORY PAGE LISTS
535+
============================================= */
536+
537+
/* Base list styling — works in all alignments */
538+
.story-section ul,
539+
.story-section ol {
540+
padding-left: 1.4em;
541+
margin-bottom: var(--space-para);
542+
color: rgba(245, 241, 232, 0.8);
543+
}
544+
545+
.story-section li {
546+
font-size: 1.05rem;
547+
line-height: 1.75;
548+
margin-bottom: 0.5em;
549+
}
550+
551+
.story-section li::marker {
552+
color: var(--color-accent);
553+
font-size: 0.85em;
554+
}
555+
556+
/* Center alignment — left-align list inside centered container */
557+
.story-section--center ul,
558+
.story-section--center ol {
559+
text-align: left;
560+
display: inline-block;
561+
width: auto;
562+
min-width: 50%;
563+
}
564+
565+
/* Right alignment — pull list flush with the text block */
566+
.story-section--right ul,
567+
.story-section--right ol {
568+
padding-left: 1.4em;
569+
text-align: left;
570+
}
571+
533572
/* =============================================
534573
RESPONSIVE
535574
============================================= */

0 commit comments

Comments
 (0)