From b3a0377b2f094c3915bec39d4e732e11bc63a9d9 Mon Sep 17 00:00:00 2001 From: revengeday Date: Sat, 16 Nov 2024 21:10:31 +0000 Subject: [PATCH] Added CSS styling for lists in FAQ answers - Implemented styling for unordered and ordered lists inside FAQ answers. - Enhanced readability and visual alignment with the overall theme. --- css/style.css | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/css/style.css b/css/style.css index 45cad37..e2ade45 100644 --- a/css/style.css +++ b/css/style.css @@ -280,7 +280,31 @@ button:active { max-height: 100%; padding: 15px; } +/* List Styles for FAQ */ +.faq-answer ul, +.faq-answer ol { + padding-left: 20px; + margin: 15px 0; + list-style-position: inside; + color: var(--cyber-font-color); +} +.faq-answer li { + margin-bottom: 10px; + line-height: 1.6; +} + +.faq-answer ul { + list-style-type: disc; +} + +.faq-answer ol { + list-style-type: decimal; +} + +.faq-answer li::marker { + color: var(--cyber-highlight-color); +} /* Credits Section */ .credits-section { background-color: var(--cyber-faq-bg-color);