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]

Re: [wwwdocs,Java] java/index.html -- fix formatting on gcc.gnu.org


----- Original Message -----
> It turns out the stricter server settings also broke the /java
> page on gcc.gnu.org.
> 
> This restores showing two columns on this page (though it still
> uses non-standard CSS extensions).
> 
> 
> That said, looking at the page, and how since 2005 nearly all changes
> have been maintainance ones from me, is it really worthwhile keeping
> this (short of historic reasons)?
> 
> 2016-04-08  Gerald Pfeifer  <gerald@pfeifer.com>
> 
> 	* index.html: Replace manual style to establish two columns
> 	by new global CSS class "twocolumns".
> 
> Index: gcc.css
> ===================================================================
> RCS file: /cvs/gcc/wwwdocs/htdocs/gcc.css,v
> retrieving revision 1.38
> diff -u -r1.38 gcc.css
> --- gcc.css	5 Apr 2016 16:20:29 -0000	1.38
> +++ gcc.css	9 Apr 2016 16:22:40 -0000
> @@ -15,6 +15,8 @@
>  .highlight{ color: darkslategray; font-weight:bold; }
>  .smaller  { font-size: 80%; }
>  
> +.twocolumns { column-counts:2; -moz-column-count:2; }
> +
>  td.news      { width: 50%; padding-right: 8px; }
>  td.news h2   { font-size: 1.2em; margin-top: 0; margin-bottom: 2%; }
>  td.news dl   { margin-top:0; }
> 
> Index: java/index.html
> ===================================================================
> RCS file: /cvs/gcc/wwwdocs/htdocs/java/index.html,v
> retrieving revision 1.177
> diff -u -r1.177 index.html
> --- java/index.html	27 Jun 2014 15:04:39 -0000	1.177
> +++ java/index.html	9 Apr 2016 16:22:41 -0000
> @@ -32,7 +33,7 @@
>  
>  <h2><a name="news">GCJ News</a></h2>
>  
> -<div style="column-count:2; -moz-column-count:2;">
> +<div class="twocolumns">
>  
>  <!-- News entries start here -->
>  
> 

I guess the next news will be the removal of GCJ during the
GCC 7 development period, so its remaining shelf life should
be limited anyway.
-- 
Andrew :)

Senior Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

PGP Key: ed25519/35964222 (hkp://keys.gnupg.net)
Fingerprint = 5132 579D D154 0ED2 3E04  C5A0 CFDA 0F9B 3596 4222



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