MediaWiki:Common.css: Porovnání verzí
Z Milan Kerslager
(Založení článku) |
m (Styl) |
||
Řádka 3: | Řádka 3: | ||
/* === pěkná tabulka === */ | /* === pěkná tabulka === */ | ||
− | + | table.wikitable, | |
− | + | table.prettytable | |
− | + | { | |
background-color: #f9f9f9; | background-color: #f9f9f9; | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
margin-top: 1em; | margin-top: 1em; | ||
− | + | } | |
− | + | table.wikitable th, table.wikitable td, | |
− | + | table.prettytable th, table.prettytable td | |
− | + | { | |
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
padding: .2em; | padding: .2em; | ||
− | + | } | |
− | + | table.wikitable th, | |
− | + | table.prettytable th | |
− | + | { | |
background-color: #f2f2f2; | background-color: #f2f2f2; | ||
text-align: center; | text-align: center; | ||
− | + | } | |
− | + | table.wikitable caption, | |
− | + | table.prettytable caption | |
− | + | { | |
margin-left: inherit; | margin-left: inherit; | ||
margin-right: inherit; | margin-right: inherit; | ||
− | + | } |
Verze z 17. 9. 2008, 15:44
/* Zde uvedené CSS bude ovlivňovat všechny styly */
/* === pěkná tabulka === */
table.wikitable,
table.prettytable
{
background-color: #f9f9f9;
border: 1px solid #aaa;
border-collapse: collapse;
margin-top: 1em;
}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td
{
border: 1px solid #aaa;
padding: .2em;
}
table.wikitable th,
table.prettytable th
{
background-color: #f2f2f2;
text-align: center;
}
table.wikitable caption,
table.prettytable caption
{
margin-left: inherit;
margin-right: inherit;
}