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.
This commit is contained in:
Ramses Revengeday 2024-11-16 21:10:31 +00:00
parent c81eda13f7
commit b3a0377b2f

View file

@ -280,7 +280,31 @@ button:active {
max-height: 100%; max-height: 100%;
padding: 15px; 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 */
.credits-section { .credits-section {
background-color: var(--cyber-faq-bg-color); background-color: var(--cyber-faq-bg-color);