From patchwork Sun Sep 4 20:06:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerald Pfeifer X-Patchwork-Id: 665544 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 3sS3mT58Pcz9srY for ; Mon, 5 Sep 2016 06:07:03 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=VL0o8Is3; dkim-atps=neutral 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:cc:subject:in-reply-to:message-id:references :mime-version:content-type; q=dns; s=default; b=j0BYECUJVSDJVC/I GJ6i2ECzT1GaPkKTx0XOyVmMh8uK63OZyAoOaaYuGJBGgdAWW4/o11uI/ndqAo5Z iSXT3RkE02CRI0Zn30aZF6e9WztnDAxRPiY5O9TyCUV7aSEkuD31sbnN87nApLah wsAPax2c46LlPId0QF9j0m+GxUw= 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:cc:subject:in-reply-to:message-id:references :mime-version:content-type; s=default; bh=980UeUnHyyzmquZcPpaCuM fwvLg=; b=VL0o8Is3/OIv6nUneEW99J41Vy87XIq/OQ/xkpdXEQAydO1kZT8KiM UOZA5cmyuw3D/3PeaNM46oqYO0Emtsrn3+GuMy+JIc6hmEVEor6Con5qh0kO2mdw 7I9L+iJFjkqeogxzzEDFoGgsKXkhXr1ps+/wIAdS6OajszatlqPBA= Received: (qmail 122125 invoked by alias); 4 Sep 2016 20:06:55 -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 122110 invoked by uid 89); 4 Sep 2016 20:06:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy=RCS, rcs, Online, 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, 04 Sep 2016 20:06:53 +0000 Received: from anthias (vie-188-118-240-138.dsl.sil.at [188.118.240.138]) (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 1E0BD3F4E6; Sun, 4 Sep 2016 16:06:48 -0400 (EDT) Date: Sun, 4 Sep 2016 22:06:47 +0200 (CEST) From: Gerald Pfeifer To: Shakthi Kannan cc: gcc-patches@gcc.gnu.org, "Joseph S. Myers" Subject: Re: *ping* Re: [PATCH, wwwdocs] Fix PR 50642 In-Reply-To: Message-ID: References: <1157238463.4081289.1367314214484.JavaMail.root@redhat.com> <689705724.4225865.1367333657286.JavaMail.root@redhat.com> <1968623700.6255660.1367836206649.JavaMail.root@redhat.com> <1546625314.5638611.1369204207979.JavaMail.root@redhat.com> MIME-Version: 1.0 X-IsSubscribed: yes On Sun, 4 Sep 2016, Gerald Pfeifer wrote: > With the patch below I follow a slightly different approach, > referring to the global CSS we already have in place now instead. > That also allows tweaking this more dynamically. > > I'll be looking into the actual style change next. And here we go; this follows what you had suggested originally. Applied, and thanks! Gerald PR documentation/50642 Add a style for "small examples" in the onlinedocs. Suggested by Shakthi Kannan . Index: gcc.css =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc.css,v retrieving revision 1.42 diff -u -r1.42 gcc.css --- gcc.css 26 Aug 2016 18:06:30 -0000 1.42 +++ gcc.css 4 Sep 2016 20:02:38 -0000 @@ -75,6 +75,14 @@ .supported { background-color: lightgreen; } .unsupported { background-color: lightsalmon; } +/* Online documentation. */ + +pre.smallexample { + font-size: medium; + background: #f2f2f9; + padding: 4px; +} + /* Classpath versus libgcj merge status page. */ .classpath-only { background-color: #FFFFAA; }