Difference between revisions of "MediaWiki:Monobook.css"

From translatewiki.net
Jump to navigation Jump to search
m (Undo revisions by Ahmed-Najib-Biabani-Ibrahimkhel. Please use your monobook.css or discuss this on Support. Thanks.)
Line 15: Line 15:
 
display: none !important;
 
display: none !important;
 
}
 
}
 
body {
 
font-size: 75%;
 
font-family: Tahoma, Roya, Pokhto, sans-serif;
 
}
 
 
   
 
/* Remove background image. */
 
/* Remove background image. */

Revision as of 09:44, 28 March 2009

Information about message (contribute)

Note This is an optional message. Do not translate it, if it would remain unchanged in your language.

CSS applied to users using MonoBook skin.

Message definition (MonoBook)
/* All CSS here will be loaded for users of the MonoBook skin */
Translation/************************************************
 * MONOBOOK SKIN SPECIFIC CSS
 *
 * Please think carefully about whether any CSS
 * you plan on adding to this page would be more
 * suitable in [[MediaWiki:Common.css]]. Thanks.
 ************************************************/

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

/* Remove background image. */
body {
   background-image: none;
}

/* Hide logo */
#p-logo {
   display: none;
}

#column-one {
   padding-top: 22px;
}

/* Position the archive link in the top right corner of the page content area, just above the main heading bottom border. */
.archivelink {
   position:    absolute;
   z-index:    100;
   right:      40px;
   top:        2px;
   font-size:  85%;
   font-weight: bold;
}

/* It is unclear what the following CSS does, please add comments if you can clarify. */

.buttonlinks a {
   color:            black;
   background-color:  #ccddee;
   background-image:  url( 'http://upload.wikimedia.org/wikipedia/commons/c/c6/Blending_blue_button_background.png' );
   background-repeat: repeat-x;
   font-weight:      bold;
   font-size:        0.9em;
   text-decoration:  none;
   border:            thin #006699 outset;
   padding:          0 0.1em 0.1em 0.1em;
}

.buttonlinks a:hover,
.buttonlinks a:active {
   background-color: #bbccdd;
   border-style:    inset;
}

/* Kästen für Inter-Projekt-Links */
div.interbox {
   clear:  both;
   margin: 0px;
   border: 1px solid #c0c0c0;
}

div.interbox + div.interbox {
   border-top-style: hidden;
}

/* Blue tints for translate fieldsets */
.mw-sp-translate-edit-inother { background-color: #F8F8FF; }
.mw-sp-translate-in-other-small { background-color: #F0F8FF; }
.mw-sp-translate-in-other-big { background-color: #F0F8FF; }
.mw-sp-translate-message-documentation { background-color: #C0C8FF; }
.mw-sp-translate-edit-definition { background-color: #EAF3FC; }
.mw-sp-translate-edit-warnings { background-color: #FFDBDB; }
.mw-translate-definition-preview { padding: 3px; }
/************************************************
 * MONOBOOK SKIN SPECIFIC CSS
 *
 * Please think carefully about whether any CSS
 * you plan on adding to this page would be more
 * suitable in [[MediaWiki:Common.css]]. Thanks.
 ************************************************/

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

/* Remove background image. */
body {
    background-image: none;
}

/* Hide logo */
#p-logo {
    display: none;
}

#column-one {
    padding-top: 22px;
}

/* Position the archive link in the top right corner of the page content area, just above the main heading bottom border. */
.archivelink {
    position:    absolute;
    z-index:     100;
    right:       40px;
    top:         2px;
    font-size:   85%;
    font-weight: bold;
}

/* It is unclear what the following CSS does, please add comments if you can clarify. */

.buttonlinks a {
    color:             black;
    background-color:  #ccddee;
    background-image:  url( 'http://upload.wikimedia.org/wikipedia/commons/c/c6/Blending_blue_button_background.png' );
    background-repeat: repeat-x;
    font-weight:       bold;
    font-size:         0.9em;
    text-decoration:   none;
    border:            thin #006699 outset;
    padding:           0 0.1em 0.1em 0.1em;
}

.buttonlinks a:hover,
.buttonlinks a:active {
    background-color: #bbccdd;
    border-style:     inset;
}

/* Kästen für Inter-Projekt-Links */
div.interbox {
    clear:  both;
    margin: 0px;
    border: 1px solid #c0c0c0;
}

div.interbox + div.interbox {
    border-top-style: hidden;
}

/* Blue tints for translate fieldsets */
.mw-sp-translate-edit-inother { background-color: #F8F8FF; }
.mw-sp-translate-in-other-small { background-color: #F0F8FF; }
.mw-sp-translate-in-other-big { background-color: #F0F8FF; }
.mw-sp-translate-message-documentation { background-color: #C0C8FF; }
.mw-sp-translate-edit-definition { background-color: #EAF3FC; }
.mw-sp-translate-edit-warnings { background-color: #FFDBDB; }
.mw-translate-definition-preview { padding: 3px; }