diff --git a/assets/fonts/otf/manrope-bold.otf b/assets/fonts/otf/manrope-bold.otf new file mode 100644 index 0000000..c5bc096 Binary files /dev/null and b/assets/fonts/otf/manrope-bold.otf differ diff --git a/assets/fonts/variable/Manrope[wght].ttf b/assets/fonts/variable/Manrope[wght].ttf new file mode 100644 index 0000000..9c9a74a Binary files /dev/null and b/assets/fonts/variable/Manrope[wght].ttf differ diff --git a/assets/fonts/web/manrope-bold.woff2 b/assets/fonts/web/manrope-bold.woff2 new file mode 100644 index 0000000..280f478 Binary files /dev/null and b/assets/fonts/web/manrope-bold.woff2 differ diff --git a/index.css b/index.css index 6916d08..d3fee49 100644 --- a/index.css +++ b/index.css @@ -1,9 +1,30 @@ +@charset "UTF-8"; +@font-face { + font-family: "Manrope VF"; + src: url("/assets/fonts/variable/Manrope%5Bwght%5D.ttf") + format("truetype-variations"); + font-style: normal; + font-weight: 200 800; +} + +@font-face { + font-family: "Manrope"; + src: url("/assets/fonts/web/manrope-bold.woff2") format("woff2"), + url("/assets/fonts/otf/manrope-bold.otf") format("opentype"); + font-style: normal; + font-weight: 700; +} + body { align-items: center; background: var(--bg-color); color: var(--text-color); - font-family: "Manrope", sans-serif; + font-family: "Manrope VF", Manrope, sans-serif; font-feature-settings: "calt", "liga"; + font-size: 64px; + font-variation-ligatures: normal; + font-variation-settings: "wght" 500; + font-weight: 700; margin: 0%; max-width: 100vw; overflow-x: hidden; @@ -54,8 +75,11 @@ body { .footer a { color: var(--text-color) !important; - font-family: "Manrope", sans-serif; - font-weight: bold; + font-family: "Manrope VF", Manrope, sans-serif; + font-feature-settings: "calt", "liga"; + font-variation-ligatures: normal; + font-variation-settings: "wght" 500; + font-weight: 700; text-decoration: none; } diff --git a/index.html b/index.html index fb7e13c..ba94b96 100644 --- a/index.html +++ b/index.html @@ -10,15 +10,11 @@ href="https://fonts.googleapis.com/css?family=Asap|Asap+Condensed&display=swap" rel="stylesheet" /> - - + @@ -52,27 +48,27 @@ K_
- +
_
- +   null - +   @k4ustu3h - +   k4ustu3h@gmail.com - + @@ -80,12 +76,12 @@   Jabalpur, Madhya Pradesh, India - +    Available for hire
- + - + - + - + - + - + - + - + - + - + - + - + - +
k4ustu3h.github.io
- undefined + undefined
- +   HTML @@ -235,12 +231,12 @@
anothericonpack
- + Free and open source icon pack for Android.
- +   Kotlin @@ -259,12 +255,12 @@
bash-insulter
- + Insults the user when typing wrong command
- +   null @@ -283,13 +279,13 @@
kotin.ga
- + Kotinga - Modern URL shortener with support for custom alias & can be hosted even in GitHub pages
- +   JavaScript @@ -308,13 +304,13 @@
gitfolio
- + A gitfolio fork that automatically deploys the output to GitHub Pages using Travis CI
- +   JavaScript @@ -349,7 +345,7 @@ static: true, useMin: false, maxColumns: 2, - useTransform: true + useTransform: true, }); const magicForksGrid = new MagicGrid({ @@ -359,7 +355,7 @@ static: true, useMin: false, maxColumns: 2, - useTransform: true + useTransform: true, }); $("document").ready(() => { @@ -370,7 +366,7 @@ // function([string1, string2],target id,[color1,color2]) consoleText(["Kaustubh Ladiya", "Just another copy-paster"], "text", [ "white", - "white" + "white", ]); function consoleText(words, id, colors) { @@ -382,11 +378,11 @@ var waiting = false; var target = document.getElementById(id); target.setAttribute("style", "color:" + colors[0]); - window.setInterval(function() { + window.setInterval(function () { if (letterCount === 0 && waiting === false) { waiting = true; target.innerHTML = words[0].substring(0, letterCount); - window.setTimeout(function() { + window.setTimeout(function () { var usedColor = colors.shift(); colors.push(usedColor); var usedWord = words.shift(); @@ -401,7 +397,7 @@ waiting === false ) { waiting = true; - window.setTimeout(function() { + window.setTimeout(function () { x = -1; letterCount += x; waiting = false; @@ -411,7 +407,7 @@ letterCount += x; } }, 120); - window.setInterval(function() { + window.setInterval(function () { if (visible === true) { con.className = "console-underscore hidden"; visible = false;