MediaWiki:Common.css
Jump to navigation
Jump to search
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 / Edge: 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 */
h1,h2,h3,h4,h5,h6 {
font-weight: normal !important;
}
h1,h3,h5 {
color: #990066;
}
h2,h4,h6 {
color: #666666;
}
code,pre {
font-family: "Lucida Console", Monaco, monospace;
}
table, th, tr, td {
vertical-align: top;
text-align: left;
}
caption {
caption-side: bottom;
}
.right {
float: right;
}
.part {
margin: 1em;
padding: 1em;
background-color: #EEEEEE;
}
/* MediaWiki Logo and Portlets */
/* The footer and the other bars need to be adjusted too ...
#column-one {
position:fixed;
}
*/
/* Table of Contents */
#toc {
/* position: fixed; */
float: right;
margin: 1em 0 1em 2em;
}
/* MediaWiki */
/* Do not force uppercase */
.portlet h5, .portlet h6, #p-personal ul, #p-cactions li a {
text-transform: none;
}
/* Wikitable class for skinning normal tables */
table.wikitable {
margin: 1em 1em 1em 0;
background: #EEEEEE;
border: 1px white solid;
border-collapse: collapse;
empty-cells: show;
}
table.wikitable caption {
caption-side: bottom;
font-weight: bold;
}
table.wikitable th, table.wikitable td {
border: 1px white solid;
padding: 0.2em 0.4em;
text-align: left;
}
// Colors
table.wikitable th {
background-color: #666666;
}
table.wikitable tr:hover {
background-color: #ffffcc;
}