MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Undo revision 6065 by Diamondback88 (talk))
Tag: Undo
No edit summary
Line 6: Line 6:
  */
  */


/* Reset italic styling set by user agent */
body {
cite,
font-family: "Liberation Sans", Arial, Helvetica, FreeSans, sans-serif;
dfn {
font-style: inherit;
}
}


/* Straight quote marks for <q> */
/** Main page stylings **/
q {
@supports (flex-wrap: wrap) {  
quotes: '"' '"' "'" "'";
.edition-group {
display: flex;
flex-wrap: wrap;
}
.edition-group .edition-box {
flex: 17.4em;
}
}
}


/* Avoid collision of blockquote with floating elements by swapping margin and padding */
/** Template stylings **/
blockquote {
/* [[Template:Navbox]] */
overflow: hidden;
.navbox {
margin: 1em 0;
background: #FFF;
padding: 0 40px;
border: 1px solid #CCC;
margin: 1em auto 0;
width: 100%;
}
}


/* Consistent size for <small>, <sub> and <sup> */
.navbox table {
small {
background: #FFF;
font-size: 85%;
margin-left: -4px;
margin-right: -2px;
}
}


.mw-body-content sub,
.navbox table:first-child {
.mw-body-content sup,
margin-top: -2px;
span.reference /* for Parsoid */ {
font-size: 80%;
}
}


/* Same spacing for indented and unindented paragraphs on talk pages */
.navbox table:last-child {
.ns-talk .mw-body-content dd {
margin-bottom: -2px;
margin-top: 0.4em;
margin-bottom: 0.4em;
}
}


/* Reduce page jumps by hiding collapsed/dismissed content */
.navbox .navbox-top {
.client-js .mw-special-Watchlist #watchlist-message,
white-space: nowrap;
.client-js .collapsible:not( .mw-made-collapsible).collapsed > tbody > tr:not(:first-child),
background-color: #CCC;
 
padding: 0 3px;
/* Hide charinsert base for those not using the gadget */
text-align: center;
#editpage-specialchars {
display: none;
}
}


/* Adds padding above Watchlist announcements where new recentchanges/watchlist filters are enabled */
.navbox-navbar,
.mw-rcfilters-enabled .mw-specialpage-summary {
.navbox-navbar-mini {
margin-top: 1em;
float: left;
font-size: 80%;
}
}


/* Make the list of references smaller
.navbox-title {
* Keep in sync with Template:Refbegin/styles.css
padding: 0 10px;
* And Template:Reflist/styles.css
font-size: 110%;
*/
ol.references {
font-size: 90%;
margin-bottom: 0.5em;
}
}


/* Styling for JQuery makeCollapsible, matching that of collapseButton */
.navbox th {
.mw-parser-output .mw-collapsible-toggle {
background-color: #EEE;
font-weight: normal;
padding: 0 10px;
/* @noflip */
white-space: nowrap;
text-align: right;
text-align: right;
padding-right: 0.2em;
padding-left: 0.2em;
}
}


.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
.navbox td {
/* @noflip */
width: 100%;
float: left;
padding: 0 0 0 2px;
/* @noflip */
text-align: left;
}
}
 
body.wgl-theme-dark .navbox,
/* Lists in wikitable data cells are always left-aligned */
body.wgl-theme-dark .historybox {
.wikitable td ul,
background-color: #2f2f2f;
.wikitable td ol,
border-color: #444;
.wikitable td dl {
/* @noflip */
text-align: left;
}
}
 
body.wgl-theme-dark .navbox table,
/* Fix for hieroglyphs specificity issue in infoboxes ([[phab:T43869]]) */
body.wgl-theme-dark .historybox table {
.mw-parser-output table.mw-hiero-table td {
background-color: #2f2f2f;
vertical-align: middle;
}
}
 
body.wgl-theme-dark .navbox .navbox-top,
/* Change the external link icon to a PDF icon for all PDF files */
body.wgl-theme-dark .historybox .historybox-top {
.mw-parser-output a[href$=".pdf"].external,
background-color: #111 !important;
.mw-parser-output a[href*=".pdf?"].external,
.mw-parser-output a[href*=".pdf#"].external,
.mw-parser-output a[href$=".PDF"].external,
.mw-parser-output a[href*=".PDF?"].external,
.mw-parser-output a[href*=".PDF#"].external {
background: url("//upload.wikimedia.org/wikipedia/commons/4/4d/Icon_pdf_file.png") no-repeat right;
/* @noflip */
padding: 8px 18px 8px 0;
}
}
 
