MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 118: | Line 118: | ||
background:rgba(0,0,0,0.1) | background:rgba(0,0,0,0.1) | ||
} | } | ||
/* Frontpage stuff */ | |||
.skill-grid { | |||
display: grid; | |||
grid-template-columns: repeat(3, max-content); | |||
gap: 10px 30px; | |||
background: #4b3e3c; | |||
padding: 10px; | |||
border-radius: 8px; | |||
font-family: sans-serif; | |||
color: #f5f5f5; | |||
} | |||
.skill { | |||
display: flex; | |||
align-items: center; | |||
padding: 5px 10px; | |||
border-radius: 6px; | |||
transition: background 0.2s ease; | |||
cursor: pointer; | |||
} | |||
.skill-icon { | |||
margin-right: 8px; | |||
} | |||
/* Skill colors */ | |||
.skill-combat:hover { background-color: #a83232; } | |||
.skill-forager:hover { background-color: #a87b32; } | |||
.skill-fisher:hover { background-color: #3291a8; } | |||
.skill-chef:hover { background-color: #a86e32; } | |||
.skill-alchemist:hover { background-color: #32a85f; } | |||
.skill-gatherer:hover { background-color: #8aa832; } | |||
.skill-woodcutter:hover { background-color: #567c2d; } | |||
.skill-carpenter:hover { background-color: #5f5f5f; } | |||
.skill-miner:hover { background-color: #355e6c; } | |||
.skill-bonewright:hover { background-color: #4a5a34; } | |||
.skill-blacksmith:hover { background-color: #b2b2b2; } | |||
.skill-stonemason:hover { background-color: #6e7e8a; } | |||
.skill-detective:hover { background-color: #436f89; } | |||
.skill-leatherworker:hover { background-color: #7e5a3e; } | |||
.skill-merchant:hover { background-color: #a84848; } |
Revision as of 20:11, 17 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; color:#f8f9fa; } .table-bg-common, .table-bg-green { background:#3c780a; color:#f8f9fa; } .table-bg-uncommon, .table-bg-yellow { background:#a48900; color:#f8f9fa; } .table-bg-rare, .table-bg-orange { background:#b55e0c; color:#f8f9fa; } .table-bg-veryrare, .table-bg-red { background:#9f261e; color:#f8f9fa; } .table-bg-random, .table-bg-pink { background:#984c89; color:#f8f9fa; } .table-bg-gray, .table-bg-grey { background:#5d6773; color:#f8f9fa; } .table-bg-fade { opacity:0.6; background:rgba(0,0,0,0.1) } /* Frontpage stuff */ .skill-grid { display: grid; grid-template-columns: repeat(3, max-content); gap: 10px 30px; background: #4b3e3c; padding: 10px; border-radius: 8px; font-family: sans-serif; color: #f5f5f5; } .skill { display: flex; align-items: center; padding: 5px 10px; border-radius: 6px; transition: background 0.2s ease; cursor: pointer; } .skill-icon { margin-right: 8px; } /* Skill colors */ .skill-combat:hover { background-color: #a83232; } .skill-forager:hover { background-color: #a87b32; } .skill-fisher:hover { background-color: #3291a8; } .skill-chef:hover { background-color: #a86e32; } .skill-alchemist:hover { background-color: #32a85f; } .skill-gatherer:hover { background-color: #8aa832; } .skill-woodcutter:hover { background-color: #567c2d; } .skill-carpenter:hover { background-color: #5f5f5f; } .skill-miner:hover { background-color: #355e6c; } .skill-bonewright:hover { background-color: #4a5a34; } .skill-blacksmith:hover { background-color: #b2b2b2; } .skill-stonemason:hover { background-color: #6e7e8a; } .skill-detective:hover { background-color: #436f89; } .skill-leatherworker:hover { background-color: #7e5a3e; } .skill-merchant:hover { background-color: #a84848; }