Difference between revisions of "MediaWiki:Common.css"
From ProgClub
(20 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
/* hide the 'Main Page' heading on the main page */ | /* hide the 'Main Page' heading on the main page */ | ||
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; } | body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; } | ||
+ | body.page-Main_Page .mw-body { padding-top: 0px; } | ||
/* enable right padding for table data... */ | /* enable right padding for table data... */ | ||
Line 13: | Line 14: | ||
/* setup the home page... */ | /* setup the home page... */ | ||
+ | table.homemain { width: 99%; } | ||
table.homepage { width: 99%; } | table.homepage { width: 99%; } | ||
− | .homepage th { text-align: left; padding-left: | + | .homepage th { text-align: left; padding-left: 1.5em; } |
− | .homepage | + | .homepage td { vertical-align: top; } |
+ | .homepage ul { list-style: none; margin-left: 10px; margin-bottom: 18px; } |
Latest revision as of 22:01, 11 December 2017
/* CSS placed here will be applied to all skins */ /* fixup the logo positioning... */ #p-logo a { background-position: center center !important; } /* hide the 'Main Page' heading on the main page */ body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; } body.page-Main_Page .mw-body { padding-top: 0px; } /* enable right padding for table data... */ .right td { text-align: right; } .right td:first-child { text-align: left; } /* setup the home page... */ table.homemain { width: 99%; } table.homepage { width: 99%; } .homepage th { text-align: left; padding-left: 1.5em; } .homepage td { vertical-align: top; } .homepage ul { list-style: none; margin-left: 10px; margin-bottom: 18px; }