MediaWiki:Common.css: Różnice pomiędzy wersjami
Przejdź do nawigacji
(tr td) |
(table) |
||
Linia 59: | Linia 59: | ||
margin-left: inherit; | margin-left: inherit; | ||
margin-right: inherit; | margin-right: inherit; | ||
} | |||
/* 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%; | |||
} | |||
/* 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; | |||
} | } |
Wersja z 14:42, 11 paź 2013
/* Umieszczony tutaj kod CSS zostanie zastosowany we wszystkich skórkach */ /* Wikitable */ table.wikitable4 { width:100%; border:1px solid #804000; /* border-collapse:collapse; */ } table.wikitable4 td { font-size:1em; border:1px solid #804000; padding:3px 7px 2px 7px; } table.wikitable4 th { font-size:1.1em; text-align:center; padding-top:5px; padding-bottom:4px; background-color:#CDB481; color:#000000; border:1px solid #804000; } table.wikitable4 tr td { color:#000000; background-color:#FFE7B4; } /* Stara Wikitable */ table.wikitable3 { margin: 1em 1em 1em 0; background: #BBBBBB; color: black; border: thin #524441 solid; border-collapse: collapse; } table.wikitable3 tbody { background: #BBBBBB; } table.wikitable3 th { border: #524441; background: #999999; padding: 0.2em; border-style: double; border-width: 4px; } table.wikitable3 td { border-color: #524441; border-style: double; border-width: 4px; } table.wikitable3 th { background: #999999; text-align: center; } table.wikitable3 caption { margin-left: inherit; margin-right: inherit; } /* 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%; } /* 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; }