body.wgl-theme-dark .navbox th,
/* System messages styled similarly to fmbox */
body.wgl-theme-dark .historybox th {
div.mw-warning-with-logexcerpt,
background-color: #222;
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon,
div.titleblacklist-warning {
clear: both;
margin: 0.2em 0;
border: 1px solid #bb7070;
background-color: #ffdbdb;
padding: 0.25em 0.9em;
box-sizing: border-box;
}
}


/* default colors for partial block message */
/* [[Template:LoadBox]]*/
.mw-contributions-blocked-notice-partial .mw-warning-with-logexcerpt {
.load-page {
border-color: #fc3;
background-color: rgba(255, 255, 255, .5);
background-color: #fef6e7;
border: 1px solid #CCC;
margin-bottom: 0.5em;
padding: 0 0.5em;
}
}
 
body.wgl-theme-dark .load-page {
/* Increase the height of the image upload box */
background-color: #222;
#wpUploadDescription {
border-color: #111;
height: 13em;
}
}


/* Minimum thumb width */
/* [[Template:LoadBox]] with navbox */
.thumbinner {
.loadbox-navbox {
min-width: 100px;
padding: 2px !important;
}
margin: 1em 0 0 !important;
 
/* Prevent floating boxes from overlapping any category listings,
  file histories, edit previews, and edit [Show changes] views. */
#mw-subcategories,
#mw-pages,
#mw-category-media,
#filehistory,
#wikiPreview,
#wikiDiff {
clear: both;
clear: both;
}
}


/* Styling for Abuse Filter tags */
#content .loadbox-navbox > p {
.mw-tag-markers {
background-color: #CCC;
font-style: italic;
text-align: center;
font-size: 90%;
}
 
/* Hide stuff meant for accounts with special permissions. Made visible again in
  [[MediaWiki:Group-checkuser.css]], [[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-abusefilter.css]],
  [[MediaWiki:Group-abusefilter-helper.css]], [[MediaWiki:Group-patroller.css]],
  [[MediaWiki:Group-templateeditor.css]], [[MediaWiki:Group-extendedmover.css]],
  [[MediaWiki:Group-extendedconfirmed.css]], and [[Mediawiki:Group-autoconfirmed.css]]. */
.checkuser-show,
.sysop-show,
.abusefilter-show,
.abusefilter-helper-show,
.patroller-show,
.templateeditor-show,
.extendedmover-show,
.extendedconfirmed-show,
.autoconfirmed-show,
.user-show {
display: none;
}
 
/* Hide the redlink generated by {{Editnotice}},
  this overrides the ".sysop-show { display: none; }" above that applies
  to the same link as well. See [[phab:T45013]]
 
  Hide the images in editnotices to keep them readable in VE view.
  Long term, editnotices should become a core feature so that they can be designed responsive. */
.ve-ui-mwNoticesPopupTool-item .editnotice-redlink,
.ve-ui-mwNoticesPopupTool-item .mbox-image,
.ve-ui-mwNoticesPopupTool-item .mbox-imageright {
display: none !important;
}
 
/* Remove bullets when there are multiple edit page warnings */
ul.permissions-errors {
margin: 0;
margin: 0;
padding: 0 3px;
}
}
 
body.wgl-theme-dark #content .loadbox-navbox > p {
ul.permissions-errors > li {
    background-color: #111;
list-style: none none;
}
 
/* larger inline math */
span.mwe-math-mathml-inline {
font-size: 118%;
}
}


/* Make <math display="block"> be left aligned with one space indent for
.loadbox-navbox > p > b {
* compatibility with style conventions
font-size: 110%;
*/
.mwe-math-fallback-image-display,
.mwe-math-mathml-display {
margin-left: 1.6em !important;
margin-top: 0.6em;
margin-bottom: 0.6em;
}
}


.mwe-math-mathml-display math {
.loadbox-navbox .navbox {
display: inline;
margin: 0 -2px -2px;
border: 0;
}
}


