1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-04-21 22:32:20 +00:00

Compare commits

..

No commits in common. "a208a4fa25a0911c0365e975a524241795f74dee" and "370a9a069ef3e6a83c557577878e96aa7b7f9ce1" have entirely different histories.

4 changed files with 17 additions and 23 deletions

View File

@ -294,10 +294,3 @@ searchbar.addEventListener("keyup", function (e) {
if (firstMatch && e.key === "Enter") if (firstMatch && e.key === "Enter")
firstMatch.click() firstMatch.click()
}); });
function createshiny() {
const list_btn = document.querySelectorAll('.btn-outline-dark')
const shiny_class = list_btn[Math.floor(Math.random() * list_btn.length)].classList
shiny_class.replace('btn-outline-dark', 'btn-outline-dark-shiny')
}
createshiny()

View File

@ -74,7 +74,7 @@ mark {
/* MODE VIEUXCON=ON */ /* MODE VIEUXCON=ON */
/* background-color: rgb(166, 0, 2) !important; */ /* background-color: rgb(166, 0, 2) !important; */
background-color: rgb(0, 0, 0); background-color: rgb(0, 0, 0);
background-image: url('/static/img/rp_bg.png'); background-image: url('/static/wrapped/img/1/bg.png');
} }
html { html {
@ -136,32 +136,33 @@ body {
border-color: rgb(255, 0, 101); border-color: rgb(255, 0, 101);
} }
.btn-outline-dark-shiny { .btn-outline-dark:nth-child(even) {
background-color: #222; color: rgba(255, 203, 32, 75%);
border-color: #61605b;
color: rgba(255, 0, 101, 75%);
} }
.btn-outline-dark-shiny:hover, .btn-outline-dark:nth-child(odd) {
.btn-outline-dark-shiny:not(:disabled):not(.disabled).active, color: rgba(255, 0, 101, 75%);
.btn-outline-dark-shiny:not(:disabled):not(.disabled):active {
color: rgb(0, 0, 0);
background-color: rgb(255, 203, 32);
border-color: rgb(255, 0, 101);
} }
.btn-outline-dark { .btn-outline-dark {
background-color: #222; background-color: #222;
border-color: #61605b; border-color: #61605b;
color: rgba(255, 203, 32, 75%);
} }
.btn-outline-dark:hover, .btn-outline-dark:hover:nth-child(even),
.btn-outline-dark:not(:disabled):not(.disabled).active, .btn-outline-dark:not(:disabled):not(.disabled).active,
.btn-outline-dark:not(:disabled):not(.disabled):active { .btn-outline-dark:not(:disabled):not(.disabled):active {
color: rgb(0, 0, 0); color: rgb(0, 0, 0);
background-color: rgb(255, 0, 101); background-color: rgb(255, 203, 32);
border-color: rgb(255, 203, 32); border-color: rgb(255, 0, 101);
}
.btn-outline-dark:hover:nth-child(odd),
.btn-outline-dark:not(:disabled):not(.disabled).active,
.btn-outline-dark:not(:disabled):not(.disabled):active {
color: rgb(0, 0, 0);
background-color: rgb(255, 203, 32);
border-color: rgb(255, 0, 101);
} }
a { a {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

View File

@ -26,7 +26,7 @@ function afterKonami () {
}) })
rythm.addRythm('d-flex', 'color', 50, 50, { rythm.addRythm('d-flex', 'color', 50, 50, {
from: [64, 64, 64], from: [64, 64, 64],
to: [255, 0, 101] to: [128, 64, 128]
}) })
rythm.addRythm('nav-link', 'jump', 150, 50, { rythm.addRythm('nav-link', 'jump', 150, 50, {
min: 0, min: 0,