started fixed header, fixed anchor links with fixed header
This commit is contained in:
@@ -49,15 +49,30 @@ body{
|
||||
|
||||
}
|
||||
|
||||
@mixin main_centred(){
|
||||
width:1024px; margin:0 auto;
|
||||
}
|
||||
|
||||
#container{
|
||||
width:1024px; margin:0 auto;
|
||||
// overflow-x: visible;
|
||||
}
|
||||
$header_height:400px;
|
||||
|
||||
#header{
|
||||
position: fixed;
|
||||
width:100%; max-height: $header_height;
|
||||
z-index: 20;
|
||||
background-color: transparentize(#fff, 0.1);
|
||||
hgroup.logo{
|
||||
@include main_centred();
|
||||
padding: 1em 0;
|
||||
}
|
||||
h1{margin:0;}
|
||||
h1 a{
|
||||
display:block;
|
||||
height:335px;
|
||||
// transition: height 0.1s ease-in-out;
|
||||
background-image: url(../../images/logo.png);
|
||||
background-size: contain;
|
||||
background-position: center;
|
||||
@@ -72,6 +87,13 @@ body{
|
||||
}
|
||||
}
|
||||
|
||||
#main{
|
||||
padding-top: $header_height;
|
||||
>.region{
|
||||
@include main_centred();
|
||||
}
|
||||
}
|
||||
|
||||
// about
|
||||
#node-63{
|
||||
// color:$bleu;
|
||||
@@ -268,6 +290,11 @@ body,
|
||||
font-size: 3em;
|
||||
font-weight: 400;
|
||||
padding-left: 0.18em;
|
||||
position:relative;
|
||||
span{
|
||||
position: absolute;
|
||||
top:-177px;
|
||||
}
|
||||
}
|
||||
|
||||
.content{
|
||||
|
||||
Reference in New Issue
Block a user