On Tue, Jan 27, 2009 at 5:55 PM, Jean-Marc van Leerdam
<[email protected]> wrote:
>
> the prettytable style class is not part of the default skins AFAIK. You have
> to set it up yourself in MediaWIki:Common.css
>
> Try adding something to that file like:
>
> .prettytable, .prettytable table
> {
>    border: 1px solid rgb(176, 196, 222);
>    border-collapse: collapse;
>    font-size: 95%;
>    margin: 1em;
>    background: rgb(255, 255, 255);
> }
>
> .prettytable table
> {
>    margin: 0;
> }
>
> .prettytable td, table.prettytable th
> {
>    border: 1px solid rgb(176, 196, 222);
>    padding: 4px;
> }
>
> .prettytable th
> {
>    background-color: rgb( 70, 130, 180);
>    color: rgb(255, 255, 255);
> }

Gee, I didn't know that. Thanks for the info. It works now. I use
monobook skin, and add those line in:

/var/lib/mediawiki/skins/monobook/main.css

-- 
Zaki Akhmad

_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to