Remove duplicate #id in the index page and improve visualization

PR:		228400
Submitted by:	pfg@
Patch by:	carlavilla@
Approved by:	bcr@
Differential Revision:	https://reviews.freebsd.org/D22727
This commit is contained in:
Sergio Carlavilla Delgado 2019-12-08 10:32:49 +00:00
parent 921415310b
commit 7969799554
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=53666
3 changed files with 2 additions and 8 deletions

View file

@ -81,7 +81,7 @@ $i_topbar = qq`
</div>
<div id="search">
<form method="get" id="search" action="https://duckduckgo.com/">
<form method="get" id="search-form" action="https://duckduckgo.com/">
<h2 class="blockhide"><label for="words">Search</label></h2>
<input type="hidden" name="sites" value="www.FreeBSD.org,docs.FreeBSD.org,lists.FreeBSD.org,wiki.FreeBSD.org,forums.FreeBSD.org" />
<input type="hidden" name="ka" value="v" />

View file

@ -62,18 +62,12 @@
@media screen {
#search {
position: relative;
text-align: right;
padding: 0;
margin: 0;
margin-top: 6px;
color: #666;
}
#search form {
position: relative;
top: 5px;
right: 0;
margin: 0; /* need for IE Mac */
text-align: right; /* need for IE Mac */
white-space: nowrap; /* for Opera */

View file

@ -64,7 +64,7 @@
<!ENTITY header2.searchbox '
<div id="search" xmlns="http://www.w3.org/1999/xhtml">
<form method="get" id="search" action="https://duckduckgo.com/">
<form method="get" id="search-form" action="https://duckduckgo.com/">
<h2 class="blockhide"><label for="words">&header2.word.search;</label></h2>
<input type="hidden" name="sites" value="www.FreeBSD.org,docs.FreeBSD.org,lists.FreeBSD.org,wiki.FreeBSD.org,forums.FreeBSD.org" />
<input type="hidden" name="ka" value="v" />