svn commit: r50761 - head/en_US.ISO8859-1/htdocs/cgi
Wolfram Schneider
wosch at FreeBSD.org
Tue Aug 29 07:34:34 UTC 2017
Author: wosch
Date: Tue Aug 29 07:34:32 2017
New Revision: 50761
URL: https://svnweb.freebsd.org/changeset/doc/50761
Log:
improve responsive design for select elements
Modified:
head/en_US.ISO8859-1/htdocs/cgi/man.cgi
Modified: head/en_US.ISO8859-1/htdocs/cgi/man.cgi
==============================================================================
--- head/en_US.ISO8859-1/htdocs/cgi/man.cgi Mon Aug 28 22:39:55 2017 (r50760)
+++ head/en_US.ISO8859-1/htdocs/cgi/man.cgi Tue Aug 29 07:34:32 2017 (r50761)
@@ -978,6 +978,8 @@ div#content { padding-top: 4.9em; }
form#man > input, button { font-size: 200%; }
form#man > button { font-size: 200%; }
form#man > input[name='query'] { width: 12em; }
+form#man > select { font-size: 140%; }
+span.spaces { display: none; }
}
</style>
|;
@@ -1735,13 +1737,13 @@ sub formquery {
print <<ETX;
<form id="man" method="get" action="$BASE">
<!-- Manual Page or Keyword Search: -->
-
+<span class="spaces"> </span>
<input id="query" value="$query" name="query" size="36" $autofocus />
<button type="submit" name="apropos" value="0">man</button>
<button type="submit" name="apropos" value="1">apropos</button>
<br/>
<span class="space"> </span><br/>
-
+<span class="spaces"> </span>
ETX
print qq{<select name="sektion">\n};
More information about the svn-doc-head
mailing list