Files
FlaskBlog/templates/500.html
2024-10-10 10:30:02 +02:00

94 lines
2.2 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>500 - Internal Server Error</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body, html {
height: 100%;
font-family: 'Arial', sans-serif;
background-color: #f5f5f5;
display: flex;
justify-content: center;
align-items: center;
}
.container {
text-align: center;
}
h1 {
font-size: 8rem;
color: #ff6b6b;
letter-spacing: 0.5rem;
text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
animation: pulse 1s infinite alternate;
}
h2 {
font-size: 2.5rem;
color: #333;
margin-bottom: 20px;
}
p {
font-size: 1.2rem;
color: #666;
margin: 20px 0;
}
.reload-link {
display: inline-block;
padding: 12px 25px;
background-color: #ff6b6b;
color: #fff;
text-decoration: none;
font-size: 1.2rem;
border-radius: 50px;
transition: background-color 0.3s;
margin-top: 20px;
}
.reload-link:hover {
background-color: #ff4747;
}
.error-image {
width: 300px;
height: auto;
margin: 30px auto;
border-radius: 50%;
box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}
@keyframes pulse {
from {
transform: scale(1);
}
to {
transform: scale(1.05);
}
}
</style>
</head>
<body>
<div class="container">
<h1>500</h1>
<h2>Internal Server Error</h2>
<img src="https://via.placeholder.com/300x300?text=Error" alt="Error Image" class="error-image">
<p>Something went wrong on our end. We're working on fixing it!</p>
<p>Please try again later, or reload the page.</p>
<a href="javascript:location.reload()" class="reload-link">Reload Page</a>
</div>
</body>
</html>