MediaWiki:Common.css: Difference between revisions
Appearance
ESUFranchise (talk | contribs) No edit summary |
ESUFranchise (talk | contribs) No edit summary |
||
Line 15: | Line 15: | ||
.infobox { | .infobox { | ||
/* @noflip */ | |||
margin: 0.5em 0 0.5em 1em; | |||
/* @noflip */ | |||
float: right; | float: right; | ||
/* @noflip */ | |||
clear: right; | |||
border: 1px solid #00f; | border: 1px solid #00f; | ||
background-color: #3B82F6; | background-color: #3B82F6; | ||
color: #fff; | color: #fff; | ||
font-size: 88%; | |||
line-height: 1.5em; | |||
border-spacing: 3px; | |||
} | } | ||
Line 29: | Line 36: | ||
color: #fff; | color: #fff; | ||
text-decoration: underline; | text-decoration: underline; | ||
} | |||
@media (max-width: 640px) { | |||
.infobox { | |||
width: 100%; | |||
} | |||
.infobox .nowrap { | |||
white-space: normal; | |||
} | |||
} | } |
Revision as of 06:00, 13 January 2025
/* CSS placed here will be applied to all skins */ .box { width: 100%; border: 1px solid #00f; border-radius: 5px; background-color: #3B82F6; padding: 2em; color: #fff; } .box a { color: #fff !important; } .infobox { /* @noflip */ margin: 0.5em 0 0.5em 1em; /* @noflip */ float: right; /* @noflip */ clear: right; border: 1px solid #00f; background-color: #3B82F6; color: #fff; font-size: 88%; line-height: 1.5em; border-spacing: 3px; } .infobox p { margin: 0; } .infobox a { color: #fff; text-decoration: underline; } @media (max-width: 640px) { .infobox { width: 100%; } .infobox .nowrap { white-space: normal; } }