Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
} | } | ||
− | pre { | + | code,pre { |
font-family: "Lucida Console", Monaco, monospace; | font-family: "Lucida Console", Monaco, monospace; | ||
} | } | ||
table, th, tr, td { | table, th, tr, td { | ||
− | + | vertical-align: top; | |
− | + | text-align: left; | |
+ | } | ||
.right { | .right { | ||
− | + | float: right; | |
− | + | } | |
.part { | .part { | ||
− | + | margin: 1em; | |
− | + | padding: 1em; | |
− | + | background-color: #EEEEEE; | |
− | + | } | |
/* MediaWiki Logo and Portlets */ | /* MediaWiki Logo and Portlets */ | ||
/* The footer and the other bars need to be adjusted too ... | /* The footer and the other bars need to be adjusted too ... | ||
#column-one { | #column-one { | ||
− | + | position:fixed; | |
} | } | ||
*/ | */ | ||
Line 40: | Line 41: | ||
/* Table of Contents */ | /* Table of Contents */ | ||
#toc { | #toc { | ||
− | + | /* position: fixed; */ | |
− | + | float: right; | |
− | + | margin: 1em 0 1em 2em; | |
− | + | } | |
/* MediaWiki */ | /* MediaWiki */ | ||
/* Do not force uppercase */ | /* Do not force uppercase */ | ||
.portlet h5, .portlet h6, #p-personal ul, #p-cactions li a { | .portlet h5, .portlet h6, #p-personal ul, #p-cactions li a { | ||
− | + | text-transform: none; | |
− | } | + | } |
/* Wikitable class for skinning normal tables */ | /* Wikitable class for skinning normal tables */ | ||
table.wikitable { | table.wikitable { | ||
− | + | margin: 1em 1em 1em 0; | |
− | + | background: #EEEEEE; | |
− | + | border: 1px white solid; | |
− | + | border-collapse: collapse; | |
− | + | empty-cells: show; | |
− | + | text-align: left; | |
− | } | + | } |
− | table.wikitable tr:hover { background-color: #ffffcc; } | + | table.wikitable tr:hover { |
+ | background-color: #ffffcc; | ||
+ | } | ||
table.wikitable th, table.wikitable td { | table.wikitable th, table.wikitable td { | ||
− | + | border: 1px white solid; | |
− | + | padding: 0.2em 0.4em; | |
} | } | ||
table.wikitable th, table.wikitable td.hl3, table.wikitable th.hl3 { | table.wikitable th, table.wikitable td.hl3, table.wikitable th.hl3 { | ||
− | + | background: #990066; | |
− | + | color: #990066; | |
− | |||
} | } | ||
table.wikitable td.hl1, table.wikitable th.hl1 { | table.wikitable td.hl1, table.wikitable th.hl1 { | ||
− | + | background: #c5d8fc; | |
− | |||
} | } | ||
table.wikitable td.hl2, table.wikitable th.hl2 { | table.wikitable td.hl2, table.wikitable th.hl2 { | ||
− | + | background: #a7c1f2; | |
− | |||
} | } | ||
table.wikitable caption { | table.wikitable caption { | ||
− | + | margin-left: inherit; | |
− | + | margin-right: inherit; | |
− | + | font-weight: bold; | |
} | } |
Revision as of 15:15, 12 October 2016
/* 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;
}
.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;
text-align: left;
}
table.wikitable tr:hover {
background-color: #ffffcc;
}
table.wikitable th, table.wikitable td {
border: 1px white solid;
padding: 0.2em 0.4em;
}
table.wikitable th, table.wikitable td.hl3, table.wikitable th.hl3 {
background: #990066;
color: #990066;
}
table.wikitable td.hl1, table.wikitable th.hl1 {
background: #c5d8fc;
}
table.wikitable td.hl2, table.wikitable th.hl2 {
background: #a7c1f2;
}
table.wikitable caption {
margin-left: inherit;
margin-right: inherit;
font-weight: bold;
}