MediaWiki:Common.css

From No Subject
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* ====================================================================== */
/* NO SUBJECT: MEDIAWIKI COMMON.CSS                                       */
/* Revised: Jan 2026                                                      */
/* ====================================================================== */

/* ---------------------------------------------------------------------- */
/* 1. GENERAL SITE INTERFACE & TYPOGRAPHY                                 */
/* ---------------------------------------------------------------------- */

/* Remove tagline (Site Subtitle) */
/* https://www.mediawiki.org/wiki/Manual:Tagline_(Site_Subtitle) */
body.page-Main_Page.action-view #siteSub, 
body.page-Main_Page.action-submit #siteSub { 
    display: none; 
}

/* Global font size adjustment */
body { 
    font-size: larger; 
}

/* Display "From Wikipedia..." in skins that support it (screen only) */
@media screen {
	#siteSub {
		display: block;
	}
}

/* ---------------------------------------------------------------------- */
/* 2. CUSTOM AUDIO PLAYER & LAYOUT WRAPPERS                               */
/* ---------------------------------------------------------------------- */

/* Media Element styles */
.mejs-list li:hover {
    background: red; /* Fixed invalid #red */
    cursor: pointer;
}

.mejs-list li.current {
    background: #cddfff;
}

.mejs-container {
    margin-left: auto;
    margin-right: auto;
}

/* Main Content Wrapper */
#wrapper {
    width: 100%;
    max-width: 410px; /* Responsive fix */
    margin: 50px auto 0 auto;
    padding: 15px;
    box-sizing: border-box; /* Ensures padding doesn't widen the box */
    
    -webkit-box-shadow: 0px 1px 71px 15px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 1px 71px 15px rgba(0,0,0,0.75);
    box-shadow: 0px 1px 71px 15px rgba(0,0,0,0.75);
}

/* Audio Player Wrapper (Primary) */
#playwrap {
    width: 100%;
    max-width: 410px; /* Responsive fix */
    margin: 20px auto 0 auto;
    padding: 5px;
    text-align: center; /* Fixed invalid align:center */
    box-sizing: border-box;

    -webkit-box-shadow: 0px 1px 31px 10px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 1px 31px 10px rgba(0,0,0,0.75);
    box-shadow: 0px 1px 31px 10px rgba(0,0,0,0.75);
}

/* Audio Player Wrapper (Secondary/Inner) */
#playwrap2 {
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
    text-align: center;
    padding: 5px;
}

/* ---------------------------------------------------------------------- */
/* 3. DOWNLOAD & UTILITY CLASSES                                          */
/* ---------------------------------------------------------------------- */

.download, 
span.download, 
div.download, 
#download {
	text-align: center;
	font-size: 180%;
	line-height: 1.6em;
	font-weight: bold;
}

/* ---------------------------------------------------------------------- */
/* 4. INFOBOXES (STANDARD & LEGACY)                                       */
/* ---------------------------------------------------------------------- */

/* Standard Infobox */
.infobox {
	border: 1px solid #a2a9b1;
	border-spacing: 3px;
	margin-bottom: 0.5em;
	margin-left: 1em;
	color: black;
	margin: 0 0 1em 1em; /* @noflip */
	padding: 0.2em;
	float: right; /* @noflip */
	clear: right; /* @noflip */
	font-size: 120%;
	width: 400px;
	line-height: 2.0em;
}

.infobox-title {
    font-size: 2em;
    text-align: center;
}
.infobox-image {
    text-align: center;
}
.infobox th {
    text-align: left;
    vertical-align: top;
    width: 120px;
}
.infobox td {
    vertical-align: top;
    text-align: left;
}

.infobox caption {
	font-size: 125%;
	font-weight: bold;
	padding: 0.2em;
	text-align: center;
}

.infobox.bordered {
	border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
	border: 1px solid #a2a9b1;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
	border: 0;
}

.infobox.sisterproject {
	width: 20em;
	font-size: 90%;
}

