From nobody Mon Feb 28 19:03:10 2022 X-Original-To: dev-commits-doc-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 99D2A19FCC5B for ; Mon, 28 Feb 2022 19:03:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K6qXG3zdZz4Sfn; Mon, 28 Feb 2022 19:03:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646074990; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=hw/BmwXn2yEoHkZycXFugCwbbTmid1ZtMPVm3ixFync=; b=RVlJXygHuIA6IibPaUnJvM7rDhEJGPflvX9fSnxR3LQEsqKtkm9I3Fs/493rtbtz0WMZZN E/HbScim/jsawuDCN0gEuLECgAjYQHRoIE8IQ6urdZQxFyrCpYlSDQv0xaUjNJ5PpyLhg9 H3FT76plS+68N+5ai9r3Cxlz6LIVVwSJBb7rZ2D/lcHhSdMX6y3/DJ9/KI6Eoo7g0gU87q UB7yGMfxeW9uTlydXa5rueoF1IRojZF17ToVlf5ZJ1agbIA9iwn6340sH5VqFY3uZ1shou ECRRAJQBSqY2NTBUxsptXESph1BAv93cmMSe/St25CbHa3k+5PbUktcNK844pQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5ECB820D5F; Mon, 28 Feb 2022 19:03:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 21SJ3AAd067988; Mon, 28 Feb 2022 19:03:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21SJ3AcH067987; Mon, 28 Feb 2022 19:03:10 GMT (envelope-from git) Date: Mon, 28 Feb 2022 19:03:10 GMT Message-Id: <202202281903.21SJ3AcH067987@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Sergio Carlavilla Delgado Subject: git: 96597816b4 - main - Remove mobile book menu in books without menu List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-doc-all@freebsd.org X-BeenThere: dev-commits-doc-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: carlavilla X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 96597816b4c714683dda2767b14fb44f9d48431b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646074990; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=hw/BmwXn2yEoHkZycXFugCwbbTmid1ZtMPVm3ixFync=; b=YiUvuil2BtDShXlNo0O6DMjmendI6OQM3oNgEIt5cmRZAZztmTmlzUZQiXK6uqceK3MVgj 619v7u70+UXD/MRVrPnLH/G9QuA8JBkOfmK2lae1Gd+f25KFJPR7/ehzfL/aeeZ88DIP12 hCkkr7UQutiwi5onrnTfq2ig7Lmyq1jtFd5Q3ugt1KzoFzuJBo8c7YgOLLH/WuvPqjEbTv ddXXlTnqL4ZgdlZrnVj2FlOw/apB/D2lBpYu/TxsT7d1oduhRZ7lKXJsSyRdJTMfgjschI vCbRuY8QWW0XZ2SOU2tyUx1ZNh3OvUxPb19mf9QtlQDnCQoNITcUT78zvvZhIw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646074990; a=rsa-sha256; cv=none; b=S2xB0C75/K1yZ+nbVhNRH1c/cd0ZnZs4+mpiVXxn70b2HXvEYQniALPwxg1AS1jZFv/6SO 7rRf+dMYtkMmsKgpcqyMzsxupqmecOUfesyaNsleLgCgbta+0Ja4MhBRiL8Gm40s96Jidh eye5AmEFGmWnd+RQt6uchD6zgDAhnWG22ltpxj8ta8YS6i9UearEUDmc9uZfSqLhFB3sf8 x1ZKn3iLCx6XSupK0uwiLByRgbSPUWIKtGsFRL5x0ZJhHHA32kEZ613kc2oNjYa7o5ptsa cGm0yeyk9KAEB/9A6v+RaSNkY+cvT115B0JmWw6ukI8cp1WDMuBay2mqxfH9+Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by carlavilla: URL: https://cgit.FreeBSD.org/doc/commit/?id=96597816b4c714683dda2767b14fb44f9d48431b commit 96597816b4c714683dda2767b14fb44f9d48431b Author: Sergio Carlavilla Delgado AuthorDate: 2022-02-28 19:01:36 +0000 Commit: Sergio Carlavilla Delgado CommitDate: 2022-02-28 19:01:36 +0000 Remove mobile book menu in books without menu PR: 261370 Submitted by: Graham Perrin --- documentation/themes/beastie/assets/styles/documentation.scss | 11 +++++++---- documentation/themes/beastie/layouts/books/list.html | 2 ++ documentation/themes/beastie/layouts/books/single.html | 2 ++ 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/documentation/themes/beastie/assets/styles/documentation.scss b/documentation/themes/beastie/assets/styles/documentation.scss index 63fb4e03a9..d0c8d3bcb8 100644 --- a/documentation/themes/beastie/assets/styles/documentation.scss +++ b/documentation/themes/beastie/assets/styles/documentation.scss @@ -173,6 +173,10 @@ .buttons { display: flex; + align-content: center; + align-items: center; + justify-content: center; + flex-direction: row; .prev, .home, .next { display: flex; @@ -185,16 +189,15 @@ } .home { + margin-left: auto; + margin-right: auto; + i { padding-left: .2rem; padding-right: .2rem; } } - .home, .next { - margin-left: auto; - } - .container { display: flex; flex-direction: column; diff --git a/documentation/themes/beastie/layouts/books/list.html b/documentation/themes/beastie/layouts/books/list.html index d4df934989..fc99508c90 100644 --- a/documentation/themes/beastie/layouts/books/list.html +++ b/documentation/themes/beastie/layouts/books/list.html @@ -13,6 +13,7 @@ {{ end }}
+ {{ if eq .Params.showBookMenu true }}
+ {{ end }}

{{ .Title }}

{{ if .Params.subtitle }}

{{ .Params.subtitle }}

diff --git a/documentation/themes/beastie/layouts/books/single.html b/documentation/themes/beastie/layouts/books/single.html index d4df934989..fc99508c90 100644 --- a/documentation/themes/beastie/layouts/books/single.html +++ b/documentation/themes/beastie/layouts/books/single.html @@ -13,6 +13,7 @@ {{ end }}
+ {{ if eq .Params.showBookMenu true }}
+ {{ end }}

{{ .Title }}

{{ if .Params.subtitle }}

{{ .Params.subtitle }}