font styling, initial model-index implementation

This commit is contained in:
2026-05-28 08:44:23 +08:00
parent c73da9d2ed
commit bd56bd93dc
6 changed files with 41 additions and 10 deletions
+26 -7
View File
@@ -1,9 +1,26 @@
@font-face {
font-family: "Blender Pro Book";
src: url("fonts/BlenderPro-Bold.woff2") format("woff2"),
url("fonts/BlenderPro-Bold.woff") format("woff");
font-family: "SF Pro Medium";
src: url("fonts/SF-Pro.ttf") format("truetype");
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "SF Pro Medium";
src: url("fonts/SF-Pro-Italic.ttf") format("truetype");
font-weight: normal;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: "Blender Pro Bold";
src: url("fonts/BlenderPro-Bold.woff") format("woff");
font-weight: normal;
font-style: normal;
font-display: swap;
}
#info {
position: absolute;
@@ -18,7 +35,7 @@
user-select: none;
pointer-events: none;
z-index: 1; /* TODO Solve this in HTML */
font-family: 'Blender Pro Book';
font-family: 'SF Pro Medium';
font-weight: normal;
font-style: normal;
@@ -37,7 +54,7 @@
user-select: none;
pointer-events: none;
z-index: 1; /* TODO Solve this in HTML */
font-family: 'Blender Pro Book';
font-family: 'Blender Pro Bold';
font-weight: normal;
font-style: normal;
@@ -45,10 +62,12 @@
h1 {
margin: 5px;
/* font-weight: normal !important; */
}
h2 {
margin: 0px;
font-weight: normal !important;
}
h3 {
h4 {
margin: 0px;
}
}