From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id wL2bItz74GV7GQEA62LTzQ:P1 (envelope-from ) for ; Thu, 29 Feb 2024 22:49:16 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id wL2bItz74GV7GQEA62LTzQ (envelope-from ) for ; Thu, 29 Feb 2024 22:49:16 +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=MRHbpmlZ; 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=1709243356; 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=lo48XsRuCeJ/0J92mnWzuhE3eTScg86zVSl9+8IgwZM=; b=eH1EqmSOy55G/x8xWgAKrY8OWZpu00XFkyTYkTO4eV9o4krpUskvhMfFQ49P+AQfTqsODD Ylhq1X274Y0EmzAZupaU2wQjZ+PGJ0vf0p3Bpw/NaZohPP3kQMh1s2fDNQVwLT96aaZA5Q 9vvlKdGRad4HqdOKZWaRYBrbmCL/cKpTY/JsVIbGAkbUVxxWKeTqK5PCFo/6Q7chplhjcT Z6r/qcGQs8xwBh8M7eNdzK8Ky/OS9kaH9p0bb057xbZ+MjL3f4RalJHQfcrcvDVcBVXu2E +EVqiVYMsq8djOFnwfBomB1rNCiIAjLdZdks9DRzb65YCAXv6jcofWUtCJ/HFQ== 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=MRHbpmlZ; 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=1709243356; a=rsa-sha256; cv=none; b=sXmfqpdXCJxr1W0RxpZQIssHB9/t4/8kSmTYUyx+Rm0m34oOdiT5uA8XdZWfkjWk6Q4cbz cN9oFaTorFKxYkOZRCdh8xA0EhqBL8ASbnVmOmmm3tR3pR5g56ASY2ZrsO09r3nyAlc1kU r+n7OCtOYavunFcN5Wu4s9wCEV01dB60pCiphj43un4mZqlmgc9I2Ur+zjAnkdpRvfonPC 6D+GTs8gMpzNva3l9Lamvu0txRTSsytmtX+JHHjME3Iy+qXG2Ap1omtbM578s1SLo6sNK+ v1QPQESGEP7Yg7MxvWqAfBS7NdoCVfWogdNTC7RaP9Q1Zr0N9pgpJSXgpgjiwg== 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 F1D1061572 for ; Thu, 29 Feb 2024 22:49:15 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rfoGg-0003u1-5C; Thu, 29 Feb 2024 16:48:42 -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 1rfoGa-0003st-OH for guix-patches@gnu.org; Thu, 29 Feb 2024 16:48:36 -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 1rfoGZ-00085C-Lk for guix-patches@gnu.org; Thu, 29 Feb 2024 16:48:36 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rfoH1-0006jJ-0N for guix-patches@gnu.org; Thu, 29 Feb 2024 16:49:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69432] [PATCH guix-artwork v2 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: Thu, 29 Feb 2024 21:49: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?= , pelzflorian@pelzflorian.de Received: via spool by 69432-submit@debbugs.gnu.org id=B69432.170924329025531 (code B ref 69432); Thu, 29 Feb 2024 21:49:02 +0000 Received: (at 69432) by debbugs.gnu.org; 29 Feb 2024 21:48:10 +0000 Received: from localhost ([127.0.0.1]:35549 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfoG9-0006db-SC for submit@debbugs.gnu.org; Thu, 29 Feb 2024 16:48:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49774) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfoG4-0006c1-7C for 69432@debbugs.gnu.org; Thu, 29 Feb 2024 16:48:04 -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 1rfoFX-0007ay-GY; Thu, 29 Feb 2024 16:47:31 -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=lo48XsRuCeJ/0J92mnWzuhE3eTScg86zVSl9+8IgwZM=; b=MRHbpmlZKI3kyAon6bbG G/S85oqXYDtbo164wjRPQzJAWt4F6Zyfe1MD3hwi8GqMjPSw+Uyis3q1YU0bef5JyKqq/v9UpLiod 0d2yGwYJrVfQnvhiZtnOdyVjHsVn8f9q+XSevsvcyCwSQSfPFI9Vc3H3htSEFeUNg1yz9jfUQ3BtR xBora+R2J74UU6h3H3voznspFQWyuJ5d4h8YdI6syLwrdXjr1jXkJgNSxGFthPuxcLiSBymarvmna HWCvi2zVCWGC2djnaKkDNpxk+ymUCoeswAxLBg4qCi0P3U5W8HDoPGk1i5b1PcV82GiThuSZ9kzJE 9lzoHNzO4668NQ==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Thu, 29 Feb 2024 22:47:14 +0100 Message-ID: <20240229214714.9431-3-ludo@gnu.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240229214714.9431-1-ludo@gnu.org> References: <877cineyn0.fsf@gnu.org> <20240229214714.9431-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-Spam-Score: -6.17 X-Spam-Score: -6.17 X-Migadu-Queue-Id: F1D1061572 X-Migadu-Scanner: mx11.migadu.com X-TUID: FrnbwiTruzkP * website/static/base/css/manual.css: New @font-face 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 | 37 ++++++++++++++++++++++++++++-- 3 files changed, 47 insertions(+), 4 deletions(-) diff --git a/website/.guix.scm b/website/.guix.scm index 1d8c3e6..e74f01f 100644 --- a/website/.guix.scm +++ b/website/.guix.scm @@ -212,7 +212,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..333f545 100644 --- a/website/static/base/css/manual.css +++ b/website/static/base/css/manual.css @@ -1,7 +1,7 @@ /* Additional CSS for the on-line manual. It complements GNU's default CSS at . - Public domain 2017, 2022. All rights waived. */ + Public domain 2017, 2022, 2024. All rights waived. */ /* Navigation bar for the language menu, copied from navbar.css with minor changes. */ @@ -316,6 +316,31 @@ label[for=all-dropdowns-hidden] { font-style: normal; } +@font-face { + font-family: 'Linux Libertine O'; + src: url('../fonts/LinLibertine_R.ttf') format('truetype'); + font-weight: normal; + font-style: normal; +} +@font-face { + font-family: 'Linux Libertine O'; + src: url('../fonts/LinLibertine_RI.ttf') format('truetype'); + font-weight: normal; + font-style: italic; +} +@font-face { + font-family: 'Linux Libertine O'; + src: url('../fonts/LinLibertine_RB.ttf') format('truetype'); + font-weight: bold; + font-style: normal; +} +@font-face { + font-family: 'Linux Libertine O'; + src: url('../fonts/LinLibertine_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