Jump to content

MediaWiki:Common.css: Difference between revisions

From BadWolfMC Wiki
Undo revision 6010 by Merc (talk)
Tag: Undo
No edit summary
Line 3: Line 3:
  * Styling inside .mw-parser-output should generally use TemplateStyles.
  * Styling inside .mw-parser-output should generally use TemplateStyles.
  */
  */
/* Reset italic styling set by user agent */
/* Reset italic styling set by user agent */
cite,
cite,
dfn {
dfn {
font-style: inherit;
    font-style: inherit;
}
}


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


/* Avoid collision of blockquote with floating elements by swapping margin and padding */
/* Avoid collision of blockquote with floating elements by swapping margin and padding */
blockquote {
blockquote {
overflow: hidden;
    overflow: hidden;
margin: 1em 0;
    margin: 1em 0;
padding: 0 40px;
    padding: 0 40px;
}
}


/* Consistent size for <small>, <sub> and <sup> */
/* Consistent size for <small>, <sub> and <sup> */
small {
small {
font-size: 85%;
    font-size: 85%;
}
}


.mw-body-content sub,
.mw-body-content sub,
.mw-body-content sup {
.mw-body-content sup {
font-size: 80%;
    font-size: 80%;
}
}


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


/* Reduce page jumps by hiding collapsed/dismissed content */
/* [Collapse/outercollapse rules abbreviated for brevity – keep your originals here] */
.client-js .collapsible:not( .mw-made-collapsible).collapsed > tbody > tr:not(:first-child),
 
/* Avoid FOUC/reflows on collapsed elements. */
/* This copies MediaWiki's solution for T42812 to apply to innercollapse/outercollapse (T325115). */
/* TODO: Use :is() selector at some reasonable future when support is good for Most Clients */
/* Reference: https://gerrit.wikimedia.org/g/mediawiki/core/+/ecda06cb2aef55b77c4b4d7ecda492d634419ead/resources/src/jquery/jquery.makeCollapsible.styles.less#75 */
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > p,
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > table,
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > thead + tbody,
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) tr:not( :first-child ),
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) .mw-collapsible-content,


/* Hide charinsert base for those not using the gadget */
/* Hide charinsert base for those not using the gadget */
#editpage-specialchars {
#editpage-specialchars {
display: none;
    display: none;
}
}


/* Different margin on references */
/* Different margin on references */
.references {
.references {
margin-bottom: 0.5em;
    margin-bottom: 0.5em;
}
}


/* Cite customizations */
/* Cite customizations */
span[ rel="mw:referencedBy" ] {
span[ rel="mw:referencedBy" ] {
counter-reset: mw-ref-linkback 0;
    counter-reset: mw-ref-linkback 0;
}
}
 
span[ rel="mw:referencedBy" ] > a::before {
span[ rel='mw:referencedBy' ] > a::before {
    content: counter( mw-ref-linkback, lower-alpha );
content: counter( mw-ref-linkback, lower-alpha );
    font-size: 80%;
font-size: 80%;
    font-weight: bold;
font-weight: bold;
    font-style: italic;
font-style: italic;
}
}
a[ rel="mw:referencedBy" ]::before {
a[ rel="mw:referencedBy" ]::before {
font-weight: bold;
    font-weight: bold;
content: "^";
    content: "^";
}
}
span[ rel="mw:referencedBy" ]::before {
span[ rel="mw:referencedBy" ]::before {
content: "^ ";
    content: "^ ";
}
}


/* Styling for jQuery makeCollapsible, matching that of collapseButton */
/* jQuery makeCollapsible styling */
.mw-parser-output .mw-collapsible-toggle:not(.mw-ui-button) {
.mw-parser-output .mw-collapsible-toggle:not(.mw-ui-button) {
font-weight: normal;
    font-weight: normal;
padding-right: 0.2em;
    padding: 0 0.2em;
padding-left: 0.2em;
}
}
.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
/* @noflip */
    float: left;
float: left;
}
}


Line 97: Line 81:
.wikitable td ol,
.wikitable td ol,
.wikitable td dl {
.wikitable td dl {
/* @noflip */
    text-align: left;
text-align: left;
}
}


