mdocml: fix readability issues in void-man-cgi.

Fix: #36557
This commit is contained in:
Mizuno Jan Yuta 2022-04-08 01:05:47 +09:00 committed by Leah Neukirchen
parent 371d8d96ed
commit 37580bc1f6
2 changed files with 28 additions and 11 deletions

View File

@ -1,8 +1,24 @@
/** Void style **/
body { color: #333; }
a { color: #478061; }
a:hover { color: #000; }
html {
--fg: #333;
--bg: #fff;
--fg-accent: #478061;
--nav-fg: #fff;
--nav-bg: #478061;
}
@media (prefers-color-scheme: dark) {
html {
--fg: #ccc;
--bg: #222;
--fg-accent: #62b086;
--nav-fg: #fff;
--nav-bg: #295340;
}
}
a, :link, :visited { color: var(--fg-accent); }
a:hover { color: var(--fg); }
html { max-width: 100% }
body { margin: 0 }
@ -11,29 +27,30 @@ body { margin: 0 }
nav#void-nav {
width:100%;
min-height:50px;
background:#478061;
color:var(--nav-fg);
background-color:var(--nav-bg);
z-index:110;
font-size:14px
}
nav#void-nav ul {
float:right;
display:block;
list-style:none;
margin:0
}
nav#void-nav ul li {
float:left;
display:inline-block;
margin:0;
clear:initial
}
nav#void-nav ul li a {
display:block;
display:inline-block;
padding:15px;
line-height:20px;
font-size:1.2em;
color:#fff;
color:var(--nav-fg);
text-decoration: none
}
nav#void-nav ul li a:hover,nav#void-nav ul li a:focus {
background:#000;
color:#fff;
background-color:#000;
text-decoration:none
}

View File

@ -1,7 +1,7 @@
# Template file for 'mdocml'
pkgname=mdocml
version=1.14.6
revision=1
revision=2
wrksrc="mandoc-${version}"
build_style=configure
make_build_args="all man.cgi"