MediaWiki:Common.css

Z High School DxD Wiki
Wersja Kornik (dyskusja | edycje) z dnia 11:42, 15 mar 2014

Skocz do:nawigacji, wyszukiwania

Uwaga: aby zobaczyć zmiany po zapisaniu, może zajść potrzeba wyczyszczenia pamięci podręcznej przeglądarki.

  • Firefox / Safari: Przytrzymaj Shift podczas klikania Odśwież bieżącą stronę, lub naciśnij klawisze Ctrl+F5 lub Ctrl+R (⌘-R na komputerze Mac)
  • Google Chrome: Naciśnij Ctrl-Shift-R (⌘-Shift-R na komputerze Mac)
  • Internet Explorer: Przytrzymaj Ctrl, jednocześnie klikając Odśwież, lub naciśnij klawisze Ctrl+F5
  • Opera: Wyczyść pamięć podręczną w Narzędzia → Preferencje
/* 1. Biurokrata — ciemnopomarańczowy kolor, król, pogrubienie */
.biurokrata a :not(#mw-editform-cancel),
a[title^="Użytkownik:Reddocksw"] :not(#mw-editform-cancel),
a[title^="Użytkownik:Kornik"] :not(#mw-editform-cancel)
{
  background: url(http://highschooldxd.xaa.pl/images/2/29/Biuro.png) center left no-repeat;
  padding-left: 20px;
  color: #f77400 !important;
  font-weight: bold;
}

.administrator a :not(#mw-editform-cancel),
a[title^="Użytkownik:Salaver"] :not(#mw-editform-cancel),
a[title^="Użytkownik:Nightwing"] :not(#mw-editform-cancel)
{
  background: url(http://highschooldxd.xaa.pl/images/1/15/Admin.png) center left no-repeat;
  padding-left: 20px;
  color: #0a0 !important;
  font-weight: bold;
}

span.comment a[href="/wiki/Specjalna:Wk%C5%82ad/Reddocksw"],
span.comment a[href="/wiki/Specjalna:Wk%C5%82ad/Kornik"] {
  font-weight: bold; color: #f77400 !important;
}

span.comment a[href="/wiki/Specjalna:Wk%C5%82ad/Salaver"]{
  font-weight: bold; color: #0a0!important;
}



#CookieInfo {
  width: 655px;
  position:fixed;
  z-index: 999;
  background: rgba(0,0,0,0.7);
  padding: 10px;
  border: 2px solid #6e0000;
  border-radius: 10px;
}


/* Umieszczony tutaj kod CSS zostanie zastosowany we wszystkich skórkach */

.infoboxnowy        { width: 327px; float: right; background: #7f7f7f; margin: 0 0 10px 10px;
                      border: 3px solid #fff; clear: right; border-radius: 5px; font-size: 11px; }
.infoboxnowy th     { background: #fff; text-align: right; }
.infoboxnowy td     { background: #fff; text-align: left; }
.infoboxnowy .main  { background: inherit; text-align: center; font-weight: bold; font-size: 130%; }
.infoboxnowy .obrazek { background: #fff; text-align: center; border-radius: 10px; }
.infoboxnowy .obrazek-beztla { background: transparent !important; }
.infoboxnowy .obrazek div { line-height: 1.25em; color: #666; font-style: italic; }
.infoboxnowy>tbody>tr:last-of-type>th:last-of-type { border-bottom-left-radius: 10px; }
.infoboxnowy>tbody>tr:last-of-type>td:last-of-type { border-bottom-right-radius: 10px; }
.infoboxnowy>tbody>tr:nth-of-type(2n+3)   td,
.infoboxnowy>tbody>tr:nth-of-type(2n+3)   th { background-color: #ddd; }
/* do High School DxD Wiki:Dla nowicjuszy */
.infoboxnowy>tbody>tr:only-of-type>th:only-of-type { border-radius: 10px 0 0 10px; }
.infoboxnowy>tbody>tr:only-of-type>td:only-of-type { border-radius: 0 10px 10px 0; }

/* Do szablonów nawigacyjnych */
.navbox { width: 100%; margin: auto; clear: both; text-align: center; padding: 1px; }
table.navbox>tbody>tr>th { background-color: #ccccee; white-space: nowrap; padding: 0 8px; font-size: 11px; }
table.navbox td { text-align: left; font-size: 10px; }
table.navbox>tbody>tr:nth-of-type(even) td { background-color: #dddddd; }
table.navbox tr:first-of-type th {border-top-left-radius: 10px;}
table.navbox tr:first-of-type td {border-top-right-radius: 10px;}
table.navbox tr:last-of-type th {border-bottom-left-radius: 10px;}
table.navbox tr:last-of-type td {border-bottom-right-radius: 10px;}
.NavFrame             { background-color: #12151c; margin: 0px; padding: 2px; border: 1px solid #aaa; 
                        text-align: center; border-collapse: collapse; border-radius: 10px; }
.NavFrame + .NavFrame { border-top-style: none; border-top-style: hidden; }
.NavPic               { background-color: #fff; margin: 0px; padding: 2px; float: left; }
.NavHead              { height: 1.6em; font-weight: bold; font-size: 12px; background-color: #12151c;
                        position: relative; border-radius: 10px; }
.NavContent           { font-size: 10px; }
.NavEnd               { margin: 0px; padding: 0px; line-height: 1px; clear: both; }
.NavToggle            { position: absolute; top: 0px; right: 5px; font-weight: normal; font-size: 10px; }
.NavFramer .NavHead   { height: 1.6em; font-weight: bold; font-size: 100%; background-color: #efefef; align: left; }
.NavTnavbar           { font-size: x-small; float: left; font-weight: normal; line-height: 160%;
                        text-align: left; margin-left: 2px; width: 36px; }
/* Lista nawigacyjna */
.nav-lista .NavFrame   { border: none !important; padding: 0 !important; background-color: inherit; }
.nav-lista .NavHead    { font-size: 11px; font-weight: normal !important;
                         background-color: transparent !important; text-align: left; }
.nav-lista .NavContent { margin: 0 inherit 0 0 !important; text-align: left; font-size: 11px; }
.nav-lista ul          { list-style: none none; line-height: inherit; }
.nav-lista li          { line-height: inherit; margin: 0; }

/* Kolorowanie wierszy w dokumentacji infoboxów */
.inf1 { background-color: #2d2d2f; }
.inf2 { background-color: #58585d; }
.inf3 { background-color: #4d4d7c; }
.inf4 { background-color: #75190a; }
Źródło „https://hsdxd.usermd.net/w/index.php?title=MediaWiki:Common.css&oldid=4034