.infobox.standard-talk {
	border: 1px solid #c0c090;
	background-color: #f8eaba;
}
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
	border: 1px solid #c0c090;
}

/* Bordered infobox merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
	border: 0;
	border-top: 1px solid #a2a9b1;
	border-right: 1px solid #a2a9b1; /* @noflip */
}

.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
	border: 0;
	border-right: 1px solid #a2a9b1; /* @noflip */
}

/* Geography Infoboxes */
.infobox.geography {
	border-collapse: collapse;
	line-height: 1.2em;
	font-size: 90%;
}

.infobox.geography td,
.infobox.geography th {
	border-top: 1px solid #a2a9b1;
	padding: 0.4em 0.6em 0.4em 0.6em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
	border-top: 1px solid #a2a9b1;
	padding: 0.4em 0.6em 0.2em 0.6em;
}
.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
	border: 0;
	padding: 0 0.6em 0.2em 0.6em;
}
.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
	border-top: 0;
	border-bottom: 1px solid #a2a9b1;
	padding: 0 0.6em 0.4em 0.6em;
}
.infobox.geography .maptable td,
.infobox.geography .maptable th {
	border: 0;
	padding: 0;
}

/* ---------------------------------------------------------------------- */
/* 5. NAVIGATION FRAMES (COLLAPSIBLE BOXES)                               */
/* ---------------------------------------------------------------------- */

div.NavFrame {
	margin: 0;
	padding: 4px;
	border: 1px solid #a2a9b1;
	text-align: center;
	border-collapse: collapse;
	font-size: 95%;
}
div.NavFrame + div.NavFrame {
	border-top-style: none;
	border-top-style: hidden;
}
div.NavPic {
	background-color: #fff;
	margin: 0;
	padding: 2px;
	float: left; /* @noflip */
}
div.NavFrame div.NavHead {
	line-height: 1.6em;
	font-weight: bold;
	background-color: #ccf;
	position: relative;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
	font-size: 100%;
}
div.NavEnd {
	margin: 0;
	padding: 0;
	line-height: 1px;
	clear: both;
}
a.NavToggle {
	position: absolute;
	top: 0;
	right: 3px; /* @noflip */
	font-weight: normal;
	font-size: 90%;
}
.client-js .NavFrame.collapsed > .NavContent {
	display: none;
}

/* ---------------------------------------------------------------------- */
/* 6. GENERAL CONTENT FORMATTING                                          */
/* ---------------------------------------------------------------------- */

/* Reset italic styling set by user agent */
cite, dfn {
	font-style: inherit;
}

/* Straight quote marks for <q> */
q {
	quotes: '"' '"' "'" "'";
}

/* Blockquote adjustments */
blockquote {
	overflow: hidden;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
}


/* Sometimes it is necessary to target paragraphs inside blockquotes */
blockquote p {
    margin: 0;
    padding: 0;
}


/* Preformatting / Code */
pre, .mw-code {
	overflow-x: hidden;
	overflow-wrap: break-word;
}

/* Small, Sub, Sup adjustments */
small {
	font-size: 85%;
}
.mw-body-content sub,
.mw-body-content sup,
span.reference {
	font-size: 80%;
}

/* Talk page paragraph spacing */
.ns-talk .mw-body-content dd {
	margin-top: 0.4em;
	margin-bottom: 0.4em;
}

/* Main page interwiki */
#interwiki-completelist {
	font-weight: bold;
}

/* Hide elements via JavaScript/Gadgets */
.client-js .mw-special-Watchlist #watchlist-message,
.client-js .NavFrame.collapsed .NavContent,
.client-js .collapsible:not( .mw-made-collapsible).collapsed > tbody > tr:not(:first-child) {
	display: none;
}

/* Watchlist announcements padding */
.mw-rcfilters-enabled .mw-specialpage-summary {
	margin-top: 1em;
}

/* Hide charinsert base */
#editpage-specialchars {
	display: none;
}

