Jump to content

MediaWiki:Common.css: Difference between revisions

no edit summary
([NEW MOON 2026 REFACTOR] I'm bringing back underlines for links. It's kind of old-fashioned, but I want people to really see what's a link and what's not. Especially important for Main Page and for lists of downstream links.)
No edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


/*==General styling==*/
.mw-parser-output a      {text-decoration:underline;    text-underline-offset:2px}/* underline links */
.mw-parser-output a:hover{text-decoration-thickness:2px;text-decoration-skip-ink:none}
a.new{color:#B55} /* faded red for red links, we don't want too much visual attention on them */
.mw-parser-output li {line-height:1.2em; margin:0.8em 0} /* spacing for bullet points */
.wikitable ul { margin:0 0 0 0.7em } /* less spacing for bullet points in tables */
.wikitable li { margin:0 }


/*==Expandables and calculations==*/
/*==Expandables and calculations==*/
Line 37: Line 44:


.fullWidth img { width:100%; height:auto } /* fitting an image to full page width on desktop mode (i dont know why tf this isn't already a built-in option in mediawiki tbh): */
.fullWidth img { width:100%; height:auto } /* fitting an image to full page width on desktop mode (i dont know why tf this isn't already a built-in option in mediawiki tbh): */
.mw-body .content li {line-height:1.2em; margin:0.8em 0} /* spacing for bullet points */
.wikitable ul { margin:0 0 0 0.7em }
.wikitable li { margin:0 }


.no-bold-th th { font-weight:normal } /* sometimes you don't want table headers to be bolded, because some other cells need the emphasis instead */
.no-bold-th th { font-weight:normal } /* sometimes you don't want table headers to be bolded, because some other cells need the emphasis instead */
a.new{color:#B55} /* draw less attention to red links, visually */


dl:has(dt){margin-left:0} /* idk why mobile mode adds an indent to any ";Bold" kinda wikitext, but it ruins my content, so get rid of that */
dl:has(dt){margin-left:0} /* idk why mobile mode adds an indent to any ";Bold" kinda wikitext, but it ruins my content, so get rid of that */
.mw-parser-output a      {text-decoration:underline;    text-underline-offset:2px}
.mw-parser-output a:hover{text-decoration-thickness:2px;text-decoration-skip-ink:none} /* underlines for links */