MediaWiki:Monobook.css

De la Wikiștiri

Notă: După salvare, trebuie să treceți peste cache-ul browser-ului pentru a vedea modificările. Mozilla/Safari/Konqueror: țineți apăsat Shift în timp ce apăsați Reload (sau apăsați Ctrl-Shift-R), IE: apăsați Ctrl-F5, Opera: apăsați F5.

<pre>

/* 
Pentru aparența monobook, {{SITENAME}} vine cu o inovație. 
Utilizatorii individuali pot să  adpateze formatul {{SITENAME}} la cerințele lor.
*/

#fundraising {
 text-align: center;
 border: 1px solid gray;
 padding: 5px;
}

/* Tabelul din pagina de [[Special:Userlogin|Autentificare]] */
#ca-edit a { font-weight: bold !important; }

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

form#userlogin {
  float: left;
  padding: 1em 1em .7em 1em;
  background-color: #ffffe6;
  border: 2px solid #fc6;
  color: #000;
  margin-right: 2em;
}

form#userlogin table {
  float: left;
  background-color: #ffffe6;
  color: #000;
}

p.error {
  font-weight: bold;
}

a { text-decoration: underline }

/* Culoarea indicatorului pentru pagini noi în pagina [[Special:Recentchanges|schimbări recente]] ([[MediaWiki:Newpageletter]]) */
span.newpage {
  color: white;
  background-color: red;
}

/*************************************/
/* ÎNCEPUT SECȚIUNE ALBASTRU DESCHIS */
/*************************************/
/* Toate paginile care nu sunt articole primesc culoarea albastru deschis. Asta se face prin stabilirea tuturor zonelor #content pentru albastru deschis, și apoi prin aplicarea culorii pentru orice #content dintr-un .ns-0 (main namespace). Am făcut apoi același lucru pentru culorile de fundal ale "tab"-urilor. --Danutz */

#content {
    background: #F8FCFF; /* albastru deschis */
}

#content div.thumb {
    border-color: #F8FCFF;
}

.ns-0 * #content {
    background: white;
}

#mytabs li {
    background: #F8FCFF;
}

.ns-0 * #mytabs li {
    background: white;
}

#mytabs li a {
    background-color: #F8FCFF;
}

.ns-0 * #mytabs li a {
    background-color: white;
}

#p-cactions li a {
    background-color: #F8FCFF;
}

.ns-0 * #p-cactions li a {
    background-color: white;
}

.ns-0 * #content div.thumb {
    border-color: white;
}

/*************************************/
/* SFÂRȘIT SECȚIUNE ALBASTRU DESCHIS */
/*************************************/

/* Afișare "De la Wikipedia, enciclopedia liberă" */
#siteSub {
  display: inline;
  font-weight: normal;
  font-size: 0.95em;
}

#bodyContent #siteSub a {
    color: #000;
    text-decoration: none;
    background-color: transparent;
    background-image: none;
    padding-right: 0;
}

/* Legătura 'editează pagina' în aldine, pentru a încuraja nou-veniții */
#ca-edit a { font-weight: bold !important; }

/* Afișare "Ești deja autentificat ca $1!"
   ([[MediaWiki:Alreadyloggedin]]) cu roșu și în aldine */
div.alreadyloggedin { color: red; font-weight: bold; }

@media print {
    /* Nu se imprimează legătura de editare ([[Format:Ed]]) în formate
       Nu se imprimează diferite clase care nu ar trebui să apară pe hârtie */
    .editlink, .noprint, .metadata, .dablink { display: none }
}


/* Stil pentru "atenționări" */
.notice {
    text-align: justify;
    margin: 1em 0.5em;
    padding: 0.5em;
}

#disambig {
    border-top: 3px double #cccccc; 
    border-bottom: 3px double #cccccc;
}

#spoiler {
    border-top: 2px solid #ddd;
    border-bottom:2px solid #ddd;
}

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

form#userlogin {
  float: left;
  padding: 1em 1em .7em 1em;
  background-color: #ffffe6;
  border: 2px solid #fc6;
  color: #000;
  margin-right: 2em;
}

form#userlogin table {
  float: left;
  background-color: #ffffe6;
  color: #000;
}

p.error {
  font-weight: bold;
}

/* Class styles */

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

/* Remove padding from external links displayed without icon */
#bodyContent .plainlinks a {padding: 0 !important}

/* Experiment: slightly fade inactive tabs */

#p-cactions a {
   filter: alpha(opacity=90);
}

#p-cactions a:hover, #p-cactions .selected a {
   filter: none;
}


#p-nav h5 {
   display: none;
}

.portlet a {
   text-decoration: none;
}

.portlet a:hover {
   text-decoration: underline;
}

#p-nav .pBody {
   padding-right: 0;
}

#p-nav a {
   display: block;
   width: 100%;
}

/* Nu se afișează caractere speciale */
/* #editpage-specialchars { display: none; } */

/* Face fundalul unei imagini transparente alb în loc de gri. */
/* Fezi #Framed_image_background_color */
div.thumb div a img {
    background-color:#ffffff;
}

/* Stil standart pentru discuție format */

.Talk-Notice  {
    border: 1px solid #C0C090;
    background-color: #F8EABA;
    margin-bottom: 3px;
    width: 85%;
    border-spacing: 3px;
    margin-left: auto;
    margin-right: auto;
}

/* Face ca fundalul formatelor să fie afișat corect în toate browserele */
.Talk-Notice td {
    background: inherit;
}

