MediaWiki:Monobook.css

Dhyworth Wikipedya, an godhoniador rydh

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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/*
ATTENTION ADMINISTRATORS:
 
This is the CSS for the Monobook skin only. Any major changes to 
this page or [[MediaWiki:Common.css|Common.css]] should be first 
proposed on the [[Wikipedia:Village pump (technical)|Village pump]].  
 
Furthermore, changes should probably be made in 
[[MediaWiki:Common.css]] rather than this page.
 
Testing can be done on your own user /monobook.css. 
In [[Mozilla]] and [[Opera (web browser)|Opera]], you can also 
test style changes dynamically with the 
[http://www.squarefree.com/bookmarklets/webdevel.html test styles]
bookmarklet from squarefree.com. It pops up a window for adding 
style rules, and updates the page as you type.

If you add or modify anything here, please update the 
[[Wikipedia:Catalogue of CSS classes|catalogue of CSS classes]].
*/

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

/* Don't display some stuff on the main page */
body.page-Folen_dre #deleteconfirm,
body.page-Folen_dre #t-cite,
body.page-Folen_dre #lastmod,
body.page-Folen_dre #siteSub,
body.page-Folen_dre #contentSub,
body.page-Folen_dre h1.firstHeading {
    display: none !important;
}




/* COULEUR DE FOND PAR ESPACE DE NOM */
/* Special */
.ns--1 #content,
.ns--1 #p-cactions li,
.ns--1 #p-cactions li a { background:#F8FCFF; }
/* main */
.ns-0 * #content,
.ns-0 * #p-cactions li,
.ns-0 * #p-cactions li a { background:#FFF; }
/* Utilisateur */
.ns-2 * #content,
.ns-2 * #p-cactions li,
.ns-2 * #p-cactions li a { background:#FFF; }
/* Wikipédia */
.ns-4 * #content,
.ns-4 * #p-cactions li,
.ns-4 * #p-cactions li a { background:#F4F4F4; }
/* Image */
.ns-6 * #content,
.ns-6 * #p-cactions li,
.ns-6 * #p-cactions li a {  background:#FFF; }
/* MediaWiki */
.ns-8 * #content,
.ns-8 * #p-cactions li,
.ns-8 * #p-cactions li a { background:#EEF; }
/* Modèle */
.ns-10 * #content,
.ns-10 * #p-cactions li,
.ns-10 * #p-cactions li a { background:#FFF; }
/* Aide */
.ns-12 * #content,
.ns-12 * #p-cactions li,
.ns-12 * #p-cactions li a { background:#F8FCFF; } /* Test, voir [[Wikipédia:Le Bistro/4 octobre 2007]] */
/* Catégorie */
.ns-14 * #content,
.ns-14 * #p-cactions li,
.ns-14 * #p-cactions li a { background:#FFF; }
/* Portail */
.ns-100 * #content,
.ns-100 * #p-cactions li,
.ns-100 * #p-cactions li a { background:#FFF; }
/* Projet */
.ns-102 * #content,
.ns-102 * #p-cactions li,
.ns-102 * #p-cactions li a { background:#F6F6F6; }
/* Référence */
.ns-104 * #content,
.ns-104 * #p-cactions li,
.ns-104 * #p-cactions li a { background:#EFE; }
/* Pages de discussion */
.ns-talk * #content,
.ns-talk * #p-cactions li,
.ns-talk * #p-cactions li a { background:#FFE }
 
/* PAGES DE DISCUSSION : COLORATION INDENTÉE */
.ns-talk dd {
 margin:0;
 padding:0;
}
 
.ns-talk dl {
 border-top:solid 1px #F0F080;
 border-left:solid 1px #F0F080;
 padding-top:.5em;
 padding-left:.5em;
 margin-left:1em;
}
 
.ns-talk dl,
.ns-talk dl dl dl,
.ns-talk dl dl dl dl dl,
.ns-talk dl dl dl dl dl dl dl,
.ns-talk dl dl dl dl dl dl dl dl dl
{ background:#FFFFE0 }
 
.ns-talk dl dl,
.ns-talk dl dl dl dl,
.ns-talk dl dl dl dl dl dl,
.ns-talk dl dl dl dl dl dl dl dl,
.ns-talk dl dl dl dl dl dl dl dl dl dl
{ background:#FFE }




li.FA {
    list-style-image: url("//upload.wikimedia.org/wikipedia/en/d/d4/Monobook-bullet-star.png");
}

#siteNotice {
    margin-top: 5px;
    margin-bottom: -.5em;
}
#mw-dismissable-notice {
    background: transparent;
}

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

@media print {
    #content { background: white; } /* White background on print */
}

