repaircafe/static/css/style.css
Florent Tribouilloy db8398265e init repo
2025-11-27 01:09:59 +01:00

277 lines
3.9 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, Helvetica, sans-serif;
line-height: 1.6;
color: #2e2c7e;
background: #e1e1e1;
}
header {
background: #2e2c7e;
color: white;
padding: 1rem 0;
}
nav {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
}
nav h1 {
font-size: 1.8rem;
font-weight: bold;
}
nav h1 a {
color: white;
text-decoration: none;
}
nav ul {
display: flex;
list-style: none;
gap: 2rem;
}
nav a {
color: white;
text-decoration: none;
transition: color 0.3s;
font-weight: 500;
}
nav a:hover {
color: #EF694A;
}
main {
max-width: 1200px;
margin: 2rem auto;
padding: 0 2rem;
min-height: 60vh;
}
.maintitle {
text-align: center;
padding: 4rem 2rem;
background: white;
color: #2e2c7e;
margin: -2rem -2rem 3rem -2rem;
border-radius: 8px;
}
.maintitle h1 {
font-size: 3rem;
margin-bottom: 1rem;
font-weight: bold;
color: #2e2c7e;
}
.maintitle p {
font-size: 1.4rem;
font-weight: 400;
color: #EF694A;
}
section {
margin: 3rem 0;
padding: 2rem;
background: white;
border-radius: 8px;
}
section h2 {
color: #2e2c7e;
margin-bottom: 1.5rem;
font-size: 2rem;
font-weight: bold;
}
section h3 {
color: #EF694A;
margin-top: 1.5rem;
margin-bottom: 1rem;
font-size: 1.5rem;
}
section p {
font-size: 1.1rem;
margin-bottom: 1rem;
color: #2e2c7e;
}
.repair-dates {
background: white;
border: 3px solid #EF694A;
text-align: center;
padding: 3rem 2rem;
}
.repair-dates h2 {
color: #2e2c7e;
margin-bottom: 2rem;
}
.date {
font-size: 2rem;
font-weight: bold;
color: #EF694A;
margin: 1rem 0;
}
.lieu {
font-size: 1.3rem;
color: #2e2c7e;
}
.presentation {
background: white;
}
content {
padding: 2rem;
background: white;
border-radius: 8px;
}
content h1 {
color: #2e2c7e;
margin-bottom: 2rem;
font-size: 2.5rem;
font-weight: bold;
}
content h2 {
color: #2e2c7e;
margin-top: 2rem;
margin-bottom: 1rem;
font-size: 1.8rem;
font-weight: bold;
}
content h3 {
color: #EF694A;
margin-top: 1.5rem;
margin-bottom: 1rem;
font-size: 1.4rem;
}
content p {
margin-bottom: 1rem;
font-size: 1.1rem;
color: #2e2c7e;
}
content ul, content ol {
margin-left: 2rem;
margin-bottom: 1rem;
font-size: 1.1rem;
color: #2e2c7e;
}
content li {
margin-bottom: 0.5rem;
}
footer {
background: #2e2c7e;
color: white;
text-align: center;
padding: 2rem;
margin-top: 4rem;
}
footer p {
margin: 0.5rem 0;
}
footer a {
color: #EF694A;
text-decoration: none;
}
footer a:hover {
text-decoration: underline;
}
.btn {
display: inline-block;
padding: 1rem 2rem;
background: #2e2c7e;
color: white;
text-decoration: none;
border: none;
font-weight: bold;
font-size: 1.1rem;
transition: all 0.3s;
cursor: pointer;
border-radius: 5px;
}
.btn:hover {
background: #EF694A;
}
.btn-secondary {
background: #EF694A;
}
.btn-secondary:hover {
background: #2e2c7e;
}
img[alt=signal-qrcode] {
width: 20%;
align-items: center;
}
@media (max-width: 768px) {
nav {
flex-direction: column;
gap: 1rem;
}
nav ul {
gap: 1rem;
flex-wrap: wrap;
justify-content: center;
}
.maintitle h1 {
font-size: 2rem;
}
.maintitle p {
font-size: 1.1rem;
}
section {
padding: 1.5rem;
}
section h2 {
font-size: 1.5rem;
}
}
.btn-nav {
background: #EF694A;
padding: 0.5rem 1rem;
border-radius: 5px;
transition: all 0.3s;
}
.btn-nav:hover {
background: white;
color: #EF694A !important;
}