fixed header responsive

This commit is contained in:
Bachir Soussi Chiadmi 2018-11-05 17:45:17 +01:00
parent eb20184257
commit 25b41d2a43
2 changed files with 6 additions and 1 deletions

View File

@ -2914,7 +2914,8 @@ body.node-type-publication #footer {
display: inline-block;
vertical-align: top;
zoom: 1;
*display: inline; }
*display: inline;
max-width: 150px; }
#header .logo h1 {
margin: 0;
font-size: 36px;
@ -2932,6 +2933,7 @@ body.node-type-publication #footer {
font-size: 14px;
margin-top: -3px;
margin-left: -0.5em;
white-space: nowrap;
font-weight: 900; }
@media only screen and (max-width: 40em) {
#header .logo span.slogan {

View File

@ -211,6 +211,7 @@ $headerouterheight:$headerheight+$headerpaddingtop+$headerpaddingbottom;
.logo{
//width:210px; //padding-left:5px; //margin-left:50px;
@include inlineblock();
max-width: 150px;
h1{
margin:0;
@include fs36;
@ -221,8 +222,10 @@ $headerouterheight:$headerheight+$headerpaddingtop+$headerpaddingbottom;
@include fs14;
margin-top:-3px;
margin-left:-0.5em;
white-space: nowrap;
@include fs900;
@media #{$small-only} {display:none;}
// @media #{$medium-only} { display:none; }
@media #{$medium-only} { display:block; margin-left:0.1em; }
@media #{$large-only} { display:block; margin-left:0.1em; }
.ie8 &{position: absolute; margin-top:22px;}