File tree 1 file changed +17
-3
lines changed
1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change 1
1
@import url ('classic.css' );
2
2
3
+ /* Smooth scroll */
4
+ html {
5
+ scroll-behavior : smooth;
6
+ }
7
+
3
8
/* Common colours */
4
9
: root {
5
10
--good-color : rgb (41 100 51 );
@@ -129,6 +134,7 @@ form.inline-search input[type='submit'] {
129
134
}
130
135
131
136
div .document {
137
+ animation : fadeIn 0.6s ease-in-out;
132
138
display : flex;
133
139
/* Don't let long code literals extend beyond the right side of the screen */
134
140
overflow-wrap : break-word;
@@ -149,9 +155,7 @@ div.sphinxsidebar {
149
155
border-radius : 5px ;
150
156
line-height : 130% ;
151
157
font-size : smaller;
152
- resize : horizontal;
153
- min-width : 200px ;
154
- max-width : 400px ;
158
+ transition : width 0.3s ease
155
159
}
156
160
157
161
div .sphinxsidebar h3 ,
@@ -764,3 +768,13 @@ div.versionremoved .versionmodified {
764
768
display : none;
765
769
}
766
770
}
771
+
772
+ /* Animation */
773
+ @keyframes fadeIn {
774
+ from {
775
+ opacity : 0 ;
776
+ }
777
+ to {
778
+ opacity : 1 ;
779
+ }
780
+ }
You can’t perform that action at this time.
0 commit comments