Skip to content

Commit

Permalink
Updating font for readability, will change branding theme to match
Browse files Browse the repository at this point in the history
  • Loading branch information
hsmith-dev committed Aug 21, 2024
1 parent f345940 commit 288725c
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 8 deletions.
Binary file added public/fonts/Poppins-Bold.woff
Binary file not shown.
Binary file added public/fonts/Poppins-Italic.woff
Binary file not shown.
Binary file added public/fonts/Poppins-Regular.woff
Binary file not shown.
Binary file removed public/fonts/montserrat.woff
Binary file not shown.
5 changes: 3 additions & 2 deletions src/components/BaseHead.astro
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ const { title, description, image = '/blog-placeholder-1.jpg' } = Astro.props;
<meta name="generator" content={Astro.generator} />

<!-- Font preloads -->
<link rel="preload" href="/fonts/atkinson-regular.woff" as="font" type="font/woff" crossorigin />
<link rel="preload" href="/fonts/atkinson-bold.woff" as="font" type="font/woff" crossorigin />
<link rel="preload" href="/fonts/Poppins-Regular.woff" as="font" type="font/woff" crossorigin />
<link rel="preload" href="/fonts/Poppins-Bold.woff" as="font" type="font/woff" crossorigin />
<link rel="preload" href="/fonts/Poppins-Italic.woff" as="font" type="font/woff" crossorigin />

<!-- Canonical URL -->
<link rel="canonical" href={canonicalURL} />
Expand Down
1 change: 1 addition & 0 deletions src/content/data/navData.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export const navData = {
dropdown: [
{ title: "About", href: "/about" },
{ title: "Forum", href: "https://forum.vortexlinux.org" },
{ title: "Get Involved", href: "/blog/get-invovled"},
{ title: "GitHub", href: "https://github.com/Vortex-Linux/"},
{ title: "ReadTheDocs", href: "https://vortexlinux.readthedocs.io/en/latest/"},
{ title: "Team", href: "/about#team" }
Expand Down
4 changes: 2 additions & 2 deletions src/styles/Hero.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
font-size: 3rem;
margin-bottom: 1rem;
font-weight: bold;
text-shadow: 5px 5px black;
text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.title-mark {
Expand All @@ -30,7 +30,7 @@
.hero-subtitle {
font-size: 1.5rem;
margin-bottom: 2rem;
text-shadow: 3px 3px black;
text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.hero-button {
Expand Down
28 changes: 24 additions & 4 deletions src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,36 @@ html.dark {
--background: #001a1f;
--accent-filter: brightness(0) saturate(100%) invert(70%) sepia(50%) saturate(6388%) hue-rotate(323deg) brightness(109%) contrast(102%);
}

@font-face {
font-family: 'Montserrat';
src: url('/fonts/montserrate.woff') format('woff');
font-family: 'Comfortaa';
src: url('/fonts/Comfortaa.woff') format('woff');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Poppins';
src: url('/fonts/Poppins-Regular.woff') format('woff');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Poppins';
src: url('/fonts/Poppins-Italic.woff') format('woff');
font-weight: 400;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: 'Poppins';
src: url('/fonts/Poppins-Bold.woff') format('woff');
font-weight: 400;
font-style: bold;
font-display: swap;
}
body {
font-family: 'Montserrat', sans-serif;
font-family: 'Poppins', sans-serif;
margin: 0;
padding: 0;
text-align: left;
Expand Down

0 comments on commit 288725c

Please sign in to comment.