MediaWiki:Common.css

"Wikiibíídiiya" bitsʼą́ą́dę́ę́ʼ

Note: After saving, 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 (Command-R on a Mac). Google Chrome: press Ctrl-Shift-R (Command-Shift-R on a Mac). Internet Explorer: hold Ctrl while clicking Refresh, or press Ctrl-F5. Konqueror: click Reload or press F5. Opera: clear the cache in Tools → Preferences

/* <source lang="css"> */

/* pick Noto Sans/Serif as font (only fonts that display Navajo correctly) if installed on user's machine */
@media screen {
        body, input, .mw-tag-markers {
                font-family: "Noto Sans", "Noto Serif", sans-serif !important;
        }
}
@media screen {
        #content h1, #content h2, #content h3, #content #firstHeading {
                font-family: "Noto Serif", "Noto Sans", serif !important;
        	}
}
@media screen {
        .mw-body-content, div#bodyContent {
                line-height: 180% !important;
                font-size: 100% !important;
        	}
}
@media screen {
        .mw-usertoollinks {
                font-size: 60% !important;
        	}
}

.mw-pages h3 {
    opacity: 0 !important;
}

/* Navajo rug pattern-background */
body {
  /*letter-spacing: 0.001em;*/
  background: url(//upload.wikimedia.org/wikipedia/nv/9/91/Navajo_rug_pattern.png) 0px 0px repeat ;
     }

#ca-ve-edit,
.mw-editsection-divider,
.mw-editsection-visualeditor,
.imeselector,
.mw-revslider-container,
.mw-rcfilters-ui-menuSelectWidget-footer,
div.mp,
#pt-prefswitch-link-on,
#pt-prefswitch-link-anon,
#pt-prefswitch-link-off,
#siteSub,
.page-Íiyisíí_Naaltsoos #deleteconfirm,
.action-view.page-Íiyisíí_Naaltsoos #contentSub,
.page-Íiyisíí_Naaltsoos #footer-info-lastmod,
.page-Íiyisíí_Naaltsoos #t-cite,
.page-Íiyisíí_Naaltsoos #siteSub,
.page-Íiyisíí_Naaltsoos #ca-delete,
.page-Íiyisíí_Naaltsoos #ca-move,
.page-Íiyisíí_Naaltsoos h1.firstHeading,
.page-Íiyisíí_Naaltsoos .wbc-editpage,
body div.noheader h1.firstHeading,
.tdg-editscreen-main {
	display:none !important;
}

.ns-10 #content {
 background: #ddddff;
}

.ns-12  h1.firstHeading {
  color: green !important;
}

.allpagesredirect a {
        color: green;
}

.collapseButton {
    float: right;
    font-weight: normal;
    text-align: right;
    padding-right: 10px;
    width: auto;
    font-size: 12px;
}
.navbox .collapseButton {
    width: 15em;
}

/* BEGIN LIGHT BLUE SECTION
   Make content area light blue in all namespaces except articles (main namespace). 
   This is done by setting the background color for all #content areas 
   to light blue, and then overriding it back to white for any #content 
   enclosed in a .ns-0 (main namespace). We do the same for the "tab" 
   backgrounds and some other objects. */
 
#content,
#p-cactions li a:hover, #p-cactions li.selected a,
#content div.thumb {    /* "Margin" for thumbs, padding for galleries */
    background-color: #F5F9Fc;   /* light blue */
}
#p-cactions li a {
    background-color: #F7F9FB;   /* Light blue-gray inactive tabs */
}
 
.ns-0 #content,
.ns-0 #p-cactions li a:hover, .ns-0 #p-cactions li.selected a, 
.ns-0 #content div.thumb {
    background-color: white;     /* Set back to white for articles */
}
.ns-0 #p-cactions li a {
    background-color: #FBFBFB;   /* Light gray inactive tabs in articles */
}
 
/* Category lists and diffs transparent instead of white. */
#mw-subcategories table, #mw-pages table,
table.diff, td.diff-otitle, td.diff-ntitle {
    background-color: transparent;
}
 
/* END LIGHT BLUE SECTION */

span.mw-editsection { 
    float:right; 
}

table.diff td {
    padding: 0;
}
 
td.diff-marker {
    color: black;
    font-size: 1em;
    font-weight: normal;
}
 
td.diff-context,
td.diff-deletedline,
td.diff-addedline {
    border: none;
    border-radius: 0;
}
 
td.diff-context {
    background-color: #eee;
}
 
td.diff-deletedline {
    background-color: #ffa;
}
 
td.diff-addedline {
    background-color: #cfc;
}
 
td.diff-deletedline .diffchange,
td.diff-addedline .diffchange {
    background: transparent;
    color: red;
}

.ns--1 .mw-editTools {
    display: inline !important;
}

div.usermessage { 
 background-color: #FFCE7B; border: 1px solid orange;
}

/* Logo properties with modified height value to meet the actual logo height, 165px.*/

#p-logo {
	height: 165px;
}
 
#p-logo a,
#p-logo a:hover {
	height: 165px;
}

.nvcolorfade {
 background-image: url(//upload.wikimedia.org/wikipedia/nv/4/4e/NVcolorfade.png);
 background-repeat: repeat-x;
 background-position: bottom left;
}

.wikinvtop {
 background-image: url(//upload.wikimedia.org/wikipedia/nv/f/fa/Wikinvtop.png);
 background-repeat: repeat-x;
 background-position: bottom left;
}

.ns-0 #ca-view {
  display: inline !important;
}

#interwiki-completelist {
    font-weight: bold;
}

