MediaWiki:Common.css: Difference between revisions
Appearance
EkramHossen (talk | contribs) m Protected "MediaWiki:Common.css" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
EkramHossen (talk | contribs) No edit summary |
||
Line 92: | Line 92: | ||
padding: 15px; | padding: 15px; | ||
background: #f9f9f9; | background: #f9f9f9; | ||
} | |||
#promo-banner { | |||
background-color: #ffe27a; | |||
color: #000; | |||
padding: 10px; | |||
text-align: center; | |||
font-size: 15px; | |||
font-weight: bold; | |||
border-bottom: 2px solid #e0b600; | |||
box-shadow: 0 2px 5px rgba(0,0,0,0.1); | |||
} | |||
#promo-banner a { | |||
color: #0056b3; | |||
text-decoration: underline; | |||
} | |||
#promo-banner a:hover { | |||
text-decoration: none; | |||
} | } |
Revision as of 00:21, 11 August 2025
/* CSS placed here will be applied to all skins */ /* Infoboxes */ .infobox { border: 1px solid #a2a9b1; color: black; padding: 0.2em; font-size: 88%; line-height: 1.5em; border-spacing: 3px; } @media screen { .infobox { background-color: #f8f9fa; } } @media (max-width: 640px) { .infobox { width: 100%; } .infobox .nowrap { white-space: normal; } } @media (min-width: 640px) { .infobox { margin: 0.5em 0 0.5em 1em; float: right; clear: right; width: 22em; } } .infobox-header, .infobox-label, .infobox-above, .infobox-full-data, .infobox-data, .infobox-below, .infobox-subheader, .infobox-image, .infobox-navbar, .infobox th, .infobox td { vertical-align: top; } .infobox-label, .infobox-data, .infobox th, .infobox td { text-align: left; } .infobox .infobox-above, .infobox .infobox-title, .infobox caption { font-size: 125%; font-weight: bold; text-align: center; } .infobox-title, .infobox caption { padding: 0.2em; } .infobox .infobox-header, .infobox .infobox-subheader, .infobox .infobox-image, .infobox .infobox-full-data, .infobox .infobox-below { text-align: center; } .infobox .infobox-navbar { text-align: right; } /* Infoboxes end */ body { background-color: #fff; } div.main-box { border: 1px solid #ccc; border-radius: 10px; padding: 15px; background: #f9f9f9; } #promo-banner { background-color: #ffe27a; color: #000; padding: 10px; text-align: center; font-size: 15px; font-weight: bold; border-bottom: 2px solid #e0b600; box-shadow: 0 2px 5px rgba(0,0,0,0.1); } #promo-banner a { color: #0056b3; text-decoration: underline; } #promo-banner a:hover { text-decoration: none; }