From 8b3103c31873805fdc2477d1181f7e551127851a Mon Sep 17 00:00:00 2001 From: Agampreet Singh <68941022+agam778@users.noreply.github.com> Date: Thu, 8 Jun 2023 16:43:52 +0530 Subject: [PATCH] Switch to San Franciso font in the website --- docs/index.css | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/docs/index.css b/docs/index.css index 2f184e6..78b5884 100644 --- a/docs/index.css +++ b/docs/index.css @@ -7,8 +7,14 @@ body { background-attachment: fixed; } +@font-face { + font-family: "San Francisco"; + font-weight: 400; + src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-regular-webfont.woff"); +} + :root { - --font-seaweed-script: "Seaweed Script"; + --font-san-francisco: "San Francisco"; --font-poppins: Poppins; --font-size-sm: 14px; --color-aliceblue-100: #f3f8ff; @@ -76,10 +82,10 @@ body { .byagam778 { position: absolute; margin-top: 219px; - margin-left: 172px; - font-size: 50px; + margin-left: 170px; + font-size: 38px; line-height: 50px; - font-family: var(--font-seaweed-script); + font-family: 'SF Pro Text',-apple-system,BlinkMacSystemFont,var(--font-san-francisco); color: #00acff; cursor: pointer; } @@ -146,7 +152,7 @@ body { .byagam778 { text-align: center; width: 100%; - font-size: 30px; + font-size: 26px; height: auto; margin-top: 50%; margin-left: 59%;