@media screen {
.loadbox-navbox > .load-page-content > .mw-parser-output > .navbox > tbody > tr:first-child {
/* Gallery styles background changes are restricted to screen view.
  In printing we should avoid applying backgrounds. */
/* The backgrounds for galleries. */
#content .gallerybox div.thumb {
/* Light gray padding */
background-color: #f8f9fa;
}
/* Put a chequered background behind images, only visible if they have transparency.
  '.filehistory a img' and '#file img:hover' are handled by MediaWiki core (as of 1.19) */
.gallerybox .thumb img {
background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat;
}
/* But not on articles, user pages, or portals. */
.ns-0 .gallerybox .thumb img,
.ns-2 .gallerybox .thumb img,
.ns-100 .gallerybox .thumb img {
background-image: none;
}
 
/* Display "From Wikipedia, the free encyclopedia" in skins that support it,
  do not apply to print mode */
#siteSub {
display: none;
}
}
 
/* Hide FlaggedRevs notice UI when there are no pending changes */
.flaggedrevs_draft_synced,
.flaggedrevs_stable_synced,
/* "Temporary" to remove links in sidebar T255381 */
#t-upload,
/* Hide broken download box on Special:Book pending T285400 */
.mw-special-Book #coll-downloadbox {
display: none;
display: none;
}
}


/* Style for horizontal lists (separator following item).
/* Hatnotes and disambiguation notices */
  @source mediawiki.org/wiki/Snippets/Horizontal_lists
.hatnote {
  @revision 8 (2016-05-21)
font-style: italic;
  @author [[Wikipedia:User:Edokter]]
*/
/*.hlist dl,*/
/*.hlist ol,*/
/*.hlist ul {*/
/* margin: 0;*/
/* padding: 0;*/
/*}*/
 
/* Display list items inline */
/*.hlist dd,*/
/*.hlist dt,*/
/*.hlist li {*/
/*margin: 0; /* don't trust the note that says margin doesn't work with inline
* removing margin: 0 makes dds have margins again */
/* display: inline;*/
/*}*/
 
/* Display nested lists inline */
/*.hlist.inline,*/
/*.hlist.inline dl,*/
/*.hlist.inline ol,*/
/*.hlist.inline ul,*/
/*.hlist dl dl,*/
/*.hlist dl ol,*/
/*.hlist dl ul,*/
/*.hlist ol dl,*/
/*.hlist ol ol,*/
/*.hlist ol ul,*/
/*.hlist ul dl,*/
/*.hlist ul ol,*/
/*.hlist ul ul {*/
/* display: inline;*/
/*}*/
 
/* Hide empty list items */
/*.hlist .mw-empty-li {*/
/* display: none;*/
/*}*/
 
/* Generate interpuncts */
/*.hlist dt:after {*/
/* content: ": ";*/
/*}*/
 
/**
* Note hlist style usage differs in Minerva and is defined in core as well!
* Please check Minerva desktop (and Minerva.css) when changing
* See https://phabricator.wikimedia.org/T213239
*/
/*.hlist dd:after,*/
/*.hlist li:after {*/
/* content: " · ";*/
/* font-weight: bold;*/
/*}*/
 
/*.hlist dd:last-child:after,*/
/*.hlist dt:last-child:after,*/
/*.hlist li:last-child:after {*/
/* content: none;*/
/*}*/
 
/* Add parentheses around nested lists */
/*.hlist dd dd:first-child:before,*/
/*.hlist dd dt:first-child:before,*/
/*.hlist dd li:first-child:before,*/
/*.hlist dt dd:first-child:before,*/
/*.hlist dt dt:first-child:before,*/
/*.hlist dt li:first-child:before,*/
/*.hlist li dd:first-child:before,*/
/*.hlist li dt:first-child:before,*/
/*.hlist li li:first-child:before {*/
/* content: " (";*/
/* font-weight: normal;*/
/*}*/
 
/*.hlist dd dd:last-child:after,*/
/*.hlist dd dt:last-child:after,*/
/*.hlist dd li:last-child:after,*/
/*.hlist dt dd:last-child:after,*/
/*.hlist dt dt:last-child:after,*/
/*.hlist dt li:last-child:after,*/
/*.hlist li dd:last-child:after,*/
/*.hlist li dt:last-child:after,*/
/*.hlist li li:last-child:after {*/
/* content: ")";*/
/* font-weight: normal;*/
/*}*/
 
/* Put ordinals in front of ordered list items */
/*.hlist ol {*/
/* counter-reset: listitem;*/
/*}*/
 
/*.hlist ol > li {*/
/* counter-increment: listitem;*/
/*}*/
 
/*.hlist ol > li:before {*/
/* content: " " counter(listitem) "\a0";*/
/*}*/
 
/*.hlist dd ol > li:first-child:before,*/
/*.hlist dt ol > li:first-child:before,*/
/*.hlist li ol > li:first-child:before {*/
/* content: " (" counter(listitem) "\a0";*/
/*}*/
 
/* Unbulleted lists */
.plainlist ol,
.plainlist ul {
line-height: inherit;
list-style: none none;
margin: 0;
}
}


.plainlist ol li,
.hatnote i {
.plainlist ul li {
font-style: normal;
margin-bottom: 0;
}
}


/* Infobox template style */
div.hatnote {
.infobox {
padding-left: 1.6em;
border: 1px solid #a2a9b1;
margin-bottom: 0.5em;
border-spacing: 3px;
background-color: #f8f9fa;
color: black;
/* @noflip */
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
/* @noflip */
float: right;
/* @noflip */
clear: right;
font-size: 88%;
line-height: 1.5em;
width: 22em;
}
}


.infobox-header,
div.hatnote + div.hatnote {
.infobox-label,
margin-top: -0.5em;
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
vertical-align: top;
}
}


.infobox-label,
/* [[Template:Layered blueprint]] */
.infobox-data,
@-webkit-keyframes layered-blueprint-fade-in {
/* Remove element selector when every .infobox thing is using the standard module/templates  */
0% {
.infobox th,
opacity: 0;
.infobox td {
visibility: hidden;
/* @noflip */
}
text-align: left;
100% {
opacity: 1;
visibility: visible;
}
}
}


/* Remove .infobox when element selectors above are removed */
@keyframes layered-blueprint-fade-in {
.infobox .infobox-above,
0% {
.infobox .infobox-title,
opacity: 0;
/* Remove element selector when every .infobox thing is using the standard module/templates  */
visibility: hidden;
.infobox caption {
}
font-size: 125%;
100% {
font-weight: bold;
opacity: 1;
text-align: center;
visibility: visible;
}
}
}


.infobox-title,
.layered-blueprint-layer {
/* Remove element selector when every .infobox thing is using the standard module/templates  */
-webkit-animation: layered-blueprint-fade-in 200ms;
.infobox caption {
animation: layered-blueprint-fade-in 200ms;
padding: 0.2em;
}
}


/* Remove .infobox when element selectors above are removed */
@-webkit-keyframes layered-blueprint-fade-out {
.infobox .infobox-header,
0% {
.infobox .infobox-subheader,
opacity: 1;
.infobox .infobox-image,
visibility: visible;
.infobox .infobox-full-data,
}
.infobox .infobox-below {
100% {
text-align: center;
opacity: 0;
visibility: hidden;
}
}
}


/* Remove .infobox when element selectors above are removed */
@keyframes layered-blueprint-fade-out {
.infobox .infobox-navbar {
0% {
/* @noflip */
opacity: 1;
text-align: right;
visibility: visible;
}
100% {
opacity: 0;
visibility: hidden;
}
}
}


/* Normal font styling for wikitable row headers with scope="row" tag */
.layered-blueprint-radio:checked + .layered-blueprint-tab + .layered-blueprint-layer ~ .layered-blueprint-layer {
.wikitable.plainrowheaders th[scope=row],
-webkit-animation: layered-blueprint-fade-out 200ms;
.wikitable.plainrowheaders th[scope=rowgroup] {
animation: layered-blueprint-fade-out 200ms;
font-weight: normal;
/* @noflip */
text-align: left;
}
}


/* ambox/tmbox/imbox/cmbox/ombox/fmbox message boxes */
/* [[Template:YouTube]] */
th.mbox-text,
.youtube-video {
td.mbox-text {   /* The message body cell(s) */
display: block;
border: none;
/* @noflip */
padding: 0.25em 0.9em;    /* 0.9em left/right */
width: 100%;              /* Make all mboxes the same width regardless of text length */
}
}


td.mbox-image {                /* The left image cell */
/* Prevent page jump from the toolbar loading */
border: none;
.client-js #editform {
/* @noflip */
/* To disable margin collapsing */
padding: 2px 0 2px 0.9em;  /* 0.9em left, 0px right */
overflow: hidden;
text-align: center;
}
}


td.mbox-imageright {           /* The right image cell */
.client-js .mw-editform > #wpTextbox1 {
border: none;
    margin-top: 73px;
/* @noflip */
padding: 2px 0.9em 2px 0;  /* 0px left, 0.9em right */
text-align: center;
}
}


td.mbox-empty-cell {           /* An empty narrow cell */
.wikiEditor-ui-toolbar .tabs span.tab a:before {
border: none;
filter: invert(1);
padding: 0;
width: 1px;
}
}


/* Article message box styles */
/* Alternating cell background */
table.ambox {
.alternatecells:nth-child(odd) {
margin: 0 10%;                  /* 10% = Will not overlap with other elements */
background-color: #F9F9F9;
border: 1px solid #a2a9b1;
/* @noflip */
border-left: 10px solid #36c;  /* Default "notice" blue */
background-color: #fbfbfb;
box-sizing: border-box;
}
}
 
body.wgl-theme-dark .alternatecells:nth-child(odd) {
/* Single border between stacked boxes. */
background-color: #222;
table.ambox + table.ambox,
table.ambox + .mw-empty-elt + table.ambox {
margin-top: -1px;
}
}


.ambox th.mbox-text,
/* Alternating table rows, primarily used with [[Template:Infobox row]] */
.ambox td.mbox-text {            /* The message body cell(s) */
.alternaterows tr:nth-child(even),
padding: 0.25em 0.5em;       /* 0.5em left/right */
.infobox-rows tr:nth-child(even) {
background-color: #F9F9F9;
}
}
 
body.wgl-theme-dark .alternaterows tr:nth-child(even),
.ambox td.mbox-image {           /* The left image cell */
body.wgl-theme-dark .infobox-rows tr:nth-child(even) {
/* @noflip */
background-color: #222;
padding: 2px 0 2px 0.5em;   /* 0.5em left, 0px right */
}
}


.ambox td.mbox-imageright {      /* The right image cell */
/* Scale file page image to the width of the page */
/* @noflip */
#file img {
padding: 2px 0.5em 2px 0;   /* 0px left, 0.5em right */
max-width: 100%;
height: auto;
}
}


table.ambox-notice {
/* Highlight clicked reference in blue to help navigation */
/* @noflip */
ol.references li:target,
border-left: 10px solid #36c;       /* Blue */
sup.reference:target,
span.citation:target {
background-color: #C1DAF2;
}
}


table.ambox-speedy {
/* Style the sitenotice */
/* @noflip */
#siteNotice #localNotice,
border-left: 10px solid #b32424;    /* Red */
#siteNotice .globalNotice,
background-color: #fee7e6;         /* Pink */
.page-MediaWiki_Sitenotice .mw-content-ltr .mw-parser-output {
margin-bottom: 24px;
}
}


table.ambox-delete {
/* Allow parts of toc to be hidden */
/* @noflip */
/* Section levels */
border-left: 10px solid #b32424;   /* Red */
.toc-hidelevel2 .toclevel-1 ul,
.toc-hidelevel3 .toclevel-2 ul,
.toc-hidelevel4 .toclevel-3 ul,
/* Numbers */
.toc-nonumbers .tocnumber {
display: none;
}
}


table.ambox-content {
/* Adjust styles for small screens */
/* @noflip */
@media (max-width: 500px) {
border-left: 10px solid #f28500;   /* Orange */
#content div.thumb {
float: none;
}
}
}


