bubfickes

This commit is contained in:
Bingus_Violet 2023-11-19 10:27:01 -06:00
parent fca7e5d794
commit 486203559c
3 changed files with 7 additions and 6 deletions

View file

@ -60,8 +60,8 @@ function pageUpdate() {
var currentHour = currentTime.getHours()
if (currentHour >= 8 && currentHour <= 16 && !(currentTime.getDay() == 6 || currentTime.getDay() == 7)) {
addedHTML = `<span style="color: yellow">at school</span>`
} else if (currentHour <= 10 && currentHour > 0) {
addedHTML = `<span style="color: yellow">busy</span>`
} else if (currentHour <= 9 && currentHour > 0) {
addedHTML = `<span style="color: rgb(200, 150, 255)">eeping</span>`
} else {
addedHTML = `<span style="color: limegreen">active?</span>`
@ -182,7 +182,8 @@ function pageUpdate() {
addedHTML = ""
var socialsHTML = fs.readFileSync(path.join(__dirname, 'static/socials/index.html')).toString()
addedHTML += socialsHTML.substr(socialsHTML.indexOf("<h1>"), socialsHTML.indexOf("</body>"))
addedHTML += socialsHTML.substring(socialsHTML.indexOf("<h1>"), socialsHTML.indexOf("</body>"))
console.log(addedHTML)
html = html.replace("{SOCIALS}", addedHTML)

View file

@ -57,5 +57,4 @@
</div>
</body>
</html>

View file

@ -55,8 +55,8 @@ a {
padding: 8px;
margin: 3px;
display: inline-block;
transition: transform 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
transform: scale(0.95)
transform: scale(0.95);
transition: transform 1.25s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.chip:hover {
@ -64,6 +64,7 @@ a {
transform: scale(1);
/* font-size: 1.35rem; */
border-color: white;
transition: transform 0.75s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.activity {