MediaWiki:Common.css: Różnice pomiędzy wersjami
Przejdź do nawigacji
(zmiana padding) |
(Poprawka errora kompilacji CSS.) |
||
Linia 105: | Linia 105: | ||
table.wieża { | table.wieża { | ||
float: right; | float: right; | ||
margin-left: | margin-left: 1em; | ||
margin-bottom: 0.5em; | margin-bottom: 0.5em; | ||
width: 242px; | width: 242px; |
Wersja z 11:20, 23 sie 2011
/* Umieszczony tutaj kod CSS zostanie zastosowany we wszystkich skórkach */ /* Ambox */ table.ambox { margin: 0 10%; /* Will not overlap with other elements */ border-collapse: collapse; background-color: #fbfbfb !important; border: 1px solid #aaa; border-left: 10px solid #1e90ff; /* Default "notice" blue */ } table.ambox th.ambox-text, table.ambox td.ambox-text { /* The message body cell(s) */ padding: 0.25em 0.5em; /* 0.5em left/right */ width: 100%; /* Make all templates the same width regardless of text size */ } table.ambox td.ambox-image { /* The left image cell */ padding: 2px 0px 2px 0.5em; /* 0.5em left, 0px right */ text-align: center; } table.ambox td.ambox-imageright { /* The right image cell */ padding: 2px 4px 2px 0px; /* 0px left, 4px right */ text-align: center; } table.ambox-notice { border-left: 10px solid #1e90ff; /* Blue */ /* border-right: 10px solid #1e90ff; */ /* If you want two blue bars */ } table.ambox-delete, table.ambox-serious { border-left: 10px solid #b22222; /* Red */ } table.ambox-content { border-left: 10px solid #f28500; /* Orange */ } table.ambox-style { border-left: 10px solid #f4c430; /* Yellow */ } table.ambox-merge { border-left: 10px solid #9932cc; /* Purple */ } table.ambox-protection { border-left: 10px solid #bba; /* Gray */ } table.ambox.ambox-mini { /* small floating box variant */ float: right; clear: right; margin: 0 0 0 1em; width: 25%; } /* Wikitable */ table.wikitable { width: 100%; margin: 1em 1em 1em 0; background: #FFE7B4; color: black; border: thin #000000 solid; border-collapse: collapse; } table.wikitable tbody { background: #FFE7B4; } table.wikitable th { color: black; border: #000000; background: #B2976A; padding: 0.2em; border-style: double; border-width: 4px; } table.wikitable td { border-color: #000000; border-style: double; border-width: 4px; } table.wikitable th { background: #B2976A; text-align: center; } table.wikitable caption { margin-left: inherit; margin-right: inherit; } /* Kolor odwiedzonych linków */ a:visited { color: #8B6234; } #p-navigation a:visited { color: #97855E; } #p-personal li a:visited { color: #97855E; } #p-tb a:visited { color: #97855E; } .portlet a:visited { color: #97855E; } /* Styl wieży */ table.wieża { float: right; margin-left: 1em; margin-bottom: 0.5em; width: 242px; background:#FFE7B4; border:#000000 solid 1px; text-align: left;" } /* Ramka wokół miniatury obrazka */ div.thumb { border-color: transparent; } /* Link powrotny */ #bodyContent .link_back a { background: url("http://wiki.pl.grepolis.com/images/0/01/Strzałka_lewo.png") center left no-repeat; padding-left: 19px; padding-right: 0; } /* Nowa modyfikacja dla Wiki */ a.podpowiedz span { display: none; padding: 2px 3px; margin-left: 8px; width: 130px; } a.podpowiedz:hover span{ display: inline; position: absolute; margin: 15px 0 0 5px; background: #dddddd; border: 1px solid #b30000; color: #000000; -moz-opacity: 0.8; opacity:.80; filter: alpha(opacity=80); text-align: center; } /* Rozmiary nagłówków */ h1, h2, h3, h4, h5, h6 { color: black; background: none; font-weight: normal; margin: 0; padding-top: .4em; padding-bottom: .17em; border-bottom: 1px solid #97855e; } h1 { font-size:24px; } h1 .editsection { font-size: 53%; } h2 { font-size: 150%; font-weight: bold;} h2 .editsection { font-size: 67%; } h3, h4, h5, h6 { border-bottom: none; font-weight: bold; } h3 { font-size: 120%; } h3 .editsection { font-size: 76%; font-weight: normal; } h4 { font-size: 110%; } h4 .editsection { font-size: 86%; font-weight: normal; } h5 { font-size: 100%; } h5 .editsection { font-weight: normal; } h6 { font-size: 80%; } h6 .editsection { font-size: 125%; font-weight: normal; } /* Tabela z Westa */ table.westtable { width: 100%; border: 1px solid black; border-collapse: collapse; background-color: #F2D494; } table.testtable th { border: 1px solid black; padding: 5px; background-color: #CBB077; } table.testtable td { border: 1px solid black; padding: 5px; } /* Test tabeli */ table.testtable { width: 100%; border: 1px solid black; border-collapse: collapse; background-color: #FFE1A4; } table.testtable th { border: 1px solid black; padding: 5px; background-color: #E5C98D; } table.testtable td { border: 1px solid black; padding: 5px; }