Opened 16 years ago

Closed 16 years ago

#196 closed enhancement (fixed)

Add new style for table in mediawiki

Reported by: yjacolin Owned by: tmitchell
Priority: normal Milestone:
Component: WebSite Keywords: css, table, mediawiki
Cc: yjacolin@…

Description

This css will allow to create nicer table easily: | class="wikitable" style="text-align:center" !title !! title2

|blabla
blabla2

|}

/* Table formatting */

table.wikitable, table.prettytable {

margin:1em 1em 1em 0; background:#F9F9F9; border:1px #AAA solid; border-collapse:collapse; }

table.wikitable th, table.wikitable td, table.prettytable th, table.prettytable td {

border:1px #AAA solid; padding:0.2em; }

table.wikitable th, table.prettytable th {

background:#F2F2F2; text-align:center; }

table.wikitable caption, table.prettytable caption {

margin-left:inherit; margin-right:inherit; }

Change History (3)

comment:1 by yjacolin, 16 years ago

More css style for mediawiki here: http://meta.wikimedia.org/wiki/Help:User_style

Y.

comment:2 by tmitchell, 16 years ago

Owner: changed from webcom@… to tmitchell
Status: newassigned

Done. I edited the topic Mediawiki:Common.css and pasted in some of the css. Note if you used class=wikitable previously on some wiki pages, you mean need to refresh your browser to see the improvements.

Thanks for the suggestion Yves.

Close the ticket if you think this is complete.

comment:3 by yjacolin, 16 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.