/* Change the external link icon to a PDF icon for all PDF files */
/* Change external link icon to PDF icon for PDF files */
.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,
Line 108: Line 91:
.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;
    background: url("//upload.wikimedia.org/wikipedia/commons/4/4d/Icon_pdf_file.png") no-repeat right;
/* @noflip */
    padding: 8px 18px 8px 0;
padding: 8px 18px 8px 0;
}
}


/* System messages styled similarly to fmbox */
/* System messages styled like fmbox */
/* for .mw-warning-with-logexcerpt, behavior of this line differs between
* the edit-protected notice and the special:Contribs for blocked users
* The latter has specificity of 3 classes so we have to triple up here.
*/
.mw-warning-with-logexcerpt.mw-warning-with-logexcerpt.mw-warning-with-logexcerpt,
.mw-warning-with-logexcerpt.mw-warning-with-logexcerpt.mw-warning-with-logexcerpt,
div.mw-lag-warn-high,
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon {
div#mw-protect-cascadeon {
clear: both;
    clear: both;
margin: 0.2em 0;
    margin: 0.2em 0;
border: 1px solid #bb7070;
    border: 1px solid #bb7070;
background-color: var(--background-color-error-subtle, #ffdbdb);
    background-color: var(--background-color-error-subtle, #ffdbdb);
padding: 0.25em 0.9em;
    padding: 0.25em 0.9em;
box-sizing: border-box;
    box-sizing: border-box;
}
}


/* default colors for partial block message */
/* Partial block message colors */
/* gotta get over the hump introduced by the triple class above */
.mw-contributions-blocked-notice-partial .mw-warning-with-logexcerpt.mw-warning-with-logexcerpt {
.mw-contributions-blocked-notice-partial .mw-warning-with-logexcerpt.mw-warning-with-logexcerpt {
border-color: #fc3;
    border-color: #fc3;
background-color: var(--background-color-warning-subtle, #fef6e7);
    background-color: var(--background-color-warning-subtle, #fef6e7);
}
}


/* Minimum thumb width */
/* Minimum thumb width for thumbnails and frames */
@media (min-width: 640px) {
@media (min-width: 640px) {
figure[typeof~='mw:File/Thumb'],
    figure[typeof~='mw:File/Thumb'],
figure[typeof~='mw:File/Frame'],
    figure[typeof~='mw:File/Frame'],
.thumbinner {
    .thumbinner {
min-width: 100px;
        min-width: 100px;
}
    }
}
}


/* Prevent floating boxes from overlapping any category listings,
/* Prevent float overlap on category lists etc. */
  file histories, edit previews, and edit [Show changes] views. */
#mw-subcategories,
#mw-subcategories,
#mw-pages,
#mw-pages,
Line 154: Line 130:
#wikiPreview,
#wikiPreview,
#wikiDiff {
#wikiDiff {
clear: both;
    clear: both;
}
}


/* Hide stuff meant for accounts with special permissions. Made visible again in
/* Permission-based visibility toggles */
  [[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,
.checkuser-show,
.sysop-show,
.sysop-show,
Line 172: Line 144:
.autoconfirmed-show,
.autoconfirmed-show,
.user-show {
.user-show {
display: none;
    display: none;
}
}


/* Hide the redlink generated by {{Editnotice}},
/* Hide editnotice redlinks and images */
  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 .editnotice-redlink,
.ve-ui-mwNoticesPopupTool-item .mbox-image,
.ve-ui-mwNoticesPopupTool-item .mbox-image,
.ve-ui-mwNoticesPopupTool-item .mbox-imageright {
.ve-ui-mwNoticesPopupTool-item .mbox-imageright {
display: none !important;
    display: none !important;
}
}


/* Remove bullets when there are multiple edit page warnings */
/* Remove bullets on multiple warnings */
ul.permissions-errors {
ul.permissions-errors {
margin: 0;
    margin: 0;
}
}
ul.permissions-errors > li {
ul.permissions-errors > li {
list-style: none;
    list-style: none;
}
}


/* larger inline math */
/* Inline math font size adjustments */
span.mwe-math-mathml-inline {
span.mwe-math-mathml-inline {
font-size: 118%;
    font-size: 118%;
}
}


/* Make <math display="block"> be left aligned with one space indent for
/* Block math alignment */
* compatibility with style conventions
*/
.mwe-math-fallback-image-display,
.mwe-math-fallback-image-display,
.mwe-math-mathml-display {
.mwe-math-mathml-display {
margin-left: 1.6em !important;
    margin-left: 1.6em !important;
margin-top: 0.6em;
    margin-top: 0.6em;
margin-bottom: 0.6em;
    margin-bottom: 0.6em;
}
}
.mwe-math-mathml-display math {
.mwe-math-mathml-display math {
display: inline;
    display: inline;
}
}


@media screen {
@media screen {
/* Put a chequered background behind images, only visible if they have transparency,
    /* Checker background for transparent gallery thumbs */
* except on main, user, and portal namespaces
    body:not(.ns-0):not(.ns-2):not(.ns-100) .gallerybox .thumb img {
*/
        background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat;
body:not(.ns-0):not(.ns-2):not(.ns-100) .gallerybox .thumb img {
    }
background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat;
    #siteSub {
}
        display: block;
 
    }
/* Display "From Wikipedia, the free encyclopedia" in skins that support it,
    .references {
  do not apply to print mode */
        font-size: 90%;
#siteSub {
    }
display: block;
}
/* Make the list of references smaller
* Keep in sync with Template:Refbegin/styles.css
* And Template:Reflist/styles.css
*/
.references {
font-size: 90%;
}
}
 
/* 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;
}
}


/*
/*
  * BELOW HERE THERE BE SOONTOBE TEMPLATESTYLES THINGS;
  * ========================================================================
  * SEE [[MediaWiki talk:Common.css/to do]]
  * Consolidated Infobox styling (light mode)
  * CSS is separated by component (which is why media queries are not joined)
  * ========================================================================
  */
  */


/* Infoboxes */
table.infobox {
.infobox {
    background-color: #f8f9fa;
border: 1px solid #a2a9b1;
    border: 1px solid #a2a9b1;
color: black;
    font-size: 88%;
padding: 0.2em;
    line-height: 1.5em;
font-size: 88%;
    margin: 0.5em 0 0.5em 1em;
line-height: 1.5em;
    float: right;
border-spacing: 3px;
    clear: right;
    width: 22em;
    border-spacing: 3px;
    padding: 0.2em;
}
}


@media screen {
/* Responsive full-width on narrow screens */
.infobox {
@media (max-width: 640px) {
background-color: #f8f9fa;
    table.infobox {
        width: 100%;
        float: none;
        clear: none;
        margin: 0.5em 0;
    }
    table.infobox .nowrap {
        white-space: normal;
     }
     }
}
}


@media (max-width: 640px) {
.infobox-title {
.infobox {
    font-weight: bold;
width: 100%;
    text-align: center;
}
     padding: 0.4em;
      
    background-color: #e2e3e5;
.infobox .nowrap {
    color: #212529;
white-space: normal;
    border-bottom: 1px solid #a2a9b1;
}
}
}


@media (min-width: 640px) {
.infobox-image {
.infobox {
    text-align: center;
/* @noflip */
    padding: 0.5em;
margin: 0.5em 0 0.5em 1em;
    background: none;
/* @noflip */
float: right;
/* @noflip */
clear: right;
width: 22em;
}
}
}


/* Serverbuild infobox: light mode */
.infobox-caption {
table.infobox.serverbuild {
    font-size: 85%;
  /* optional: set a border or width here */
    color: #555;
}
    padding: 0.2em 0;
table.infobox.serverbuild .infobox-header {
  background: #003B6F;
  color:     #ffffff;
}
}


.infobox-header,
.infobox-header {
.infobox-label,
    background-color: #003b6f !important;
.infobox-above,
    color:            #ffffff !important;
.infobox-full-data,
    padding:          0.4em 0.6em;
.infobox-data,
    border-top:       1px solid #a2a9b1;
.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,
.infobox-label {
.infobox-data,
    background-color: #f1f1f1;
/* Remove element selector when every .infobox thing is using the standard module/templates  */
    padding:          0.3em 0.6em;
.infobox th,
    font-weight:      normal;
.infobox td {
    width:            35%;
/* @noflip */
    vertical-align:  top;
text-align: left;
    border-top:      1px solid #ddd;
    text-align:       left;
}
}


/* Remove .infobox when element selectors above are removed */
.infobox-data {
.infobox .infobox-above,
    padding:        0.3em 0.6em;
.infobox .infobox-title,
    border-top:     1px solid #ddd;
/* Remove element selector when every .infobox thing is using the standard module/templates  */
    vertical-align: top;
.infobox caption {
    text-align:     left;
font-size: 125%;
font-weight: bold;
text-align: center;
}
}


.infobox-title,
.infobox-full-data {
/* Remove element selector when every .infobox thing is using the standard module/templates  */
    padding:   0.3em 0.6em;
.infobox caption {
    border-top: 1px solid #ddd;
padding: 0.2em;
}
}


/* Remove .infobox when element selectors above are removed */
.infobox-below {
.infobox .infobox-header,
    padding:          0.4em 0.6em;
.infobox .infobox-subheader,
    background-color: #e9ecef;
.infobox .infobox-image,
    border-top:       1px solid #a2a9b1;
.infobox .infobox-full-data,
.infobox .infobox-below {
text-align: center;
}
}


/* Remove .infobox when element selectors above are removed */
.infobox-navbar {
.infobox .infobox-navbar {
    padding:    0.2em 0.6em;
/* @noflip */
    background: none;
text-align: right;
    text-align: center;
}
}
/* Normal font styling for wikitable row headers with scope="row" tag */
.wikitable.plainrowheaders th[scope=row],
.wikitable.plainrowheaders th[scope=rowgroup] {
font-weight: normal;
/* @noflip */
text-align: left;
}
/* 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;
}
/* texhtml class for inline math (based on generic times-serif class) */
/* remove spans when this is TemplateStyled */
span.texhtml {
font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
font-size: 118%;
line-height: 1;
/* Force tabular and lining display for texhtml */
font-variant-numeric: lining-nums tabular-nums;
font-kerning: none;
}
span.texhtml span.texhtml {
font-size: 100%;
}
@media (min-width: 640px) {
span.texhtml {
white-space: nowrap;
}
}
/* Prevent flags in tables from collapsing: Fix for T116318
* TODO: Remove when [[phab:T368469]] merges [[phab:T367463]] for the other skins
*/
@media (max-width: 640px) {
.flagicon a > img,
.flagicon noscript > img {
max-width: none !important;
}
}
@media screen {
.nochecker .gallerybox .thumb img {
background-image: none;
}
}
/*
* Put anything you mean to be a sitewide addition above the TemplateStyles
* comment above.
*/

Revision as of 00:38, 6 May 2025

/*
 * This is the CSS common to all desktop skins on en.Wikipedia.
 * Styling inside .mw-parser-output should generally use TemplateStyles.
 */

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

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

/* Avoid collision of blockquote with floating elements by swapping margin and padding */
blockquote {
    overflow: hidden;
    margin: 1em 0;
    padding: 0 40px;
}

/* Consistent size for <small>, <sub> and <sup> */
small {
    font-size: 85%;
}

.mw-body-content sub,
.mw-body-content sup {
    font-size: 80%;
}

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

/* [Collapse/outercollapse rules abbreviated for brevity – keep your originals here] */

/* Hide charinsert base for those not using the gadget */
#editpage-specialchars {
    display: none;
}

/* Different margin on references */
.references {
    margin-bottom: 0.5em;
}

/* Cite customizations */
span[ rel="mw:referencedBy" ] {
    counter-reset: mw-ref-linkback 0;
}
span[ rel="mw:referencedBy" ] > a::before {
    content: counter( mw-ref-linkback, lower-alpha );
    font-size: 80%;
    font-weight: bold;
    font-style: italic;
}
a[ rel="mw:referencedBy" ]::before {
    font-weight: bold;
    content: "^";
}
span[ rel="mw:referencedBy" ]::before {
    content: "^ ";
}

/* jQuery makeCollapsible styling */
.mw-parser-output .mw-collapsible-toggle:not(.mw-ui-button) {
    font-weight: normal;
    padding: 0 0.2em;
}
.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
    float: left;
}