/* Choose whether to have AD/BC dates or CE/BCE dates*/

/* First, the default : display both : See templates ADCE and BCEBC for how these are used*/
.Use_Default_Date_Convention { display: inline; }
.Use_AD_and_BC { display: none; }
.Use_BCE_and_CE { display: none; }

/* If you want to display AD and BC add the following to User:You/monobook.css page */
/*
.Use_Default_Date_Convention { display: none; }
.Use_AD_and_BC { display:inline; }
.Use_BCE_and_CE { display:none; }
*/

/*If you want to display CE and BCE add the following to User:You/monobook.css page */
/*
.Use_Default_Date_Convention { display: none; }
.Use_AD_and_BC { display:none; }
.Use_BCE_and_CE {display:inline; }
*/

/*Adaugă formatare pentru a asigura că "referințele externe" din [[Format:Ref]] nu primesc extensii URL , nici măcar la imprimare.
*/

.plainlinksneverexpand {
  background: none ! important;
  padding: 0 ! important;
}

.plainlinksneverexpand .urlexpansion {
  display : none ! important;
}

/* Se asigură că legăturile externe afișate în "plainlinksneverexpand" nu primesc săgeata...
*/
#bodyContent .plainlinksneverexpand a {
   background: none !important;
   padding: 0 !important
}

/* put scrollbar on pre sections instead of ugly cutoff/overlap in firefox */
pre { overflow: auto; }
/* link in selected tab */
#p-cactions ul li.selected a {
  /* font-weight: bold; */
}

/* Alinează textul din tabel vertical, până sus */
table.nagore tbody {
  vertical-align:top;
}

#siteNotice { padding: 0.3em; text-align: center; margin-bottom: 0.5em; }
#siteNotice:after { 
/* conținut: 'Pentru a sprijini creșterea Wikipediei, vă rugăm vizitați pagina noastră pentru donații (http://wikimediafoundation.org/fundraising), sau citiți despre cum folosim noi banii (http://meta.wikimedia.org/wiki/What_we_use_the_money_for).' Inactiv deocamdată */
}

#mainpage-toc h3 {
  font-size: 110%;
  margin-bottom: 0;
}
#mainpage-toc p {
  margin-top: 0;
  margin-bottom: 0;
}
#my-buttons {
  padding: 0.5em;
}
#my-buttons a {
  color: black;
  background-color: #ccddee;
  font-weight: bold;
  font-size: 0.9em;
  text-decoration: none;
  border: thin #006699 outset;
  padding: 0 0.1em 0.1em 0.1em;
}
#my-buttons a:hover, #my-buttons a:active {
  background-color: #bbccdd;
  border-style: inset;
}
#navbox ul li {
  list-style: none;
  margin-left: -1em;
}
#navtree ul {
  border-left: thin dotted gray;
  padding-left: .5em;
}
.pBody {
   padding: 0.3em 0.1em;
   -moz-border-radius-topright: .5em;
}
.portlet h5 {
   background-color: #e0e3e6;
   border: thin solid silver;
   -moz-border-radius-topleft: .5em;
   -moz-border-radius-topright: .5em;
}
.portal-box {
  border: thin dotted #003366;
  padding: 0.5em;
  margin-bottom: 0.5em;
}
.portal-box h2 {
  color: white;
  background-color: #005588;
  border: 0;
  padding: 0.3em 0.5em 0.2em 1em;
  font-size: 1.2em;
}
.portal-box .editsection, .portal-box .editsection a {
  color: white;
}
div.thumb div div.thumbcaption {
   text-align: center;
}
table.toccolours caption {
  font-weight: bold;
}
table.toccolours tr.hrow th {
  background-color: #e0e6e9;
}
table.toccolours tr.odd {
 background-color: inherit;
}
table.toccolours tr.even {
 background-color: #eceff3;
}
catlinks { 
 border: 0px;
 border-top: 2px dotted #aaaaaa;
}

/* colțuri rotunjite */

.pBody {
   padding: 0.1em 0.1em;
   -moz-border-radius-topright: 1em;
}
#p-cactions ul li, #p-cactions ul li a {  
  -moz-border-radius-topright: 0.8em;
  -moz-border-radius-topleft: 0.8em;
}
#content {
  -moz-border-radius-topleft: 0.8em;
}

/* tabelul în stil Monobook */

table.wikitabel {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px #aaaaaa solid;
  border-collapse: collapse;
}
table.wikitabel th {
  border: 1px #aaaaaa solid;
  padding: 0.2em;
  background: #efefef;
  text-align: center;
}
table.wikitabel td {
  border: 1px #aaaaaa solid;
  padding: 0.2em;
}

.infobox {
   border: 1px solid #aaaaaa;
   background-color: #f9f9f9;
   margin-bottom: 0.5em;
   margin-left: 1em; 
   padding: .2em;
   float: right;
   clear: right;
}
.infobox tr {
   vertical-align: top;
}
.infobox caption {
   margin-left: inherit;
}
.infobox.bordered {
   border-collapse: collapse;
}
.infobox.bordered td, .infobox.bordered th {
   border: 1px solid #aaaaaa;
}
.infobox.sisterproject {
   width: 22em;
}

.messagebox {
   border: 1px solid #aaaaaa;
   background-color: #f9f9f9;
   width: 85%;
   margin: 0 auto 1em auto;
   padding: .2em;
   text-align: justify;
}
.messagebox.merge {
   border: 1px solid #cf9fff;
   background-color: #f5edf5;
   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;
}


</pre>