Skip to content

Commit 53646b0

Browse files
hover hotfix for dropdown lists
missed the one :hover consition that smartphones set
1 parent 07104d5 commit 53646b0

13 files changed

+22
-31
lines changed

build.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
SITESUBTITLE = 'projects, ideas, and everything else'
1212
SITEURL = 'https://dragoncoder047.github.io'
1313
LOGO = '/images/patrick.svg'
14-
LOGO_AREA_HTML = f'<a href="/" class="flex-row"><div class="flex-row"><img src="{LOGO}" width="141" alt="Patrick the purple dragon" height="85" /><div id="sitename-text" class="flex-column"><h1>{SITENAME}</h1><h2>{SITESUBTITLE}</h2></div></div></a>'
14+
LOGO_AREA_HTML = f'<a href="/" class="flex-row"><div class="flex-row"><img src="{
15+
LOGO}" width="141" alt="Patrick the purple dragon" height="85" /><div id="sitename-text"><h1>{SITENAME}</h1><h2>{SITESUBTITLE}</h2></div></div></a>'
1516
ICON = '/images/patrick_head_silhouette.svg'
1617
ICON_MIMETYPE = 'image/svg+xml'
1718
THEME_CSS_FILE = '/static/css/theme.css'

docs/404.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/drafts/pages/lifeviewer-test.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/drafts/pages/testpage.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/ie-is-not-supported.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/index.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/pages/projects.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/pages/ulisp_howto.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/pages/ulisp_howto/backquote.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/pages/ulisp_howto/catch_throw.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/pages/ulisp_howto/macros.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/static/css/nav.css

Lines changed: 5 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/css/nav.css

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,36 +63,31 @@ nav ul li ul {
6363

6464
nav ul li:hover>ul,
6565
nav ul li:focus-within>ul,
66+
nav ul li:focus>ul,
6667
nav ul li ul:hover,
6768
nav ul li ul:focus {
6869
display: block;
6970
background: var(--theme-1);
7071
z-index: 99999999;
7172
}
7273

73-
nav ul li>ul li,
7474
nav ul li ul li {
7575
background: var(--theme-1-darker);
76+
clear: both;
77+
width: 100%;
7678
}
7779

78-
nav ul li>ul li:hover,
7980
nav ul li ul li:hover {
8081
background: var(--theme-1-lighter);
8182
}
8283

8384

8485
@media screen and (prefers-color-scheme: light) {
85-
nav ul li>ul li,
8686
nav ul li ul li {
8787
background: var(--theme-1-lighter);
8888
}
89-
nav ul li>ul li:hover,
89+
9090
nav ul li ul li:hover {
9191
background: var(--theme-1-lightest);
9292
}
93-
}
94-
95-
nav ul li ul li {
96-
clear: both;
97-
width: 100%;
98-
}
93+
}

0 commit comments

Comments
 (0)