table.ambox-style {
/* Simulate link styling for JS only links */
/* @noflip */
.jslink {
border-left: 10px solid #fc3;       /* Yellow */
color: #0645AD;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
}


table.ambox-move {
.jslink:hover {
/* @noflip */
text-decoration: underline;
border-left: 10px solid #9932cc;   /* Purple */
cursor: pointer;
}
}


table.ambox-protection {
.jslink:active {
/* @noflip */
color: #FAA700;
border-left: 10px solid #a2a9b1;    /* Gray-gold */
}
 
/* Image message box styles */
table.imbox {
margin: 4px 10%;
border-collapse: collapse;
border: 3px solid #36c;    /* Default "notice" blue */
background-color: #fbfbfb;
box-sizing: border-box;
}
 
.imbox .mbox-text .imbox {  /* For imboxes inside imbox-text cells. */
margin: 0 -0.5em;      /* 0.9 - 0.5 = 0.4em left/right.        */
display: block;        /* Fix for webkit to force 100% width.  */
}
 
.mbox-inside .imbox {      /* For imboxes inside other templates.  */
margin: 4px;
}
 
table.imbox-notice {
border: 3px solid #36c;      /* Blue */
}
 
table.imbox-speedy {
border: 3px solid #b32424;    /* Red */
background-color: #fee7e6;    /* Pink */
}
 
table.imbox-delete {
border: 3px solid #b32424;    /* Red */
}
 
table.imbox-content {
border: 3px solid #f28500;    /* Orange */
}
 
table.imbox-style {
border: 3px solid #fc3;      /* Yellow */
}
 
table.imbox-move {
border: 3px solid #9932cc;    /* Purple */
}
 
table.imbox-protection {
border: 3px solid #a2a9b1;    /* Gray-gold */
}
 
table.imbox-license {
border: 3px solid #88a;      /* Dark gray */
background-color: #f7f8ff;    /* Light gray */
}
 
table.imbox-featured {
border: 3px solid #cba135;    /* Brown-gold */
}
 
/* Category message box styles */
table.cmbox {
margin: 3px 10%;
border-collapse: collapse;
border: 1px solid #a2a9b1;
background-color: #dfe8ff;    /* Default "notice" blue */
box-sizing: border-box;
}
 
table.cmbox-notice {
background-color: #d8e8ff;    /* Blue */
}
 
table.cmbox-speedy {
margin-top: 4px;
margin-bottom: 4px;
border: 4px solid #b32424;    /* Red */
background-color: #ffdbdb;    /* Pink */
}
 
table.cmbox-delete {
background-color: #ffdbdb;    /* Pink */
}
 
table.cmbox-content {
background-color: #ffe7ce;    /* Orange */
}
 
table.cmbox-style {
background-color: #fff9db;    /* Yellow */
}
 
table.cmbox-move {
background-color: #e4d8ff;    /* Purple */
}
 
table.cmbox-protection {
background-color: #efefe1;    /* Gray-gold */
}
 
/* Other pages message box styles */
table.ombox {
margin: 4px 10%;
border-collapse: collapse;
border: 1px solid #a2a9b1;    /* Default "notice" gray */
background-color: #f8f9fa;
box-sizing: border-box;
}
 
table.ombox-notice {
border: 1px solid #a2a9b1;   /* Gray */
}
}


table.ombox-speedy {
/* Try to use nearest neighbour scaling for pixelated images */
border: 2px solid #b32424;   /* Red */
.filehistory a img,
background-color: #fee7e6;   /* Pink */
.pixel-image,
.invslot-item-image,
.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;
}
}


table.ombox-delete {
/* Add [[File:Mojang logo.svg]] to known Mojang employee userlinks */
border: 2px solid #b32424;    /* Red */
.mw-userlink[href="/w/User:Dinnerbone-gpuser"], .mw-userlink[href="/w/User:Dinnerbone-gpuser?action=edit&redlink=1"],
}
.mw-userlink[href="/w/User:Jeb_mojang"], .mw-userlink[href="/w/User:Jeb_mojang?action=edit&redlink=1"],
.mw-userlink[href="/w/User:MidnightEnforcer"], .mw-userlink[href="/w/User:MidnightEnforcer?action=edit&redlink=1"],
.mw-userlink[href="/w/User:Minecraft_Staff"], .mw-userlink[href="/w/User:Minecraft_Staff?action=edit&redlink=1"],
.mw-userlink[href="/w/User:Mojang_tommo"], .mw-userlink[href="/w/User:Mojang_tommo?action=edit&redlink=1"],
.mw-userlink[href="/w/User:Slicedlime"], .mw-userlink[href="/w/User:Slicedlime?action=edit&redlink=1"],
.mw-userlink[href="/w/User:Jocopa3"], .mw-userlink[href="/w/User:Jocopa3?action=edit&redlink=1"],
.mw-userlink[href="/w/User:IP_Justice"], .mw-userlink[href="/w/User:IP_Justice?action=edit&redlink=1"],
.mw-userlink[href="/w/User:Cornerhard"], .mw-userlink[href="/w/User:Cornerhard?action=edit&redlink=1"],
.mw-userlink[href="/w/User:CornerHard"], .mw-userlink[href="/w/User:CornerHard?action=edit&redlink=1"],


table.ombox-content {
/* legacy/deleted */
border: 1px solid #f28500;   /* Orange */
.mw-userlink[href="/w/User:MidnightEnforcer43458@legacy41488102"], .mw-userlink[href="/w/User:MidnightEnforcer43458@legacy41488102?action=edit&redlink=1"],
/* previously User:Jonkagstrom47437 */
.mw-userlink[href="/w/User:@DeletedUser40286849"], .mw-userlink[href="/w/User:@DeletedUser40286849?action=edit&redlink=1"],
/* previously User:shoghicp */
.mw-userlink[href="/w/User:@DeletedUser40317681"], .mw-userlink[href="/w/User:@DeletedUser40317681?action=edit&redlink=1"] {
padding-left: 17px;
background: url('filepath://Mojang_logo.svg') no-repeat left center;
background-size: 14px 14px;
}
}


