File tree Expand file tree Collapse file tree 3 files changed +21
-18
lines changed Expand file tree Collapse file tree 3 files changed +21
-18
lines changed Original file line number Diff line number Diff line change @@ -46,16 +46,19 @@ export default {
46
46
nav
47
47
border-bottom 1px solid #ea ec ef
48
48
font-size 0.9em
49
- padding : 2em 0
50
- margin : 0 2.5em
49
+ padding : 1.5rem 2rem
50
+
51
+ @media (min-width : $MQMobile)
52
+ padding : 1.5rem 0
53
+ margin : 0 2.5em
54
+
51
55
& .fixed
52
56
position fixed
53
- z-index 10
57
+ z-index 5
54
58
background-color #f f f
55
59
width 100%
56
60
max-width 740px
57
61
display flex
58
-
59
62
.breadcrumb
60
63
margin-right : 0.5em
61
64
& :not (:first-child )::before
Original file line number Diff line number Diff line change 7
7
8
8
// stop sidebar taking up horizontal width and adjusting layout position
9
9
html {
10
- margin-left : calc (100vw - 100% );
10
+ @media (min-width : $MQMobile) {
11
+ margin-left : calc (100vw - 100% );
12
+ }
13
+
14
+ -webkit- font-smoothing : antialiased ;
15
+ -moz- osx-font-smoothing : grayscale ;
11
16
}
12
17
13
18
// apply scrolling by default excluding firefox due to trigger issues
Original file line number Diff line number Diff line change @@ -21,27 +21,16 @@ header.navbar .nav-links {
21
21
}
22
22
23
23
.sidebar-heading {
24
- font-weight : 700 !important ;
24
+ font-weight : bold !important ;
25
25
}
26
26
27
27
.sidebar-group.is-sub-group a .sidebar-link {
28
28
margin-bottom : 0.2rem ;
29
29
}
30
30
31
- .sidebar-group.is-sub-group {
32
- margin-bottom : 0.5rem ;
33
- }
34
-
35
- .sidebar-links.sidebar-group-items li :last-child .sidebar-group.is-sub-group {
36
- margin-bottom : 0 ;
37
- }
38
-
39
31
.sidebar-group.is-sub-group > .sidebar-heading :not (.clickable ) {
40
- opacity : 1 ;
41
- font-weight : bold ;
42
32
text-transform : uppercase ;
43
33
font-size : 0.8rem ;
44
- letter-spacing : 0.05em ;
45
34
line-height : 2em ;
46
35
}
47
36
}
@@ -80,6 +69,13 @@ header.navbar .nav-links {
80
69
overflow : hidden ;
81
70
82
71
> .sidebar-links {
72
+ opacity : 0.5 ;
73
+ transition : opacity 0.5s ;
74
+
75
+ & :hover {
76
+ opacity : 1 ;
77
+ }
78
+
83
79
overflow : auto ;
84
80
padding-bottom : 6em ;
85
81
}
@@ -95,7 +91,6 @@ header.navbar .nav-links {
95
91
.nav-item > a :not (.external ) {
96
92
& :hover , & .router-link-active {
97
93
margin-bottom : 0px ;
98
- // background: lighten($accentColor, 95%);
99
94
border-bottom : none ;
100
95
color : $accentColor ;
101
96
}
You can’t perform that action at this time.
0 commit comments