/* Lists in wikitable data cells are always left-aligned */
.wikitable td ul,
.wikitable td ol,
.wikitable td dl {
    text-align: left;
}

/* Change external link icon to PDF icon for PDF files */
.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/4/4d/Icon_pdf_file.png") no-repeat right;
    padding: 8px 18px 8px 0;
}

/* System messages styled like fmbox */
.mw-warning-with-logexcerpt.mw-warning-with-logexcerpt.mw-warning-with-logexcerpt,
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon {
    clear: both;
    margin: 0.2em 0;
    border: 1px solid #bb7070;
    background-color: var(--background-color-error-subtle, #ffdbdb);
    padding: 0.25em 0.9em;
    box-sizing: border-box;
}

/* Partial block message colors */
.mw-contributions-blocked-notice-partial .mw-warning-with-logexcerpt.mw-warning-with-logexcerpt {
    border-color: #fc3;
    background-color: var(--background-color-warning-subtle, #fef6e7);
}

/* Minimum thumb width for thumbnails and frames */
@media (min-width: 640px) {
    figure[typeof~='mw:File/Thumb'],
    figure[typeof~='mw:File/Frame'],
    .thumbinner {
        min-width: 100px;
    }
}

/* Prevent float overlap on category lists etc. */
#mw-subcategories,
#mw-pages,
#mw-category-media,
#filehistory,
#wikiPreview,
#wikiDiff {
    clear: both;
}

/* Permission-based visibility toggles */
.checkuser-show,
.sysop-show,
.abusefilter-show,
.abusefilter-helper-show,
.patroller-show,
.templateeditor-show,
.extendedmover-show,
.extendedconfirmed-show,
.autoconfirmed-show,
.user-show {
    display: none;
}

/* Hide editnotice redlinks and images */
.ve-ui-mwNoticesPopupTool-item .editnotice-redlink,
.ve-ui-mwNoticesPopupTool-item .mbox-image,
.ve-ui-mwNoticesPopupTool-item .mbox-imageright {
    display: none !important;
}

/* Remove bullets on multiple warnings */
ul.permissions-errors {
    margin: 0;
}
ul.permissions-errors > li {
    list-style: none;
}

/* Inline math font size adjustments */
span.mwe-math-mathml-inline {
    font-size: 118%;
}

/* Block math alignment */
.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;
}

