File tree 2 files changed +15
-15
lines changed
2 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 33
33
{% endif %}
34
34
</ nav >
35
35
36
- < p > © {{ site.time | date: '%Y' }}. All rights reserved.</ p >
36
+ < p id =' copyright ' > © {{ site.time | date: '%Y' }}. All rights reserved.</ p >
37
37
</ div >
38
38
</ div >
Original file line number Diff line number Diff line change 24
24
color : rgba (255 ,255 ,255 ,.5 );
25
25
padding : 2em $side-pad-left ;
26
26
27
- @include to (' m ' ) {
27
+ @include to (' s ' ) {
28
28
text-align : center ;
29
29
width : calc (#{$s-sidebar-width } - 2 * #{$side-pad-left } );
30
30
}
@@ -78,12 +78,17 @@ html {
78
78
}
79
79
80
80
.sidebar-nav-item {
81
- display : block ;
82
81
line-height : 1.75 ;
82
+ padding-right : 0.5em ;
83
+ & :last-child { padding-right : 0 ; }
83
84
84
85
.active {
85
86
font-weight : bold ;
86
87
}
88
+
89
+
90
+ @include to (' s' ) { display : inline-block ; }
91
+ @include from (' m' ) { display : block ; }
87
92
}
88
93
89
94
a .sidebar-nav-item {
@@ -93,26 +98,21 @@ a.sidebar-nav-item {
93
98
}
94
99
95
100
96
- @include from (' l' ) {
97
- .sidebar-top {
98
- // position: absolute;
99
- right : 1rem ;
100
- top : 1.2rem ;
101
- left : 1rem ;
101
+ .sidebar-bottom {
102
+ @include to (' s' ) {
103
+ #copyright { display : none ; }
102
104
}
103
- }
104
-
105
- @include from (' l' ) {
106
- .sidebar-bottom {
107
- // position: absolute;
105
+ @include from (' m' ) {
106
+ position : fixed ;
108
107
right : 1rem ;
109
108
bottom : 1rem ;
110
109
left : 1rem ;
111
110
}
111
+
112
112
}
113
113
114
114
.content {
115
- @include to (' m ' ) { margin-left : 0 ; }
115
+ @include to (' s ' ) { margin-left : 0 ; }
116
116
@include from (' m' ) { margin-left : #{$m-sidebar-width } ; }
117
117
@include from (' l' ) { margin-left : #{$l-sidebar-width } ; }
118
118
}
You can’t perform that action at this time.
0 commit comments