MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 76: | Line 76: | ||
.cell-data-right { | .cell-data-right { | ||
text-align: right; | text-align: right; | ||
} | |||
/* Drop table background colors */ | |||
.table-bg-always, | |||
.table-bg-blue { | |||
background:#0b5884; | |||
} | |||
.table-bg-common, | |||
.table-bg-green { | |||
background:#3c780a; | |||
} | |||
.table-bg-uncommon, | |||
.table-bg-yellow { | |||
background:#a48900; | |||
} | |||
.table-bg-rare, | |||
.table-bg-orange { | |||
background:#b55e0c; | |||
} | |||
.table-bg-veryrare, | |||
.table-bg-red { | |||
background:background:#9f261e; | |||
} | |||
.table-bg-random, | |||
.table-bg-pink { | |||
background:#984c89; | |||
} | |||
.table-bg-gray, | |||
.table-bg-grey { | |||
background:#5d6773; | |||
} | |||
.table-bg-fade { | |||
opacity:0.6; | |||
background:rgba(0,0,0,0.1) | |||
} | } |
Revision as of 16:06, 15 May 2025
/* CSS placed here will be applied to all skins */ /* Float infoboxes to the right */ .infobox { float: right; clear: right; margin: 0 0 1em 1em; } /* Hide page name on the home page */ body.page-Main_Page h1#firstHeading { display: none !important; } /* Prettify stub boxes */ .stub-box { max-width: 600px; display: flex; align-items: center; background-color: #e9e9e9; border-left: 4px solid #09bb62; padding: 10px 15px; border-radius: 8px; font-size: 0.95em; box-shadow: 0 0 4px rgba(0,0,0,0.2); } .stub-image { display: flex; align-items: center; margin-right: 10px; padding: 0; } .stub-image img { display: block; margin: 0; padding: 0; line-height: 1; vertical-align: middle; } .stub-text { text-align: left; line-height: 1.4em; } .stub-word { color: #4f504c; } /* Main page stuff */ .mainpage-header { display: flex; margin: 2.6em 1.75em 1.5em; } .mainpage-header .header-intro { flex: 2; } .mainpage-header .header-stats { flex: 1; display: flex; justify-content: center; align-items: center; margin-top: -1em; } .header-stats ul { list-style: none; padding-left: 0; margin-left: 0; } /* Cell data alignments */ .cell-data-center { text-align: center; } .cell-data-left { text-align: left; } .cell-data-right { text-align: right; } /* Drop table background colors */ .table-bg-always, .table-bg-blue { background:#0b5884; } .table-bg-common, .table-bg-green { background:#3c780a; } .table-bg-uncommon, .table-bg-yellow { background:#a48900; } .table-bg-rare, .table-bg-orange { background:#b55e0c; } .table-bg-veryrare, .table-bg-red { background:background:#9f261e; } .table-bg-random, .table-bg-pink { background:#984c89; } .table-bg-gray, .table-bg-grey { background:#5d6773; } .table-bg-fade { opacity:0.6; background:rgba(0,0,0,0.1) }