MediaWiki:Pivot.css
From Open Electrical by SMPex
Note: After publishing, 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: Press Ctrl-F5.
/* Custom colors */
/* top bar color */
.tab-bar {
background: #517398;
}
/* style the labels */
ul.side-nav label {
background: #517398;
color: #fff;
padding: .25em .5em;
}
/* sidebar background color */
body {
background-color: #dceaea;
}
/* controls the main body area styling */
#p-cactions {
padding-top: 1.5em;
padding-bottom: .5em;
background-color: #f6f6f6;
border-left: 1px solid #ccc;
border-right: 1px solid #ccc;
}
/* Style here are only to highlight functionality of Pivot */
/* make the main page subheaders solid bars */
.subheader {
background: #517398;
color: #fff;
text-align: center;
padding: .5em;
}
.row.display .columns:nth-child(2),
.row.display .columns.small-centered,
.row.display .columns.large-centered {
background: #e1e1e1 none repeat scroll 0% 0%;
}
.row.display {
background: #eee none repeat scroll 0% 0%;
font-size: 1rem;
margin-bottom: 10px;
line-height: 2rem;
border: 1px solid #c6c6c6;
margin-left: 0px !important;
margin-right: 0px !important;
}
.row.display-end {
background: #fff none repeat scroll 0% 0%;
font-size: 1rem;
margin-bottom: 10px;
line-height: 2rem;
border: 1px solid #c6c6c6;
margin-left: 0px !important;
margin-right: 0px !important;
}
.row.display-end .columns {
background: #e1e1e1 none repeat scroll 0% 0%;
border-left: 1px solid #c6c6c6;
}
pre.code {
background-color: #FAFAFA;
border-color: #dfdfdf;
border-style: solid;
border-width: 1px;
color: #444;
font-family: Consolas,"Liberation Mono",Courier,monospace;
font-weight: normal;
padding: .75em;
font-size: .85rem;
}
/* Table of Contents */
@media only screen and (min-width: 769px) {
#toc,
.toc {
float: right;
margin: .5em 0 .5em .5em;
}
}
/* Fix edit bar of VisualEditor at least for MediaWiki 1.31 and later */
.oo-ui-tool .oo-ui-tool-link {
padding-top: 0;
}
.oo-ui-popupToolGroup .oo-ui-tool-link .oo-ui-tool-accel,
.oo-ui-popupToolGroup .oo-ui-tool-link .oo-ui-tool-title {
padding-top: 1em;
}