Actualiser css/style.css

This commit is contained in:
2026-07-21 16:15:09 +02:00
parent b3dc4598df
commit fb61c92f16
-27
View File
@@ -3,13 +3,11 @@
padding: 0; padding: 0;
box-sizing: border-box; box-sizing: border-box;
} }
body { body {
font-family: 'Montserrat', sans-serif; font-family: 'Montserrat', sans-serif;
background: linear-gradient(135deg, #e85d04 0%, #faedcd 100%); background: linear-gradient(135deg, #e85d04 0%, #faedcd 100%);
min-height: 100vh; min-height: 100vh;
} }
/* Navbar */ /* Navbar */
.navbar { .navbar {
display: flex; display: flex;
@@ -23,30 +21,25 @@ body {
top: 0; top: 0;
z-index: 1000; z-index: 1000;
} }
.logo { .logo {
font-size: 1.5rem; font-size: 1.5rem;
font-weight: 700; font-weight: 700;
color: #e85d04; color: #e85d04;
} }
.nav-links { .nav-links {
display: flex; display: flex;
gap: 2rem; gap: 2rem;
align-items: center; align-items: center;
} }
.nav-links a { .nav-links a {
text-decoration: none; text-decoration: none;
color: #333; color: #333;
font-weight: 600; font-weight: 600;
transition: color 0.3s; transition: color 0.3s;
} }
.nav-links a:hover { .nav-links a:hover {
color: #e85d04; color: #e85d04;
} }
/* Buttons */ /* Buttons */
.btn-primary { .btn-primary {
background: #e85d04; background: #e85d04;
@@ -58,12 +51,10 @@ body {
font-weight: 600; font-weight: 600;
transition: transform 0.2s, box-shadow 0.2s; transition: transform 0.2s, box-shadow 0.2s;
} }
.btn-primary:hover { .btn-primary:hover {
transform: translateY(-2px); transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(232, 93, 4, 0.3); box-shadow: 0 5px 15px rgba(232, 93, 4, 0.3);
} }
.btn-large { .btn-large {
background: #fff; background: #fff;
color: #e85d04; color: #e85d04;
@@ -76,12 +67,10 @@ body {
margin-top: 1rem; margin-top: 1rem;
transition: all 0.3s; transition: all 0.3s;
} }
.btn-large:hover { .btn-large:hover {
background: #e85d04; background: #e85d04;
color: white; color: white;
} }
/* Hero */ /* Hero */
.hero { .hero {
margin-top: 70px; margin-top: 70px;
@@ -95,31 +84,26 @@ body {
background-position: center; background-position: center;
color: white; color: white;
} }
.hero h1 { .hero h1 {
font-size: 4rem; font-size: 4rem;
margin-bottom: 1rem; margin-bottom: 1rem;
text-shadow: 2px 2px 4px rgba(0,0,0,0.5); text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
} }
.hero p { .hero p {
font-size: 1.5rem; font-size: 1.5rem;
margin-bottom: 2rem; margin-bottom: 2rem;
} }
/* Features */ /* Features */
.features { .features {
padding: 5rem 5%; padding: 5rem 5%;
background: white; background: white;
} }
.features h2 { .features h2 {
text-align: center; text-align: center;
font-size: 2.5rem; font-size: 2.5rem;
margin-bottom: 3rem; margin-bottom: 3rem;
color: #e85d04; color: #e85d04;
} }
.features-grid { .features-grid {
display: grid; display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
@@ -127,7 +111,6 @@ body {
max-width: 1200px; max-width: 1200px;
margin: 0 auto; margin: 0 auto;
} }
.feature-card { .feature-card {
background: #faf3e0; background: #faf3e0;
padding: 2rem; padding: 2rem;
@@ -135,16 +118,13 @@ body {
text-align: center; text-align: center;
transition: transform 0.3s; transition: transform 0.3s;
} }
.feature-card:hover { .feature-card:hover {
transform: translateY(-10px); transform: translateY(-10px);
} }
.icon { .icon {
font-size: 3rem; font-size: 3rem;
margin-bottom: 1rem; margin-bottom: 1rem;
} }
/* Modal */ /* Modal */
.modal { .modal {
display: none; display: none;
@@ -156,7 +136,6 @@ body {
height: 100%; height: 100%;
background: rgba(0,0,0,0.5); background: rgba(0,0,0,0.5);
} }
.modal-content { .modal-content {
background: white; background: white;
margin: 5% auto; margin: 5% auto;
@@ -166,7 +145,6 @@ body {
max-width: 400px; max-width: 400px;
position: relative; position: relative;
} }
.close { .close {
position: absolute; position: absolute;
right: 1rem; right: 1rem;
@@ -174,7 +152,6 @@ body {
font-size: 1.5rem; font-size: 1.5rem;
cursor: pointer; cursor: pointer;
} }
.auth-form input { .auth-form input {
width: 100%; width: 100%;
padding: 0.8rem; padding: 0.8rem;
@@ -183,17 +160,14 @@ body {
border-radius: 8px; border-radius: 8px;
font-family: inherit; font-family: inherit;
} }
.auth-form h2 { .auth-form h2 {
color: #e85d04; color: #e85d04;
margin-bottom: 1.5rem; margin-bottom: 1.5rem;
text-align: center; text-align: center;
} }
.auth-form a { .auth-form a {
color: #e85d04; color: #e85d04;
} }
/* Footer */ /* Footer */
.footer { .footer {
background: #333; background: #333;
@@ -202,7 +176,6 @@ body {
padding: 2rem; padding: 2rem;
margin-top: 3rem; margin-top: 3rem;
} }
.footer p { .footer p {
margin: 0.5rem 0; margin: 0.5rem 0;
} }