diff mbox

[wwwdocs] Convert searchbox.ihtml to using CSS

Message ID alpine.LSU.2.20.1702182249080.2410@anthias.pfeifer.com
State New
Headers show

Commit Message

Gerald Pfeifer Feb. 18, 2017, 9:51 p.m. UTC
When converting gcc.gnu.org to solely use CSS for markup last year, 
this is one of the last bits I did not get to yet.

Committed, and gcc.gnu.org rebuilt (by running /www/gcc/bin/preprocess ).

Gerald
diff mbox

Patch

Index: searchbox.ihtml
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/searchbox.ihtml,v
retrieving revision 1.16
retrieving revision 1.19
diff -u -r1.16 -r1.19
--- searchbox.ihtml	1 Jul 2014 16:02:45 -0000	1.16
+++ searchbox.ihtml	18 Feb 2017 21:48:10 -0000	1.19
@@ -1,21 +1,23 @@ 
-<div style="font-size:90%;">
+<div>
 
 <form method="get" action="https://gcc.gnu.org/cgi-bin/search.cgi">
-<input type="text" size="30" name="q" value="" style="font-size:90%;" />
+<input type="text" size="30" name="q" value="" class="smaller" />
 <input type="hidden" name="cmd" value="Search" />
-<input type="submit" value="Search" style="font-size:90%;" />
+<input type="submit" value="Search" class="smaller" />
 <br />
-<span>Match: <select name="m" style="font-size:90%;">
+<span class="smaller">Match: <select name="m" class="smaller">
   <option value="all">All words</option>
   <option value="any">Any word</option>
   <option value="bool">Boolean expression</option>
   </select></span>
-<span>Sort by: <select name="s" style="font-size:90%;">
+<span class="smaller">Sort by: <select name="s" class="smaller">
   <option value="DRP">Newest</option>
   <option value="RPD">Best Match</option>
   </select></span>
 </form>
 
+<p class="smaller">There is also a
+<a href="search.html">detailed search form</a>.</p>
+
 </div>
 
-<p>There is also a <a href="search.html">detailed search form</a>.</p>