This commit is contained in:
floppydiskette 2024-11-17 13:18:43 +00:00
parent c863dd4ad3
commit fb56268b9b
Signed by: fwoppydwisk
SSH key fingerprint: SHA256:Hqn452XQ1ETzUt/FthJu6+OFkS4NBxCv5VQSEvuk7CE
3 changed files with 17 additions and 17 deletions

View file

@ -4,7 +4,7 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/res/css/master.css"> <link rel="stylesheet" href="./res/css/master.css">
<title>~floppy</title> <title>~floppy</title>
</head> </head>
@ -20,7 +20,7 @@
"My life is a living nightmare!" "My life is a living nightmare!"
</p> </p>
</div> </div>
<div><img src="/res/images/profile.png" class="profile-image"></div> <div><img src="./res/images/profile.png" class="profile-image"></div>
<div> <div>
<ul> <ul>
<li>19 y/o, British</li> <li>19 y/o, British</li>
@ -48,7 +48,7 @@
</div> </div>
</div> </div>
</div> </div>
<script type="text/javascript" src="/res/js/dynamic-content.js"></script> <script type="text/javascript" src="./res/js/dynamic-content.js"></script>
</body> </body>
</html> </html>

View file

@ -1,47 +1,47 @@
@font-face { @font-face {
font-family: "Fira Code"; font-family: "Fira Code";
src: url("/res/fonts/FiraCode-Light.woff2") format("woff2"), src: url("../fonts/FiraCode-Light.woff2") format("woff2"),
url("/res/fonts/FiraCode-Light.woff") format("woff"); url("../fonts/FiraCode-Light.woff") format("woff");
font-weight: 300; font-weight: 300;
font-style: normal; font-style: normal;
} }
@font-face { @font-face {
font-family: "Fira Code"; font-family: "Fira Code";
src: url("/res/fonts/FiraCode-Regular.woff2") format("woff2"), src: url("../fonts/FiraCode-Regular.woff2") format("woff2"),
url("/res/fonts/FiraCode-Regular.woff") format("woff"); url("../fonts/FiraCode-Regular.woff") format("woff");
font-weight: 400; font-weight: 400;
font-style: normal; font-style: normal;
} }
@font-face { @font-face {
font-family: "Fira Code"; font-family: "Fira Code";
src: url("/res/fonts/FiraCode-Medium.woff2") format("woff2"), src: url("../fonts/FiraCode-Medium.woff2") format("woff2"),
url("/res/fonts/FiraCode-Medium.woff") format("woff"); url("../fonts/FiraCode-Medium.woff") format("woff");
font-weight: 500; font-weight: 500;
font-style: normal; font-style: normal;
} }
@font-face { @font-face {
font-family: "Fira Code"; font-family: "Fira Code";
src: url("/res/fonts/FiraCode-SemiBold.woff2") format("woff2"), src: url("../fonts/FiraCode-SemiBold.woff2") format("woff2"),
url("/res/fonts/FiraCode-SemiBold.woff") format("woff"); url("../fonts/FiraCode-SemiBold.woff") format("woff");
font-weight: 600; font-weight: 600;
font-style: normal; font-style: normal;
} }
@font-face { @font-face {
font-family: "Fira Code"; font-family: "Fira Code";
src: url("/res/fonts/FiraCode-Bold.woff2") format("woff2"), src: url("../fonts/FiraCode-Bold.woff2") format("woff2"),
url("/res/fonts/FiraCode-Bold.woff") format("woff"); url("../fonts/FiraCode-Bold.woff") format("woff");
font-weight: 700; font-weight: 700;
font-style: normal; font-style: normal;
} }
@font-face { @font-face {
font-family: "Fira Code VF"; font-family: "Fira Code VF";
src: url("/res/fonts/FiraCode-VF.woff2") format("woff2-variations"), src: url("../fonts/FiraCode-VF.woff2") format("woff2-variations"),
url("/res/fonts/FiraCode-VF.woff") format("woff-variations"); url("../fonts/FiraCode-VF.woff") format("woff-variations");
/* font-weight requires a range: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide#Using_a_variable_font_font-face_changes */ /* font-weight requires a range: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide#Using_a_variable_font_font-face_changes */
font-weight: 300 700; font-weight: 300 700;
font-style: normal; font-style: normal;

View file

@ -4,11 +4,11 @@ if (christmas) {
var head = document.getElementsByTagName('head')[0]; var head = document.getElementsByTagName('head')[0];
var snowJS = document.createElement("script"); var snowJS = document.createElement("script");
snowJS.type = "text/javascript"; snowJS.type = "text/javascript";
snowJS.src = "/res/js/snowstorm.js"; snowJS.src = "./res/js/snowstorm.js";
head.appendChild(snowJS); head.appendChild(snowJS);
const profileImage = document.querySelector("img.profile-image"); const profileImage = document.querySelector("img.profile-image");
profileImage.src = "/res/images/profile-christmas.jpg"; profileImage.src = "./res/images/profile-christmas.jpg";
} }
function isItChristmas() { function isItChristmas() {