discordbot/admin/public/errors.css
2025-04-04 18:17:40 +01:00

166 lines
3.1 KiB
CSS

:root {
--primary-color: #6c5ce7;
--secondary-color: #00cec9;
--background-color: #2d3436;
--card-background: rgba(255, 255, 255, 0.1);
--text-color: #ffffff;
--error-color: #ff6b6b;
--card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(135deg, var(--background-color), #4834d4);
color: var(--text-color);
line-height: 1.6;
min-height: 100vh;
}
.navbar {
background-color: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
padding: 1rem 2rem;
display: flex;
justify-content: space-between;
align-items: center;
position: fixed;
width: 100%;
top: 0;
z-index: 1000;
}
.logo {
font-size: 1.5rem;
font-weight: bold;
color: var(--text-color);
}
nav ul {
list-style-type: none;
display: flex;
gap: 2rem;
}
.nav-link {
color: var(--text-color);
text-decoration: none;
font-weight: bold;
transition: color 0.3s ease, border-bottom 0.3s ease;
padding-bottom: 0.25rem;
}
.nav-link:hover {
color: var(--secondary-color);
border-bottom: 2px solid var(--secondary-color);
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 6rem 2rem 2rem;
}
.title {
text-align: center;
margin-bottom: 2rem;
font-size: 2.5rem;
color: var(--secondary-color);
}
.error-container {
background-color: var(--card-background);
border-radius: 10px;
padding: 1.5rem;
box-shadow: var(--card-shadow);
margin-bottom: 1.5rem;
transition: transform 0.3s ease, box-shadow 0.3s ease;
opacity: 0;
transform: translateY(20px);
animation: fadeInUp 0.5s ease forwards;
}
.error-container:hover {
transform: translateY(-5px);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.error-container h3 {
color: var(--error-color);
margin-bottom: 1rem;
font-size: 1.2rem;
}
.bot-button {
display: flex;
align-items: center;
margin-left: 2rem;
/* Adjust spacing as needed */
}
.bot-button .nav-link {
display: flex;
align-items: center;
background-color: var(--secondary-color);
padding: 0.5rem 1rem;
border-radius: 20px;
color: var(--text-color);
transition: background-color 0.3s ease;
}
.bot-button .nav-link:hover {
background-color: #009999;
/* Darker shade for hover effect */
}
.bot-icon {
width: 40px;
height: 40px;
border-radius: 50%;
overflow: hidden;
margin-right: 0.5rem;
}
.bot-icon img {
width: 100%;
height: 100%;
object-fit: cover;
}
.bot-name {
font-weight: bold;
}
pre {
background-color: rgba(0, 0, 0, 0.3);
color: #f8f8f2;
padding: 1rem;
border-radius: 5px;
overflow-x: auto;
font-family: 'Courier New', Courier, monospace;
font-size: 0.9rem;
}
.no-errors {
text-align: center;
font-size: 1.2rem;
color: var(--secondary-color);
}
@keyframes fadeInUp {
to {
opacity: 1;
transform: translateY(0);
}
}
@media (max-width: 768px) {
.container {
padding: 5rem 1rem 1rem;
}
}