MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 1,327:
}
/* ======================================================= */
/* 4. Fix List Spacing (Bullets) */▼
/* 4. UNIFIED BULLET POINTS (Clean Editorial Style) */
/* ======================================================= */
/* A. Base Reset for all lists */
.ext-aiassistant-message-assistant ul,
.ext-aiassistant-message-assistant ol {
margin-top: 0.3em !important;
margin-bottom: 0.6em !important; /* Space after the list */
}
/* B. LEVEL 1: Flush Alignment & Filled Circle */
.ext-aiassistant-message-assistant ul {
/* 1. Force the filled circle (disc) */
/* 2. ALIGNMENT TRICK:
1.2em padding reserves just enough space for the bullet.
This makes the bullet symbol sit 'flush' with the normal text above,
while the list item text is indented. */
padding-left: 1.2em !important;
}
/* C. LEVEL 2+ (NESTED): Indentation & Consistency */
.ext-aiassistant-message-assistant ul ul {
/* Keep the same filled circle (don't switch to empty circle) */
list-style-type: disc !important;
/* Indent this level relative to the parent */
padding-left: 1.5em !important;
}
.ext-aiassistant-message-assistant li {
margin-bottom: 0.2em !important; /* Breathing room between items */
▲ margin-bottom: 0.1em !important;
}
| |||