css code formater

This commit is contained in:
sageTheDM 2025-01-05 01:16:38 +01:00
parent fa002e2786
commit 24d01959c1
6 changed files with 90 additions and 116 deletions

View file

@ -2,9 +2,10 @@
margin: 0;
padding: 0;
box-sizing: border-box;
}
body, html {
}
body,
html {
height: 100%;
font-family: Arial, sans-serif;
display: flex;
@ -13,18 +14,18 @@
background-color: #000;
color: white;
overflow: hidden;
}
.landing-page {
}
.landing-page {
position: relative;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.game-background {
}
.game-background {
position: absolute;
top: 0;
left: 0;
@ -34,9 +35,9 @@
backdrop-filter: blur(8px); /* Apply blur effect to the background */
z-index: -1; /* Ensures it's in the background */
pointer-events: none; /* Prevent interaction with the blurred background */
}
.content {
}
.content {
text-align: center;
z-index: 1; /* Ensure content appears above the game background */
padding: 20px;
@ -44,19 +45,19 @@
position: relative;
color: white;
backdrop-filter: blur(8px); /* Ensure content has some blur as well for contrast */
}
h1 {
}
h1 {
font-size: 2rem;
margin-bottom: 20px;
}
p {
}
p {
font-size: 1.2rem;
margin-bottom: 30px;
}
button {
}
button {
padding: 12px 24px;
background-color: #ffcc00;
color: black;
@ -66,9 +67,8 @@
border-radius: 5px;
text-transform: uppercase;
transition: background-color 0.3s ease;
}
button:hover {
}
button:hover {
background-color: #ff9900;
}
}