MediaWiki:Common.css: Różnice pomiędzy wersjami
Przejdź do nawigacji
(UWAGA! Usunięcie treści (strona pozostała pusta)!) |
Nie podano opisu zmian |
||
Linia 1: | Linia 1: | ||
/* 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 { | |||
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: {{{3|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; | |||
} |
Wersja z 16:14, 27 mar 2010
/* 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 { 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: {{{3|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; }