/* Highlight target elements */
body.action-info .mw-body-content :target,
.citation:target {
	background-color: #def;
	background-color: rgba(0, 127, 255, 0.133);
}

/* ---------------------------------------------------------------------- */
/* 7. CITATIONS & REFERENCES                                              */
/* ---------------------------------------------------------------------- */

.citation {
	word-wrap: break-word;
}

@media screen, handheld {
	.citation .printonly {
		display: none;
	}
}

ol.references,
div.reflist {
	font-size: 90%;
	margin-bottom: 0.5em;
}
div.reflist ol.references {
	font-size: 100%;
	margin-bottom: 0;
	list-style-type: inherit;
}

span.brokenref {
	display: none;
}

/* ---------------------------------------------------------------------- */
/* 8. LISTS & COLUMNS                                                     */
/* ---------------------------------------------------------------------- */

div.columns {
	margin-top: 0.3em;
}
div.columns dl,
div.columns ol,
div.columns ul {
	margin-top: 0;
}

.nocolbreak,
div.columns li,
div.columns dd dd {
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
	break-inside: avoid-column;
}

/* Horizontal Lists (hlist) */
.hlist dl, .hlist ol, .hlist ul { margin: 0; padding: 0; }
.hlist dd, .hlist dt, .hlist li { margin: 0; display: 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; }
.hlist .mw-empty-li { display: none; }
.hlist dt:after { content: ": "; }
.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; }
.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; }

.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; }

/* ---------------------------------------------------------------------- */
/* 9. NAVBOXES                                                            */
/* ---------------------------------------------------------------------- */

