Warning:
This wiki has been archived and is now read-only.
MediaWiki:Common.css
From W3C eGovernment Wiki
Note: After saving, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to all skins */
/* from http://en.wikipedia.org/wiki/MediaWiki:Common.css */
/* 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;
}
/* for linked data tables */
table.data-table {
font-size:0.9em;
color:black;
border-style: none;
border-collapse:collapse;
}
.data-table tr:hover {
background: #cec;
}
table.data-table th:hover a {
text-decoration: underline;
color: blue;
}
table.data-table th {
background-color:#E8E8E8;
font-weight:normal;
}
table.data-table th a {
text-decoration: none;
color: black;
}
#bodyContent table.data-table th a.external {
text-decoration: none;
color: black;
}
table.data-table th:hover {
background-color:#F0F0F0;
/* text-decoration: none;
color: blue; */
}
table.data-table td, th {
border:1px solid #AAAAAA;
padding-left:0.3em;
padding-right:0.3em;
/* text-align:center; */
}
/*
Make a few changes for add-on class "form-table"
*/
table.form-table {
border-collapse: separate;
border-spacing: 0.2em;
}
table.form-table th {
border: none;
/* text-align: right; */
}
table.form-table td {
text-align: left;
}
/* 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;
}
/***********************************************************/
/* for TR-Like Pages */
.w3ctr dl {
background: white;
width: 100%;
border: none;
margin-top: 0;
margin-bottom: 0;
padding-top: 0;
padding-bottom: 0;
}