MediaWiki:Common.css
Jump to navigation
Jump to search
Note: After saving, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to all skins */ /** * 4. MAIN PAGE STYLING * ------------------------------------------------- */ #mainpage_topbox { background: #f9f9f9; padding: 0; border: 1px solid #aaaaaa; margin: 0.2em 10px 10px; } .mainpage_boxtitle, .mainpage_hubtitle, #mainpage_pagetitle { font-size: 105%; padding: 0.4em; background-color: #eeeeee; } .mainpage_boxtitle { line-height: 120%; } #mainpage_pagetitle { color: #cf7606; font-size: 200% !important; } #mainpage_sitelinks { padding: 0.2em; text-align: center; background-color: white; } .mainpage_hubtitle { text-align: center; } .mainpage_boxcontents, .mainpage_boxcontents_small { background: #ffffff; padding: 0.2em 0.4em; } .mainpage_boxcontents_small { font-size: 95%; } .mainpage_boxcontents_title { display: block; border-bottom: 1px solid #AAA; margin-bottom: 0.5em; text-align: center; font-weight: bold; font-size: larger; } .mainpage_hubbox { width: 33%; } .mainpage_hubbox, #mainpage_newscell, #mainpage_downloadcell, #mainpage_opportunitiescell, #mainpage_featuredpagescell { padding: 0; border: 1px solid #aaaaaa; } #mainpage_newscell { margin-bottom: 15px; margin-top: 0 !important; } #mainpage_newscell .mainpage_boxtitle { background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/8/89/Exquisite-khelpcenter.png/20px-Exquisite-khelpcenter.png); background-repeat: no-repeat; background-position: 99% 0.3em; padding-right: 25px; } #mainpage_downloadcell { width: 17em; margin-bottom: 5px; } #mainpage_downloadcell .mainpage_boxtitle { background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/5/5d/Crystal_Clear_action_build.png/18px-Crystal_Clear_action_build.png); background-repeat: no-repeat; background-position: 96% 0.33em; padding-right: 25px; } #mainpage_opportunitiescell { max-width: 25em; margin-bottom: 15px; margin-top: 0 !important; } #mainpage_opportunitiescell .mainpage_boxtitle { background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/6/63/User-online.svg/20px-User-online.svg.png); background-repeat: no-repeat; background-position: 98% 0.15em; padding-right: 25px; } #mainpage_featuredpagescell { max-width: 25em; margin-bottom: 15px; margin-top: 0 !important; } #mainpage_featuredpagescell .mainpage_boxtitle { background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/0/0f/Note_icon.svg/20px-Note_icon.svg.png); background-repeat: no-repeat; background-position: 98% 0.15em; padding-right: 25px; } /* The words 'MediaWiki.org' in the title. */ #mainpage_mwtitle { color: #005288; } /* * The "mainpage" class is added to the body with JavaScript for the main page in all * languages, so we can style things that appear on the main page and also elsewhere. */ .mainpage #lastmod, .mainpage #siteSub, .mainpage #contentSub, .mainpage .subtitle, .mainpage #jump-to-nav, .mainpage .firstHeading { display: none; } .page-Mainpage h1.firstHeading { display: none; } .page-Homepage h1.firstHeading { display: none; } .page-Homepage_zh h1.firstHeading { display: none; }