table.ombox-style {
/* Add [[File:Grass Block JE7 BE6.png]] to known Minecraft/Mojang-related contractor employee userlinks */
border: 1px solid #fc3;       /* Yellow */
.mw-userlink[href="/w/User:C418bla"], .mw-userlink[href="/w/User:C418bla?action=edit&redlink=1"] {
padding-left: 17px;
background: url('filepath://Grass_Block_JE7_BE6.png') no-repeat left center;
background-size: 14px 14px;
}
}


table.ombox-move {
/* Add [[File:Gray Mojang Thing.png]] to known ex-Mojang employee userlinks */
border: 1px solid #9932cc;   /* Purple */
.mw-userlink[href="/w/User:EvilSeph"], .mw-userlink[href="/w/User:EvilSeph?action=edit&redlink=1"],
.mw-userlink[href="/w/User:ExcitedZe"], .mw-userlink[href="/w/User:ExcitedZe?action=edit&redlink=1"],
.mw-userlink[href="/w/User:Neon_Master"], .mw-userlink[href="/w/User:Neon_Master?action=edit&redlink=1"],
.mw-userlink[href="/w/User:RazzleberryFox"], .mw-userlink[href="/w/User:RazzleberryFox?action=edit&redlink=1"],
.mw-userlink[href="/w/User:Tahg"], .mw-userlink[href="/w/User:Tahg?action=edit&redlink=1"],
.mw-userlink[href="/w/User:Tamerjeison"], .mw-userlink[href="/w/User:Tamerjeison?action=edit&redlink=1"],
.mw-userlink[href="/w/User:HelenAngel"], .mw-userlink[href="/w/User:HelenAngel?action=edit&redlink=1"],
/* previously User:ProfMobius */
.mw-userlink[href="/w/User:@DeletedUser40549330"], .mw-userlink[href="/w/User:@DeletedUser40549330?action=edit&redlink=1"] {
padding-left: 17px;
background: url('filepath://Gray_Mojang_Thing.png') no-repeat left center;
}
}


table.ombox-protection {
/* Make external links the same colour as internal links, the icon is enough to differentiate them */
border: 2px solid #a2a9b1;   /* Gray-gold */
.mw-body a.external {
color: #0645ad;
}
}


/* Talk page message box styles */
.mw-body a.external:visited {
table.tmbox {
color: #0b0080;
margin: 4px 10%;
border-collapse: collapse;
border: 1px solid #c0c090;    /* Default "notice" gray-brown */
background-color: #f8eaba;
min-width: 80%;
box-sizing: border-box;
}
}


.tmbox.mbox-small {
.mw-body a.external:active {
min-width: 0;               /* reset the min-width of tmbox above        */
color: #faa700;
}
}


.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */
/* Make tabs the correct size */
margin: 2px 0;               /* this declaration overrides other styles (including mbox-small above)  */
body {
width: 100%;                 /* For Safari and Opera */
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
}
}
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when  */
line-height: 1.5em;          /* also "nested", so reset styles that are  */
font-size: 100%;            /* set in "mbox-small" above.                */
}
table.tmbox-speedy {
border: 2px solid #b32424;    /* Red */
background-color: #fee7e6;    /* Pink */
}
table.tmbox-delete {
border: 2px solid #b32424;    /* Red */
}
table.tmbox-content {
border: 2px solid #f28500;    /* Orange */
}
table.tmbox-style {
border: 2px solid #fc3;      /* Yellow */
}
table.tmbox-move {
border: 2px solid #9932cc;    /* Purple */
}
table.tmbox-protection,
table.tmbox-notice {
border: 1px solid #c0c090;    /* Gray-brown */
}
/* Footer and header message box styles */
table.fmbox {
clear: both;
margin: 0.2em 0;
width: 100%;
border: 1px solid #a2a9b1;
background-color: #f8f9fa;    /* Default "system" gray */
box-sizing: border-box;
}
table.fmbox-system {
background-color: #f8f9fa;
}
table.fmbox-warning {
border: 1px solid #bb7070;  /* Dark pink */
background-color: #ffdbdb;  /* Pink */
}
table.fmbox-editnotice {
background-color: transparent;
}
/* These mbox-small classes must be placed after all other
  ambox/tmbox/ombox etc classes. "html body.mediawiki" is so
  they override "table.ambox + table.ambox" above. */
