MediaWiki:Common.css: Difference between revisions
No edit summary |
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 */ | ||
// Float infoboxes to the right | |||
.infobox { | .infobox { | ||
float: right; | float: right; | ||
Line 6: | Line 8: | ||
} | } | ||
// Hide page name on the home page | |||
body.page-Main_Page h1.firstHeading { | |||
display: none; | |||
} | |||
// Prettify stub boxes | |||
.stub-box { | .stub-box { | ||
max-width: 600px; | max-width: 600px; | ||
Line 17: | Line 25: | ||
box-shadow: 0 0 4px rgba(0,0,0,0.2); | box-shadow: 0 0 4px rgba(0,0,0,0.2); | ||
} | } | ||
.stub-image { | .stub-image { | ||
display: flex; | display: flex; | ||
Line 32: | Line 39: | ||
vertical-align: middle; | vertical-align: middle; | ||
} | } | ||
.stub-text { | .stub-text { | ||
text-align: left; | text-align: left; | ||
line-height: 1.4em; | line-height: 1.4em; | ||
} | } | ||
.stub-word { | .stub-word { | ||
color: #4f504c; /* Soft orange highlight */ | color: #4f504c; /* Soft orange highlight */ | ||
} | } |