remove black theme

This commit is contained in:
2026-01-28 19:14:46 +01:00
parent c0ab94510e
commit 17ef6ca989
6 changed files with 9 additions and 151 deletions
-8
View File
@@ -1,8 +0,0 @@
#matrix-canvas {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
}
-81
View File
@@ -1,81 +0,0 @@
body {
background-color: black;
color: limegreen;
/* Light green */
font-family: "Lucida Console", "Courier New", monospace;
}
.card {
background-color: #0e0b0b;
/* Darker background for cards */
color: limegreen;
border: 1px solid limegreen;
}
a {
color: limegreen;
}
a:hover {
color: #00FF00;
/* Brighter green on hover */
}
.btn-primary {
background-color: limegreen;
border-color: limegreen;
color: black;
}
.btn-primary:hover {
background-color: #00FF00;
border-color: #00FF00;
color: black;
}
/* Table styling for black background and green borders */
.table {
--bs-table-bg: black;
/* Bootstrap 5 variable for table background */
--bs-table-color: limegreen;
/* Text color for table */
--bs-table-border-color: limegreen;
/* Border color for the table and cells */
}
.table-striped>tbody>tr:nth-of-type(odd)>* {
--bs-table-bg-type: #1a1a1a;
/* Slightly lighter black for striped rows */
color: limegreen;
}
.table-hover>tbody>tr:hover>* {
--bs-table-hover-bg: #444;
/* Darker grey on hover */
color: limegreen;
}
.table-bordered> :not(caption)>*>* {
border-color: limegreen;
}
.bg-dark {
/* Ensure consistency for manually set dark backgrounds */
background-color: black !important;
}
.text-success {
/* Ensure consistency for success text */
color: limegreen !important;
}
.header-border {
border-bottom: 3px solid rgba(50, 205, 50, 0.7) !important;
}
.content-border {
border: 3px solid rgba(50, 205, 50, 0.7) !important;
background-color: rgba(0, 0, 0, 0.7);
padding: 1.5rem;
}
View File
-49
View File
@@ -1,49 +0,0 @@
const canvas = document.getElementById('matrix-canvas');
const ctx = canvas.getContext('2d');
canvas.width = window.innerWidth;
canvas.height = window.innerHeight;
//const letters = 'ABCDEFGHIJKLMNOPQRSTUVXYZABCDEFGHIJKLMNOPQRSTUVXYZABCDEFGHIJKLMNOPQRSTUVXYZABCDEFGHIJKLMNOPQRSTUVXYZABCDEFGHIJKLMNOPQRSTUVXYZABCDEFGHIJKLMNOPQRSTUVXYZ1234567890';
const letters = '日ハミヒーウシナモニサワツオリアホテマケメエカキムユラセネスタヌヘヲイクコソチトノフヤヨルレロン012345789ZTHEMATRIX:・."=*+-<>¦|╌çク̄'
const fontSize = 24;
const fontColor = '#0F0';
const backgroundColor = 'rgba(0, 0, 0, 0.05)';
const milisec = 80;
let columns = canvas.width / fontSize;
const drops = [];
for (let x = 0; x < columns; x++) {
drops[x] = 1;
}
function draw() {
ctx.fillStyle = backgroundColor;
ctx.fillRect(0, 0, canvas.width, canvas.height);
ctx.fillStyle = fontColor;
ctx.font = fontSize + 'px arial';
for (let i = 0; i < drops.length; i++) {
const text = letters.charAt(Math.floor(Math.random() * letters.length));
ctx.fillText(text, i * fontSize, drops[i] * fontSize);
if (drops[i] * fontSize > canvas.height && Math.random() > 0.975) {
drops[i] = 0;
}
drops[i]++;
}
}
setInterval(draw, milisec);
window.addEventListener('resize', () => {
canvas.width = window.innerWidth;
canvas.height = window.innerHeight;
columns = canvas.width / fontSize;
drops.length = 0;
for (let x = 0; x < columns; x++) {
drops[x] = 1;
}
});