8,282
edits
No edit summary |
No edit summary |
||
(16 intermediate revisions by the same user not shown) | |||
Line 29: | Line 29: | ||
src: url('https://wiki.parallelmc.org/w/resources/assets/fonts/MinecraftiaRegular.ttf') format('truetype'); | src: url('https://wiki.parallelmc.org/w/resources/assets/fonts/MinecraftiaRegular.ttf') format('truetype'); | ||
} | } | ||
/** Template stylings **/ | |||
/* [[Template:Navbox]] */ | |||
.navbox { | |||
background: #FFF; | |||
border: 1px solid #CCC; | |||
margin: 1em auto 0; | |||
width: 100%; | |||
} | |||
.navbox table { | |||
background: #FFF; | |||
margin-left: -4px; | |||
margin-right: -2px; | |||
} | |||
.navbox table:first-child { | |||
margin-top: -2px; | |||
} | |||
.navbox table:last-child { | |||
margin-bottom: -2px; | |||
} | |||
.navbox .navbox-top { | |||
white-space: nowrap; | |||
background-color: #CCC; | |||
padding: 0 3px; | |||
text-align: center; | |||
} | |||
.navbox-navbar, | |||
.navbox-navbar-mini { | |||
float: left; | |||
font-size: 80%; | |||
} | |||
.navbox-title { | |||
padding: 0 10px; | |||
font-size: 110%; | |||
} | |||
.navbox th { | |||
background-color: #EEE; | |||
padding: 0 10px; | |||
white-space: nowrap; | |||
text-align: right; | |||
} | |||
.navbox td { | |||
width: 100%; | |||
padding: 0 0 0 2px; | |||
} | |||
body.wgl-theme-dark .navbox, | |||
body.wgl-theme-dark .historybox { | |||
background-color: #2f2f2f; | |||
border-color: #444; | |||
} | |||
body.wgl-theme-dark .navbox table, | |||
body.wgl-theme-dark .historybox table { | |||
background-color: #2f2f2f; | |||
} | |||
body.wgl-theme-dark .navbox .navbox-top, | |||
body.wgl-theme-dark .historybox .historybox-top { | |||
background-color: #111 !important; | |||
} | |||
body.wgl-theme-dark .navbox th, | |||
body.wgl-theme-dark .historybox th { | |||
background-color: #222; | |||
} | |||
/* [[Template:LoadBox]]*/ | |||
.load-page { | |||
background-color: rgba(255, 255, 255, .5); | |||
border: 1px solid #CCC; | |||
margin-bottom: 0.5em; | |||
padding: 0 0.5em; | |||
} | |||
body.wgl-theme-dark .load-page { | |||
background-color: #222; | |||
border-color: #111; | |||
} | |||
/* [[Template:LoadBox]] with navbox */ | |||
.loadbox-navbox { | |||
padding: 2px !important; | |||
margin: 1em 0 0 !important; | |||
clear: both; | |||
} | |||
#content .loadbox-navbox > p { | |||
background-color: #CCC; | |||
text-align: center; | |||
margin: 0; | |||
padding: 0 3px; | |||
} | |||
body.wgl-theme-dark #content .loadbox-navbox > p { | |||
background-color: #111; | |||
} | |||
.loadbox-navbox > p > b { | |||
font-size: 110%; | |||
} | |||
.loadbox-navbox .navbox { | |||
margin: 0 -2px -2px; | |||
border: 0; | |||
} | |||
.loadbox-navbox > .load-page-content > .mw-parser-output > .navbox > tbody > tr:first-child { | |||
display: none; | |||
} | |||
/** Template stylings **/ | /** Template stylings **/ | ||
Line 690: | Line 805: | ||
.infobox-footer { | .infobox-footer { | ||
text-align: center; | text-align: center; | ||
} | |||
.infobox-extratext { | |||
text-align: center; | |||
font-weight: 600; | |||
} | } | ||
Line 1,022: | Line 1,142: | ||
background-image: url(https://wiki.parallelmc.org/w/images/4/4e/Book_arrow_right_selected.png); | background-image: url(https://wiki.parallelmc.org/w/images/4/4e/Book_arrow_right_selected.png); | ||
} | } | ||
/* Horizontal list */ | |||
#mw-content-text .hlist ul { | |||
display: inline; | |||
margin: 0; | |||
padding: 0; | |||
} | |||
#mw-content-text .hlist li { | |||
display: inline; | |||
} | |||
#mw-content-text .hlist li:not(:last-child) { | |||
padding-right: 0.286em; | |||
} | |||
#mw-content-text .hlist li:not(:last-child)::after { | |||
content: ""; | |||
display: inline-block; | |||
position: relative; | |||
left: 0.286em; | |||
bottom: 0.214em; | |||
background-color: #000; | |||
height: 3px; | |||
width: 3px; | |||
} | |||
#mw-content-text .hlist li li:first-child::before { | |||
content: "("; | |||
font-weight: normal; | |||
} | |||
#mw-content-text .hlist li li:last-child::after { | |||
content: ")"; | |||
font-weight: normal; | |||
} | |||
#mw-content-text .hlist li li li { | |||
font-size: x-small; | |||
} | |||
Line 1,185: | Line 1,341: | ||
/* Try to use nearest neighbour scaling for pixelated images */ | /* Try to use nearest neighbour scaling for pixelated images */ | ||
.filehistory a img, | /*.filehistory a img,*/ | ||
.pixel-image, | /*.pixel-image,*/ | ||
.invslot-item-image, | /*.invslot-item-image,*/ | ||
.sprite { | /*.sprite {*/ | ||
/* image-rendering: optimizeSpeed;*/ | |||
/* image-rendering: -webkit-optimize-contrast;*/ | |||
/* image-rendering: optimize-contrast;*/ | |||
/* image-rendering: -moz-crisp-edges;*/ | |||
/* image-rendering: -o-crisp-edges;*/ | |||
/* image-rendering: crisp-edges;*/ | |||
/* image-rendering: pixelated;*/ | |||
/* -ms-interpolation-mode: nearest-neighbor;*/ | |||
/*}*/ | |||
/* Machine-readable extra template information */ | |||
.history-json, .chest-json, .chestcontents-json, .sound-json, .spawntable-json, .advancements-json, .achievements-json { | |||
display: none; | |||
} | } |