Initial commit
This commit is contained in:
parent
69912df182
commit
2f250da39a
26 changed files with 496 additions and 0 deletions
BIN
src/badges/archlinux.png
Normal file
BIN
src/badges/archlinux.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 837 B |
BIN
src/badges/firefox2.gif
Normal file
BIN
src/badges/firefox2.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.5 KiB |
BIN
src/badges/gentoo.png
Normal file
BIN
src/badges/gentoo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1 KiB |
BIN
src/favicon.ico
Normal file
BIN
src/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 105 KiB |
BIN
src/font/cherrybombone/CherryBombOne-Regular.woff2
Normal file
BIN
src/font/cherrybombone/CherryBombOne-Regular.woff2
Normal file
Binary file not shown.
BIN
src/font/plex/IBMPlexMono-Bold.woff2
Normal file
BIN
src/font/plex/IBMPlexMono-Bold.woff2
Normal file
Binary file not shown.
BIN
src/font/plex/IBMPlexMono-BoldItalic.woff2
Normal file
BIN
src/font/plex/IBMPlexMono-BoldItalic.woff2
Normal file
Binary file not shown.
BIN
src/font/plex/IBMPlexMono-ExtraLight.woff2
Normal file
BIN
src/font/plex/IBMPlexMono-ExtraLight.woff2
Normal file
Binary file not shown.
BIN
src/font/plex/IBMPlexMono-ExtraLightItalic.woff2
Normal file
BIN
src/font/plex/IBMPlexMono-ExtraLightItalic.woff2
Normal file
Binary file not shown.
BIN
src/font/plex/IBMPlexMono-Italic.woff2
Normal file
BIN
src/font/plex/IBMPlexMono-Italic.woff2
Normal file
Binary file not shown.
BIN
src/font/plex/IBMPlexMono-Medium.woff2
Normal file
BIN
src/font/plex/IBMPlexMono-Medium.woff2
Normal file
Binary file not shown.
BIN
src/font/plex/IBMPlexMono-MediumItalic.woff2
Normal file
BIN
src/font/plex/IBMPlexMono-MediumItalic.woff2
Normal file
Binary file not shown.
BIN
src/font/plex/IBMPlexMono-Regular.woff2
Normal file
BIN
src/font/plex/IBMPlexMono-Regular.woff2
Normal file
Binary file not shown.
BIN
src/font/plex/IBMPlexMono-SemiBold.woff2
Normal file
BIN
src/font/plex/IBMPlexMono-SemiBold.woff2
Normal file
Binary file not shown.
BIN
src/font/plex/IBMPlexMono-SemiBoldItalic.woff2
Normal file
BIN
src/font/plex/IBMPlexMono-SemiBoldItalic.woff2
Normal file
Binary file not shown.
BIN
src/font/plex/IBMPlexMono-Text.woff2
Normal file
BIN
src/font/plex/IBMPlexMono-Text.woff2
Normal file
Binary file not shown.
BIN
src/font/plex/IBMPlexMono-TextItalic.woff2
Normal file
BIN
src/font/plex/IBMPlexMono-TextItalic.woff2
Normal file
Binary file not shown.
BIN
src/font/plex/IBMPlexMono-Thin.woff2
Normal file
BIN
src/font/plex/IBMPlexMono-Thin.woff2
Normal file
Binary file not shown.
BIN
src/font/plex/IBMPlexMono-ThinItalic.woff2
Normal file
BIN
src/font/plex/IBMPlexMono-ThinItalic.woff2
Normal file
Binary file not shown.
92
src/font/plex/license.txt
Normal file
92
src/font/plex/license.txt
Normal file
|
@ -0,0 +1,92 @@
|
||||||
|
Copyright © 2017 IBM Corp. with Reserved Font Name "Plex"
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
http://scripts.sil.org/OFL
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
100
src/index.html
Normal file
100
src/index.html
Normal file
|
@ -0,0 +1,100 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<title>Sugary's website :3</title>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<meta content="Sugary's website!" property="og:title" />
|
||||||
|
<meta content="Nyaa~" property="og:description" />
|
||||||
|
<meta content="https://sugary.kemonomimi.gay/pfp.png" property="og:image" />
|
||||||
|
<meta content="#f5c2e7" data-react-helmet="true" name="theme-color" />
|
||||||
|
<link rel="stylesheet" href="style.css">
|
||||||
|
<meta name="darkreader-lock">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<script src="./oneko.js"></script>
|
||||||
|
<main>
|
||||||
|
<mytitle>
|
||||||
|
<i>
|
||||||
|
<h1>Haii!~ Welcome to my lil place! :3</h1>
|
||||||
|
</i>
|
||||||
|
</mytitle>
|
||||||
|
<pre><b> /l、
|
||||||
|
(゚、 。 7
|
||||||
|
l ~ヽ
|
||||||
|
じしf_,)ノ</b></pre><br>
|
||||||
|
I'm just a silly catgirl named Sugary X3<br>
|
||||||
|
This is my smol website ♡
|
||||||
|
|
||||||
|
<i>
|
||||||
|
<h2>Contact me</h2>
|
||||||
|
</i>
|
||||||
|
<p>Discord: Sugaryy_#9400</p>
|
||||||
|
<p>Matrix: @sugaryy_:nova.gay</p>
|
||||||
|
|
||||||
|
<i>
|
||||||
|
<h2>About me</h2>
|
||||||
|
</i>
|
||||||
|
I'm a transfem catgirl from Poland! <br>
|
||||||
|
I mostly do programming as a hobby :3 <br>
|
||||||
|
I go by she/her :3 <br><br>
|
||||||
|
<b><a href="https://www.github.com/Sugaryyyy/" target="_blank">Github</a></b>
|
||||||
|
<br>
|
||||||
|
<b><a href="https://git.kemonomimi.gay/Sugary" target="_blank">Gitea</a></b>
|
||||||
|
<br>
|
||||||
|
<b><a href="https://www.youtube.com/@Sugaryy_" target="_blank">Youtube</a></b>
|
||||||
|
<br>
|
||||||
|
<b><a href="https://www.twitch.tv/sugaryy_" target="_blank">Twitch</a></b>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
<i>
|
||||||
|
<h2>Projects</h2>
|
||||||
|
</i>
|
||||||
|
<b><a href="https://www.github.com/Sugaryyyy/FemboyOS" target="_blank">FemboyOS</a></b> <br>
|
||||||
|
|
||||||
|
<i>
|
||||||
|
<h2>Links</h2>
|
||||||
|
</i>
|
||||||
|
|
||||||
|
<b><a href="https://kemonomimi.gay">Main website</a></b>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
<i>
|
||||||
|
<h2> Cool people! </h2>
|
||||||
|
</i>
|
||||||
|
|
||||||
|
<b><a href="https://xutils.co/" target="_blank">Xwashere</a></b>
|
||||||
|
<br>
|
||||||
|
<b><a href="https://chiefjazzdiewltr.github.io/" target="_blank">Chief</a></b>
|
||||||
|
<br>
|
||||||
|
<b><a href="https://yukijoou.kemonomimi.gay/" target="_blank">Yukijoou</a></b>
|
||||||
|
<br>
|
||||||
|
<b><a href="https://toxicaven.dev/" target="_blank">Aven</a></b>
|
||||||
|
<br>
|
||||||
|
<b><a href="https://ady.kemonomimi.gay/" target="_blank">Ady</a></b>
|
||||||
|
<br>
|
||||||
|
<b><a href="https://makulaturka.tk/" target="_blank">m4kulatura</a></b>
|
||||||
|
<br>
|
||||||
|
<b><a href="https://nova.gay/" target="_blank">Nova</a></b>
|
||||||
|
<br>
|
||||||
|
<b><a href="https://snoopitek.com/" target="_blank">Snoopie</a></b>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<a href="https://www.gentoo.org" target="_blank"><img src="https://sugary.kemonomimi.gay/badges/gentoo.png"></a>
|
||||||
|
<a href="https://www.archlinux.org" target="_blank"><img
|
||||||
|
src="https://sugary.kemonomimi.gay/badges/archlinux.png"></a>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
© 2023 - the gay people in your computer <br>
|
||||||
|
theme from <a href="https://github.com/catppuccin/catppuccin" target="_blank">catppuccin</a> <br>
|
||||||
|
oneko from <a href="https://github.com/adryd325/oneko.js" target="_blank">oneko.js</a>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
BIN
src/oneko.gif
Normal file
BIN
src/oneko.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.2 KiB |
209
src/oneko.js
Normal file
209
src/oneko.js
Normal file
|
@ -0,0 +1,209 @@
|
||||||
|
// oneko.js: https://github.com/adryd325/oneko.js
|
||||||
|
|
||||||
|
(function oneko() {
|
||||||
|
const nekoEl = document.createElement("div");
|
||||||
|
let nekoPosX = 32;
|
||||||
|
let nekoPosY = 32;
|
||||||
|
let mousePosX = 0;
|
||||||
|
let mousePosY = 0;
|
||||||
|
const isReduced = window.matchMedia(`(prefers-reduced-motion: reduce)`) === true || window.matchMedia(`(prefers-reduced-motion: reduce)`).matches === true;
|
||||||
|
if (isReduced) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
let frameCount = 0;
|
||||||
|
let idleTime = 0;
|
||||||
|
let idleAnimation = null;
|
||||||
|
let idleAnimationFrame = 0;
|
||||||
|
const nekoSpeed = 10;
|
||||||
|
const spriteSets = {
|
||||||
|
idle: [[-3, -3]],
|
||||||
|
alert: [[-7, -3]],
|
||||||
|
scratchSelf: [
|
||||||
|
[-5, 0],
|
||||||
|
[-6, 0],
|
||||||
|
[-7, 0],
|
||||||
|
],
|
||||||
|
scratchWallN: [
|
||||||
|
[0, 0],
|
||||||
|
[0, -1],
|
||||||
|
],
|
||||||
|
scratchWallS: [
|
||||||
|
[-7, -1],
|
||||||
|
[-6, -2],
|
||||||
|
],
|
||||||
|
scratchWallE: [
|
||||||
|
[-2, -2],
|
||||||
|
[-2, -3],
|
||||||
|
],
|
||||||
|
scratchWallW: [
|
||||||
|
[-4, 0],
|
||||||
|
[-4, -1],
|
||||||
|
],
|
||||||
|
tired: [[-3, -2]],
|
||||||
|
sleeping: [
|
||||||
|
[-2, 0],
|
||||||
|
[-2, -1],
|
||||||
|
],
|
||||||
|
N: [
|
||||||
|
[-1, -2],
|
||||||
|
[-1, -3],
|
||||||
|
],
|
||||||
|
NE: [
|
||||||
|
[0, -2],
|
||||||
|
[0, -3],
|
||||||
|
],
|
||||||
|
E: [
|
||||||
|
[-3, 0],
|
||||||
|
[-3, -1],
|
||||||
|
],
|
||||||
|
SE: [
|
||||||
|
[-5, -1],
|
||||||
|
[-5, -2],
|
||||||
|
],
|
||||||
|
S: [
|
||||||
|
[-6, -3],
|
||||||
|
[-7, -2],
|
||||||
|
],
|
||||||
|
SW: [
|
||||||
|
[-5, -3],
|
||||||
|
[-6, -1],
|
||||||
|
],
|
||||||
|
W: [
|
||||||
|
[-4, -2],
|
||||||
|
[-4, -3],
|
||||||
|
],
|
||||||
|
NW: [
|
||||||
|
[-1, 0],
|
||||||
|
[-1, -1],
|
||||||
|
],
|
||||||
|
};
|
||||||
|
|
||||||
|
function create() {
|
||||||
|
nekoEl.id = "oneko";
|
||||||
|
nekoEl.style.width = "32px";
|
||||||
|
nekoEl.style.height = "32px";
|
||||||
|
nekoEl.style.position = "fixed";
|
||||||
|
nekoEl.style.pointerEvents = "none";
|
||||||
|
nekoEl.style.backgroundImage = "url('./oneko.gif')";
|
||||||
|
nekoEl.style.imageRendering = "pixelated";
|
||||||
|
nekoEl.style.left = `${nekoPosX - 16}px`;
|
||||||
|
nekoEl.style.top = `${nekoPosY - 16}px`;
|
||||||
|
nekoEl.style.zIndex = "999";
|
||||||
|
|
||||||
|
document.body.appendChild(nekoEl);
|
||||||
|
|
||||||
|
document.onmousemove = (event) => {
|
||||||
|
mousePosX = event.clientX;
|
||||||
|
mousePosY = event.clientY;
|
||||||
|
};
|
||||||
|
|
||||||
|
window.onekoInterval = setInterval(frame, 100);
|
||||||
|
}
|
||||||
|
|
||||||
|
function setSprite(name, frame) {
|
||||||
|
const sprite = spriteSets[name][frame % spriteSets[name].length];
|
||||||
|
nekoEl.style.backgroundPosition = `${sprite[0] * 32}px ${sprite[1] * 32}px`;
|
||||||
|
}
|
||||||
|
|
||||||
|
function resetIdleAnimation() {
|
||||||
|
idleAnimation = null;
|
||||||
|
idleAnimationFrame = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
function idle() {
|
||||||
|
idleTime += 1;
|
||||||
|
|
||||||
|
// every ~ 20 seconds
|
||||||
|
if (
|
||||||
|
idleTime > 10 &&
|
||||||
|
Math.floor(Math.random() * 200) == 0 &&
|
||||||
|
idleAnimation == null
|
||||||
|
) {
|
||||||
|
let avalibleIdleAnimations = ["sleeping", "scratchSelf"];
|
||||||
|
if (nekoPosX < 32) {
|
||||||
|
avalibleIdleAnimations.push("scratchWallW");
|
||||||
|
}
|
||||||
|
if (nekoPosY < 32) {
|
||||||
|
avalibleIdleAnimations.push("scratchWallN");
|
||||||
|
}
|
||||||
|
if (nekoPosX > window.innerWidth - 32) {
|
||||||
|
avalibleIdleAnimations.push("scratchWallE");
|
||||||
|
}
|
||||||
|
if (nekoPosY > window.innerHeight - 32) {
|
||||||
|
avalibleIdleAnimations.push("scratchWallS");
|
||||||
|
}
|
||||||
|
idleAnimation =
|
||||||
|
avalibleIdleAnimations[
|
||||||
|
Math.floor(Math.random() * avalibleIdleAnimations.length)
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
|
switch (idleAnimation) {
|
||||||
|
case "sleeping":
|
||||||
|
if (idleAnimationFrame < 8) {
|
||||||
|
setSprite("tired", 0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
setSprite("sleeping", Math.floor(idleAnimationFrame / 4));
|
||||||
|
if (idleAnimationFrame > 192) {
|
||||||
|
resetIdleAnimation();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case "scratchWallN":
|
||||||
|
case "scratchWallS":
|
||||||
|
case "scratchWallE":
|
||||||
|
case "scratchWallW":
|
||||||
|
case "scratchSelf":
|
||||||
|
setSprite(idleAnimation, idleAnimationFrame);
|
||||||
|
if (idleAnimationFrame > 9) {
|
||||||
|
resetIdleAnimation();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
setSprite("idle", 0);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
idleAnimationFrame += 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
function frame() {
|
||||||
|
frameCount += 1;
|
||||||
|
const diffX = nekoPosX - mousePosX;
|
||||||
|
const diffY = nekoPosY - mousePosY;
|
||||||
|
const distance = Math.sqrt(diffX ** 2 + diffY ** 2);
|
||||||
|
|
||||||
|
if (distance < nekoSpeed || distance < 48) {
|
||||||
|
idle();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
idleAnimation = null;
|
||||||
|
idleAnimationFrame = 0;
|
||||||
|
|
||||||
|
if (idleTime > 1) {
|
||||||
|
setSprite("alert", 0);
|
||||||
|
// count down after being alerted before moving
|
||||||
|
idleTime = Math.min(idleTime, 7);
|
||||||
|
idleTime -= 1;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
direction = diffY / distance > 0.5 ? "N" : "";
|
||||||
|
direction += diffY / distance < -0.5 ? "S" : "";
|
||||||
|
direction += diffX / distance > 0.5 ? "W" : "";
|
||||||
|
direction += diffX / distance < -0.5 ? "E" : "";
|
||||||
|
setSprite(direction, frameCount);
|
||||||
|
|
||||||
|
nekoPosX -= (diffX / distance) * nekoSpeed;
|
||||||
|
nekoPosY -= (diffY / distance) * nekoSpeed;
|
||||||
|
|
||||||
|
nekoPosX = Math.min(Math.max(16, nekoPosX), window.innerWidth - 16);
|
||||||
|
nekoPosY = Math.min(Math.max(16, nekoPosY), window.innerHeight - 16);
|
||||||
|
|
||||||
|
nekoEl.style.left = `${nekoPosX - 16}px`;
|
||||||
|
nekoEl.style.top = `${nekoPosY - 16}px`;
|
||||||
|
}
|
||||||
|
|
||||||
|
create();
|
||||||
|
})();
|
BIN
src/pfp.png
Normal file
BIN
src/pfp.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.8 KiB |
73
src/style.css
Normal file
73
src/style.css
Normal file
|
@ -0,0 +1,73 @@
|
||||||
|
body {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
border: 1.5em solid #11111b;
|
||||||
|
color: #cdd6f4;
|
||||||
|
background-color: #1e1e2e;
|
||||||
|
text-align: center;
|
||||||
|
font-family: 'IBM Plex Mono', monospace;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:link {
|
||||||
|
color: #89b4fa
|
||||||
|
}
|
||||||
|
|
||||||
|
a:visited {
|
||||||
|
color: #89b4fa
|
||||||
|
}
|
||||||
|
|
||||||
|
badges {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer {
|
||||||
|
text-align: center;
|
||||||
|
font-family: 'IBM Plex Mono', monospace;
|
||||||
|
color: #f5c2e7;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-family: 'Cherry Bomb One', monospace;
|
||||||
|
color: #f5c2e7;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
font-family: 'Cherry Bomb One', monospace;
|
||||||
|
color: #f5c2e7;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre {
|
||||||
|
color: #f5c2e7;
|
||||||
|
font-size: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'IBM Plex Mono';
|
||||||
|
src: url("font/plex/IBMPlexMono-Regular.woff2") format("woff2");
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'IBM Plex Mono';
|
||||||
|
src: url("font/plex/IBMPlexMono-Bold.woff2") format("woff2");
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'IBM Plex Mono';
|
||||||
|
src: url("font/plex/IBMPlexMono-Italic.woff2") format("woff2");
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'IBM Plex Mono';
|
||||||
|
src: url("font/plex/IBMPlexMono-BoldItalic.woff2") format("woff2");
|
||||||
|
font-weight: bold;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Cherry Bomb One';
|
||||||
|
src: url("font/cherrybombone/CherryBombOne-Regular.woff2") format("woff2");
|
||||||
|
}
|
22
update.sh
Executable file
22
update.sh
Executable file
|
@ -0,0 +1,22 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# A script for updating the website
|
||||||
|
# Made by sugary :3
|
||||||
|
# Adapted by yukijoou
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
WEBSITE_NAME="sugary.kemonomimi.gay"
|
||||||
|
WEBSITES_PATH="$HOME/www"
|
||||||
|
|
||||||
|
BACKUP_DIR=$(mktemp -d)
|
||||||
|
|
||||||
|
cp -rf "$WEBSITES_PATH" $BACKUP_DIR/$WEBSITE_NAME.bak
|
||||||
|
echo "Made backup at $BACKUP_DIR"
|
||||||
|
|
||||||
|
rm -rf "$WEBSITES_PATH"
|
||||||
|
mkdir -p "$WEBSITES_PATH"
|
||||||
|
cp -rf src/* "$WEBSITES_PATH"
|
||||||
|
|
||||||
|
echo "Installed $WEBSITE_NAME at $WEBSITES_PATH"
|
||||||
|
|
Loading…
Reference in a new issue