File tree 2 files changed +23
-14
lines changed
2 files changed +23
-14
lines changed Original file line number Diff line number Diff line change 2
2
* Site header
3
3
*/
4
4
.site-header {
5
- padding : 25 px 100 px ;
5
+ padding : 20 px 0 ;
6
6
background-color : $primary-color-dark ;
7
7
border-top : 5px solid $secondary-color-2 ;
8
8
border-bottom : 5px solid $secondary-color-2-light ;
32
32
}
33
33
.page-link {
34
34
color : $grey-color-light ;
35
- line-height : $base-line-height ;
36
- font-weight : bold ;
37
-
38
- // Gaps between nav items, but not on the first one
39
- & :not (:first-child ) {
40
- margin-left : 2px ;
41
- }
42
-
43
35
background-color : $secondary-color ;
44
36
padding : 10px 12px ;
45
37
@include border-radius (5px );
46
38
39
+ line-height : $base-line-height ;
40
+ font-weight : bold ;
41
+
47
42
& :hover {
48
43
box-shadow : 2px 2px 2px #000 ;
49
44
text-decoration : none ;
50
45
}
46
+
47
+ // Gaps between nav items, but not on the first one
48
+ & :not (:first-child ) {
49
+ margin-left : 2px ;
50
+ }
51
51
}
52
52
53
53
@include media-query ($on-palm ) {
54
54
position : absolute ;
55
- top : 9 px ;
55
+ top : 15 px ;
56
56
right : 30px ;
57
57
background-color : $background-color ;
58
58
border : 1px solid $grey-color-light ;
62
62
display : block ;
63
63
float : right ;
64
64
width : 36px ;
65
- height : 26 px ;
65
+ height : 32 px ;
66
66
line-height : 0 ;
67
67
padding-top : 10px ;
68
68
text-align : center ;
86
86
display : block ;
87
87
padding : 5px 10px ;
88
88
background-color : #fff ;
89
+ color : #000 ;
90
+ & :hover {
91
+ box-shadow : none ;
92
+ }
89
93
}
90
94
}
91
95
178
182
.member-github {
179
183
width : 100px ;
180
184
}
185
+ @include media-query ($on-palm ) {
186
+ .github-label {
187
+ display : none ;
188
+ }
189
+ }
181
190
182
191
/* *
183
192
* Calendar
Original file line number Diff line number Diff line change 18
18
< path fill ="#828282 " d ="{{ site.data.svg_icons.github }} "/>
19
19
</ svg >
20
20
</ span >
21
- < span class =" username " > {{ site.github_username }}</ span >
22
- GitHub
21
+ {{ site.github_username }}
22
+ < span class =" github-label " > GitHub</ span >
23
23
</ a >
24
24
{% endif %}
25
25
</ td >
26
- < td >
26
+ < td class =" member-website " >
27
27
{% if member.website %}
28
28
< a href ="{{ member.website }} "> {{ member.website }}</ a >
29
29
{% endif %}
You can’t perform that action at this time.
0 commit comments