Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
fix: converting the font from static to google static font
Browse files Browse the repository at this point in the history
  • Loading branch information
aswathy-deriv committed Jan 12, 2024
1 parent e708de2 commit 865d970
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions static/css/ubuntu.css
Original file line number Diff line number Diff line change
@@ -1,27 +1,28 @@
@font-face {
font-family: 'Ubuntu';
src:url('../fonts/Ubuntu-Regular.woff2') format('woff2');
src: url('https://fonts.gstatic.com/s/ubuntu/v20/4iCv6KVjbNBYlgoCxCvjsGyNPYZvgw.woff2')
format('woff2');
font-display: swap;
font-weight: 100 400;
}

@font-face {
font-family: 'Ubuntu';
src:url('../fonts/Ubuntu-Bold.woff2') format('woff2');
src: url('../fonts/Ubuntu-Bold.woff2') format('woff2');
font-display: swap;
font-weight: 800;
}

@font-face {
font-family: 'Ubuntu';
src:url('../fonts/Ubuntu-Light.woff2') format('woff2');
src: url('../fonts/Ubuntu-Light.woff2') format('woff2');
font-display: swap;
font-weight: 200;
}

@font-face {
font-family: 'Ubuntu';
src:url('../fonts/Ubuntu-Medium.woff2') format('woff2');
src: url('../fonts/Ubuntu-Medium.woff2') format('woff2');
font-display: swap;
font-weight: 500;
}

0 comments on commit 865d970

Please sign in to comment.