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] Make colors work again on gcc-5/changes.html


Per our discussion around gcc-6/changes.html, this uses the new
global styles (and adds another one).

Committed.

Gerald

Introduce a new CSS class boldlime.  Use this, and similar ones
throughout gcc-5/changes.html.

Index: gcc.css
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc.css,v
retrieving revision 1.26
diff -u -r1.26 gcc.css
--- gcc.css	20 Jan 2016 17:29:35 -0000	1.26
+++ gcc.css	20 Jan 2016 17:41:30 -0000
@@ -51,6 +51,7 @@
 }
 
 .boldcyan    { font-weight:bold; color:cyan; }
+.boldlime    { font-weight:bold; color:lime; }
 .boldmagenta { font-weight:bold; color:magenta; }
 .boldred     { font-weight:bold; color:red; }
 
Index: gcc-5/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-5/changes.html,v
retrieving revision 1.136
diff -u -r1.136 changes.html
--- gcc-5/changes.html	18 Dec 2015 17:59:09 -0000	1.136
+++ gcc-5/changes.html	20 Jan 2016 17:41:30 -0000
@@ -540,13 +540,13 @@
       <b>test.f90:6:1:</b>
 
        0 continue
-       <b style='color:lime'>1</b>
-      <b style='color:red'>Error:</b> Zero is not a valid statement label at (1)    
+       <span class="boldlime">1</span>
+      <span class="boldred">Error:</span> Zero is not a valid statement label at (1)    
       <b>test.f90:9:6:</b>
 
          USE foo
-            <b style='color:lime'>1</b>
-      <b style='color:magenta'>Warning:</b> USE statement at (1) has no ONLY qualifier [-Wuse-without-only]
+            <span class="boldlime">1</span>
+      <span class="boldmagenta">Warning:</span> USE statement at (1) has no ONLY qualifier [-Wuse-without-only]
     </pre></li>
 
     <li>The <code>-Wuse-without-only</code> option has been added to warn when a


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