MediaWiki:Common.css
MediaWiki interface page
Views
Actions
Namespaces
Variants
Tools
Note: After publishing, 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 / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */ body.page-Main_Page.action-view #siteSub, body.page-Main_Page.action-submit #siteSub { display: none; } /* Hide [Watch] tab */ #ca-watch { display: none !important; } /* Hide [History] tab */ #ca-history { display: none !important; } /* Hide [View Source] tab */ #ca-viewsource { display: none !important; } /* Hide [Discussion] tab */ #ca-talk { display: none !important; } /* Remove everything after this if it doesn't work*/ .mainpage-row {display: flex;width: 100%;flex-wrap: wrap;} .card {margin: 0 0.2rem 0.4rem 0.2rem;display: flex;flex-grow: 1;flex-direction: column;justify-content: space-between;box-sizing: border-box;border-radius: 8px;overflow: hidden;/* transition: box-shadow 0.2s; */} .card-image {height: 180px;overflow: hidden;} .card-caption {padding: 0.4rem;background: #000000;color: #ffffff;text-align: center;} .mainpage-navigation .card {width: calc(100%/4 - 0.4rem);min-width: calc(860px/4 - 0.4rem);border: 0;} #featured_article .card {width: (100%/6*5 - 0.4rem);min-width: calc(860px/6*5 - 0.4rem);flex-direction: row;} div#featured_article.card {width: calc(100%/6*5 - 0.4rem);min-width: calc(860px/6*5 - 0.4rem);flex-direction: row;} div#wiki_stats.card {width: calc(100%/6 - 0.4rem);min-width: calc(860px/6 - 0.4rem);text-align: right;} .card-text {padding: 1.2rem;} .numdata:first-child {margin-top: 0;} .card .numdata {margin-top: 0.8rem;} .card h3 {line-height: 1.2;} .card .byline {margin: 0 0 0.2rem 0;font-size: 0.825rem;}