Difference between revisions of "MediaWiki:Common.css"

From THCCwiki
Jump to navigation Jump to search
(Define wikitable styles)
 
m (Turn f)
Line 23: Line 23:
 
.prettytable caption {
 
.prettytable caption {
 
     font-weight: bold;
 
     font-weight: bold;
 +
}
 +
 +
/* turn off Home page title */
 +
body.page-Home.action-view h1.firstHeading,
 +
body.page-Home.action-submit h1.firstHeading
 +
{
 +
  display: none;
 
}
 
}

Revision as of 22:31, 23 April 2016

/* CSS placed here will be applied to all skins */

 
/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
    margin: 1em 1em 1em 0;
    background: #f9f9f9;
    border: 1px #aaa solid;
    border-collapse: collapse;
}
.wikitable th, .wikitable td,
.prettytable th, .prettytable td {
    border: 1px #aaa solid;
    padding: 0.2em;
}
.wikitable th,
.prettytable th {
    background: #f2f2f2;
    text-align: center;
}
.wikitable caption,
.prettytable caption {
    font-weight: bold;
}

/* turn off Home page title */
body.page-Home.action-view h1.firstHeading,
body.page-Home.action-submit h1.firstHeading
{
  display: none;
}