Skip to content

Commit

Permalink
Use fancy fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
Pelmenner committed Jan 26, 2024
1 parent 54cb3be commit 727eba4
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
10 changes: 7 additions & 3 deletions packages/ilmomasiina-components/src/routes/SingleEvent/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ const SingleEvent = () => {
background-image: url("https://i.ibb.co/58bwmJQ/papertexture2.png");
background-repeat: repeat;
background-color: #FFEDCF;
font-family: MedievalReadable;
}
h1 {
font-family: MedievalFancy;
}
.dg-logo {
Expand All @@ -99,8 +104,8 @@ const SingleEvent = () => {
border-radius: 0.5rem;
`}
</style>
</>)
: (
</>
) : (
<style>
{`
.dg-logo {
Expand All @@ -113,5 +118,4 @@ const SingleEvent = () => {
);
};


export default SingleEvent;
16 changes: 16 additions & 0 deletions packages/ilmomasiina-frontend/src/styles/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,22 @@
@use "widgets";
@use "~@tietokilta/ilmomasiina-components/src/styles/all";

@font-face {
font-family: 'MedievalFancy';
src: url("https://www.dl.dropboxusercontent.com/scl/fi/6dg8kndox20hgwu1eif8u/HobbitonBrushhandHobbitonbrushNoweirddots.woff?rlkey=u10ndtvkuadts8kpu8heu7jst&raw=1") format("woff");
font-weight: normal;
font-style: normal;
font-display: swap;
};

@font-face {
font-family: 'MedievalReadable';
src: url("https://www.dl.dropboxusercontent.com/scl/fi/ldg9bv4n1ofc51vdxdt08/Millenigem-yLXd.ttf?rlkey=0rdb9bfiq3mjzke5l6od2sz2l&raw=1") format("truetype");
font-weight: normal;
font-style: normal;
font-display: swap;
}

// Global layout

body,
Expand Down

0 comments on commit 727eba4

Please sign in to comment.