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

Fix the appearance of version/language selects#74

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
JulienPalard merged 4 commits intopython:masterfromobulat:patch-1
May 12, 2021
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 26 additions & 7 deletionspython_docs_theme/static/pydoctheme.css
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -235,6 +235,14 @@ dl > dt span ~ em {
div.body h3, div.body h4, div.body h5 {
font-size: 1rem;
}
/* Override default styles to make more readable */
div.body ul {
padding-inline-start: 1rem;
}
div.body blockquote {
margin-inline-start: 1rem;
margin-inline-end: 0;
}
/* Remove sidebar and top related bar */
div.related, .sphinxsidebar {
display: none;
Expand DownExpand Up@@ -266,6 +274,7 @@ dl > dt span ~ em {
top: 0;
height: 40px;
width: 100%;
max-width: 100vw;
padding: 0 1rem 0 45px;
display: flex;
align-items: center;
Expand All@@ -284,10 +293,6 @@ dl > dt span ~ em {
flex: 0 1 0;
margin-right: 1rem;
}
.version_switcher_placeholder select {
height: 30px;
border-radius: 0;
}
.nav-content .search {
display: flex;
flex: 1 1 auto;
Expand All@@ -311,10 +316,17 @@ dl > dt span ~ em {
}
.nav-content .search input[type=submit] {
height: 100%;
border: 0;
appearance: none;
-webkit-appearance: none;
border: 1px solid transparent;
border-left-color: #a9a9a9;
box-shadow: none;
outline: 1px solid #999;
cursor: pointer;
background-color: #f0f0f0;
margin-right: 0;
}
.nav-content .search input[type=submit]:hover {
border-color: #a9a9a9;
}
.nav-content .search svg {
flex: 0 0 20px;
Expand DownExpand Up@@ -454,6 +466,7 @@ dl > dt span ~ em {
position: relative;
border: 1px solid #a8a8a8;
height: 30px;
padding-right: 7px;
}
.language_switcher_placeholder {
margin-top: 2rem;
Expand All@@ -465,14 +478,20 @@ dl > dt span ~ em {
top: 7px;
width: 15px;
height: 15px;
right:3px;
right:0;
pointer-events: none;
}
.language_switcher_placeholder select,
.version_switcher_placeholder select {
-webkit-appearance: none;
appearance: none;
border: 0;
height: 100%;
background-color: white;
}
.language_switcher_placeholder:focus-visible,
.version_switcher_placeholder:focus-visible {
outline-offset: 5px;
}
.language_switcher_placeholder select {
width: 100%;
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp