Use woff2 versions of fonts

This commit is contained in:
Booteille 2024-11-26 14:18:21 +01:00
parent 268f3417ea
commit d26c304b8c
No known key found for this signature in database
GPG Key ID: 0AB6C6CA01272646
18 changed files with 13 additions and 5 deletions

View File

@ -33,31 +33,31 @@
@font-face {
font-family: "Roboto";
src: url("../font/roboto/Roboto-Thin.ttf") format("truetype");
src: url("../font/roboto/Roboto-Thin.woff2") format("woff2");
font-weight: 200;
}
@font-face {
font-family: "Roboto";
src: url("../font/roboto/Roboto-Light.ttf") format("truetype");
src: url("../font/roboto/Roboto-Light.woff2") format("woff2");
font-weight: 300;
}
@font-face {
font-family: "Roboto";
src: url("../font/roboto/Roboto-Regular.ttf") format("truetype");
src: url("../font/roboto/Roboto-Regular.woff2") format("woff2");
font-weight: 400;
}
@font-face {
font-family: "Roboto";
src: url("../font/roboto/Roboto-Medium.ttf") format("truetype");
src: url("../font/roboto/Roboto-Medium.woff2") format("woff2");
font-weight: 500;
}
@font-face {
font-family: "Roboto";
src: url("../font/roboto/Roboto-Bold.ttf") format("truetype");
src: url("../font/roboto/Roboto-Bold.woff2") format("woff2");
font-weight: 700;
}
@ -178,6 +178,14 @@ a.button {
background: var(--icon-color);
}
.icon.hide-source {
width: 2rem;
height: 2rem;
mask: url("../icon/hide-source.svg");
mask-repeat: no-repeat;
background: var(--icon-color);
}
.icon.mail {
width: 2rem;
height: 2rem;

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.