Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made 404 page fully responsive #1451

Merged
merged 4 commits into from
Jan 12, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 18 additions & 3 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,22 @@
<script src="https://kit.fontawesome.com/b08b6de27e.js" crossorigin="anonymous"></script>
<title>Beautiify | Error 404</title>
</head>

<style>
#compcontainer-img{
width: 640px ;
height: 450px;
object-fit: cover;
border-radius: 25px;
}
@media (max-width: 786px) {
#compcontainer-img {
width: 90vw;
height: auto;
object-fit: cover;
border-radius: 25px;
}
}
</style>
<body>
<div id="loader-wrapper">
<div id="loader"></div>
Expand Down Expand Up @@ -85,7 +100,7 @@
<section class="comp-section" id="404">
<div class="compcontainer">
<div class="logo">
<img src="./assets/images/404.gif" alt="Logo" style="width: 640px !important; height: 450px !important; object-fit: cover; border-radius: 25px;">
<img src="./assets/images/404.gif" alt="Logo" id="compcontainer-img">
</div>
<a href="index.html">
<button class="started" style="margin-top: 32px;">Go Back Home</button>
Expand Down Expand Up @@ -153,4 +168,4 @@ <h1 class="heading">Keep In Touch</h1>
<script src="./assets/js_files/commonscript.js"></script>
</body>

</html>
</html>
Loading