Skip to content

Commit fa20a49

Browse files
committed
header styles
1 parent 9a0665d commit fa20a49

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
// Header
2+
3+
.headerContainer {
4+
@include box-shadow-defined($android-box-shadow-bottom);
5+
position: fixed;
6+
top: 0;
7+
left: 0;
8+
right: 0;
9+
background-color: $white;
10+
margin: 0;
11+
padding: 0 rem(16);
12+
height: rem(80);
13+
}
14+
15+
.headerLogo {
16+
display: block;
17+
background-image: url('../../assets/images/riccardo-logo.png');
18+
background-position: center;
19+
background-repeat: no-repeat;
20+
background-size: rem(130);
21+
height: rem(80);
22+
}
23+
24+
@include grid-media-query("xsmall") {
25+
.headerLogo {
26+
background-size: rem(160);
27+
}
28+
}
29+
30+
@include grid-media-query("small-outwards") {
31+
.headerLogo {
32+
display: none;
33+
}
34+
}
35+
36+
@include grid-media-query("medium-outwards") {
37+
.headerContainer {
38+
padding: 0 rem(32);
39+
}
40+
}

0 commit comments

Comments
 (0)