Change font back to Rubik and update version

This commit is contained in:
Michał Gdula 2023-04-08 17:00:04 +00:00
parent 823d0877d0
commit 1f9f50d014
10 changed files with 30 additions and 14 deletions

Binary file not shown.

View file

@ -64,11 +64,10 @@ window.onload = function () {
infoButton.classList.add('show');
}
infoButton.onclick = function () {
popUpShow('OnlyLegs on Flask',
'Using <a href="https://phosphoricons.com/">Phosphoricons</a> and ' +
'<a href="https://www.gent.media/manrope">Manrope</a> <br>' +
popUpShow('OnlyLegs',
'Using <a href="https://phosphoricons.com/">Phosphoricons</a> and Flask<br>' +
'Made by Fluffy and others with ❤️ <br>' +
'<a href="https://github.com/Fluffy-Bean/onlylegs">V23.04.06</a>');
'<a href="https://github.com/Fluffy-Bean/onlylegs">V23.04.08</a>');
}
}
};

View file

@ -5,13 +5,19 @@
color: RGB($fg-white)
.link
color: inherit
padding: 0.1rem 0.3rem
text-decoration: none
background-color: RGB($fg-white)
color: RGB($fg-black)
border-radius: $rad-inner
cursor: pointer
text-decoration: underline
&:hover
text-decoration: none
background-color: RGB($fg-black)
color: RGB($fg-white)
&::after
content: ''

View file

@ -33,7 +33,7 @@ $rad-inner: var(--rad-inner)
$animation-smooth: var(--animation-smooth)
$animation-bounce: var(--animation-bounce)
$font: 'Manrope', sans-serif
$font: 'Rubik', sans-serif
$breakpoint: 800px
@ -77,8 +77,10 @@ $breakpoint: 800px
// I have no clue if its webassets or libsass thats doing this shit
// But one of them is trying to "correct" the path, and 404-ing the
// font, so enjoy this path fuckery
@font-face
font-family: 'Manrope'
src: url('../../../../static/fonts/Manrope[wght].woff2') format('woff2')
font-family: 'Rubik'
src: url('../../../../static/fonts/Rubik.ttf') format('truetype')
font-style: normal
font-display: swap
font-weight: 300 900