Files
LazyBot/app/public/dashboard.css
T
2026-01-16 00:47:11 +01:00

138 lines
2.2 KiB
CSS

/* ===== Reset minimal ===== */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
body {
background-color: #1e1f29; /* fond sombre type Discord */
color: #ffffff;
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
}
/* ===== Navigation ===== */
nav {
width: 100%;
max-width: 800px;
display: flex;
justify-content: flex-start;
background-color: #2f3136;
padding: 10px 20px;
border-radius: 10px;
margin-bottom: 30px;
}
nav a {
color: #ffffff;
text-decoration: none;
font-weight: 500;
transition: color 0.2s;
}
nav a:hover {
color: #5865f2;
}
/* ===== Titres ===== */
h1, h2 {
text-align: center;
}
h1 {
font-size: 2.5rem;
margin-bottom: 15px;
}
h2 {
font-size: 1.8rem;
margin: 25px 0 10px 0;
border-bottom: 2px solid #5865f2;
display: inline-block;
padding-bottom: 5px;
}
/* ===== Avatar ===== */
#avatar {
width: 80px;
height: 80px;
border-radius: 50%;
margin: 10px 0 20px 0;
border: 2px solid #5865f2;
}
/* ===== Bouton d'invitation ===== */
#invite-link {
display: inline-block;
background-color: #5865f2;
color: white;
padding: 10px 20px;
border-radius: 8px;
text-decoration: none;
font-weight: 600;
margin-bottom: 30px;
transition: background 0.2s;
}
#invite-link:hover {
background-color: #4752c4;
}
/* ===== Liste des guilds ===== */
ul#guilds-list {
list-style: none;
width: 100%;
max-width: 800px;
padding: 0;
}
ul#guilds-list li {
display: flex;
align-items: center;
gap: 10px;
padding: 10px 15px;
margin-bottom: 10px;
border-radius: 10px;
background-color: #161a22;
cursor: pointer;
transition: background 0.2s, color 0.2s;
}
ul#guilds-list li:hover {
background-color: #5865f2;
color: white;
}
ul#guilds-list li img {
width: 40px;
height: 40px;
border-radius: 50%;
}
/* ===== Responsive ===== */
@media (max-width: 600px) {
body {
padding: 10px;
}
nav {
flex-direction: column;
align-items: center;
gap: 10px;
}
ul#guilds-list li {
flex-direction: column;
align-items: center;
text-align: center;
}
ul#guilds-list li img {
margin-bottom: 5px;
}
}