Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Dec 2019 10:32:49 +0000 (UTC)
From:      Sergio Carlavilla Delgado <carlavilla@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r53666 - in head: en_US.ISO8859-1/htdocs/cgi en_US.ISO8859-1/htdocs/layout/css share/xml
Message-ID:  <201912081032.xB8AWnW9034244@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: carlavilla
Date: Sun Dec  8 10:32:49 2019
New Revision: 53666
URL: https://svnweb.freebsd.org/changeset/doc/53666

Log:
  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

Modified:
  head/en_US.ISO8859-1/htdocs/cgi/cgi-style.pl
  head/en_US.ISO8859-1/htdocs/layout/css/layout.css
  head/share/xml/header.ent

Modified: head/en_US.ISO8859-1/htdocs/cgi/cgi-style.pl
==============================================================================
--- head/en_US.ISO8859-1/htdocs/cgi/cgi-style.pl	Sat Dec  7 18:39:05 2019	(r53665)
+++ head/en_US.ISO8859-1/htdocs/cgi/cgi-style.pl	Sun Dec  8 10:32:49 2019	(r53666)
@@ -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" />

Modified: head/en_US.ISO8859-1/htdocs/layout/css/layout.css
==============================================================================
--- head/en_US.ISO8859-1/htdocs/layout/css/layout.css	Sat Dec  7 18:39:05 2019	(r53665)
+++ head/en_US.ISO8859-1/htdocs/layout/css/layout.css	Sun Dec  8 10:32:49 2019	(r53666)
@@ -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 */

Modified: head/share/xml/header.ent
==============================================================================
--- head/share/xml/header.ent	Sat Dec  7 18:39:05 2019	(r53665)
+++ head/share/xml/header.ent	Sun Dec  8 10:32:49 2019	(r53666)
@@ -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" />



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912081032.xB8AWnW9034244>