From nobody Thu Sep 1 19:17:36 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 4MJW5X2Vkqz4bLJQ for ; Thu, 1 Sep 2022 19:17:36 +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 4MJW5X1r9kz3jJ8; Thu, 1 Sep 2022 19:17:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662059856; 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=5OZ6seVb5iDwGPHfXG0XeB8AzKUNP5xBRw54OuWvKLk=; b=gG4SfxqNqrKnRvW+7SCvU13UEaJ5gxD/7j60d6IqLCwmt8ozIuK4pkFBDdAGP6ZMREzHPT RjNULxo1GEjkWxbFRuBz3FbgxqtZrbiA39IUU1PMsJIsKYrluipYBs8USLwQUs/MuzbfeM Mo5bH8t6eUZ71l0Wvjld2lMfrN4o+9HKOj2h5WWwZ2XCw8oiFmCDOyrR4b/ciPLVy6BdCP BDS2vE+1Yv0wKuhHqG9sRCzsjSYD5sEaWbdDwNRq3Eavhn9NytTxYvHBKj4AZ3hinLp8ur qh6MjBMKEk+F3aZc5u/gjQqeV2RPZiKqbOBID8oBa+Yegt7uQnw+x7MAhWeYEw== 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 4MJW5X0wG5zZ7w; Thu, 1 Sep 2022 19:17:36 +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 281JHarL056134; Thu, 1 Sep 2022 19:17:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 281JHaPh056133; Thu, 1 Sep 2022 19:17:36 GMT (envelope-from git) Date: Thu, 1 Sep 2022 19:17:36 GMT Message-Id: <202209011917.281JHaPh056133@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Sergio Carlavilla Delgado Subject: git: b68e44392b - main - Move heading anchors to the end and add improve rendering on mobile 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: b68e44392bcd6420ec1b83e7fb63adac645db98f Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662059856; 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=5OZ6seVb5iDwGPHfXG0XeB8AzKUNP5xBRw54OuWvKLk=; b=OYcVse0b6ATwkOtgVnlY3+blnMGtuccfQIN5HtzA/j/9Fo1HUnZ5PFns3HIq76b0McmmKv 2EjZPrZjgebxObpRgAgTBfY11SBZEgAvqdFyosjJ9HBVrjQjmqKnj+yaHDiXdl8DYHuqYv e8rxMW4royYyt0j/hhRUHSOJmmMbq/Z/DdNpyiI7A4bjl3G04O4KFEOSZ+dGIrUBZV2qfu 6NmeWuj6wMw5npkR6JoxBjYytNpDAc89RxQzvWHRr6Pc6BsS6xBtAtsbLhKeQw+4x12dYa F/wJtgRYCBA7Lpv/Nx/Dx9eoZ5bfNi3exAlNrFNEcUmmcPd5ubbMdGRE5yDuPg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662059856; a=rsa-sha256; cv=none; b=KugooYwQChznpbSW4Hb9/4lSiPuiCsj8PUo5OkVfir20BtoN9fdJI72GmKGV06l8hb2Qjv O/ooeEeMGowhE0io7TyEiRYA1L7xIw3BOVpRE0iIS1UEZ9rUVjv1KW7pEvTXA1UphFci4S ZEccbnC9dFyOKNEgo05/5/auKth/LJB253EUwXsSbDr/pOZ/lX4bZl7H62x4IPMdl3Y849 qQXSAz7j5c7+nHjEh8iBUk1ybRGYbzQlFp9Qw0hroJG1AuyNrquYt2kT9I7JowOaWeGHY2 7ghSDkfAOTABuz2sPnBE1sHc78TLM8OA+ZnuE78ubZaUg0JhogURtbMl4gtzvA== 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=b68e44392bcd6420ec1b83e7fb63adac645db98f commit b68e44392bcd6420ec1b83e7fb63adac645db98f Author: Sergio Carlavilla Delgado AuthorDate: 2022-09-01 19:17:02 +0000 Commit: Sergio Carlavilla Delgado CommitDate: 2022-09-01 19:17:02 +0000 Move heading anchors to the end and add improve rendering on mobile --- documentation/config/_default/config.toml | 2 +- documentation/themes/beastie/assets/styles/global.scss | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/documentation/config/_default/config.toml b/documentation/config/_default/config.toml index 770088c989..b14681a0c8 100644 --- a/documentation/config/_default/config.toml +++ b/documentation/config/_default/config.toml @@ -37,7 +37,7 @@ enableGitInfo = true env-beastie = true isOnline = true skip-front-matter = true - sectanchors = true + sectanchors = "after" [outputs] home = [ "HTML" ] diff --git a/documentation/themes/beastie/assets/styles/global.scss b/documentation/themes/beastie/assets/styles/global.scss index 765d81b672..77c1ece932 100644 --- a/documentation/themes/beastie/assets/styles/global.scss +++ b/documentation/themes/beastie/assets/styles/global.scss @@ -278,6 +278,7 @@ h4, h5, h6 { margin: 0; + padding-bottom: .3rem; } h1, @@ -334,7 +335,7 @@ h4 > .anchor::before, h5 > .anchor::before, h6 > .anchor::before { visibility: hidden; - margin-right: .3rem; + margin-left: .3rem; content: "#"; color: var(--global-font-color); }