/* Category lists transparent instead of white. */
#mw-subcategories table, #mw-pages table {
    background-color: transparent;
}

/* END LIGHT BLUE SECTION */

/* Talk page tab "+" / "new section". 
   Sets the same padding as the other tabs have. */
#p-cactions #ca-addsection a {
    padding-left: .8em;
    padding-right: .8em;
}


/* Block quotations */
#content blockquote {
    font-size: 93.75%; /* equivalent of 15px in 16px default */
    margin: 1em 1.6em; /* same indent as an unordered list */
}
#content blockquote p {
    line-height:inherit;
}

/* Display "From Wikipedia, the free encyclopedia" */
#siteSub {
    display: inline;
    font-size: 92%;
    font-weight: normal;
}

/* Bold 'edit this page' link to encourage newcomers */
#ca-edit a { font-weight: bold !important; }

#pt-login {
    font-weight: bold;
    font-size: 110%;
}

p.error {
    font-weight: bold;
}


/* TOC margin in articles (and article previews). */
.ns-0 #wikiPreview > table#toc,
.ns-0 #bodyContent > table#toc {
    margin-top: .5em;
}


/* Class styles */

/* .toccolours added here because version in 
   monobook/main.css wasn't being used by the print style */
.toccolours { 
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    padding: 5px;
    font-size: 95%;
}

/* Don't underline links in portlets/specialchars even with pref "Underline links:Always" */
.portlet a, #editpage-specialchars a  { text-decoration: none; }
.portlet a:hover, #editpage-specialchars a:hover { text-decoration: underline; }

/* For positioning icons at top-right, used in Templates
   "Spoken Article" and "Featured Article" */
div.topicon {
    position: absolute; 
    z-index: 100; 
    top: 10px;
    display: block !important;
}

#coordinates {  
    position: absolute;
    z-index: 1;
    border: none;
    background: none;
    right: 30px;
    top: 3.7em;
    float: right;
    margin: 0.0em;
    padding: 0.0em;
    line-height: 1.5em;
    text-align: right;
    text-indent: 0;
    font-size: 85%;
    text-transform: none;
    white-space: nowrap;
}

.portlet li {
    list-style-image: url("//upload.wikimedia.org/wikipedia/commons/1/18/Monobook-bullet.png");
}

li.FA {
    list-style-image: url("//upload.wikimedia.org/wikipedia/en/d/d4/Monobook-bullet-star.png");
}

/* Infobox template style */
.infobox {
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    color: black;
}

.infobox.bordered td,
.infobox.bordered th {
    border: 1px solid #aaa;
}

/* Styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
    border-top: 1px solid #aaa;
    border-right: 1px solid #aaa;
}

.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
    border-right: 1px solid #aaa;
}

/* Makes the background of a framed image white instead of gray. */
/* Only visible with transparent images. */
div.thumb div a img {
    background-color: #fff;
}

/* Remove white border from thumbnails */
div.thumb {
    border: none;
}
div.tright {
    border: none;
    margin: 0.5em 0 0.8em 1.4em;
}
div.tleft {
    border: none;
    margin: 0.5em 1.4em 0.8em 0;
}

/* Allow disabling of "external" color on internal links in some situations */
#bodyContent .plainlinks2 a.external[href^="http://en.wikipedia.org"] {
    color: #002bb8 !important
}

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



/************************************************************/
 
/*
 * Stil etrefas Wikipedia
 */
 
/* Islinennañ skañv evit an isrannoù */
h3 { 
   border-bottom: dotted 1px #aaa;
}
 
h4, h5, h6 { 
   border-bottom: dotted 1px #ddd;
}
 
/* Prenestroù rontaet (evit ar merdeerioù moz/firefox/gecko) */
.pBody 
{
   padding: 0.3em 0.1em;
   -moz-border-radius-topright: 0.5em;
}
.portlet h5 
{
   background-color: #e0e3e6;
   border: thin solid silver;
   -moz-border-radius-topright: 0.5em;
}
#p-cactions ul li, #p-cactions ul li a 
{  
  -moz-border-radius-topright: 0.5em;
  -moz-border-radius-topleft: 0.5em;
}
 
/* etrelinennad titloù ar pajennoù : talvoudus evit an titloù "keit ha ma brec'h" */
.firstHeading {line-height: 1.2em}
 
 
/* Stil an taolennoù merdeiñ */
table.egyleft, .egybox
{
    float: right; 
    margin: 0.5em 0.5em 1em 1em; 
    border: 1px solid #aaaa80; 
    background: #efefdd; 
    text-align: center; 
    width: 170px;


/* </source> */