Skip to content

Instantly share code, notes, and snippets.

@jonheslop
Created September 12, 2017 11:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonheslop/6325a0395b1e2f59340c9d6007224198 to your computer and use it in GitHub Desktop.
Save jonheslop/6325a0395b1e2f59340c9d6007224198 to your computer and use it in GitHub Desktop.
.custom-branding #global-header,
.custom-branding #global-header .header-wrapper {
position: relative;
background-color: #238b4f;
}
.custom-branding #global-header #logo,
.custom-branding #global-header .header-wrapper #logo {
color: #ffffff;
background-image: none;
}
.custom-branding #global-header #logo img,
.custom-branding #global-header .header-wrapper #logo img {
visibility: visible;
max-height: 2em;
margin: 5px 0;
}
.custom-branding #global-header + #global-header-bar,
.custom-branding #global-header .header-wrapper + #global-header-bar {
height: 4px;
background-color: #ffffff;
}
.custom-branding #global-header .header-proposition #proposition-name,
.custom-branding #global-header .header-wrapper .header-proposition #proposition-name {
color: #ffffff;
}
@media (min-width: 769px) {
.custom-branding #global-header #proposition-menu,
.custom-branding #global-header .header-wrapper #proposition-menu {
position: absolute;
top: 50%;
transform: translate(0, -50%);
}
}
.custom-branding .header-logo {
display: none;
}
.custom-branding .header-logo--custom {
display: block;
}
.custom-branding .button {
padding: 7px 15px 6px;
padding: .368421053em .842105263em .315789474em;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment