Files
Myrient-Search-Engine/views/public/css/error.css
Alexandra 2cc3168025 - Moves most script js in ejs to its own js file under public
- Moves most css to css under public
- Improves code maintainability
2025-05-20 22:38:30 -06:00

98 lines
1.8 KiB
CSS

body {
background-color: #1a1a1a;
color: white;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.error-container {
text-align: center;
padding: 2rem;
max-width: 800px;
width: 100%;
background-color: #262626;
border-radius: 12px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}
.error-code {
font-size: 8rem;
font-weight: bold;
color: #dc3545;
margin-bottom: 0.5rem;
text-shadow: 0 0 10px rgba(220, 53, 69, 0.5);
}
.error-message {
font-size: 2rem;
margin-bottom: 1.5rem;
color: #f8f9fa;
}
.error-details {
color: #adb5bd;
margin-bottom: 2rem;
padding: 1rem;
background-color: #333;
border-radius: 8px;
text-align: left;
max-height: 200px;
overflow-y: auto;
word-break: break-word;
}
.actions {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 1rem;
margin-bottom: 1.5rem;
}
.error-info {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
margin-top: 2rem;
font-size: 0.9rem;
color: #6c757d;
border-top: 1px solid #444;
padding-top: 1rem;
}
.error-info div {
margin: 0.5rem 1rem;
}
.btn {
padding: 0.6rem 1.5rem;
border-radius: 50px;
font-weight: 600;
transition: all 0.3s;
}
.btn-primary {
background-color: #007bff;
border-color: #007bff;
}
.btn-primary:hover {
background-color: #0069d9;
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.btn-outline-secondary {
color: #f8f9fa;
border-color: #6c757d;
}
.btn-outline-secondary:hover {
background-color: #6c757d;
color: #f8f9fa;
transform: translateY(-2px);
}
.icon-large {
font-size: 1.5rem;
vertical-align: middle;
}
@media (max-width: 576px) {
.error-code {
font-size: 5rem;
}
.error-message {
font-size: 1.5rem;
}
}