feat: improve index & change meta informations

This commit is contained in:
2025-10-17 12:28:07 +04:00
parent 8fa410cfba
commit 50d472a9a4
3 changed files with 170 additions and 176 deletions
+142 -12
View File
@@ -42,9 +42,9 @@
--primary-red: #FF4444;
--primary-green: #00AA00;
--primary-black: #ffffff;
--sidebar-bg: #1e1e1e;
--sidebar-bg: #121212;
--footer-bg: #1a1a1a;
--main-bg: #121212;
--main-bg: #1a1a1a;
--text-color: #ffffff;
--text-secondary: #b3b3b3;
--tag-bg: #2d2d2d;
@@ -157,6 +157,16 @@ img {
height: 100px;
}
/* Amélioration de la visibilité des logos en mode dark */
[data-theme="dark"] .logo img,
[data-theme="dark"] .section-logo img,
[data-theme="dark"] .footer-logo img {
filter:
drop-shadow(0 0 1px rgba(255, 255, 255, 0.8))
drop-shadow(0 0 2px rgba(255, 255, 255, 0.6))
drop-shadow(0 0 3px rgba(255, 255, 255, 0.4));
}
/* Navigation */
.sidebar-nav {
margin-bottom: 30px;
@@ -584,6 +594,18 @@ img {
align-items: start;
}
/* Quand pas de hero (HERO_TYPE = 'none') et pas de WordPress: centrer la timeline Mastodon */
.hero-mastodon-wrapper:has(.timeline-wordpress-container:only-child) .timeline-wordpress-container:not(:has(.wordpress-section)) {
grid-column: 1 / -1;
display: flex;
justify-content: center;
}
.hero-mastodon-wrapper:has(.timeline-wordpress-container:only-child) .timeline-wordpress-container:not(:has(.wordpress-section)) #mt-container {
max-width: 800px;
width: 100%;
}
/* Responsive breakpoint pour écrans entre 1025px et 1699px */
@media (max-width: 1699px) and (min-width: 1025px) {
.hero-mastodon-wrapper {
@@ -740,6 +762,112 @@ img {
opacity: 0.9;
}
/* ========================================= */
/* Styles pour la section PLAYLIST */
/* ========================================= */
.hero-playlist {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
background: linear-gradient(135deg, var(--sidebar-bg) 0%, var(--main-bg) 100%);
}
.hero-playlist-header {
padding: 15px 20px;
background: rgba(0, 0, 0, 0.3);
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
display: flex;
align-items: center;
gap: 15px;
}
.hero-playlist-header i {
font-size: 24px;
color: var(--primary-red);
}
.hero-playlist-info h2 {
font-size: 18px;
font-weight: 600;
margin: 0 0 5px 0;
color: var(--text-primary);
}
.hero-playlist-info p {
font-size: 14px;
margin: 0;
color: var(--text-secondary);
opacity: 0.9;
}
.hero-playlist-container {
flex: 1;
position: relative;
overflow: hidden;
}
.hero-playlist-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none;
}
.hero-playlist-footer {
padding: 12px 20px;
background: rgba(0, 0, 0, 0.3);
border-top: 1px solid rgba(255, 255, 255, 0.1);
display: flex;
justify-content: center;
}
.hero-playlist-link {
color: var(--primary-red);
text-decoration: none;
font-size: 14px;
font-weight: 500;
display: inline-flex;
align-items: center;
gap: 8px;
padding: 8px 16px;
border-radius: 4px;
transition: background-color 0.2s ease;
}
.hero-playlist-link:hover {
background-color: rgba(255, 255, 255, 0.1);
}
.hero-playlist-link i {
font-size: 12px;
}
/* Responsive pour les playlists */
@media (max-width: 768px) {
.hero-playlist-header {
padding: 12px 15px;
}
.hero-playlist-info h2 {
font-size: 16px;
}
.hero-playlist-info p {
font-size: 13px;
}
.hero-playlist-footer {
padding: 10px 15px;
}
}
/* Annonce du prochain live dans le hero (page d'accueil) - Split gauche/droite */
.hero-next-live {
position: absolute;
@@ -1485,11 +1613,12 @@ img {
box-shadow: var(--card-shadow);
}
.info-header {
.info-description {
margin-top: 0;
margin-bottom: 20px;
font-size: 1.25rem;
line-height: 1.4;
font-size: 1.1rem;
line-height: 1.6;
text-align: justify;
}
.info-text {
@@ -1896,13 +2025,13 @@ img {
}
.footer-social {
display: grid;
grid-template-columns: repeat(3, 1fr);
justify-items: center;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
margin-bottom: 25px;
gap: 20px;
max-width: 300px;
max-width: 500px;
margin-left: auto;
margin-right: auto;
}
@@ -3210,11 +3339,12 @@ i.icon-mastodon,
box-shadow: var(--card-shadow);
}
.info-header {
.info-description {
margin-top: 0;
margin-bottom: 20px;
font-size: 1.25rem;
line-height: 1.4;
font-size: 1.1rem;
line-height: 1.6;
text-align: justify;
}
/* Media Queries pour grands écrans */