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

148 lines
2.8 KiB
CSS

:root {
--primary-color: #a69cec;
--secondary-color: #00cec9;
--background-color: #2d3436;
--card-background: rgba(255, 255, 255, 0.1);
--text-color: #ffffff;
--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;
height: 70px;
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;
align-items: center;
}
.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);
}
.guilds-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1.5rem;
}
.guild-card {
background-color: var(--card-background);
border-radius: 10px;
padding: 1.5rem;
box-shadow: var(--card-shadow);
transition: transform 0.3s ease, box-shadow 0.3s ease;
opacity: 0;
transform: translateY(20px);
animation: fadeInUp 0.5s ease forwards;
}
.guild-card:hover {
transform: translateY(-5px);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.guild-header {
display: flex;
align-items: center;
margin-bottom: 1rem;
}
.guild-icon {
width: 64px;
height: 64px;
border-radius: 50%;
margin-right: 1rem;
object-fit: cover;
}
.guild-name {
font-size: 1.2rem;
font-weight: bold;
color: var(--primary-color);
}
.guild-members {
display: flex;
align-items: center;
color: var(--secondary-color);
font-size: 1rem;
}
.guild-members::before {
content: '\1F465';
/* Unicode for 'busts in silhouette' emoji */
margin-right: 0.5rem;
font-size: 1.2rem;
}
@keyframes fadeInUp {
to {
opacity: 1;
transform: translateY(0);
}
}
@media (max-width: 768px) {
.container {
padding: 5rem 1rem 1rem;
}
.guilds-grid {
grid-template-columns: 1fr;
}
}