diff mbox

[wwwdocs] remove last style= attribute (in projects/gupc.html)

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

Commit Message

Gerald Pfeifer Feb. 26, 2017, 1:38 p.m. UTC
Per my mail yesterday, projects/gupc.html had the last style= attribute 
used in all of wwwdocs.  This patch, which I just applied, addresses this.

Also, by increasing the second value of the margin settings, this now
looks a lot nicer visually.

Gerald
diff mbox

Patch

Index: gcc.css
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc.css,v
retrieving revision 1.48
diff -u -r1.48 gcc.css
--- gcc.css	25 Feb 2017 11:46:22 -0000	1.48
+++ gcc.css	26 Feb 2017 13:30:12 -0000
@@ -17,6 +17,7 @@ 
 
 .no-margin-top { margin-top:0; }
 .twocolumns { column-counts:2; -moz-column-count:2; }
+.imgleft { margin: 5px 20px; float: left; }
 
 td.news      { width: 50%; padding-right: 8px; }
 td.news h2   { font-size: 1.2em; margin-top: 0; margin-bottom: 2%; }
Index: projects/gupc.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/projects/gupc.html,v
retrieving revision 1.12
diff -u -r1.12 gupc.html
--- projects/gupc.html	10 Feb 2017 22:13:41 -0000	1.12
+++ projects/gupc.html	26 Feb 2017 13:30:12 -0000
@@ -7,8 +7,8 @@ 
 
 <h1>GNU Unified Parallel C (GUPC)</h1>
 
-<img style="margin: 5px 10px; float: left;"
-src="gupc.png" alt="GUPC Logo" title="GUPC" width="109" height="130" />
+<img class="imgleft" src="gupc.png" width="109" height="130"
+     alt="GUPC Logo" title="GUPC" />
 
 <p>The GNU UPC project implements a compilation and execution environment for
 programs written in the
@@ -19,7 +19,7 @@ 
 implementation of the GNU Objective C compiler.
 </p>
 
-<h2 style="clear: left">Project Goal</h2>
+<h2>Project Goal</h2>
 
 <p>To encourage the use and adoption of UPC, GUPC provides a free,
 generally available implementation of the UPC language dialect.