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

131 lines
2.1 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;
line-height: 1.6;
display: flex;
flex-direction: column;
align-items: center; /* centre horizontalement */
justify-content: flex-start; /* commencer depuis le haut */
padding: 20px;
}
/* ===== Navigation ===== */
nav {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #2f3136;
padding: 10px 20px;
border-radius: 10px;
margin-bottom: 30px;
width: 100%;
max-width: 800px; /* limite largeur nav */
}
nav a {
color: #ffffff;
text-decoration: none;
margin-right: 15px;
font-weight: 500;
transition: color 0.2s;
}
nav a:hover {
color: #5865f2;
}
#profil {
display: flex;
align-items: center;
gap: 10px;
}
#profil img {
width: 40px;
height: 40px;
border-radius: 50%;
}
#logout {
background-color: #5865f2;
color: white;
padding: 5px 12px;
border-radius: 6px;
font-size: 0.9rem;
transition: background 0.2s;
}
#logout:hover {
background-color: #4752c4;
}
/* ===== Titres ===== */
h1, h2 {
text-align: center; /* centre le texte */
}
h1 {
font-size: 3rem;
margin-bottom: 20px;
color: #ffffff;
}
h2 {
font-size: 1.8rem;
margin: 25px 0 10px 0;
color: #ffffff;
border-bottom: 2px solid #5865f2;
display: inline-block;
padding-bottom: 5px;
}
/* ===== 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;
transition: background 0.2s;
margin-bottom: 20px;
}
#invite-link:hover {
background-color: #4752c4;
}
/* ===== Listes ===== */
ul {
list-style: disc inside;
margin: 10px 0 20px 0;
max-width: 700px;
text-align: left;
}
li {
margin-bottom: 10px;
}
/* ===== Responsive ===== */
@media (max-width: 600px) {
nav {
flex-direction: column;
align-items: center;
gap: 10px;
}
#profil {
gap: 5px;
}
}