diff --git a/css/styles.css b/css/styles.css index dbb91ae..a9e2491 100644 --- a/css/styles.css +++ b/css/styles.css @@ -2041,17 +2041,6 @@ i.icon-x, position: relative; } -/* Ajouter une séparation visuelle avant info-tags-container */ -.info-tags-container::before { - content: ''; - position: absolute; - top: -30px; - left: 0; - width: 100%; - height: 1px; - background-color: var(--divider-color); -} - /* Conteneur pour la section des tags */ .tags-section-container { background-color: var(--card-bg); @@ -2121,4 +2110,39 @@ i.icon-x, justify-content: center; align-content: center; } +} + +/* Séparateur de section */ +.section-divider { + height: 1px; + background-image: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.1) 50%, transparent); + border: none; + margin: 40px 0; + position: relative; + overflow: visible; +} + +.section-divider::before { + content: ''; + display: block; + width: 40px; + height: 5px; + background-color: var(--primary-red); + position: absolute; + top: -2px; + left: 50%; + transform: translateX(-50%); + border-radius: 2px; +} + +/* Version responsive du séparateur */ +@media (max-width: 768px) { + .section-divider { + margin: 30px 0; + } + + .section-divider::before { + width: 30px; + height: 4px; + } } \ No newline at end of file diff --git a/index.php b/index.php index ecc8fa7..8f1661e 100644 --- a/index.php +++ b/index.php @@ -100,6 +100,9 @@ ?> + +