File tree Expand file tree Collapse file tree 3 files changed +10
-20
lines changed Expand file tree Collapse file tree 3 files changed +10
-20
lines changed Original file line number Diff line number Diff line change @@ -17,27 +17,24 @@ label[for="nav-trigger"] {
1717 font-weight : 700 ;
1818 .border-radius ;
1919 z-index : 99 ;
20- transition : background @transition-speed ;
20+ transition : background .25 s ;
2121}
2222label :hover {
2323 background : @border-color ;
2424}
2525.nav-trigger :checked + label {
26- left : @sidebar-width + @gutter * 2 ;
27- transition : left @transition-speed * 2 ;
26+ left : @sidebar-width + @gutter * 2 ;
2827}
2928.nav-trigger ~ #everything #right {
3029 width : 100% ;
3130}
3231.nav-trigger :checked ~ #everything #right {
33- @media screen and (max-width : @breakpoint ){
34- flex-shrink : 0 ;
35- width : auto ;
36- position : fixed ;
37- left : @sidebar-width ;
38- overflow-x : hidden ;
39- z-index : 50 ;
40- }
32+ flex-shrink : 0 ;
33+ width : auto ;
34+ position : fixed ;
35+ left : @sidebar-width ;
36+ overflow-x : hidden ;
37+ z-index : 50 ;
4138}
4239.nav-trigger + label {
4340 .transition-left
Original file line number Diff line number Diff line change 1010 color : white ;
1111 font-weight : 300 ;
1212 }
13- @media screen and (min-width : @breakpoint ) {
14- display : block ;
13+ @media screen and (min-width : @breakpoint ) {
14+ display : block ;
1515 }
1616}
1717
18- #everything #left {
19- @media screen and (min-width : @breakpoint ){
20- display : none ;
21- }
22- }
23-
2418// ----- SOCIAL BUTTONS FOR MOBILE VIEW -----
2519ul .social-side {
2620 margin : 0 ;
Original file line number Diff line number Diff line change 1414@gutter : 15px ;
1515@breakpoint : 1000px ;
1616@sidebar-width : 250px ;
17- @transition-speed : .25s ;
1817
1918/* ----- TYPE -----*/
2019@font-weight-heading : 500 ;
You can’t perform that action at this time.
0 commit comments