Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2243575rwb; Wed, 5 Oct 2022 11:06:36 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5WlJw4b6vwoGEvCq3HU5CLrixe+qSsROorM/Y9DzV2vRDxK7HZyPdMMEi0LHAL16K1FOIN X-Received: by 2002:a63:231a:0:b0:429:fb01:3c5d with SMTP id j26-20020a63231a000000b00429fb013c5dmr820874pgj.583.1664993196114; Wed, 05 Oct 2022 11:06:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664993196; cv=none; d=google.com; s=arc-20160816; b=fd5IjXLKZm8rzq9JwqJgIcpLWccpHILBgYqzYzifMZH6aFZ4Ma5uONLCP9QauvEwV0 zJHkoGBOP+aUw8Kq8dLgP0NdEpBqs1CDOcP/ut3Va4vGZftG8bhRKinuyv1PmSaZpWU+ IazxitrJKvwx2GCbuDHzBgNzuyGdaq0xM8gbFcrpjbjM11PAmusdeHkayVDIB7vT1vPM 9gePy289e2OMCpqYnB6KZjtMfEVcCiOSlhN24kwlF2D02bu096+/NtjsMplFbIC5gMF9 F6FPW1cR0TioZJx+gtNoipJd86n/rSJB1hzJpkYosaXSddiHgP7w498ByMbUTMhJsEsW IFzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :organization:in-reply-to:subject:cc:to:from:dkim-signature; bh=NPk/rQMrxhf9ZDZdol1oAe1PGX3idZLlAWA1ov+EH7I=; b=fZKSX1x3XYQGf6hDCVfX2C0/AuSzgwDbYgGOA8lRhyEiaVg2CWoyYTpQhlIsZMqsQx YEnHF80ZPEgGfcdb/N31RcYCznrMzy3tPWaAydRfGFMKR/+fLUgWC2nL027rDbtbe67W WQc7wGPHTGuNiR7uFBC9DfHmRhqdkEMWKJtcFIJNSreAO4CCdzaIFI8SezLs1s+9yuxo IxbiSDDOwI/OzwE0m4nsir9SliPOGPtiYf+cdCONnXHNm8pg9+DVHi3Rbg2sid1c1YU8 JSBxZzdwzpfk3gaZ84MZMh53jdMKqX3+uTRl1aYY838Mprox2e4TCeh2KzP2oiajzQj3 5+qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=i5QePl04; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q9-20020a635c09000000b0042b57d7bc14si18042592pgb.763.2022.10.05.11.06.24; Wed, 05 Oct 2022 11:06:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=i5QePl04; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230352AbiJER2W (ORCPT + 99 others); Wed, 5 Oct 2022 13:28:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229593AbiJER2U (ORCPT ); Wed, 5 Oct 2022 13:28:20 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 690D67E032; Wed, 5 Oct 2022 10:28:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1664990899; x=1696526899; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version; bh=J0ixBjZgHg9dB/N4umo0rSQEKiaexvmJgnC4Ny9BMbc=; b=i5QePl049uDvhO+WYGbS60Rj+/B0N7MDREoCdMdZKMZGMYjvlV7BVJmT 0TJBV1DWrBY6YSn8+gw4YM5QrxiC/qp7VRmEcaV3LG4YE620gfe6dGhoQ 2IkvXs538rAgNG2VE3Zl3r1SFlqc5NE4d4CYM1ZJmTIX/jq2MWga4QNZv keJNEG831suP9aQbvcGgs1ELNs+HZQsQiR2d5XgmyExJhBhOtQpY7Qn7i WP46dLIBrxYpqPbNrIXViDE6f4EpsuEVZYDbDlEgF4KdEJWrZfjeaelF5 b+xI7slZzfdS/dC0b476/SPxrqB13QFvaaQEfoVTmg6/uA2UYKSW3rQ4P g==; X-IronPort-AV: E=McAfee;i="6500,9779,10491"; a="282934345" X-IronPort-AV: E=Sophos;i="5.95,161,1661842800"; d="scan'208";a="282934345" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Oct 2022 10:28:17 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10491"; a="602088845" X-IronPort-AV: E=Sophos;i="5.95,161,1661842800"; d="scan'208";a="602088845" Received: from gionescu-mobl2.ger.corp.intel.com (HELO localhost) ([10.252.39.173]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Oct 2022 10:28:15 -0700 From: Jani Nikula To: Jonathan Corbet , linux-doc@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Mauro Carvalho Chehab , Jonathan Corbet Subject: Re: [PATCH 2/5] docs: tweak some Alabaster style parameters In-Reply-To: <20221004201222.281845-3-corbet@lwn.net> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20221004201222.281845-1-corbet@lwn.net> <20221004201222.281845-3-corbet@lwn.net> Date: Wed, 05 Oct 2022 20:28:13 +0300 Message-ID: <87lepuqixe.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_PASS, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 04 Oct 2022, Jonathan Corbet wrote: > This is just the beginning: tighten up the layout a bit to improve the > information density in the browser. To that end, add a custom.css file to > tweak Alabaster CSS settings. Maybe it's just me, but on the wide 4K screen I have the page_width = 940px default is silly narrow. BR, Jani. > > Signed-off-by: Jonathan Corbet > --- > Documentation/conf.py | 1 + > Documentation/sphinx-static/custom.css | 12 ++++++++++++ > 2 files changed, 13 insertions(+) > create mode 100644 Documentation/sphinx-static/custom.css > > diff --git a/Documentation/conf.py b/Documentation/conf.py > index 629f4afeb0eb..b924b266a70f 100644 > --- a/Documentation/conf.py > +++ b/Documentation/conf.py > @@ -345,6 +345,7 @@ if html_theme == 'classic': > else: > html_theme_options = { > 'description': get_cline_version(), > + 'font_size': '14px', > } > > sys.stderr.write("Using %s theme\n" % html_theme) > diff --git a/Documentation/sphinx-static/custom.css b/Documentation/sphinx-static/custom.css > new file mode 100644 > index 000000000000..c465251e840a > --- /dev/null > +++ b/Documentation/sphinx-static/custom.css > @@ -0,0 +1,12 @@ > +/* SPDX-License-Identifier: GPL-2.0 */ > +/* > + * CSS tweaks for the Alabaster theme > + */ > + > +/* Shrink the headers a bit */ > +div.body h1 { font-size: 180%; } > +div.body h2 { font-size: 150%; } > +div.body h3 { font-size: 130%; } > + > +/* Tighten up the layout slightly */ > +div.body { padding: 0 15px 0 10px; } -- Jani Nikula, Intel Open Source Graphics Center