From patchwork Sun Sep 2 09:51:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerald Pfeifer X-Patchwork-Id: 965015 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-484928-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=pfeifer.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="iZ8jGPil"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4237fB4yPHz9s55 for ; Sun, 2 Sep 2018 19:51:27 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; q=dns; s= default; b=AVnAbiU9tqqZBFEMNLdE4X1AYywh9gyWrflkQLFXFDj4RbwvWRZHr Ljq39fVnSGO3qOltIy1SgLWUnXLY2b1obXjKaXv20gpYFjm8ZuGxK5cZYwU3JroB h55sXPINE1npbL4y0TCxuuRnPZfZCbWOfJmCAnFybrPSrwrP88ASOk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; s= default; bh=NBSs5ueohzKeWyjSnWgCuhNQX98=; b=iZ8jGPil+8oRfHdOaBfX mdFvU9p3idDibyExlvTGbPhxie7j966ApBAXI8VkptbBDdakuCQQpoO2/zXL19BR mC7+FHOZEZi3SCW0+TvdmDiH4NDCGl1beLISw4io04IPGjfjHgo+yo1oXE2YCZsJ eBsdOdzlzDHdv2gBPrFfuws= Received: (qmail 11286 invoked by alias); 2 Sep 2018 09:51:19 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 11276 invoked by uid 89); 2 Sep 2018 09:51:19 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-11.3 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy=fontsize, font-size, Hx-languages-length:826, online X-HELO: ainaz.pair.com Received: from ainaz.pair.com (HELO ainaz.pair.com) (209.68.2.66) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 02 Sep 2018 09:51:18 +0000 Received: from ainaz.pair.com (localhost [127.0.0.1]) by ainaz.pair.com (Postfix) with ESMTP id AD814B53ED3 for ; Sun, 2 Sep 2018 05:51:16 -0400 (EDT) Received: from anthias (vie-91-186-158-155.dsl.sil.at [91.186.158.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ainaz.pair.com (Postfix) with ESMTPSA id 3FA3EB53EC7 for ; Sun, 2 Sep 2018 05:51:16 -0400 (EDT) Date: Sun, 2 Sep 2018 11:51:14 +0200 (CEST) From: Gerald Pfeifer To: gcc-patches@gcc.gnu.org Subject: [wwwdocs] Improve formatting for
 blocks
Message-ID: 
MIME-Version: 1.0
X-IsSubscribed: yes

 is used by our online documentation, and
with a change I just applied also by news/egcs-vcg.html and later
possibly further pages.

This change limits coloring of the background of those pre blocks to 
the actual width, not the entire page width.

Validated by reviewing some pages under /onlinedocs and 
news/egcs-vcg.html.

Committed.

Gerald

Index: gcc.css
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc.css,v
retrieving revision 1.55
diff -u -r1.55 gcc.css
--- gcc.css	2 Sep 2018 09:02:29 -0000	1.55
+++ gcc.css	2 Sep 2018 09:46:01 -0000
@@ -103,6 +103,7 @@
   font-size: medium;
   background: #f2f2f9;
   padding: 4px; 
+  display: inline-block;
 }
 
 /* Classpath versus libgcj merge status page. */