You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
82 lines
2.0 KiB
82 lines
2.0 KiB
/** |
|
* @file |
|
* Visual styles for Magazine+'s sticky header. |
|
*/ |
|
.onscroll.transparent-header-active .header-container.js-transparent-header .sticky-wrapper { |
|
height: 0 !important; |
|
} |
|
.onscroll .header.js-fixed { |
|
position: fixed; |
|
z-index: 499; |
|
top: 0; |
|
width: 100%; |
|
-webkit-box-shadow: 0 2px 14px rgba(100, 100, 100, 0.1), 0 2px 2px rgba(100, 100, 100, 0.1); |
|
box-shadow: 0 2px 14px rgba(100, 100, 100, 0.1), 0 2px 2px rgba(100, 100, 100, 0.1); |
|
} |
|
.onscroll .header.js-fixed.region--white-background { |
|
background-color: rgba(255, 255, 255, 0.95); |
|
} |
|
.onscroll .header.js-fixed.region--black-background { |
|
background-color: rgba(29, 29, 29, 0.95); |
|
} |
|
.onscroll .header.js-fixed.region--gray-background { |
|
background-color: rgba(244, 244, 244, 0.95); |
|
} |
|
.fixed-header-enabled.onscroll .header__container, |
|
.fixed-header-enabled.onscroll .header-second, |
|
.fixed-header-enabled.onscroll .header-third, |
|
.fixed-header-enabled.onscroll .header-first, |
|
.fixed-header-enabled.onscroll .header-container ul.menu { |
|
-webkit-transition: ease-in-out 0.2s; |
|
-o-transition: ease-in-out 0.2s; |
|
transition: ease-in-out 0.2s; |
|
} |
|
@media (max-width: 991px) { |
|
.onscroll .header__container > .row > div { |
|
display: none; |
|
} |
|
.onscroll .header__container > .row > div:last-of-type { |
|
display: block; |
|
} |
|
.onscroll .header-container .content > ul.menu { |
|
padding-top: 10px; |
|
} |
|
} |
|
@media (max-width: 767px) { |
|
.onscroll .header.js-fixed { |
|
display: none; |
|
} |
|
} |
|
|
|
/*fixed header site branding*/ |
|
.onscroll-site-name-site-logo-container { |
|
display: none; |
|
position: absolute; |
|
top: 0; |
|
left: 0; |
|
} |
|
.onscroll-logo { |
|
display: inline-block; |
|
margin-top: 5px; |
|
margin-right: 5px; |
|
vertical-align: middle; |
|
} |
|
.onscroll-logo img { |
|
max-height: 55px; |
|
} |
|
.onscroll-site-name { |
|
display: inline-block; |
|
vertical-align: middle; |
|
} |
|
.onscroll-site-name a { |
|
font-size: 28px; |
|
line-height: 1.2; |
|
font-weight: 700; |
|
padding-top: 10px; |
|
} |
|
@media (min-width: 1480px) { |
|
.onscroll .onscroll-site-name-site-logo-container { |
|
display: block; |
|
padding-left: 12px; |
|
} |
|
}
|
|
|