From nobody Mon Jul 15 18:51:21 2024 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 4WNBB15fKGz5RSGq for ; Mon, 15 Jul 2024 18:51:21 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WNBB14K7gz4RQB; Mon, 15 Jul 2024 18:51:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721069481; 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=kLKiqZTSTwBKg2O3keDfbGe36b99v1o3/MJlA11en00=; b=FFBSn3SeIVLfZQFF/Iv9QsC2jukzbAr6hhzBdwyEiL5M0mzcDMtUFLFEQ0b7cTa3uTNebh y5igTDSmHFvI3rMNWyeWovPGNz3Xd477FDDA7MpeKesISQnyb9tOt/cFGDvk/ebXah8mHb XoVzdxTvDVbtmOi2pYLsJV0nU03Nld7vqrDlzViiAPSuzbqrQpxrAceEFBqpjXQZ3mmLwD 342ZGJl6H0h9fco5Ea1r008XupIZydD5fzHc0o8IBKJ8SBAlsBdLWp/Jbvi0VI7EILVdrN Qbrp1LQEXZ5ISueFWe+FgjRw693CQKif625Niuvv0G3mYmE+4qcOA5De23vwDw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721069481; a=rsa-sha256; cv=none; b=sYCJEIosfMsZF/RFC0VyGzqaBPuF76cqqpgkFJk0o2vvm8yHPfWPma5rx+BZZ0t5tjKmiQ nHh/o+XjzzdDqiVrpolwq+95E6HogWT+ZuNTwGYiyUjYzI3ZN9VyP2rYhweShFUGUye3dR GjcdIN60bFHQJ7fZf1Hw6hJMPaSKNzmFnETbvFqiALIqyr8T3ycn9A+3EpsG5wGGmHb/6f zv5lR9nE/N2PKPTvrKj72IBMGEu9Ywo78SyYv33bA5ZE1/1+lVH491u7oXnvo6VjeNm7hP MkgXci24WK9HpQrY6KQi3r9RGjr+zmiWI5UIwFXQJym1GP+70Q0jKMAEMU8uGg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721069481; 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=kLKiqZTSTwBKg2O3keDfbGe36b99v1o3/MJlA11en00=; b=LLDIBBNigXJcTq8Nh6Z7HlEBNhx25ns/o/plFpwcxoRGqChqWhch18zakPR1jtmm4E1fTP +5FxjJXqFLu2oRcILVhiV8GGhxJvZpq/KInX7xmIpISTlW7flCk6hjpB2nZZ1RMbxMY3aQ nf09TRpmb3YPXwkUCkBB6+OkKGNERaMG/41KuCVhq1fJ/H508zHaJO+SwSX93IUp/5TYUl 5+BcPBzksrBUOjUIJynsoAnDH1AAx1enmCaWvKgawH3dq/TGmC88tio/BIYE7DcvY3lUYE /+764YS7XViNvN0ot0mtC7h8j0P6IVWnbS9qSmuq6aNSPs/H93Ha7gj115yegw== 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 4WNBB13wmhz13vd; Mon, 15 Jul 2024 18:51:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46FIpL51099423; Mon, 15 Jul 2024 18:51:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46FIpLoB099420; Mon, 15 Jul 2024 18:51:21 GMT (envelope-from git) Date: Mon, 15 Jul 2024 18:51:21 GMT Message-Id: <202407151851.46FIpLoB099420@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: b2aebe4313 - main - website: Visually rearrange main buttons 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: X-BeenThere: dev-commits-doc-all@freebsd.org Sender: owner-dev-commits-doc-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: 0mp X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b2aebe4313f88ba587cbb30d181c296fa5a2e7e6 Auto-Submitted: auto-generated The branch main has been updated by 0mp: URL: https://cgit.FreeBSD.org/doc/commit/?id=b2aebe4313f88ba587cbb30d181c296fa5a2e7e6 commit b2aebe4313f88ba587cbb30d181c296fa5a2e7e6 Author: Janek Szynal AuthorDate: 2024-07-15 18:49:11 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2024-07-15 18:49:20 +0000 website: Visually rearrange main buttons The current placement of the "New To FreeBSD?" button is slightly chaotic, as it's not visually aligned with anything else, and uses a background color not used anywhere else. The "Download FreeBSD" button is also visually misaligned and uses a font size not used anywhere else. This proposed change puts the two buttons together, aligns their left edge with the "Supported releases" section, adjusts width to make sure the titles fit on the same page, and aligns vertically with `beastie.png`. It unifies their font size at 1.3em (which is also used elsewhere) and changes the background color of "New To (..)" button to be lighter and the same as used below. Reviewed by: 0mp Differential Revision: https://reviews.freebsd.org/D45798 --- website/content/en/layout/css/layout.css | 19 +++++++++++------- website/themes/beastie/layouts/index.html | 30 ++++++++++++++-------------- website/themes/beastie/static/css/layout.css | 19 +++++++++++------- 3 files changed, 39 insertions(+), 29 deletions(-) diff --git a/website/content/en/layout/css/layout.css b/website/content/en/layout/css/layout.css index 668d2764a0..454a6bdd0a 100644 --- a/website/content/en/layout/css/layout.css +++ b/website/content/en/layout/css/layout.css @@ -181,7 +181,7 @@ #frontfeaturemiddle { float: left; margin-top: 20px; - background: url(../images/beastie.png) no-repeat top left; + background: url(../images/beastie.png) no-repeat center left; min-height: 196px; width: 30%; } @@ -343,7 +343,7 @@ #frontreleases { padding: 0; margin: 8px; - margin-left: 190px; + margin-left: 210px; margin-top: 5px; padding-bottom: 20px; color: #666; @@ -451,7 +451,7 @@ margin-top: -8px; margin-bottom: -8px; text-align: center; - font-size: 1.4em; + font-size: 1.3em; font-weight: bold; } @@ -461,14 +461,19 @@ } .frontgetroundbox { - margin-top: 50px; - margin-left: 160px; + margin-top: 10px; + margin-left: 210px; padding: 0; - width: 190px; - background-color: #FACC2E; + width: 325px; + background-color: #facc2e; border-radius: 15px; } +.frontgetroundbox.newtofreebsd { + margin-top: 50px; + background-color: #eee; +} + /* Secondary Pages */ @media screen { diff --git a/website/themes/beastie/layouts/index.html b/website/themes/beastie/layouts/index.html index ed91a74815..0cf789eb0d 100755 --- a/website/themes/beastie/layouts/index.html +++ b/website/themes/beastie/layouts/index.html @@ -25,6 +25,21 @@
+
+
+
+ . +
+
+ +
+
+ . +
+
+
@@ -120,21 +135,6 @@
-
-
-
- . -
-
- -
-
- . -
-
-
{{ $language := "" }} diff --git a/website/themes/beastie/static/css/layout.css b/website/themes/beastie/static/css/layout.css index cf9e215e95..50f8625f7d 100644 --- a/website/themes/beastie/static/css/layout.css +++ b/website/themes/beastie/static/css/layout.css @@ -152,7 +152,7 @@ header { #frontfeaturemiddle { float: left; margin-top: 20px; - background: url(../images/beastie.png) no-repeat top left; + background: url(../images/beastie.png) no-repeat center left; min-height: 196px; width: 30%; } @@ -381,7 +381,7 @@ header { #frontreleases { padding: 0; margin: 8px; - margin-left: 190px; + margin-left: 210px; margin-top: 5px; padding-bottom: 20px; color: #666; @@ -473,7 +473,7 @@ header { margin-top: -8px; margin-bottom: -8px; text-align: center; - font-size: 1.4em; + font-size: 1.3em; font-weight: bold; } @@ -483,14 +483,19 @@ header { } .frontgetroundbox { - margin-top: 50px; - margin-left: 160px; + margin-top: 10px; + margin-left: 210px; padding: 0; - width: 190px; - background-color: #FACC2E; + width: 325px; + background-color: #facc2e; border-radius: 15px; } +.frontgetroundbox.newtofreebsd { + margin-top: 50px; + background-color: #eee; +} + /* Secondary Pages */ @media screen {