html body.mediawiki .mbox-small {  /* For the "small=yes" option. */
/* @noflip */
clear: right;
/* @noflip */
float: right;
/* @noflip */
margin: 4px 0 4px 1em;
box-sizing: border-box;
width: 238px;
font-size: 88%;
line-height: 1.25em;
}
html body.mediawiki .mbox-small-left {  /* For the "small=left" option. */
/* @noflip */
margin: 4px 1em 4px 0;
box-sizing: border-box;
overflow: hidden;
width: 238px;
border-collapse: collapse;
font-size: 88%;
line-height: 1.25em;
}
/* Remove underlines from certain links */
.nounderlines a,
.IPA a:link,
.IPA a:visited {
text-decoration: none !important;
}
/* Prevent line breaks in silly places where desired (nowrap)
  and links when we don't want them to (nowraplinks a) */
.nowrap,
.nowraplinks a {
white-space: nowrap;
}
/* But allow wrapping where desired: */
.wrap,
.wraplinks a {
white-space: normal;
}
/* Simulate link styling for JS only links */
.jslink {
color: #0645AD;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.jslink:hover {
text-decoration: underline;
cursor: pointer;
}
.jslink:active {
color: #FAA700;
}


/* Classes corresponding to Minecraft formatting codes */
/* Classes corresponding to Minecraft formatting codes */
Line 945: Line 501:
bottom: 0.125em;
bottom: 0.125em;
left: -0.125em;
left: -0.125em;
border: 0.125em solid #100010;
border: 0.15em solid #100010;
border-style: none solid;
border-style: none solid;
border-color: rgba(16, 0, 16, 0.94);
border-color: rgba(16, 0, 16, 0.94);
Line 966: Line 522:
display: block;
display: block;
margin-top: 0.25em;
margin-top: 0.25em;
}
/* prevent sitenotice show/hide toggle from moving page contents down after pageload */
.globalNotice .globalNoticeDismiss {
float: right;
}
/* Prevent "Other Review Tools" from showing up at the top of Special:RecentChanges */
.mw-rcfilters-ui-rcTopSectionWidget-topLinks-table {
display: none;
}
/* Style code, pre and similar elements/classes with one common styling */
@media screen {
pre, code, .mw-code {
background-color: #F8F9FA;
color: #000;
border: 1px solid #BBC2C6;
}
}
kbd, .kbd-color {
text-shadow: 0 1px 0 #FFF;
background-color: #F8F9FA;
color: #222;
box-shadow: 0 1px rgba(0,0,0,0.2), 0 0 0 2px #FFF inset;
border-color: #BBC2C6;
font-size: smaller;
}
/* Fixes for small screens */
@media screen and (max-width: 720px) {
#mw-head {
top: 13px;
}
div#mw-navigation div#mw-panel {
position: static !important; /* position: relative may be added to inline styles by built-in JS after page load; it needs an !important to override */
}
}
@media screen and (max-width: 500px) {
/* TOC fix */
#mw-content-text > .mw-parser-output > div[style*="float"] {
float: none !important;
margin: 0 !important;
}
}
/* presumable Discord link on comportal */
.CPDiscord {
float: right;
margin-left: 1em;
clear: right;
}
}


Line 980: Line 590:
}
}


/* Selectively hide headers in WikiProject banners */
/* Machine-readable extra template information */
/* TemplateStyles */
.history-json, .chest-json, .chestcontents-json, .sound-json, .spawntable-json, .advancements-json, .achievements-json {
.wpb .wpb-header {
display: none;
display: none;
}
}


.wpbs-inner .wpb .wpb-header {
.mw-references-columns {
display: table-row;
overflow-wrap: break-word;
}
 
.wpbs-inner .wpb-outside {
display: none;            /* hide things that should only display outside shells */
}
 
/* texhtml class for inline math (based on generic times-serif class) */
span.texhtml {
font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
font-size: 118%;
line-height: 1;
white-space: nowrap;
/* Force tabular and lining display for texhtml */
-webkit-font-feature-settings: "lnum", "tnum", "kern" 0;
font-feature-settings: "lnum", "tnum", "kern" 0;
font-variant-numeric: lining-nums tabular-nums;
font-kerning: none;
}
 
span.texhtml span.texhtml {
font-size: 100%;
}
}
@media screen {
.nochecker .gallerybox .thumb img {
background-image: none;
}
}
/* Put anything you mean to be a sitewide addition above the TemplateStyles
* comment above.
*/

Navigation menu