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

Commit8eeda41

Browse files
authored
Merge pull request#169 from hugovk/nav-no-underline
2 parents6a9d7a2 +bd00c3d commit8eeda41

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

‎python_docs_theme/static/pydoctheme.css

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,31 @@ a[href] {
3333
text-decoration: underline1px;
3434
text-underline-offset:0.25em;
3535
}
36+
/* No underline for navigation */
37+
a.headerlink,
38+
div.genindex-jumpboxa,
39+
div.modindex-jumpboxa,
40+
div#search-resultsa,
41+
div.sphinxsidebara,
42+
div.toctree-wrappera,
43+
div[role=navigation]a,
44+
table.contentstablea,
45+
table.indextablea {
46+
text-decoration: none;
47+
}
48+
49+
/* Except when hovered */
50+
div.genindex-jumpboxa:hover,
51+
div.modindex-jumpboxa:hover,
52+
div#search-resultsa:hover,
53+
div.sphinxsidebara:hover,
54+
div.toctree-wrappera:hover,
55+
div[role=navigation]a:hover,
56+
table.contentstablea:hover,
57+
table.indextablea:hover {
58+
text-decoration: underline;
59+
text-underline-offset: auto;
60+
}
3661

3762
body {
3863
margin-left:1em;
@@ -284,6 +309,10 @@ div.footer {
284309
margin-right:10px;
285310
}
286311

312+
div.footera {
313+
text-underline-offset: auto;
314+
}
315+
287316
div.footera:hover {
288317
color:#0095c4;
289318
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp