Vorlage:Tagcloud/styles.css
Erscheinungsbild
/* TagCloud via TemplateStyles (sanitizer-safe)
* No CSS variables, no rgba(), hex colors only.
*/
/* Light base */
.tagcloud,
tagcloud {
background: #F7F7F8; /* your light background */
border-width: 1px;
border-style: solid;
border-color: #D1D5DB; /* light grey (approx. 20% alpha look) */
line-height: 1.35;
padding: 0.75rem;
overflow-wrap: normal; /* prevent long tags from overflowing */
}
/* Keep MediaWiki default link colors; only tweak decoration */
.tagcloud a { text-decoration: none; }
.tagcloud a:hover { text-decoration: underline; }
/* OS-level dark fallback (works when Vector is set to "Automatic") */
@media (prefers-color-scheme: dark) {
.tagcloud,
tagcloud {
background: #202122; /* your dark bg */
border-color: #72777D; /* subtle dark border */
}
}