-
Notifications
You must be signed in to change notification settings - Fork 232
/
header.component.scss
116 lines (95 loc) · 1.44 KB
/
header.component.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
$mobile-only: "only screen and (max-width : 768px)";
#header {
background-color: #b92b27;
color: #fff;
padding: 6px 0;
line-height: 18px;
vertical-align: middle;
position: relative;
z-index: 1;
width: 100%;
@media #{$mobile-only} {
height: 50px;
position: fixed;
top: 0;
}
a {
display: inline;
}
}
.home-link {
width: 50px;
height: 66px;
}
.logo {
width: 50px;
padding: 3px 8px 0;
@media #{$mobile-only} {
width: 45px;
padding: 0 0 0 10px;
}
}
h1 {
font-weight: bold;
display: inline-block;
vertical-align:middle;
margin: 0;
font-size: 16px;
a {
color: #fff;
text-decoration: none;
}
}
.name {
margin-right: 30px;
margin-bottom: 2px;
@media #{$mobile-only} {
display: none;
}
}
.header-text {
position: absolute;
width: inherit;
height: 20px;
left: 10px;
top: 27px;
@media #{$mobile-only} {
top: 22px;
}
}
.left {
position: absolute;
left: 60px;
font-size: 16px;
@media #{$mobile-only} {
width: 100%;
left: 0;
}
}
.header-nav {
display: inline-block;
@media #{$mobile-only} {
float: right;
margin-right: 20px;
}
a {
color: #fff;
text-decoration: none;
&:hover {
font-weight: bold;
};
}
}
.info {
position: absolute;
right: 20px;
font-size: 16px;
@media #{$mobile-only} {
display: none;
}
a {
color: #fff;
font-weight: bold;
text-decoration: none;
}
}