Skip to content

Commit

Permalink
Add: fonts
Browse files Browse the repository at this point in the history
Add ubuntu font
  • Loading branch information
ajstrongdev committed Sep 13, 2024
1 parent 35d8958 commit adb4d2f
Show file tree
Hide file tree
Showing 8 changed files with 45 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/hero.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function Hero() {
<div className="bg-overlay w-full h-auto">
<NavBar />
<div className="py-8 px-4 mx-auto max-w-screen-xl text-center lg:py-16 lg:px-12">
<h1 className="mb-4 text-4xl tracking-tight leading-none text-white font-bold md:text-5xl lg:text-6xl">Ubuntu based, rolling release.</h1>
<h1 className="mb-4 text-4xl tracking-tight leading-none text-white font-bold md:text-5xl lg:text-6xl">Ubuntu Based, Rolling Release.</h1>
<p className="mb-8 text-lg font-normal lg:text-xl sm:px-16 xl:px-48 text-white">Rhino Linux is a rolling release Ubuntu-based distribution with Pacstall & XFCE at its core.
</p>
<div className="flex flex-col mb-8 lg:mb-16 space-y-4 sm:flex-row sm:justify-center sm:space-y-0 sm:space-x-4">
Expand Down
Binary file added src/styles/Ubuntu-Bold.ttf
Binary file not shown.
Binary file added src/styles/Ubuntu-Light.ttf
Binary file not shown.
Binary file added src/styles/Ubuntu-Medium.ttf
Binary file not shown.
Binary file added src/styles/Ubuntu-Regular.ttf
Binary file not shown.
Binary file added src/styles/UbuntuMono-Bold.ttf
Binary file not shown.
Binary file added src/styles/UbuntuMono-Regular.ttf
Binary file not shown.
46 changes: 44 additions & 2 deletions src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,51 @@
@tailwind components;
@tailwind utilities;

@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
@font-face {
font-family: "Ubuntu";
font-weight: 400;
src: url("Ubuntu-Regular.ttf");
}

@font-face {
font-family: "Ubuntu";
font-weight: 500;
src: url("Ubuntu-Medium.ttf");
}

@font-face {
font-family: "Ubuntu";
font-weight: 300;
src: url("Ubuntu-Light.ttf");
}

@font-face {
font-family: "Ubuntu";
font-weight: 700;
src: url("Ubuntu-Bold.ttf");
}

@font-face {
font-family: "UbuntuMono";
font-weight: 400;
src: url("UbuntuMono-Regular.ttf");
}

@font-face {
font-family: "UbuntuMono";
font-weight: 700;
src: url("UbuntuMono-Bold.ttf");
}

p, h1, h2, h3, h4, hr, td, tr, ul, ol, li, a, footer, article, main {
font-family: "Ubuntu", sans-serif !important;
}

code, kbd, samp, pre {
font-family: "UbuntuMono", monospace !important;
font-size: 102% !important;
}

body {
background-color: #19142d;
font-family: "Ubuntu", sans-serif !important;
}

0 comments on commit adb4d2f

Please sign in to comment.