MediaWiki:Common.css: Difference between revisions
MusikAnimal (talk | contribs) (hide Cargo querying interface) |
MusikAnimal (talk | contribs) No edit summary |
||
(17 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* HACK until we get the reply tool working */ | |||
/*.ext-discussiontools-init-replybutton,*/ | |||
/*.ext-discussiontools-init-replylink-buttons {*/ | |||
/* display: none !important;*/ | |||
/*}*/ | |||
.mobile-only { | .mobile-only { | ||
display: none; | display: none; | ||
} | |||
/* Hide stuff meant for accounts with special permissions. Made visible again in | |||
[[MediaWiki:Group-[groupname].css]] */ | |||
.sysop-show, | |||
.autopatrolled-show, | |||
.autoconfirmed-show, | |||
.user-show { | |||
display: none; | |||
} | |||
.non-sysop-show { | |||
display: block; | |||
} | } | ||
Line 262: | Line 280: | ||
/*** SIDE BAR ***/ | /*** SIDE BAR ***/ | ||
.vector-main-menu-action-opt-out { | |||
display: none; | |||
} | |||
#p-navigation { | #p-navigation { | ||
font-size: 105%; | font-size: 105%; | ||
Line 268: | Line 289: | ||
height: 28px; | height: 28px; | ||
padding: 0; | padding: 0; | ||
} | |||
#p-navigation li > a, | |||
#p-for-editors li > a { | |||
display: inline-block !important; | |||
} | } | ||
#p-navigation li::before, | #p-navigation li::before, | ||
Line 273: | Line 298: | ||
display: inline-block; | display: inline-block; | ||
height: 20px; | height: 20px; | ||
margin-right: | margin-left: 12px; | ||
margin-right: -4px; | |||
vertical-align: middle; | vertical-align: middle; | ||
width: 18px; | width: 18px; | ||
} | |||
#vector-main-menu-pinned-container #p-navigation li::before, | |||
#vector-main-menu-pinned-container #p-for-editors li::before { | |||
margin-left: 0; | |||
margin-right: 8px; | |||
} | } | ||
#n-mainpage-description::before { | #n-mainpage-description::before { | ||
Line 362: | Line 393: | ||
position: absolute; | position: absolute; | ||
right: 10px; | right: 10px; | ||
top: | top: 22px; | ||
} | } | ||
Line 395: | Line 426: | ||
/* Cargo styles */ | /* Cargo styles */ | ||
.specialCargoQuery-extraPane-toggle { | .specialCargoQuery-extraPane-toggle.oo-ui-buttonElement-button, | ||
.specialCargoQuery-extraPane { | |||
display: none; | display: none; | ||
} | } | ||
Line 422: | Line 454: | ||
font-size:150%; | font-size:150%; | ||
font-style:italic; | font-style:italic; | ||
} | |||
/* Strip out margins in page notices in the VE flyout */ | |||
.ve-active .mw-parser-output .ambox { | |||
margin: 0; | |||
} | } |
Latest revision as of 04:06, 27 December 2023
/* CSS placed here will be applied to all skins */
/* HACK until we get the reply tool working */
/*.ext-discussiontools-init-replybutton,*/
/*.ext-discussiontools-init-replylink-buttons {*/
/* display: none !important;*/
/*}*/
.mobile-only {
display: none;
}
/* Hide stuff meant for accounts with special permissions. Made visible again in
[[MediaWiki:Group-[groupname].css]] */
.sysop-show,
.autopatrolled-show,
.autoconfirmed-show,
.user-show {
display: none;
}
.non-sysop-show {
display: block;
}
/* Styling for JQuery makeCollapsible, matching that of collapseButton */
.mw-parser-output .mw-collapsible-toggle {
font-weight: normal;
/* @noflip */
text-align: right;
padding-right: 0.2em;
padding-left: 0.2em;
}
.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
/* @noflip */
float: left;
/* @noflip */
text-align: left;
}
/* Style for horizontal lists (separator following item).
@source mediawiki.org/wiki/Snippets/Horizontal_lists
@revision 8 (2016-05-21)
@author [[User:Edokter]]
*/
.hlist dl,
.hlist ol,
.hlist ul {
margin: 0;
padding: 0;
}
/* Display list items inline */
.hlist dd,
.hlist dt,
.hlist li {
margin: 0;
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 differd in
* the Minerva skin. Remember .hlist is a class 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,
.plainlist ul li {
margin-bottom: 0;
}
/* Default style for navigation boxes */
.navbox { /* Navbox container style */
box-sizing: border-box;
border: 1px solid #a2a9b1;
width: 100%;
clear: both;
font-size: 88%;
text-align: center;
padding: 1px;
margin: 1em auto 0; /* Prevent preceding content from clinging to navboxes */
}
.navbox .navbox {
margin-top: 0; /* No top margin for nested navboxes */
}
.navbox + .navbox {
margin-top: -1px; /* Single pixel border between adjacent navboxes */
}
.navbox-inner,
.navbox-subgroup {
width: 100%;
}
.navbox-group,
.navbox-title,
.navbox-abovebelow {
padding: 0.25em 1em; /* Title, group and above/below styles */
line-height: 1.5em;
text-align: center;
}
th.navbox-group { /* Group style */
white-space: nowrap;
/* @noflip */
text-align: right;
}
.navbox,
.navbox-subgroup {
background-color: #fdfdfd; /* Background color */
}
.navbox-list {
line-height: 1.5em;
border-color: #fdfdfd; /* Must match background color */
}
/* cell spacing for navbox cells */
tr + tr > .navbox-abovebelow,
tr + tr > .navbox-group,
tr + tr > .navbox-image,
tr + tr > .navbox-list { /* Borders above 2nd, 3rd, etc. rows */
border-top: 2px solid #fdfdfd; /* Must match background color */
}
.navbox th,
.navbox-title {
background-color: #ccccff; /* Level 1 color */
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
background-color: #ddddff; /* Level 2 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
background-color: #e6e6ff; /* Level 3 color */
}
.navbox-even {
background-color: #f7f7f7; /* Even row striping */
}
.navbox-odd {
background-color: transparent; /* Odd row striping */
}
.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
padding: 0.125em 0; /* Adjust hlist padding in navboxes */
}
/* Default styling for Navbar template */
.navbar {
display: inline;
font-size: 88%;
font-weight: normal;
}
.navbar ul {
display: inline-block;
white-space: nowrap;
}
.mw-body-content .navbar ul {
line-height: inherit;
}
.navbar li {
word-spacing: -0.125em;
}
.navbar.mini li abbr[title] {
font-variant: small-caps;
border-bottom: none;
text-decoration: none;
cursor: inherit;
}
/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
font-size: 100%;
}
.navbox .navbar {
display: block;
font-size: 100%;
}
.navbox-title .navbar {
/* @noflip */
float: left;
/* @noflip */
text-align: left;
/* @noflip */
margin-right: 0.5em;
}
/* Hatnotes and disambiguation notices */
.hatnote {
font-style: italic;
}
.hatnote i {
font-style: normal;
}
div.hatnote {
/* @noflip */
padding-left: 1.6em;
margin-bottom: 0.5em;
}
div.hatnote + div.hatnote {
margin-top: -0.5em;
}
.mw-hidden-catlinks {
margin-top: 10px;
}
.tlheader {
font-weight: bold;
margin-top: 10px;
}
.page-Pumpkin_Patch #ca-talk {
display: none;
}
.page-Main_Page #mwe-lastmodified {
display: none;
}
/*** SIDE BAR ***/
.vector-main-menu-action-opt-out {
display: none;
}
#p-navigation {
font-size: 105%;
}
#mw-panel .portal .body li {
height: 28px;
padding: 0;
}
#p-navigation li > a,
#p-for-editors li > a {
display: inline-block !important;
}
#p-navigation li::before,
#p-for-editors li::before {
display: inline-block;
height: 20px;
margin-left: 12px;
margin-right: -4px;
vertical-align: middle;
width: 18px;
}
#vector-main-menu-pinned-container #p-navigation li::before,
#vector-main-menu-pinned-container #p-for-editors li::before {
margin-left: 0;
margin-right: 8px;
}
#n-mainpage-description::before {
content: url(https://upload.wikimedia.org/wikipedia/commons/b/ba/Font_Awesome_5_solid_home.svg);
}
#n-discography-description::before {
content: url(https://upload.wikimedia.org/wikipedia/commons/b/b3/Font_Awesome_5_solid_compact-disc.svg);
}
#n-sessions-description::before {
bottom: 2px;
content: url(https://upload.wikimedia.org/wikipedia/commons/4/40/Font_Awesome_5_solid_microphone-alt.svg);
left: 1px;
position: relative;
width: 16px !important;
}
#n-tour-history-description::before {
content: url(https://upload.wikimedia.org/wikipedia/commons/2/23/Font_Awesome_5_solid_globe-americas.svg);
}
#n-randomsong::before {
content: url(https://upload.wikimedia.org/wikipedia/commons/a/a4/Font_Awesome_5_solid_random.svg);
}
#n-randomalbum::before {
content: url(https://upload.wikimedia.org/wikipedia/commons/a/a4/Font_Awesome_5_solid_random.svg);
}
#n-randomshow::before {
content: url(https://upload.wikimedia.org/wikipedia/commons/a/a4/Font_Awesome_5_solid_random.svg);
}
#n-categories::before {
content: url(https://upload.wikimedia.org/wikipedia/commons/b/b2/Font_Awesome_5_solid_list-ul.svg);
}
#n-browse-database::before {
content: url(https://upload.wikimedia.org/wikipedia/commons/8/84/Font_Awesome_5_solid_database.svg);
height: 19px !important;
width: 17px !important;
}
#n-pumpkinpatch-description::before {
content: url(https://upload.wikimedia.org/wikipedia/commons/8/86/Font_Awesome_5_solid_comments.svg);
}
#n-faq-description::before {
content: url(https://upload.wikimedia.org/wikipedia/commons/0/07/Font_Awesome_5_solid_question-circle.svg);
}
#p-tb {
display: none;
}
#n-Guidelines {
margin-top: 3px !important;
}
#n-Guidelines::before {
content: url(https://upload.wikimedia.org/wikipedia/commons/4/4a/Font_Awesome_5_solid_book.svg);
left: 1px;
position: relative;
width: 17px !important;
}
#n-to-do-list::before {
content: url(https://upload.wikimedia.org/wikipedia/commons/6/68/Font_Awesome_5_solid_tasks.svg);
}
#n-Upload-file::before {
content: url(https://upload.wikimedia.org/wikipedia/commons/c/c1/Font_Awesome_5_solid_upload.svg);
}
#n-recentchanges::before {
content: url(https://upload.wikimedia.org/wikipedia/commons/2/23/Font_Awesome_5_solid_clock.svg);
}
#n-Whatlinkshere::before {
content: url(https://upload.wikimedia.org/wikipedia/commons/1/1b/Font_Awesome_5_solid_link.svg);
}
#n-Upload::before {
content: url(https://upload.wikimedia.org/wikipedia/commons/c/c1/Font_Awesome_5_solid_upload.svg);
}
#n-Specialpages::before {
content: url(https://upload.wikimedia.org/wikipedia/commons/8/83/Font_Awesome_5_solid_file-alt.svg);
height: 20px !important;
left: 1px;
position: relative;
top: -1px;
width: 16px !important;
}
#n-help-mediawiki::before {
content: url(https://upload.wikimedia.org/wikipedia/commons/0/07/Font_Awesome_5_solid_question-circle.svg);
}
/*#n-pageinfo::before {*/
/* content: url(https://upload.wikimedia.org/wikipedia/commons/c/c6/Font_Awesome_5_solid_info-circle.svg);*/
/*}*/
.page-Main_Page .social-buttons {
display: inline-block;
position: absolute;
right: 10px;
top: 22px;
}
/** GALLERY **/
ul.gallery {
margin-left: 0 !important;
}
/** LIVE SHOW ROWS (can't use TemplateStyle here because we link to Special:CargoQuery) **/
.live-show-row-icon {
background-position: center;
background-repeat: no-repeat;
display: inline-block;
margin-left: 3px;
opacity: 0.6;
}
li .live-show-row-icon:last-of-type {
margin-right: 3px;
}
.live-show-row-video {
background-image: url(https://upload.wikimedia.org/wikipedia/commons/8/82/Font_Awesome_5_regular_video.svg);
height: 22px;
vertical-align: -6px;
width: 18px;
}
.live-show-row-photos {
background-image: url(https://upload.wikimedia.org/wikipedia/commons/a/a3/Font_Awesome_5_solid_images.svg);
height: 22px;
vertical-align: -6px;
width: 18px;
}
/* Cargo styles */
.specialCargoQuery-extraPane-toggle.oo-ui-buttonElement-button,
.specialCargoQuery-extraPane {
display: none;
}
/* Guitar tablurature */
.ns-3000 .mw-parser-output pre {
overflow-x: auto;
white-space: pre;
}
.nowrap,
.nowraplinks a {
white-space: nowrap;
}
/** QuestyCaptcha styles */
.htmlform-tip + .mw-htmlform-field-HTMLInfoField {
color:red;
}
.htmlform-tip + .mw-htmlform-field-HTMLInfoField .mw-input {
font-weight: bold;
}
label[for=wpCaptchaWord] {
color:green;
font-weight:bold;
font-size:150%;
font-style:italic;
}
/* Strip out margins in page notices in the VE flyout */
.ve-active .mw-parser-output .ambox {
margin: 0;
}