forked from rampatra/JavaNotes
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_header.scss
More file actions
53 lines (49 loc) · 891 Bytes
/
_header.scss
File metadata and controls
53 lines (49 loc) · 891 Bytes
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
.site-header {
@extend %padding-small;
background: $brand-color;
border-bottom: 1px solid $border-color;
display: inline-block;
float: left;
width: 100%;
a {
color: $header-link-color;
}
.avatar {
height: 2em;
width: 2em;
float: left;
margin-top: -3px;
border-radius: 0.2em;
margin-right: 1em;
}
.site-title {
float: left;
font-weight: bold;
font-size: 1em;
line-height: 1.5;
}
.site-nav {
ul {
margin: 0;
padding: 0;
list-style: none;
line-height: 1.5;
float: right;
text-align: right;
}
li {
display: inline;
float: left;
margin-right: 0.4em;
}
@media (max-width: 1100px) {
ul {
display: inline-block;
float: left;
padding-top: $padding-small;
text-align: left;
width: 100%;
}
}
}
}