Skip to content

Commit

Permalink
Refactor 404 page styles: update card design for improved aesthetics …
Browse files Browse the repository at this point in the history
…and responsiveness, add hover effects, and enhance mobile layout
  • Loading branch information
upayanmazumder committed Nov 2, 2024
1 parent fb4ba2f commit 2e40a76
Showing 1 changed file with 33 additions and 6 deletions.
39 changes: 33 additions & 6 deletions qwik/src/components/404/404.module.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,40 @@
.card {
background-color: rgba(70, 70, 70, 0.435);
max-width: 80;
background-color: rgba(0, 0, 0, 0.8);
max-width: 80%;
width: fit-content;
border-radius: 50px;
margin-top: 50px !important;
color: white;
border-radius: 20px;
margin: 50px auto;
color: #ffffff;
padding: 20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
transform: translateY(-10px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.icon {
margin-top: 50px;
margin-top: 20px;
font-size: 50px;
color: #1e90ff;
transition: color 0.3s ease;
}

.icon:hover {
color: #00bfff;
}

@media (max-width: 768px) {
.card {
max-width: 90%;
margin: 20px auto;
padding: 15px;
}

.icon {
font-size: 40px;
margin-top: 15px;
}
}

0 comments on commit 2e40a76

Please sign in to comment.