.navbox {
	box-sizing: border-box;
	border: 1px solid #a2a9b1;
	width: 100%;
	clear: both;
	font-size: 88%;
	text-align: center;
	padding: 1px;
	margin: 1em auto 0;
}
.navbox .navbox { margin-top: 0; }
.navbox + .navbox { margin-top: -1px; }
.navbox-inner, .navbox-subgroup { width: 100%; }
.navbox-group, .navbox-title, .navbox-abovebelow {
	padding: 0.25em 1em;
	line-height: 1.5em;
	text-align: center;
}
th.navbox-group { white-space: nowrap; text-align: right; /* @noflip */ }
.navbox, .navbox-subgroup { background-color: #fdfdfd; }
.navbox-list { line-height: 1.5em; border-color: #fdfdfd; }

tr + tr > .navbox-abovebelow,
tr + tr > .navbox-group,
tr + tr > .navbox-image,
tr + tr > .navbox-list { border-top: 2px solid #fdfdfd; }

.navbox th, .navbox-title { background-color: #ccccff; }
.navbox-abovebelow, th.navbox-group, .navbox-subgroup .navbox-title { background-color: #ddddff; }
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { background-color: #e6e6ff; }
.navbox-even { background-color: #f7f7f7; }
.navbox-odd { background-color: transparent; }

.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; }

/* Navbar */
.navbar { display: inline; font-size: 88%; font-weight: normal; }
.navbar ul { display: inline; 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; }
.infobox .navbar { font-size: 100%; }
.navbox .navbar { display: block; font-size: 100%; }
.navbox-title .navbar { float: left; text-align: left; margin-right: 0.5em; /* @noflip */ }

/* ---------------------------------------------------------------------- */
/* 10. TABLES & WIKITABLES                                                */
/* ---------------------------------------------------------------------- */

.collapseButton { float: right; font-weight: normal; margin-left: 0.5em; text-align: right; width: auto; /* @noflip */ }
.mw-parser-output .mw-collapsible-toggle { font-weight: normal; text-align: right; padding-right: 0.2em; padding-left: 0.2em; /* @noflip */ }
.mw-collapsible-leftside-toggle .mw-collapsible-toggle { float: left; text-align: left; /* @noflip */ }

.wikitable.plainrowheaders th[scope=row] { font-weight: normal; text-align: left; /* @noflip */ }
.wikitable td ul, .wikitable td ol, .wikitable td dl { text-align: left; /* @noflip */ }
.toc.hlist ul, #toc.hlist ul, .wikitable.hlist td ul, .wikitable.hlist td ol, .wikitable.hlist td dl { text-align: inherit; }

/* ---------------------------------------------------------------------- */
/* 11. ICONS & FILES                                                      */
/* ---------------------------------------------------------------------- */

div.listenlist {
	background: url("//upload.wikimedia.org/wikipedia/commons/4/47/Sound-icon.svg") no-repeat scroll 0 0 transparent;
	background-size: 30px;
	padding-left: 40px;
}

table.mw-hiero-table td { vertical-align: middle; }

/* PDF Icons */
.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,
.mw-parser-output a[href*=".PDF#"].external {
	background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
	padding-right: 18px; /* @noflip */
}

/* ---------------------------------------------------------------------- */
/* 12. MESSAGE BOXES (AMBOX, IMBOX, ETC.)                                 */
/* ---------------------------------------------------------------------- */

.messagebox { border: 1px solid #a2a9b1; background-color: #f8f9fa; width: 80%; margin: 0 auto 1em auto; padding: .2em; }
.messagebox.merge { border: 1px solid #c0b8cc; background-color: #f0e5ff; text-align: center; }
.messagebox.cleanup { border: 1px solid #9f9fff; background-color: #efefff; text-align: center; }
.messagebox.standard-talk { border: 1px solid #c0c090; background-color: #f8eaba; margin: 4px auto; }
.mbox-inside .standard-talk, .messagebox.nested-talk { border: 1px solid #c0c090; background-color: #f8eaba; width: 100%; margin: 2px 0; padding: 2px; }
.messagebox.small { width: 238px; font-size: 85%; float: right; clear: both; margin: 0 0 1em 1em; line-height: 1.25em; /* @noflip */ }
.messagebox.small-talk { width: 238px; font-size: 85%; float: right; clear: both; margin: 0 0 1em 1em; line-height: 1.25em; background-color: #f8eaba; /* @noflip */ }

th.mbox-text, td.mbox-text { border: none; padding: 0.25em 0.9em; width: 100%; /* @noflip */ }
td.mbox-image { border: none; padding: 2px 0 2px 0.9em; text-align: center; /* @noflip */ }
td.mbox-imageright { border: none; padding: 2px 0.9em 2px 0; text-align: center; /* @noflip */ }
td.mbox-empty-cell { border: none; padding: 0; width: 1px; }

/* AMBOX (Article) */
table.ambox { margin: 0 10%; border: 1px solid #a2a9b1; border-left: 10px solid #36c; background-color: #fbfbfb; box-sizing: border-box; /* @noflip */ }
table.ambox + table.ambox { margin-top: -1px; }
.ambox th.mbox-text, .ambox td.mbox-text { padding: 0.25em 0.5em; }
.ambox td.mbox-image { padding: 2px 0 2px 0.5em; /* @noflip */ }
.ambox td.mbox-imageright { padding: 2px 0.5em 2px 0; /* @noflip */ }

table.ambox-notice { border-left: 10px solid #36c; /* @noflip */ }
table.ambox-speedy { border-left: 10px solid #b32424; background-color: #fee7e6; /* @noflip */ }
table.ambox-delete { border-left: 10px solid #b32424; /* @noflip */ }
table.ambox-content { border-left: 10px solid #f28500; /* @noflip */ }
table.ambox-style { border-left: 10px solid #fc3; /* @noflip */ }
table.ambox-move { border-left: 10px solid #9932cc; /* @noflip */ }
table.ambox-protection { border-left: 10px solid #a2a9b1; /* @noflip */ }

/* IMBOX (Image) */
table.imbox { margin: 4px 10%; border-collapse: collapse; border: 3px solid #36c; background-color: #fbfbfb; box-sizing: border-box; }
.imbox .mbox-text .imbox { margin: 0 -0.5em; display: block; }
.mbox-inside .imbox { margin: 4px; }
table.imbox-notice { border: 3px solid #36c; }
table.imbox-speedy { border: 3px solid #b32424; background-color: #fee7e6; }
table.imbox-delete { border: 3px solid #b32424; }
table.imbox-content { border: 3px solid #f28500; }
table.imbox-style { border: 3px solid #fc3; }
table.imbox-move { border: 3px solid #9932cc; }
table.imbox-protection { border: 3px solid #a2a9b1; }
table.imbox-license { border: 3px solid #88a; background-color: #f7f8ff; }
table.imbox-featured { border: 3px solid #cba135; }

/* CMBOX (Category) */
table.cmbox { margin: 3px 10%; border-collapse: collapse; border: 1px solid #a2a9b1; background-color: #dfe8ff; box-sizing: border-box; }
table.cmbox-notice { background-color: #d8e8ff; }
table.cmbox-speedy { margin-top: 4px; margin-bottom: 4px; border: 4px solid #b32424; background-color: #ffdbdb; }
table.cmbox-delete { background-color: #ffdbdb; }
table.cmbox-content { background-color: #ffe7ce; }
table.cmbox-style { background-color: #fff9db; }
table.cmbox-move { background-color: #e4d8ff; }
table.cmbox-protection { background-color: #efefe1; }

/* OMBOX (Other) */
table.ombox { margin: 4px 10%; border-collapse: collapse; border: 1px solid #a2a9b1; background-color: #f8f9fa; box-sizing: border-box; }
table.ombox-notice { border: 1px solid #a2a9b1; }
table.ombox-speedy { border: 2px solid #b32424; background-color: #fee7e6; }
table.ombox-delete { border: 2px solid #b32424; }
table.ombox-content { border: 1px solid #f28500; }
table.ombox-style { border: 1px solid #fc3; }
table.ombox-move { border: 1px solid #9932cc; }
table.ombox-protection { border: 2px solid #a2a9b1; }

/* TMBOX (Talk) */
table.tmbox { margin: 4px 10%; border-collapse: collapse; border: 1px solid #c0c090; background-color: #f8eaba; min-width: 80%; box-sizing: border-box; }
.tmbox.mbox-small { min-width: 0; }
.mediawiki .mbox-inside .tmbox { margin: 2px 0; width: 100%; }
.mbox-inside .tmbox.mbox-small { line-height: 1.5em; font-size: 100%; }
table.tmbox-speedy { border: 2px solid #b32424; background-color: #fee7e6; }
table.tmbox-delete { border: 2px solid #b32424; }
table.tmbox-content { border: 2px solid #f28500; }
table.tmbox-style { border: 2px solid #fc3; }
table.tmbox-move { border: 2px solid #9932cc; }
table.tmbox-protection, table.tmbox-notice { border: 1px solid #c0c090; }

/* DMBOX (Disambiguation) */
table.dmbox { clear: both; margin: 0.9em 1em; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; background-color: transparent; }

/* FMBOX (Footer/Header) */
table.fmbox { clear: both; margin: 0.2em 0; width: 100%; border: 1px solid #a2a9b1; background-color: #f8f9fa; box-sizing: border-box; }
table.fmbox-system { background-color: #f8f9fa; }
table.fmbox-warning { border: 1px solid #bb7070; background-color: #ffdbdb; }
table.fmbox-editnotice { background-color: transparent; }

/* MBOX Warnings */
div.mw-warning-with-logexcerpt, div.mw-lag-warn-high, div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon, div.titleblacklist-warning, div.locked-warning {
	clear: both; margin: 0.2em 0; border: 1px solid #bb7070; background-color: #ffdbdb; padding: 0.25em 0.9em; box-sizing: border-box;
}

/* Small MBox variants */
html body.mediawiki .mbox-small { clear: right; float: right; margin: 4px 0 4px 1em; box-sizing: border-box; width: 238px; font-size: 88%; line-height: 1.25em; /* @noflip */ }
html body.mediawiki .mbox-small-left { margin: 4px 1em 4px 0; box-sizing: border-box; overflow: hidden; width: 238px; border-collapse: collapse; font-size: 88%; line-height: 1.25em; /* @noflip */ }

/* Compact AMBOX */
.compact-ambox table .mbox-image, .compact-ambox table .mbox-imageright, .compact-ambox table .mbox-empty-cell { display: none; }
.compact-ambox table.ambox { border: none; border-collapse: collapse; background-color: transparent; margin: 0 0 0 1.6em !important; padding: 0 !important; width: auto; display: block; }
body.mediawiki .compact-ambox table.mbox-small-left { font-size: 100%; width: auto; margin: 0; }
.compact-ambox table .mbox-text { padding: 0 !important; margin: 0 !important; }
.compact-ambox table .mbox-text-span { display: list-item; line-height: 1.5em; list-style-type: square; list-style-image: url(/w/skins/MonoBook/resources/images/bullet.gif); }
.skin-vector .compact-ambox table .mbox-text-span { list-style-type: disc; list-style-image: url(/w/skins/Vector/images/bullet-icon.svg); list-style-image: url(/w/skins/Vector/images/bullet-icon.png)\9; }
.compact-ambox .hide-when-compact { display: none; }

/* ---------------------------------------------------------------------- */
/* 13. UTILITIES & MISC                                                   */
/* ---------------------------------------------------------------------- */

.visualhide { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.check-icon a.new { display: none; speak: none; }
.nounderlines a, .IPA a:link, .IPA a:visited { text-decoration: none !important; }

/* Hatnotes */
.hatnote { font-style: italic; }
.hatnote i { font-style: normal; }
div.hatnote { padding-left: 1.6em; margin-bottom: 0.5em; /* @noflip */ }
div.hatnote + div.hatnote { margin-top: -0.5em; }

/* Listify class */
.listify td { display: list-item; }
.listify tr { display: block; }
.listify table { display: block; }

/* Geo Coordinates */
.geo-default, .geo-dms, .geo-dec { display: inline; }
.geo-nondefault, .geo-multi-punct { display: none; }
.longitude, .latitude { white-space: nowrap; }

/* User Block Messages */
div.user-block { padding: 5px; margin-bottom: 0.5em; border: 1px solid #a9a9a9; background-color: #ffefd5; }

/* Wrapping & Non-wrapping */
.nowrap, .nowraplinks a, .nowraplinks .selflink { white-space: nowrap; }
.nowrap pre { white-space: pre; }
.wrap, .wraplinks a { white-space: normal; }

/* Template Documentation */
.template-documentation { clear: both; margin: 1em 0 0 0; border: 1px solid #a2a9b1; background-color: #ecfcf4; padding: 1em; }

/* Image Uploads */
#wpUploadDescription { height: 13em; }
.thumbinner { min-width: 100px; }

/* Float clearing */
#mw-subcategories, #mw-pages, #mw-category-media,
#filehistory, #wikiPreview, #wikiDiff { clear: both; }

/* WikiProject Banners */
.wpb .wpb-header { display: none; }
.wpbs-inner .wpb .wpb-header { display: block; display: table-row; }
.wpbs-inner .wpb-outside { display: none; }

/* Abuse Filter Tags */
.mw-tag-markers { font-style: italic; font-size: 90%; }

/* Permission hiding */
.checkuser-show, .sysop-show, .patroller-show, .templateeditor-show,
.extendedmover-show, .extendedconfirmed-show, .autoconfirmed-show, .user-show { display: none; }

.ve-ui-mwNoticesPopupTool-item .editnotice-redlink,
.ve-ui-mwNoticesPopupTool-item .mbox-image,
.ve-ui-mwNoticesPopupTool-item .mbox-imageright { display: none !important; }

ul.permissions-errors > li { list-style: none none; }
ul.permissions-errors { margin: 0; }

/* Math & Fonts */
.times-serif, span.texhtml { font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif; font-size: 118%; line-height: 1; }
span.texhtml { white-space: nowrap; }
span.texhtml span.texhtml { font-size: 100%; }
span.mwe-math-mathml-inline { font-size: 118%; }
.digits, .texhtml { -moz-font-feature-settings: "lnum", "tnum", "kern" 0; -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; }
.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 { display: inline; }

/* Fix prefixindex tables */
table#mw-prefixindex-list-table, table#mw-prefixindex-nav-table { width: 98%; }

/* Inputbox checkboxes */
.inputbox-hidecheckboxes form .inputbox-element, .inputbox-hidecheckboxes .mw-ui-checkbox { display: none !important; }

/* Kaltura Ad hide */
.k-player .k-attribution { visibility: hidden; }

/* Video Player Button */
.PopUpMediaTransform a .play-btn-large { margin: 0; top: auto; right: auto; bottom: 0; left: 0; }

/* FlaggedRevs */
.flaggedrevs_draft_synced, .flaggedrevs_stable_synced { display: none; }

/* Gallery Borders */
.bordered-images img { border: solid #ddd 1px; }

@media screen {
	#content .gallerybox div.thumb { background-color: #f8f9fa; }
	.gallerybox .thumb img { background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat; }
	.ns-0 .gallerybox .thumb img, .ns-2 .gallerybox .thumb img, .ns-100 .gallerybox .thumb img, .nochecker .gallerybox .thumb img { background-image: none; }
}

/* ---------------------------------------------------------------------- */
/* 14. PORTABLE INFOBOXES                                                 */
/* ---------------------------------------------------------------------- */

.portable-infobox {
  width: 350px;
  text-align: center;
}

.pi-item-spacing {
  width: 350px;
  text-align: center;
}

/* Fixed missing dot in selector */
.portable-infobox {
  width: 350px;
  text-align: center;
}

div.pi-item.pi-data.portable-infobox {
  width: 100px;
  text-align: center;
}

h3.pi-data-label {
  width: 100px;
  text-align: center;
}

h3.pi-data-label.pi-secondary-font {
  font-size: 0.95em;
  width: 100px;
  text-align: center;
}

img.pi-image-thumbnail {
  width: 300px;
  text-align: center;
}

/* ---------------------------------------------------------------------- */
/* 15. SPECIALIZED INFOBOXES & RESPONSIVENESS                             */
/* ---------------------------------------------------------------------- */

/* TOC Left */
@media all and (max-width: 520px) {
    .tocleft { width: 100% !important; }
}
@media all and (min-width: 520px) {
    .tocleft { float: left; clear: left; width: auto; margin: 0 1em 0.5em 0; }
}
.tocleft-clear-both { clear: both; }
.tocleft-clear-none { clear: none; }

/* Lacan Seminar Infobox */
.infobox-lacan-seminar {
    float: right;
    clear: right;
    width: 300px;
    margin: 0 0 1em 1em;
    border: 1px solid #aaa;
    background: #f9f9f9;
}
.infobox-lacan-seminar th, .infobox-lacan-seminar td {
    border-bottom: 1px solid #E8E8E8;
    line-height: 1.3 !important;
}
.infobox-lacan-seminar th[colspan="2"] {
    border-bottom: 2px solid #5B92C5;
}
.infobox-lacan-seminar a { text-decoration: none; }
.infobox-lacan-seminar a:hover { text-decoration: underline; }
.infobox-lacan-seminar p { margin: 0; line-height: 1.3 !important; }

/* No Subject Main Page Responsive Design */
@media (max-width: 768px) {
    /* Stack navigation tabs vertically */
    div[style*="display:table-cell"] {
        display: block !important;
        width: 100% !important;
        border-right: none !important;
        border-bottom: 1px solid white !important;
    }
    
    /* Stack two-column layouts */
    table[width="100%"] td[width="48%"],
    table[width="100%"] td[width="32%"] {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        margin-bottom: 15px;
    }
}