Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit584ed50

Browse files
committed
Animation
1 parent5635060 commit584ed50

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

‎python_docs_theme/static/pydoctheme.css

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
@importurl('classic.css');
22

3+
/* Smooth scroll */
4+
html {
5+
scroll-behavior: smooth;
6+
}
7+
38
/* Common colours */
49
:root {
510
--good-color:rgb(4110051);
@@ -129,6 +134,7 @@ form.inline-search input[type='submit'] {
129134
}
130135

131136
div.document {
137+
animation: fadeIn0.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: width0.3s ease
155159
}
156160

157161
div.sphinxsidebarh3,
@@ -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+
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp