From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id GN6dJehW3mXu2wAAe85BDQ:P1 (envelope-from ) for ; Tue, 27 Feb 2024 22:40:56 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id GN6dJehW3mXu2wAAe85BDQ (envelope-from ) for ; Tue, 27 Feb 2024 22:40:56 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=Cduwv4CA; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709070056; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=psEhAIK5eWxRWNzgZUbq/olJicsJF2d0CmJUaQQ5kds=; b=DcZpWc7nSc6wguvLEMPjCZNKhNHiDHCevuv4dtv8/raTrlgFsNgOLooPyk0apkDbtynyEd tKFjpwLPZQiqAGR4/MxNdksxGbEilEqoCHdUERHLT5v84RrJQMncNoFaCIyWqe41JHcNPM HNaBM/J+bqwWb8KJOP/SJqCTxGXGqMrNr/cn/RWBPbmUyIve/5SJJdnkELos3ULGMzPh5q g4ZXPmi5B0lJ7mHNhcce+XJxm7lrCbuGBcSJQQ3hBY5sXPSnDToDs6rGl4TfQnuglmmt6G 8g1j2du/t7y+vQZmL6ePyU/l2vGzq7rPO7c6A8p5hQf2tQweORQfwkqf+TU9yw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=Cduwv4CA; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709070056; a=rsa-sha256; cv=none; b=l6tGFe8WMsVibJqPRNiueTTTzeBqVzkM12LDjvboneARGSCum2lX6JKZHPLOcMC2lxvts1 gPXGcXEjB8FUe0s+L/gzv/B3tlO0V/eGeoR8CuftcAFWDGkm7N3lqaKgfycBb0AtpMufxV 0pb3uPxrso1vmDJoyE9LQDEp6jDy7CAoEAmYxqZI1j4Wws9ZttQ0s/VwqKUZiFVUq4/Mio qhDy54644POkHsAj3GF3cUl6sNvGddLc9dtfiegjl7VxIH60W6E5L1LdJMaHYICXgQ/rLG RzQxOQPfaNldV7rNiekPwYrQMLz/i2JLsaBVCm5MVaX6M/Gb4wTlhbdFqaoQzQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 651B76702D for ; Tue, 27 Feb 2024 22:40:56 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rf5Bz-0003sM-29; Tue, 27 Feb 2024 16:40:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rf5Bp-0003rO-V0 for guix-patches@gnu.org; Tue, 27 Feb 2024 16:40:45 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rf5Bk-0003Yd-Ek for guix-patches@gnu.org; Tue, 27 Feb 2024 16:40:41 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rf5CA-0005JX-GP for guix-patches@gnu.org; Tue, 27 Feb 2024 16:41:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69432] [PATCH 3/3] website: Use Linux Libertine for the body of the manual. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 27 Feb 2024 21:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69432 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69432@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 69432-submit@debbugs.gnu.org id=B69432.170907002220284 (code B ref 69432); Tue, 27 Feb 2024 21:41:02 +0000 Received: (at 69432) by debbugs.gnu.org; 27 Feb 2024 21:40:22 +0000 Received: from localhost ([127.0.0.1]:56787 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rf5BV-0005H5-9r for submit@debbugs.gnu.org; Tue, 27 Feb 2024 16:40:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52190) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rf5AV-0005Cw-Mm for 69432@debbugs.gnu.org; Tue, 27 Feb 2024 16:39:20 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rf59z-0002y2-Gc; Tue, 27 Feb 2024 16:38:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=psEhAIK5eWxRWNzgZUbq/olJicsJF2d0CmJUaQQ5kds=; b=Cduwv4CA3dI0noj13tYx lprmkAyFYWFENrp2ii/AILhGplisLBzSXDnyptYHW5PbrU282XCzz7D0D+/Y/Ufdoi1jnFFby6AMY RvqSZlGh7BCldVhxudZcjwNuUMHVXuvdSf124bkVN09BrV1IPnTJMXB1a+i4FohnfJhUFWcTqQlzg j5tMKoKHPtRwpzHUIk4ftwcn/PoAoCHWDKPtAnJqBp7O+oBJErpUNsmZDd0wLSKGGaMoxINSUFJk+ gUOUbQQEY4Bnqm03vDimb+hAqymX9hP7Os0qFOOyrcoj9ruSwsO3IJhm9udGqdvxZIKgptJ+RaDHI 7HKL5DMg2d3lTA==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Tue, 27 Feb 2024 22:38:35 +0100 Message-ID: <20240227213835.21147-3-ludo@gnu.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240227213835.21147-1-ludo@gnu.org> References: <20240227213835.21147-1-ludo@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.18 X-Spam-Score: -6.18 X-Migadu-Queue-Id: 651B76702D X-TUID: vyBiJ1o3DgmB * website/static/base/css/manual.css: New @fontface entries for Linux Libertine. Use it for section bodies. Add rule for ‘samp’, etc. * website/static/base/css/code.css (.symbol-definition-prototype): Remove ‘font-size’. * website/.guix.scm (lingua-web-site)[build]: Install Linux Libertine fonts. --- website/.guix.scm | 13 ++++++++++- website/static/base/css/code.css | 1 - website/static/base/css/manual.css | 35 +++++++++++++++++++++++++++++- 3 files changed, 46 insertions(+), 3 deletions(-) diff --git a/website/.guix.scm b/website/.guix.scm index 438d337..4c74391 100644 --- a/website/.guix.scm +++ b/website/.guix.scm @@ -213,7 +213,18 @@ file) (string-append #$output "/static/base/fonts"))) - '("FiraSans-Bold.ttf" "FiraSans-Regular.ttf")))))) + '("FiraSans-Bold.ttf" "FiraSans-Regular.ttf")) + + (for-each (lambda (file) + (install-file (string-append #+font-linuxlibertine + "/share/fonts/truetype/" + file) + (string-append #$output + "/static/base/fonts"))) + '("LinLibertine_R.ttf" + "LinLibertine_RI.ttf" + "LinLibertine_RB.ttf" + "LinLibertine_RBI.ttf")))))) (computed-file (string-append "guix-web-site-" lingua) build diff --git a/website/static/base/css/code.css b/website/static/base/css/code.css index e7c53ac..efdb70a 100644 --- a/website/static/base/css/code.css +++ b/website/static/base/css/code.css @@ -72,7 +72,6 @@ a[href].syntax-symbol:hover { .symbol-definition-prototype { /* remaining arguments to @deffn etc. */ font-family: monospace; - font-size: 110%; } .symbol-definition + dd { diff --git a/website/static/base/css/manual.css b/website/static/base/css/manual.css index 8970457..0e5b9df 100644 --- a/website/static/base/css/manual.css +++ b/website/static/base/css/manual.css @@ -316,6 +316,31 @@ label[for=all-dropdowns-hidden] { font-style: normal; } +@font-face { + font-family: 'Linux Libertine O'; + src: url('../fonts/Linux Libertine O_R.ttf') format('truetype'); + font-weight: normal; + font-style: normal; +} +@font-face { + font-family: 'Linux Libertine O'; + src: url('../fonts/Linux Libertine O_RI.ttf') format('truetype'); + font-weight: normal; + font-style: italic; +} +@font-face { + font-family: 'Linux Libertine O'; + src: url('../fonts/Linux Libertine O_RB.ttf') format('truetype'); + font-weight: bold; + font-style: normal; +} +@font-face { + font-family: 'Linux Libertine O'; + src: url('../fonts/Linux Libertine O_RBI.ttf') format('truetype'); + font-weight: bold; + font-style: italic; +} + /* In title and node titles, use Fira Sans as it is more pleasant and more compact than Helvetica. */ h1.settitle, h1.top, h2.chapter, h3.section, h4.subsection, h4.subsubsection { @@ -327,7 +352,15 @@ h1.settitle, h1.top, h2.chapter, h3.section, h4.subsection, h4.subsubsection { which currently applies to entire section classes, as opposed to section classes for headings only). */ div.settitle, div.top, div.chapter, div.section, div.subsection, div.subsubsection { - font-family: serif; + font-family: Linux Libertine O, serif; + font-size: 18px; +} + +/* Arrange so fixed-width samples don't look too big compared to Linux + Libertine text. */ +samp, code, .example { + font-family: monospace; + font-size: 85%; } /* Texinfo footnotes are in a "footnote"
but each of them is -- 2.41.0