MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 85: | Line 85: | ||
.item-info-box { | .item-info-box { | ||
position: relative; | |||
width: 342px; | width: 342px; | ||
height: 444px; | height: 444px; |
Revision as of 15:27, 29 November 2022
/* CSS placed here will be applied to all skins */ @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap'); html, body { height: 100%; width: 100%; padding: 0; margin: 0; font-family: 'Montserrat', sans-serif; } body { background: #4288ff url(/resources/assets/Wikibg_x3.png) repeat no-repeat fixed center bottom; } #firstHeading { border-bottom: 2px solid #4288ff; } .mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: inherit; } #mw-page-base { background-color: transparent; background-image: none; } .mw-body { /*background-color: rgba(66, 136, 255, 0.5);*/ background-color: rgba(140,220,255,0.67) } #mw-content-text h2 { position: relative; background: url(/resources/assets/HeaderBanner_x2.png) no-repeat center; display: block; width: 320px; height: 66px; text-align: center; border-bottom: none; } #mw-content-text h2 .mw-headline { margin-top: 15px; display: block; } #mw-content-text h2 .mw-editsection { display: block; position: absolute; right: 50px; top: 15px; } .border-box { border-style: solid; border-image: url(/resources/assets/Borders.png); border-image-slice: 6 5 5 6; border-image-width: 6px 5px 5px 6px; border-image-outset: 0px 0px 0px 0px; border-image-repeat: stretch stretch; padding-top: 2px; padding-left: 2px; padding-right: 2px; padding-bottom: 2px; } .border-box-inner { background: #d8b885; padding: 10px; } .item-price-box { float: right; clear: right; } .item-price-box-hidden { display: none; } .info-box { float: right; } .item-info-box { position: relative; width: 342px; height: 444px; background: url(/resources/assets/ItemInfoBox_x2.png) no-repeat center; margin-left: 15px; margin-bottom: 15px; } .item-info-box .item-name { width: 100%; text-align: center; margin-top: 12px; font-size: 14pt; font-weight: bold; } .item-info-box .item-icon { text-align: center; margin-top: 32px; } .item-info-box .item-desc { margin-top: 25px; margin-left: 25px; margin-right: 25px; } .item-info-box .trait-1 { position: absolute; bottom: 112px; width: 100%; text-align: center; } .item-info-box .trait-2 { position: absolute; bottom: 78px; width: 100%; text-align: center; } .item-info-box .trait-3 { position: absolute; bottom: 44px; width: 100%; text-align: center; } .section-text { margin-top: 25px; margin-bottom: 50px; } .table-header th { padding: 5px; } .table-row td { padding: 5px; } .styled-table .table-header { background-color: #4288ff; color: white; } .styled-table .table-header th { padding: 5px; min-width: 100px; } .styled-table .table-row { background-color: #d1e2ff; } .styled-table .table-row td { padding: 5px; }