Common.css: Difference between revisions
From Engineering Client Portal
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
display:block; | display:block; | ||
margin:auto; | margin:auto; | ||
padding: 1. | padding: 1.7ex; | ||
} | } | ||
Line 18: | Line 18: | ||
@media only screen and (max-width: 768px) { | @media only screen and (max-width: 768px) { | ||
#bannertext { | #bannertext { | ||
font-size: | font-size: 1.9em !important; | ||
line-height: 1.5em !important; | line-height: 1.5em !important; | ||
margin: 0.5em 1em 0 1em !important; | margin: 0.5em 1em 0 1em !important; | ||
Line 104: | Line 104: | ||
visibility: hidden; | visibility: hidden; | ||
height: 0px; | height: 0px; | ||
} | |||
/* Custom Foreground menubar colors */ | |||
.top-bar, | |||
.top-bar-section ul, | |||
.top-bar-section ul li.active > a, | |||
.top-bar-section li a:not(.button), | |||
.top-bar-section .has-form { | |||
background: green; | |||
color: orange; | |||
} | |||
.top-bar-section > ul > .divider, | |||
.top-bar-section > ul > [role="separator"] { | |||
border-color: blue; | |||
} | |||
/* Darker color for the hover over items */ | |||
.top-bar-section ul li.hover > a, | |||
.top-bar-section ul li ul.dropdown li.hover > a { | |||
background: red; | |||
} | |||
/* Slightly darker color for the dropdowns */ | |||
.top-bar-section ul li ul.dropdown li > a { | |||
background: purple; | |||
} | } |
Revision as of 23:00, 25 April 2017
/* CSS placed here will be applied to all skins */
.iconImage {
display:block;
margin:auto;
padding: 1.7ex;
}
.iconText {
position: relative;
font-size: 1.8em;
line-height: 1.2em;
font-family: brandonGrotesque;
text-transform:uppercase;
z-index: +1000;
}
@media only screen and (max-width: 768px) {
#bannertext {
font-size: 1.9em !important;
line-height: 1.5em !important;
margin: 0.5em 1em 0 1em !important;
white-space: normal !important;
}
.iconText {
font-size: 1em !important;
}
}
div#bannerDataTexture {
background-image: url('/w/resources/assets/Waves_1_Blue_RGB_bar.png');
}
#navwrapper img {
vertical-align: top !important;
padding-right: 10px;
}
p + p{
margin-top:10px;
}
body.page-Main_Page.action-view h2.title, body.page-Main_Page.action-submit h2.title { display: none;
}
#footer-lastmod { display: none; }
h4.namespace.label { display: none !important; } /* "Special" label */
.mw-search-createlink { display: none; } /* Create page in Search */
div #toc.toc { font-size: 75%; }
.mw-headline {
color: #009dd8;
font-size: large;
}
h2{
margin-bottom: 0em !important;
}
div #catlinks.catlinks { margin-top: 2.5em !important; }
footer.row {
margin-bottom: 1.5em;
}
ul#filetoc{
visibility: hidden;
height: 0px;
}
h2#firstHeading.title {
font-family: brandonGrotesque;
text-transform: uppercase;
margin-bottom: 1em;
}
h2#filehistory {
visibility: hidden;
height: 0px;
}
h3#tagline {
visibility: hidden;
height: 0px;
}
div#mw-imagepage-section-filehistory {
visibility: hidden;
height: 0px;
}
span.mw-redirectedfrom {
visibility: hidden;
height: 0px;
}
h2#metadata {
visibility: hidden;
height: 0px;
}
div.mw-imagepage-section-metadata {
visibility: hidden;
height: 0px;
}
/* Custom Foreground menubar colors */
.top-bar,
.top-bar-section ul,
.top-bar-section ul li.active > a,
.top-bar-section li a:not(.button),
.top-bar-section .has-form {
background: green;
color: orange;
}
.top-bar-section > ul > .divider,
.top-bar-section > ul > [role="separator"] {
border-color: blue;
}
/* Darker color for the hover over items */
.top-bar-section ul li.hover > a,
.top-bar-section ul li ul.dropdown li.hover > a {
background: red;
}
/* Slightly darker color for the dropdowns */
.top-bar-section ul li ul.dropdown li > a {
background: purple;
}