re-adding the gradient because dark mode is improved.

This commit is contained in:
Sevi 2024-10-27 21:38:34 -07:00 committed by GitHub
parent 105a1e22b0
commit 75bf66e233
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,7 @@
body {
font-family: 'Arial', sans-serif;
background-color: #f1f1f1;
background: rgb(0,0,0);
background: linear-gradient(39deg, rgba(0,0,0,1) 0%, rgba(128,3,251,1) 20%, rgba(107,6,255,1) 40%, rgba(88,31,255,1) 60%, rgba(43,0,255,1) 80%, rgba(0,0,0,1) 100%);
margin: 0;
padding: 0;
text-align: center;

View File

@ -29,7 +29,7 @@
</head>
<body style="background-color: rgb(241, 241, 241); color: black;">
<h1 style="color: black;">Welcome to EaglerCraftX</h1>
<button type="button" onclick="darkmode()">Change Color</button>
<button type="button" onclick="darkmode()">Dark Mode Enable</button>
<script>
function darkmode()
@ -37,6 +37,7 @@ function darkmode()
document.body.style.backgroundColor= "grey";
}
</script>
<p>For the dark mode to turn off, just reload the page. </p>
<p style="color: black;">Site views counter:</p>
<div align="center">
<a>