MediaWiki:Common.css: Difference between revisions
From feywild
Blanked the page Tag: Blanking |
No edit summary |
||
| Line 1: | Line 1: | ||
/* Default paragraph spacing */ | |||
.mw-parser-output > p { | |||
margin-top: 1em; /* This is the main culprit for the big gap */ | |||
margin-bottom: 1em; | |||
} | |||
/* Default for floated elements like infoboxes */ | |||
.mw-parser-output .infobox, | |||
.infobox { | |||
float: right; | |||
clear: right; /* Causes the box to sit below any other right-floated content */ | |||
margin: 0 0 1em 1em; /* top, right, bottom, left */ | |||
border: 1px solid #aaa; | |||
background-color: #f9f9f9; | |||
padding: 0.2em; | |||
} | |||
/* Heading spacing (just for context) */ | |||
.mw-headline { | |||
margin-top: 1em; | |||
margin-bottom: 0.25em; | |||
} | |||
/* The content container itself */ | |||
.mw-parser-output { | |||
line-height: 1.6; | |||
overflow: hidden; | |||
} | |||
Revision as of 14:19, 2 November 2025
/* Default paragraph spacing */
.mw-parser-output > p {
margin-top: 1em; /* This is the main culprit for the big gap */
margin-bottom: 1em;
}
/* Default for floated elements like infoboxes */
.mw-parser-output .infobox,
.infobox {
float: right;
clear: right; /* Causes the box to sit below any other right-floated content */
margin: 0 0 1em 1em; /* top, right, bottom, left */
border: 1px solid #aaa;
background-color: #f9f9f9;
padding: 0.2em;
}
/* Heading spacing (just for context) */
.mw-headline {
margin-top: 1em;
margin-bottom: 0.25em;
}
/* The content container itself */
.mw-parser-output {
line-height: 1.6;
overflow: hidden;
}