File tree Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change 11@import url ('classic.css' );
22
3+ /* Smooth scroll */
4+ html {
5+ scroll-behavior : smooth;
6+ }
7+
38/* Common colours */
49: root {
510 --good-color : rgb (41 100 51 );
@@ -129,6 +134,7 @@ form.inline-search input[type='submit'] {
129134}
130135
131136div .document {
137+ animation : fadeIn 0.6s ease-in-out;
132138 display : flex;
133139 /* Don't let long code literals extend beyond the right side of the screen */
134140 overflow-wrap : break-word;
@@ -149,9 +155,7 @@ div.sphinxsidebar {
149155 border-radius : 5px ;
150156 line-height : 130% ;
151157 font-size : smaller;
152- resize : horizontal;
153- min-width : 200px ;
154- max-width : 400px ;
158+ transition : width 0.3s ease
155159}
156160
157161div .sphinxsidebar h3 ,
@@ -764,3 +768,13 @@ div.versionremoved .versionmodified {
764768 display : none;
765769 }
766770}
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