Difference between revisions of "MediaWiki:Common.css"

From Vague Hope Wiki
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
     margin: 1em 1em 1em 0;
 
     margin: 1em 1em 1em 0;
 
     background: none;
 
     background: none;
     border: 1px #aaa solid;
+
     border: none;
 
     border-collapse: collapse;
 
     border-collapse: collapse;
 
}
 
}
Line 13: Line 13:
 
table.prettytable th, table.prettytable td {
 
table.prettytable th, table.prettytable td {
 
     border: 1px #aaa solid;
 
     border: 1px #aaa solid;
     padding: 0.2em;
+
     padding: 0.2em 1em 0 1em;
 
}
 
}
 
   
 
   
 
table.wikitable th,
 
table.wikitable th,
 
table.prettytable th {
 
table.prettytable th {
     /*background: #f2f2f2;*/
+
     background: none;
 
     text-align: center;
 
     text-align: center;
 +
    border: none;
 
}
 
}
 
   
 
   

Latest revision as of 10:25, 6 July 2011

/* 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: none;
    border: none;
    border-collapse: collapse;
}
 
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
    border: 1px #aaa solid;
    padding: 0.2em 1em 0 1em;
}
 
table.wikitable th,
table.prettytable th {
    background: none;
    text-align: center;
    border: none;
}
 
table.wikitable caption,
table.prettytable caption {
    margin-left: inherit;
    margin-right: inherit;
    font-weight: bold;
}
 
table.prettytable code,
table.wikitable code {
    background-color: transparent;
}