MediaWiki:Monobook.css
Материал из Энциклопедия МИФИ
Энциклопедия МИФИ > MediaWiki > Monobook.css
Замечание: Чтобы после сохранения увидеть сделанные изменения, очистите кеш своего браузера: Mozilla / Firefox: Ctrl+Shift+R, IE: Ctrl+F5, Safari: Cmd+Shift+R, Konqueror: F5, Opera: через меню Tools>Preferences.
/* Размещённый здесь CSS будет применяться к теме оформления Monobook */ body.page-Заглавная_страница #t-cite, body.page-Заглавная_страница #lastmod, body.page-Заглавная_страница #siteSub, body.page-Заглавная_страница #contentSub, body.page-Заглавная_страница h1.firstHeading { display: none !important } /* Взято с http://ro.wikipedia.org/wiki/MediaWiki:Monobook.css?action=edit */ /*<pre><nowiki>*/ /* Pentru aparenţa monobook, {{SITENAME}} vine cu o inovaţie. Utilizatorii individuali pot să adpateze formatul {{SITENAME}} la cerinţele lor. */ /* 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: none } /* 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; } /* Experiment de accesibilitate: face diferenţele dintre versiuni, când le urmăriţi în "istoric" să fie mai bine definite */ .diffchange { font-weight: bold; background-color: inherit; } td.diff-addedline, td.diff-deletedline, td.diff-context { font-size: 85%; color: inherit; } #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. */ /* Vezi #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 */ #p-cactions ul li, #p-cactions ul li a { -moz-border-radius-topleft:1em; -moz-border-radius-topright:1em; } #content { -moz-border-radius-topleft:1em; -moz-border-radius-bottomleft:1em; } .pBody { -moz-border-radius-topright:1em; -moz-border-radius-bottomright:1em; } /* 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; } #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; } /************************/ /* CommonsTicker styles */ /************************/ /* links */ .tickerDiffLink { } /* diff links in ticker */ .tickerMiscLink { } /* misc links in ticker */ /* remove list bullets */ .tickerList ul, .tickerList ul li { list-style: none; text-indent:-2em; margin-left:2em; text-align:left; } .tickerList ul ul, .tickerList ul ul li { list-style: none; text-indent:0; margin-left:1.5em; text-align:left; } /* per-type styles */ .tickerEntry_deleted { } /* entry for image deletion */ .tickerEntry_restored { } /* entry for restored image */ .tickerEntry_replaced { } /* entry for image replacement */ .tickerEntry_tagged { } /* entry for adding/removing problem tags */ .tickerEntry_redir { } /* entry for critical redirection (fot tag redirects) */ .tickerEntry_recat { } /* entry for critical re-categorization (for tag categories) */ .tickerEntry_notify { } /* entry for global notifications */ .tickerEntry_changed { } /* entry for generic change */ /* per-status styles */ .tickerStatus_done { text-decoration:line-through; } /* strike through when entry has been handeled */ /* per-action styles */ .tickerAction_deleted:before { content:" GONE "; color: #FF0000; font-family:monospace; font-weight:bold; font-size:100%; } .tickerAction_restored:before { content:" BACK "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; } .tickerAction_deletedRev:before { content:" -OLD "; color: #DDAAAA; font-family:monospace; font-weight:bold; font-size:100%; } .tickerAction_replaced:before { content:" REPL "; color: #CC88FF; font-family:monospace; font-weight:bold; font-size:100%; } .tickerAction_replacedOwn:before { content:" UPDT "; color: #EEAAFF; font-family:monospace; font-weight:bold; font-size:100%; } .tickerAction_addedBad:before { content:" +VfD "; color: #FF8800; font-family:monospace; font-weight:bold; font-size:100%; } .tickerAction_removedBad:before { content:" -VfD "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; } .tickerAction_addedGood:before { content:" +OK "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; } .tickerAction_removedGood:before { content:" -OK "; color: #FF8800; font-family:monospace; font-weight:bold; font-size:100%; } /* ticker usage list */ .tickerUsage { font-size:80%; } /* entry applies to a template used by multiple images */ .tickerTemplateEntry { font-weight: bold; } /* entry applies to sub-entries, i.e. images that use a specific template */ .tickerSubEntry { } /* minor entry styles */ .tickerMinorEntry { color:#666; } /* minor entry */ .tickerMinorEntry a, .tickerMinorEntry a:link, .tickerMinorEntry a:visited { color:#669; } #bodyContent .tickerMinorEntry a.extiw, #bodyContent .tickerMinorEntry a.extiw:link, #bodyContent .tickerMinorEntry a.extiw:visited { color:#669; } /* 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; } /*<pre><nowiki>*/</nowiki></pre>