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

Commit2c20723

Browse files
committed
Do not underline navigation links
1 parent6a9d7a2 commit2c20723

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

‎python_docs_theme/static/pydoctheme.css

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

3761
body {
3862
margin-left:1em;
@@ -284,6 +308,10 @@ div.footer {
284308
margin-right:10px;
285309
}
286310

311+
div.footera {
312+
text-underline-offset: auto;
313+
}
314+
287315
div.footera:hover {
288316
color:#0095c4;
289317
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp