This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[wwwdocs] Use gcc.css for "Get our announcements"


Introduce a new CSS class "smaller" and use that for the
"Get our announcements" section of our main page.

With that, our main page is getting back to its state before
gcc.gnu.org disabled embedded CSS.

Applied.

Gerald

Index: gcc.css
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc.css,v
retrieving revision 1.31
diff -u -r1.31 gcc.css
--- gcc.css	30 Jan 2016 06:01:49 -0000	1.31
+++ gcc.css	6 Feb 2016 23:10:50 -0000
@@ -13,6 +13,7 @@
 h2        { color: darkslategray; }
 
 .highlight{ color: darkslategray; font-weight:bold; }
+.smaller  { font-size: 80%; }
 
 td.news      { width: 50%; padding-right: 8px; }
 td.news h2   { font-size: 1.2em; margin-top: 0; margin-bottom: 2%; }
Index: index.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/index.html,v
retrieving revision 1.994
diff -u -r1.994 index.html
--- index.html	2 Feb 2016 14:17:54 -0000	1.994
+++ index.html	6 Feb 2016 23:10:50 -0000
@@ -178,12 +178,13 @@
     <input type="hidden" name="digest"    value="off" />
     <input type="hidden" name="operation" value="subscribe" />
     <input type="hidden" name="listname"  value="gcc-announce" />
-    <input type="text"   name="username"  value="your e-mail address" size="20" style="font-size:90%;" />
-    <input type="submit" name="submit"    value="Subscribe" style="font-size:90%;" />
+    <input type="text"   name="username"  value="your e-mail address"
+      size="20" class="smaller" />
+    <input type="submit" name="submit"    value="Subscribe"
+      class="smaller" />
   </form>
 
 
-
 </td>
 </tr></table>
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]