body.page-Íiyisíí_Naaltsoos #mp-topbanner {
   clear: both;
}

/* Edit window toolbar */
#toolbar {
    height: 22px;
    margin-bottom: 6px;
}

/* Margins for <ol> and <ul> */
#content ol, #content ul,
#mw_content ol, #mw_content ul {
  margin-bottom: 0.5em;
}

/* VALIDATOR NOTICE: the following is correct, but the W3C validator doesn't accept it */
/* -moz-* is a vendor-specific extension (CSS 2.1 4.1.2.1) */
/* column-count is from the CSS3 module "CSS Multi-column Layout" */
/* Please ignore any validator errors caused by these two lines */
.references-2column {
    font-size: 90%;
    -moz-column-count: 2;
    column-count: 2;
}

/* Highlight clicked reference in blue to help navigation */
ol.references > li:target,
sup.reference:target,
span.citation:target, cite:target { 
    background-color: #DEF;
}

/* Ensure refs in table headers and the like aren't bold or italic */
sup.reference {
    font-weight: normal;
    font-style: normal;
}

/* T156351: Support for Parsoid's Cite implementation */
a[rel="mw:referencedBy"]::before {
    content: "^";
}
span[rel="mw:referencedBy"]::before {
    content: "^ ";
}

/* Styling for citations */
span.citation, cite {
    font-style: normal;
    word-wrap: break-word;
}

/* For linked citation numbers and document IDs, where
   the number need not be shown on a screen or a handheld,
   but should be included in the printed version
*/
@media screen, handheld, projection {
    span.citation *.printonly, cite *.printonly {
        display: none;
    }
}

/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
    margin: 1em 1em 1em 0;
    background: #f9f9f9;
    border: 1px #aaa solid;
    border-collapse: collapse;
}
.wikitable th, .wikitable td,
.prettytable th, .prettytable td {
    border: 1px #aaa solid;
    padding: 0.2em;
}
.wikitable th,
.prettytable th {
    background: #f2f2f2;
    text-align: center;
}
.wikitable caption,
.prettytable caption {
    font-weight: bold;
}

/* Default skin for navigation boxes */
table.navbox {            /* Navbox container style */
  border: 1px solid #aaa;
  width: 100%; 
  margin: auto;
  clear: both;
  font-size: 88%;
  text-align: center;
  padding: 1px;
}
table.navbox + table.navbox {  /* Single pixel border between adjacent navboxes */
  margin-top: -1px;            /* (doesn't work for IE6, but that's okay)       */
}
.navbox-title,
.navbox-abovebelow,
table.navbox th {
  text-align: center;      /* Title and above/below styles */
  padding-left: 1em;
  padding-right: 1em;
}
.navbox-group {            /* Group style */
  white-space: nowrap;
  text-align: right;
  font-weight: bold;
  padding-left: 1em;
  padding-right: 1em;
}
.navbox, .navbox-subgroup {
  background: #fdfdfd;     /* Background color */
}
.navbox-list {
  border-color: #fdfdfd;   /* Must match background color */
}
.navbox-title,
table.navbox th {
  background: #ccccff;     /* Level 1 color */
}
.navbox-abovebelow,
.navbox-group,
.navbox-subgroup .navbox-title {
  background: #ddddff;     /* Level 2 color */
}
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
  background: #e6e6ff;     /* Level 3 color */
}
.navbox-even {
  background: #f7f7f7;     /* Even row striping */
}
.navbox-odd {
  background: transparent; /* Odd row striping */
}

.collapseButton {          /* 'show'/'hide' buttons created dynamically */
    float: right;          /* by the CollapsibleTables javascript in    */
    font-weight: normal;   /* [[MediaWiki:Common.js]]are styled here    */
    text-align: right;     /* so they can be customised.                */
    width: auto;
    font-size: 10px;
}
.navbox .collapseButton {  /* In navboxes, the show/hide button balances */
    width: 15em;            /* the vde links from [[Template:Tnavbar]],   */
}                          /* so they need to be the same width.         */

#wpSave {
    font-weight: bold;
}

/* suppress missing interwiki image links where #ifexist cannot
   be used due to high number of requests see .hidden-redlink on 
   //meta.wikimedia.org/wiki/MediaWiki:Common.css
*/
.check-icon a.new {
    display: none; 
    speak: none;
}

/* Removes underlines from links + IPA links */
.nounderlines a,
.IPA a:link,
.IPA a:visited { 
    text-decoration: none;
}

/* Prevent line breaks in silly places: 
   1) links when we don't want them to
   2) HTML formulae
   3) Ref tags with group names <ref group="Note"> --> "[Note 1]"
*/
.nowraplinks a,
span.texhtml,
sup.reference a {
    white-space: nowrap;
}


/* Inline divs in ImageMaps (code borrowed from de.wiki) */
.imagemap-inline div {
    display: inline;
}

/* Increase the height of the image upload box */
#wpUploadDescription {
    height: 13em;
}

/* Reduce line-height for <sup> and <sub> */
sup, sub {
    line-height: 1em;
}

/* The backgrounds for galleries. */
#content .gallerybox div.thumb {
    background-color: #F9F9F9;   /* Light gray padding */
}
/* Put a chequered background behind images, only visible if they have transparency */
.gallerybox .thumb img,
#file img {
    background: white url("//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;
}
/* But not on articles, user pages, portals or with opt-out. */
.ns-0 .gallerybox .thumb img,
.ns-2 .gallerybox .thumb img,
.ns-100 .gallerybox .thumb img, 
.nochecker .gallerybox .thumb img {
    background: white;
}

/* 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;
}

/* </source> */