cleaning up

This commit is contained in:
godot 2024-02-29 09:18:34 +01:00
parent 4884ff0074
commit 7891a1f0d3
7 changed files with 19 additions and 6 deletions

View File

@ -14,6 +14,11 @@
- [ ] ukladani do cookies
- [ ] odemykani upgradu
- [ ] star aby se ukazoval jinde a na urcity cas
- [ ] zaporna cisla??? nevim jestli je ok je mit.
## Bugs
- [ ] hover efekt on long nav-flag changes width of others
- addid with commit "0-stars basic setup"
- on same version some problem with main.css
- on same version some problem with main.css|star.css
- [ ] basic webpage (cover) is bigger then screen, it is old, but still unknown.

View File

@ -1,3 +1,11 @@
/* SEC nav to color 1 */
#sec-1 {
background-color: rgb(var(--primary-rgb));
border-color: rgb(var(--secondary-rgb));
border-bottom: 0px;
}
/* NAV STAR */
.nav-star {

View File

@ -1,6 +1,6 @@
document.querySelector(".magic").onmouseenter = event => {magic()}
document.querySelector(".magic").onmouseenter = event => {magic(30)}
function magic(){
function magic(speed){
const letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
let interval = null;
let iteration = 0;
@ -29,6 +29,6 @@ function magic(){
}
iteration += 1 / 3;
}, 30);
}, speed);
}

View File

@ -23,7 +23,7 @@ function changeName() {
};
document.querySelector(".magic").dataset.value = show;
magic();
magic(5);
};

View File

@ -68,7 +68,7 @@
<div class="content">
<div class="card" id="life">
<div class="background" id="planet"></div>
<div class="magic" data-value="0-Stars" id="name">0-Life</div>
<div class="magic" data-value="0-Star" id="name">0-Life</div>
<a class="link" href="https://youtu.be/dQw4w9WgXcQ">REBORN</a>
</div>