@media screen {
    /* Checker background for transparent gallery thumbs */
    body:not(.ns-0):not(.ns-2):not(.ns-100) .gallerybox .thumb img {
        background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat;
    }
    #siteSub {
        display: block;
    }
    .references {
        font-size: 90%;
    }
}

/*
 * ========================================================================
 * Consolidated Infobox styling (light mode)
 * ========================================================================
 */

table.infobox {
    background-color: #f8f9fa;
    border: 1px solid #a2a9b1;
    font-size: 88%;
    line-height: 1.5em;
    margin: 0.5em 0 0.5em 1em;
    float: right;
    clear: right;
    width: 22em;
    border-spacing: 3px;
    padding: 0.2em;
}

/* Responsive full-width on narrow screens */
@media (max-width: 640px) {
    table.infobox {
        width: 100%;
        float: none;
        clear: none;
        margin: 0.5em 0;
    }
    table.infobox .nowrap {
        white-space: normal;
    }
}

.infobox-title {
    font-weight: bold;
    text-align: center;
    padding: 0.4em;
    background-color: #e2e3e5;
    color: #212529;
    border-bottom: 1px solid #a2a9b1;
}

.infobox-image {
    text-align: center;
    padding: 0.5em;
    background: none;
}

.infobox-caption {
    font-size: 85%;
    color: #555;
    padding: 0.2em 0;
}

.infobox-header {
    background-color: #003b6f !important;
    color:            #ffffff !important;
    padding:          0.4em 0.6em;
    border-top:       1px solid #a2a9b1;
}

.infobox-label {
    background-color: #f1f1f1;
    padding:          0.3em 0.6em;
    font-weight:      normal;
    width:            35%;
    vertical-align:   top;
    border-top:       1px solid #ddd;
    text-align:       left;
}

.infobox-data {
    padding:        0.3em 0.6em;
    border-top:     1px solid #ddd;
    vertical-align: top;
    text-align:     left;
}

.infobox-full-data {
    padding:    0.3em 0.6em;
    border-top: 1px solid #ddd;
}

.infobox-below {
    padding:          0.4em 0.6em;
    background-color: #e9ecef;
    border-top:       1px solid #a2a9b1;
}

.infobox-navbar {
    padding:    0.2em 0.6em;
    background: none;
    text-align: center;
}