From b77ed14448d3dd293fd572913abf290dc5edbc9d Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Thu, 7 Jan 2016 23:58:45 +0200 Subject: [PATCH] Re: [PATCH] nmbug-status: Style headers with smaller fonts --- f3/b86f2dd1ba290714cf65d21aa46e59af6b9b91 | 116 ++++++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 f3/b86f2dd1ba290714cf65d21aa46e59af6b9b91 diff --git a/f3/b86f2dd1ba290714cf65d21aa46e59af6b9b91 b/f3/b86f2dd1ba290714cf65d21aa46e59af6b9b91 new file mode 100644 index 000000000..ebe80cd16 --- /dev/null +++ b/f3/b86f2dd1ba290714cf65d21aa46e59af6b9b91 @@ -0,0 +1,116 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 4AE016DE0B27 + for ; Thu, 7 Jan 2016 13:58:28 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: 1.165 +X-Spam-Level: * +X-Spam-Status: No, score=1.165 tagged_above=-999 required=5 tests=[AWL=-0.487, + FS_WITH_SMALL=1, SPF_NEUTRAL=0.652] autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id uACrP8UB2uIr for ; + Thu, 7 Jan 2016 13:58:25 -0800 (PST) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by arlo.cworth.org (Postfix) with ESMTP id 883E56DE0B26 + for ; Thu, 7 Jan 2016 13:58:25 -0800 (PST) +Received: from guru.guru-group.fi (localhost [IPv6:::1]) + by guru.guru-group.fi (Postfix) with ESMTP id 6BA7F1000B3; + Thu, 7 Jan 2016 23:58:45 +0200 (EET) +From: Tomi Ollila +To: "W. Trevor King" , notmuch@notmuchmail.org +Subject: Re: [PATCH] nmbug-status: Style headers with smaller fonts +In-Reply-To: + +References: <87k2nl8r0k.fsf@zancas.localnet> + +User-Agent: Notmuch/0.21+32~g73439f8 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-unknown-linux-gnu) +X-Face: HhBM'cA~ +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Thu, 07 Jan 2016 21:58:28 -0000 + +On Thu, Jan 07 2016, "W. Trevor King" wrote: + +> We only use h1 through h3, and David prefers smaller headers [1], so +> shift over to the font sizes usually used for h2 through h4 [2,3,4]. +> I haven't bothered with the W3C's default margins, since a bit of +> extra whitespace doesn't seem like a big deal. +> +> [1]: id:87k2nl8r0k.fsf@zancas.localnet +> http://article.gmane.org/gmane.mail.notmuch.general/21595 +> [2]: http://www.w3.org/TR/html-markup/h2.html +> [3]: http://www.w3.org/TR/html-markup/h3.html +> [4]: http://www.w3.org/TR/html-markup/h4.html +> --- +> On Thu, Jan 07, 2016 at 09:20:59AM -0400, David Bremner wrote: +>> W. Trevor King writes: +>> > We can always add additional CSS if the default h1 formatting is +>> > too intense. +>> +>> I'm pretty sure it will be, at least for me, since that's the reason +>> I did it this way in the first place. I'm (obviously) not a web +>> person, how about providing some CSS to roughly duplicate the +>> current visuals? +> +> Here you go :). + +Looks good, matches the [2], [3], [4] (well enough, spacing differences +are so small) and applies. + +Tomi + +> +> Cheers, +> Trevor +> +> devel/nmbug/nmbug-status | 9 +++++++++ +> 1 file changed, 9 insertions(+) +> +> diff --git a/devel/nmbug/nmbug-status b/devel/nmbug/nmbug-status +> index f33f660..0382919 100755 +> --- a/devel/nmbug/nmbug-status +> +++ b/devel/nmbug/nmbug-status +> @@ -327,6 +327,15 @@ header_template = config['meta'].get('header', ''' +> +> {title} +>