2554 lines
48 KiB
CSS
2554 lines
48 KiB
CSS
/* Styles généraux */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Accessibilité - Classes utilitaires */
|
|
.sr-only {
|
|
position: absolute !important;
|
|
width: 1px !important;
|
|
height: 1px !important;
|
|
padding: 0 !important;
|
|
margin: -1px !important;
|
|
overflow: hidden !important;
|
|
clip: rect(0, 0, 0, 0) !important;
|
|
white-space: nowrap !important;
|
|
border: 0 !important;
|
|
}
|
|
|
|
:root {
|
|
--primary-red: #FF0000;
|
|
--primary-green: #008000;
|
|
--primary-black: #000000;
|
|
--sidebar-bg: #f5f5f5;
|
|
--footer-bg: #f0f0f0;
|
|
--main-bg: #ffffff;
|
|
--text-color: #000000;
|
|
--text-secondary: #666666;
|
|
--tag-bg: #f8f8f8;
|
|
--tag-border: #e0e0e0;
|
|
--search-bg: #e0e0e0;
|
|
--card-bg: #ffffff;
|
|
--card-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
--divider-color: #e5e5e5;
|
|
--border-color: #e0e0e0;
|
|
--hover-bg: rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
/* Dark theme */
|
|
[data-theme="dark"] {
|
|
--primary-red: #FF4444;
|
|
--primary-green: #00AA00;
|
|
--primary-black: #ffffff;
|
|
--sidebar-bg: #1e1e1e;
|
|
--footer-bg: #1a1a1a;
|
|
--main-bg: #121212;
|
|
--text-color: #ffffff;
|
|
--text-secondary: #b3b3b3;
|
|
--tag-bg: #2d2d2d;
|
|
--tag-border: #404040;
|
|
--search-bg: #333333;
|
|
--card-bg: #1e1e1e;
|
|
--card-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
|
|
--divider-color: #404040;
|
|
--border-color: #404040;
|
|
--hover-bg: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
body {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
line-height: 1.6;
|
|
color: var(--text-color);
|
|
background-color: var(--main-bg);
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.container {
|
|
width: 100%;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 15px;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
/* Amélioration du focus pour l'accessibilité */
|
|
a:focus,
|
|
button:focus,
|
|
input:focus,
|
|
textarea:focus,
|
|
select:focus {
|
|
outline: 2px solid var(--primary-red);
|
|
outline-offset: 2px;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
/* Support pour les préférences d'animation réduite */
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*, *::before, *::after {
|
|
animation-duration: 0.01ms !important;
|
|
animation-iteration-count: 1 !important;
|
|
transition-duration: 0.01ms !important;
|
|
}
|
|
}
|
|
|
|
/* Support pour le contraste élevé */
|
|
@media (prefers-contrast: high) {
|
|
:root {
|
|
--text-color: #000000;
|
|
--primary-red: #CC0000;
|
|
--card-bg: #FFFFFF;
|
|
--sidebar-bg: #F0F0F0;
|
|
--tag-bg: #E8E8E8;
|
|
--search-bg: #D0D0D0;
|
|
}
|
|
|
|
[data-theme="dark"] {
|
|
--text-color: #ffffff;
|
|
--primary-red: #FF6666;
|
|
--card-bg: #000000;
|
|
--sidebar-bg: #111111;
|
|
--main-bg: #000000;
|
|
}
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
/* Layout */
|
|
.sidebar {
|
|
width: 250px;
|
|
height: 100vh;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
background-color: var(--sidebar-bg);
|
|
overflow-y: auto;
|
|
padding: 15px 0;
|
|
z-index: 100;
|
|
}
|
|
|
|
.main-content {
|
|
margin-left: 250px;
|
|
width: calc(100% - 250px);
|
|
padding: 0 20px 20px 20px;
|
|
position: relative;
|
|
box-sizing: border-box;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
/* Logo */
|
|
.logo {
|
|
display: block;
|
|
padding: 10px 15px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.logo img {
|
|
height: 100px;
|
|
}
|
|
|
|
/* Navigation */
|
|
.sidebar-nav {
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.nav-item {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 12px 15px;
|
|
font-size: 18px;
|
|
font-weight: 500;
|
|
transition: background-color 0.2s;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.nav-item:hover {
|
|
background-color: var(--hover-bg);
|
|
}
|
|
|
|
/* PWA Install Button */
|
|
.install-pwa-button {
|
|
background: var(--primary-red);
|
|
color: white;
|
|
border: none;
|
|
padding: 8px 12px;
|
|
border-radius: 6px;
|
|
font-size: 16px;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease;
|
|
margin-right: 10px;
|
|
flex-shrink: 0;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.install-pwa-button:hover {
|
|
background: #cc0000;
|
|
}
|
|
|
|
.install-pwa-button:active {
|
|
transform: scale(0.95);
|
|
}
|
|
|
|
/* PWA Styles */
|
|
@media (display-mode: standalone) {
|
|
body {
|
|
padding-top: env(safe-area-inset-top);
|
|
}
|
|
|
|
.header {
|
|
padding-top: env(safe-area-inset-top);
|
|
}
|
|
}
|
|
|
|
/* Offline indicator */
|
|
.offline-indicator {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
background: #ff4444;
|
|
color: white;
|
|
text-align: center;
|
|
padding: 10px;
|
|
z-index: 1000;
|
|
display: none;
|
|
}
|
|
|
|
.offline-indicator.show {
|
|
display: block;
|
|
}
|
|
|
|
/* Enhanced mobile experience */
|
|
@media (max-width: 768px) {
|
|
.install-pwa-button {
|
|
padding: 6px 10px;
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
|
|
/* Styles pour la page active dans la sidebar */
|
|
.nav-item.active {
|
|
background-color: rgba(255, 0, 0, 0.08);
|
|
font-weight: 600;
|
|
color: var(--primary-red);
|
|
box-shadow: inset 3px 0 0 var(--primary-red);
|
|
}
|
|
|
|
.nav-item.active i {
|
|
color: var(--primary-red);
|
|
}
|
|
|
|
.nav-item i, .nav-item img {
|
|
margin-right: 15px;
|
|
width: 24px;
|
|
text-align: center;
|
|
}
|
|
|
|
.nav-divider {
|
|
height: 1px;
|
|
background-color: var(--divider-color);
|
|
margin: 15px 0;
|
|
}
|
|
|
|
.category-title {
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
padding: 10px 15px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.tag-item {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 10px 15px 10px 25px;
|
|
color: var(--text-color);
|
|
text-decoration: none;
|
|
transition: all 0.2s ease;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.tag-item:hover {
|
|
background-color: rgba(0, 0, 0, 0.05);
|
|
color: var(--primary-red);
|
|
transform: translateX(5px);
|
|
}
|
|
|
|
/* Style pour un tag actif */
|
|
.tag-item.active {
|
|
background-color: rgba(255, 0, 0, 0.08);
|
|
color: var(--primary-red);
|
|
font-weight: 600;
|
|
box-shadow: inset 3px 0 0 var(--primary-red);
|
|
}
|
|
|
|
.tag-icon {
|
|
color: var(--primary-red);
|
|
font-size: 0.9em;
|
|
margin-right: 10px;
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
.tag-item:hover .tag-icon,
|
|
.tag-item.active .tag-icon {
|
|
transform: scale(1.5);
|
|
}
|
|
|
|
/* Media queries pour le style actif sur les différentes tailles d'écran */
|
|
@media (max-width: 1200px) and (min-width: 1001px) {
|
|
.nav-item.active {
|
|
background-color: rgba(255, 0, 0, 0.15);
|
|
}
|
|
|
|
.nav-item.active::after {
|
|
content: attr(data-title);
|
|
position: absolute;
|
|
left: 70px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
background: var(--primary-red);
|
|
color: white;
|
|
padding: 5px 10px;
|
|
border-radius: 4px;
|
|
white-space: nowrap;
|
|
box-shadow: 0 1px 5px rgba(0,0,0,0.2);
|
|
z-index: 100;
|
|
}
|
|
}
|
|
|
|
/* Style pour le menu mobile */
|
|
.mobile-menu .nav-item.active {
|
|
background-color: rgba(255, 0, 0, 0.08);
|
|
color: var(--primary-red);
|
|
font-weight: 600;
|
|
box-shadow: inset 3px 0 0 var(--primary-red);
|
|
}
|
|
|
|
.mobile-menu .tag-item.active {
|
|
background-color: rgba(255, 0, 0, 0.08);
|
|
color: var(--primary-red);
|
|
font-weight: 600;
|
|
box-shadow: inset 3px 0 0 var(--primary-red);
|
|
}
|
|
|
|
/* Header */
|
|
.header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 20px 20px 25px 20px;
|
|
background-color: var(--main-bg);
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 50;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
|
width: 100%;
|
|
max-width: calc(100vw - 250px);
|
|
margin-bottom: 20px;
|
|
margin-left: -20px;
|
|
padding-left: 40px;
|
|
padding-right: 40px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.search-container {
|
|
flex: 1;
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.search-container form {
|
|
display: flex;
|
|
position: relative;
|
|
}
|
|
|
|
.search-container input {
|
|
width: 100%;
|
|
padding: 12px 45px 12px 15px;
|
|
border: 1px solid #e0e0e0;
|
|
border-radius: 25px;
|
|
background-color: #f8f8f8;
|
|
font-size: 16px;
|
|
transition: all 0.3s ease;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.search-container input:focus {
|
|
outline: none;
|
|
border-color: var(--primary-red);
|
|
background-color: white;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.search-container input::placeholder {
|
|
color: #9e9e9e;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.search-container input:focus::placeholder {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.search-container button {
|
|
position: absolute;
|
|
right: 5px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
background-color: var(--primary-red);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 50%;
|
|
width: 35px;
|
|
height: 35px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 16px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.search-container button:hover {
|
|
background-color: #d40000;
|
|
transform: translateY(-50%) scale(1.05);
|
|
}
|
|
|
|
.social-icons, .action-icons {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.icon-button {
|
|
background: none;
|
|
border: none;
|
|
font-size: 24px;
|
|
margin-left: 15px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.icon-button i {
|
|
color: var(--text-color);
|
|
}
|
|
|
|
/* Theme toggle button */
|
|
#theme-toggle {
|
|
transition: transform 0.3s ease, background-color 0.3s ease;
|
|
}
|
|
|
|
#theme-toggle:hover {
|
|
background-color: var(--hover-bg);
|
|
border-radius: 50%;
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
#theme-toggle:active {
|
|
transform: scale(0.95);
|
|
}
|
|
|
|
/* Theme transition for smooth switching */
|
|
* {
|
|
transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
|
|
}
|
|
|
|
/* Dark theme specific adjustments */
|
|
[data-theme="dark"] .mt-container {
|
|
--mt-color-bg: var(--card-bg);
|
|
--mt-color-content-txt: var(--text-color);
|
|
}
|
|
|
|
/* Override couleurs Mastodon - Theme rouge */
|
|
.mt-container, .mt-container[data-theme=light], .mt-dialog, .mt-dialog[data-theme=light] {
|
|
--mt-color-btn-bg: var(--primary-red) !important;
|
|
--mt-color-btn-bg-hover: #cc0000 !important;
|
|
--mt-color-link: var(--primary-red) !important;
|
|
}
|
|
|
|
.mt-container[data-theme=dark], .mt-dialog[data-theme=dark] {
|
|
--mt-color-btn-bg: var(--primary-red) !important;
|
|
--mt-color-btn-bg-hover: #ff6666 !important;
|
|
--mt-color-link: #ff6666 !important;
|
|
}
|
|
|
|
/* Icône Mastodon en rouge */
|
|
.mt-title i.fa-mastodon {
|
|
color: var(--primary-red) !important;
|
|
}
|
|
|
|
[data-theme="dark"] img {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
[data-theme="dark"] .video-thumbnail img {
|
|
opacity: 0.85;
|
|
}
|
|
|
|
[data-theme="dark"] .video-thumbnail:hover img {
|
|
opacity: 1;
|
|
}
|
|
|
|
/* Améliorer le contraste des icônes en mode sombre */
|
|
[data-theme="dark"] .fa-play-circle {
|
|
color: rgba(255, 255, 255, 0.9);
|
|
text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
/* Priorité plus élevée pour les couleurs des réseaux sociaux */
|
|
.icon-button i.icon-facebook,
|
|
.icon-button i.icon-youtube,
|
|
.icon-button i.icon-instagram,
|
|
.icon-button i.icon-tiktok,
|
|
.icon-button i.icon-twitter,
|
|
.icon-button i.icon-mastodon {
|
|
color: inherit;
|
|
}
|
|
|
|
/* Hero Section */
|
|
.hero-mastodon-wrapper {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 20px;
|
|
margin-bottom: 30px;
|
|
padding-top: 5px;
|
|
align-items: start;
|
|
}
|
|
|
|
/* Responsive breakpoint intermédiaire pour les 3 éléments */
|
|
@media (max-width: 1200px) and (min-width: 1025px) {
|
|
.hero-mastodon-wrapper {
|
|
grid-template-columns: 1fr;
|
|
grid-template-rows: auto auto;
|
|
}
|
|
|
|
.timeline-wordpress-container {
|
|
grid-column: 1 / -1;
|
|
grid-template-columns: 1fr;
|
|
gap: 15px;
|
|
}
|
|
|
|
.timeline-wordpress-container .wordpress-section {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.hero {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 400px;
|
|
background-color: #888;
|
|
overflow: hidden;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
/* Styles pour le lecteur vidéo dans le hero */
|
|
.hero-video-container {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.hero-video-container iframe {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
border: none;
|
|
}
|
|
|
|
.hero-video-info {
|
|
position: absolute;
|
|
bottom: 70px;
|
|
left: 0;
|
|
width: 100%;
|
|
background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
|
|
color: #fff;
|
|
padding: 15px;
|
|
z-index: 5;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.hero-video-info h2 {
|
|
font-size: 16px;
|
|
margin-bottom: 5px;
|
|
font-weight: 600;
|
|
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.hero-channel-info {
|
|
display: flex;
|
|
align-items: center;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.hero-channel-info .channel-avatar,
|
|
.hero-channel-info .channel-avatar-placeholder {
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: 50%;
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.hero-channel-info .channel-name {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.live-badge {
|
|
position: absolute;
|
|
top: 10px;
|
|
left: 10px;
|
|
background-color: var(--primary-red);
|
|
color: white;
|
|
border-radius: 4px;
|
|
padding: 5px 10px;
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
z-index: 10;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
}
|
|
|
|
.live-badge i {
|
|
font-size: 10px;
|
|
animation: pulse 1.5s infinite;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0% { opacity: 1; }
|
|
50% { opacity: 0.5; }
|
|
100% { opacity: 1; }
|
|
}
|
|
|
|
/* Message quand aucun direct n'est disponible */
|
|
.hero-no-live {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
background-color: rgba(0, 0, 0, 0.7);
|
|
color: white;
|
|
text-align: center;
|
|
padding: 20px;
|
|
}
|
|
|
|
.hero-no-live i {
|
|
font-size: 50px;
|
|
margin-bottom: 20px;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.hero-no-live h2 {
|
|
font-size: 24px;
|
|
font-weight: 600;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.hero-no-live p {
|
|
font-size: 16px;
|
|
max-width: 80%;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
#mt-container {
|
|
width: 100%;
|
|
height: 400px;
|
|
border-radius: 8px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.mt-header {
|
|
padding: 12px 15px;
|
|
background: linear-gradient(45deg, #000000, #333333);
|
|
border-top-left-radius: 8px;
|
|
border-top-right-radius: 8px;
|
|
}
|
|
|
|
.mt-title {
|
|
color: white;
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
text-align: center;
|
|
}
|
|
|
|
.mt-title i {
|
|
color: var(--primary-red);
|
|
}
|
|
|
|
.mt-body {
|
|
height: calc(100% - 50px);
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.hero-content {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
color: white;
|
|
}
|
|
|
|
.hero-logo {
|
|
font-size: 50px;
|
|
font-weight: 700;
|
|
margin-bottom: 20px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.hero-logo .re {
|
|
color: var(--primary-red);
|
|
}
|
|
|
|
.play-button {
|
|
width: 80px;
|
|
height: 80px;
|
|
border-radius: 50%;
|
|
background-color: rgba(0, 0, 0, 0.7);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.play-button i {
|
|
color: white;
|
|
font-size: 36px;
|
|
}
|
|
|
|
/* Tags Section */
|
|
.tags-section {
|
|
margin: 30px 0;
|
|
overflow-x: auto;
|
|
white-space: nowrap;
|
|
padding: 10px 0 20px;
|
|
text-align: center;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
|
|
position: relative;
|
|
}
|
|
|
|
.tags-section::-webkit-scrollbar {
|
|
height: 6px;
|
|
}
|
|
|
|
.tags-section::-webkit-scrollbar-thumb {
|
|
background-color: rgba(0, 0, 0, 0.2);
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.tags-section::-webkit-scrollbar-track {
|
|
background-color: transparent;
|
|
}
|
|
|
|
.tag {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 8px 16px;
|
|
margin: 0 8px 12px;
|
|
border: none;
|
|
border-radius: 50px;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
background: var(--tag-bg);
|
|
cursor: pointer;
|
|
transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
text-decoration: none;
|
|
color: var(--text-color);
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
|
|
position: relative;
|
|
overflow: hidden;
|
|
letter-spacing: 0.3px;
|
|
}
|
|
|
|
.tag::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(135deg, var(--primary-red), #ff4d4d);
|
|
opacity: 0;
|
|
z-index: -1;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.tag:hover {
|
|
color: white;
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 5px 12px rgba(255, 0, 0, 0.2);
|
|
}
|
|
|
|
.tag:hover::before {
|
|
opacity: 1;
|
|
}
|
|
|
|
.tag:active {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 2px 6px rgba(255, 0, 0, 0.3);
|
|
}
|
|
|
|
/* Section Headers */
|
|
.section-header {
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
margin-bottom: 20px;
|
|
flex-wrap: nowrap;
|
|
}
|
|
|
|
.section-logo {
|
|
margin-right: 15px;
|
|
flex-shrink: 0;
|
|
min-width: 60px;
|
|
}
|
|
|
|
.section-logo img {
|
|
height: 80px;
|
|
width: auto;
|
|
min-width: 80px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 24px;
|
|
font-weight: 600;
|
|
word-break: break-word;
|
|
overflow-wrap: break-word;
|
|
hyphens: auto;
|
|
}
|
|
|
|
/* Video Sections */
|
|
.video-section {
|
|
margin-bottom: 40px;
|
|
position: relative;
|
|
padding-top: 5px;
|
|
}
|
|
|
|
.video-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 20px;
|
|
}
|
|
|
|
.video-card {
|
|
background-color: var(--card-bg);
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
box-shadow: var(--card-shadow);
|
|
transition: transform 0.3s;
|
|
cursor: pointer;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.video-card:hover {
|
|
transform: translateY(-5px);
|
|
}
|
|
|
|
.video-thumbnail {
|
|
position: relative;
|
|
padding-top: 56.25%; /* 16:9 aspect ratio */
|
|
overflow: hidden;
|
|
}
|
|
|
|
.video-thumbnail img {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.video-play-icon {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
width: 50px;
|
|
height: 50px;
|
|
opacity: 1;
|
|
background-image: url('../img/play-icon.svg');
|
|
background-size: contain;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
}
|
|
|
|
/* Cacher l'icône Font Awesome originale */
|
|
.video-play-icon i {
|
|
display: none;
|
|
}
|
|
|
|
.video-info {
|
|
padding: 15px;
|
|
flex-grow: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.video-title {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
margin-bottom: 8px;
|
|
line-height: 1.4;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.video-channel {
|
|
font-size: 14px;
|
|
color: var(--text-secondary);
|
|
margin-bottom: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.channel-avatar {
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: 50%;
|
|
margin-right: 8px;
|
|
object-fit: cover;
|
|
flex-shrink: 0;
|
|
border: 1px solid #e5e5e5;
|
|
}
|
|
|
|
.channel-avatar-placeholder {
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: 50%;
|
|
margin-right: 8px;
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background-color: #e5e5e5;
|
|
color: var(--text-secondary);
|
|
font-size: 16px;
|
|
}
|
|
|
|
.channel-name {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
line-height: 1.4;
|
|
display: flex;
|
|
align-items: center;
|
|
color: inherit;
|
|
}
|
|
|
|
.video-metadata {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
font-size: 12px;
|
|
color: var(--text-secondary);
|
|
margin-top: auto;
|
|
}
|
|
|
|
.video-metadata i {
|
|
margin-right: 4px;
|
|
font-size: 13px;
|
|
color: var(--primary-red);
|
|
}
|
|
|
|
.video-views, .video-date {
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.video-duration {
|
|
position: absolute;
|
|
bottom: 10px;
|
|
right: 10px;
|
|
background-color: rgba(0, 0, 0, 0.7);
|
|
color: white;
|
|
padding: 3px 6px;
|
|
border-radius: 4px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.video-tag {
|
|
display: inline-block;
|
|
padding: 3px 8px;
|
|
background-color: #f0f0f0;
|
|
border-radius: 4px;
|
|
font-size: 12px;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
/* Carousel */
|
|
.carousel {
|
|
position: relative;
|
|
overflow: hidden;
|
|
margin: 15px 0 30px;
|
|
padding: 10px 0;
|
|
}
|
|
|
|
.carousel-container {
|
|
display: flex;
|
|
transition: transform 0.5s ease;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.carousel-item {
|
|
flex: 0 0 auto;
|
|
width: 220px;
|
|
margin-right: 20px;
|
|
}
|
|
|
|
.carousel-controls {
|
|
display: flex;
|
|
justify-content: center;
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.carousel-dot {
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 50%;
|
|
background-color: #ccc;
|
|
margin: 0 5px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.carousel-dot.active {
|
|
background-color: var(--primary-red);
|
|
transform: scale(1.2);
|
|
}
|
|
|
|
/* View More Button */
|
|
.view-more {
|
|
display: block;
|
|
width: max-content;
|
|
margin: 25px auto 5px;
|
|
padding: 12px 30px;
|
|
background-color: var(--primary-red);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.view-more:hover {
|
|
background-color: #cc0000;
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.view-more:disabled {
|
|
background-color: #999;
|
|
cursor: not-allowed;
|
|
transform: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
/* Info Section */
|
|
.info-section {
|
|
margin: 40px 0;
|
|
padding: 30px;
|
|
background-color: var(--card-bg);
|
|
border-radius: 8px;
|
|
box-shadow: var(--card-shadow);
|
|
}
|
|
|
|
.info-header {
|
|
margin-top: 0;
|
|
margin-bottom: 20px;
|
|
font-size: 1.25rem;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.info-text {
|
|
font-size: 16px;
|
|
line-height: 1.6;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.info-text a {
|
|
color: var(--primary-red);
|
|
font-weight: bold;
|
|
text-decoration: underline;
|
|
transition: opacity 0.2s;
|
|
}
|
|
|
|
.info-text a:hover {
|
|
opacity: 0.8;
|
|
}
|
|
|
|
/* Styles pour les licences Creative Commons */
|
|
.cc-licenses {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 20px;
|
|
margin: 30px 0;
|
|
}
|
|
|
|
.cc-license {
|
|
flex: 1 0 300px;
|
|
background-color: #f8f8f8;
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.cc-logo {
|
|
height: 31px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.cc-license h4 {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
margin-bottom: 10px;
|
|
color: #333;
|
|
}
|
|
|
|
.cc-license p {
|
|
font-size: 14px;
|
|
line-height: 1.5;
|
|
color: #555;
|
|
}
|
|
|
|
.info-image {
|
|
max-width: 100%;
|
|
height: auto;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
/* Styles for movement figure and caption */
|
|
.movement-figure {
|
|
margin: 0;
|
|
padding: 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.info-image {
|
|
max-width: 60%;
|
|
height: auto;
|
|
border-radius: 6px;
|
|
margin-bottom: 15px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
display: block;
|
|
}
|
|
|
|
.movement-caption {
|
|
font-size: 0.9rem;
|
|
line-height: 1.5;
|
|
color: var(--text-color-secondary);
|
|
text-align: justify;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
/* Style pour le titre centré */
|
|
.section-title.centered {
|
|
text-align: center;
|
|
margin: 0 0 20px;
|
|
position: relative;
|
|
padding-bottom: 15px;
|
|
}
|
|
|
|
.section-title.centered::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 60px;
|
|
height: 3px;
|
|
background-color: var(--primary-red);
|
|
}
|
|
|
|
/* Media queries pour le responsive */
|
|
@media (max-width: 576px) {
|
|
.movement-caption {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.info-image {
|
|
max-width: 80%;
|
|
}
|
|
|
|
.header {
|
|
padding-left: 25px;
|
|
padding-right: 25px;
|
|
}
|
|
|
|
.search-container {
|
|
max-width: 70%;
|
|
}
|
|
|
|
.video-grid {
|
|
grid-template-columns: 1fr;
|
|
gap: 15px;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 20px;
|
|
}
|
|
|
|
/* Ajustement du header de section pour mobile */
|
|
.section-header {
|
|
flex-wrap: nowrap;
|
|
align-items: center;
|
|
}
|
|
|
|
.section-logo {
|
|
margin-right: 10px;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.section-logo img {
|
|
height: 50px;
|
|
min-width: 50px;
|
|
}
|
|
|
|
/* Pour les cas très extrêmes où le texte est excessivement long */
|
|
@media (max-width: 360px) {
|
|
.search-page .section-header,
|
|
.category-page .section-header {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.search-page .section-logo,
|
|
.category-page .section-logo {
|
|
margin-bottom: 10px;
|
|
}
|
|
}
|
|
|
|
.hero-logo {
|
|
font-size: 36px;
|
|
}
|
|
|
|
.play-button {
|
|
width: 60px;
|
|
height: 60px;
|
|
}
|
|
|
|
.play-button i {
|
|
font-size: 24px;
|
|
}
|
|
|
|
.video-title {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.cc-licenses {
|
|
gap: 15px;
|
|
}
|
|
|
|
.cc-license {
|
|
flex: 1 0 100%;
|
|
padding: 15px;
|
|
}
|
|
|
|
.cc-license h4 {
|
|
font-size: 15px;
|
|
}
|
|
|
|
.cc-license p {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.info-section {
|
|
padding: 20px 15px;
|
|
}
|
|
|
|
.footer-social {
|
|
gap: 10px;
|
|
}
|
|
|
|
.footer-social a {
|
|
width: 35px;
|
|
height: 35px;
|
|
min-width: 35px;
|
|
min-height: 35px;
|
|
font-size: 18px;
|
|
margin: 0 5px;
|
|
}
|
|
|
|
.mobile-social-icons {
|
|
gap: 10px;
|
|
}
|
|
|
|
.mobile-social-icons a {
|
|
width: 35px;
|
|
height: 35px;
|
|
min-width: 35px;
|
|
min-height: 35px;
|
|
font-size: 18px;
|
|
}
|
|
}
|
|
|
|
/* Footer */
|
|
.footer {
|
|
margin-top: 40px;
|
|
margin-left: 250px;
|
|
width: calc(100% - 250px);
|
|
padding: 50px 30px 30px;
|
|
background-color: var(--footer-bg);
|
|
border-top: 1px solid var(--border-color);
|
|
box-sizing: border-box;
|
|
align-self: stretch;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.footer-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 40px;
|
|
padding-bottom: 30px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
max-width: 1200px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.footer-logo {
|
|
margin: 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.footer-logo img {
|
|
height: 90px;
|
|
transition: transform 0.3s;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.footer-logo img:hover {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.footer-contact-info {
|
|
text-align: right;
|
|
}
|
|
|
|
.footer-contact {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
margin-bottom: 10px;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.footer-email {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.footer-email a {
|
|
color: var(--text-secondary);
|
|
text-decoration: none;
|
|
transition: color 0.2s;
|
|
}
|
|
|
|
.footer-email a:hover {
|
|
color: var(--primary-red);
|
|
}
|
|
|
|
.footer-columns {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
text-align: left;
|
|
margin-bottom: 40px;
|
|
max-width: 1200px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.footer-column {
|
|
flex: 1;
|
|
min-width: 200px;
|
|
padding: 0 20px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.footer-title {
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
margin-bottom: 20px;
|
|
color: var(--text-color);
|
|
position: relative;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.footer-title::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 40px;
|
|
height: 3px;
|
|
background-color: var(--primary-red);
|
|
}
|
|
|
|
.footer-links {
|
|
list-style-type: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.footer-links li {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.footer-links a {
|
|
color: var(--text-secondary);
|
|
text-decoration: none;
|
|
font-size: 15px;
|
|
transition: all 0.2s;
|
|
display: inline-block;
|
|
position: relative;
|
|
}
|
|
|
|
.footer-links a:hover {
|
|
color: var(--primary-red);
|
|
transform: translateX(5px);
|
|
}
|
|
|
|
/* Style pour le lien actif dans le footer */
|
|
.footer-links a.active {
|
|
color: var(--primary-red);
|
|
font-weight: 600;
|
|
position: relative;
|
|
}
|
|
|
|
.footer-links a.active::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: -3px;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 2px;
|
|
background: linear-gradient(90deg,
|
|
transparent 0%,
|
|
var(--primary-red) 20%,
|
|
var(--primary-red) 80%,
|
|
transparent 100%);
|
|
opacity: 0.8;
|
|
transform-origin: center;
|
|
transition: transform 0.3s, opacity 0.3s;
|
|
}
|
|
|
|
.footer-links a.active:hover::after {
|
|
opacity: 1;
|
|
transform: scaleX(1.1);
|
|
}
|
|
|
|
.footer-links a i {
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.footer-copyright {
|
|
padding-top: 25px;
|
|
border-top: 1px solid var(--border-color);
|
|
font-size: 14px;
|
|
color: var(--text-secondary);
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
text-align: center;
|
|
}
|
|
|
|
.footer-copyright a {
|
|
color: var(--primary-red);
|
|
font-weight: bold;
|
|
text-decoration: underline;
|
|
transition: opacity 0.2s;
|
|
}
|
|
|
|
.footer-copyright a:hover {
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.footer-social {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
justify-items: center;
|
|
align-items: center;
|
|
margin-bottom: 25px;
|
|
gap: 20px;
|
|
max-width: 300px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.footer-social a {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
background-color: #fff;
|
|
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
|
|
color: var(--text-color);
|
|
font-size: 20px;
|
|
transition: all 0.3s;
|
|
min-width: 40px;
|
|
min-height: 40px;
|
|
aspect-ratio: 1/1;
|
|
}
|
|
|
|
.footer-social a:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
@media (max-width: 1000px) {
|
|
.footer {
|
|
margin-left: 0;
|
|
width: 100%;
|
|
padding: 40px 20px 20px;
|
|
}
|
|
|
|
.footer-header {
|
|
flex-direction: column;
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
padding-bottom: 20px;
|
|
}
|
|
|
|
.footer-logo {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.footer-contact-info {
|
|
text-align: center;
|
|
}
|
|
|
|
.footer-columns {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.footer-column {
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
width: 100%;
|
|
max-width: 400px;
|
|
}
|
|
|
|
.footer-title::after {
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.footer-links a:hover {
|
|
transform: none;
|
|
}
|
|
}
|
|
|
|
/* Dark Mode Toggle */
|
|
.dark-mode-toggle {
|
|
background: none;
|
|
border: none;
|
|
font-size: 20px;
|
|
cursor: pointer;
|
|
color: var(--text-color);
|
|
margin-left: 15px;
|
|
}
|
|
|
|
/* Mobile Menu */
|
|
.mobile-menu-toggle {
|
|
display: none;
|
|
background: none;
|
|
border: none;
|
|
font-size: 24px;
|
|
cursor: pointer;
|
|
position: relative;
|
|
z-index: 200;
|
|
margin-left: 15px;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.mobile-menu {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: var(--main-bg);
|
|
z-index: 150;
|
|
padding: 60px 20px 20px;
|
|
transform: translateX(-100%);
|
|
transition: transform 0.3s;
|
|
overflow-y: auto;
|
|
max-height: 100vh;
|
|
}
|
|
|
|
.mobile-menu.active {
|
|
transform: translateX(0);
|
|
}
|
|
|
|
.mobile-menu-close {
|
|
position: absolute;
|
|
top: 15px;
|
|
right: 15px;
|
|
background: none;
|
|
border: none;
|
|
font-size: 24px;
|
|
cursor: pointer;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
/* Amélioration de l'espacement dans le menu mobile */
|
|
.mobile-menu .search-container {
|
|
margin-bottom: 25px;
|
|
padding: 0 5px;
|
|
}
|
|
|
|
.mobile-menu .search-container form {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.mobile-menu nav {
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.mobile-menu .nav-item {
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.mobile-menu .mobile-section-title {
|
|
margin-top: 20px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
/* Media Queries */
|
|
@media (max-width: 1200px) and (min-width: 1001px) {
|
|
.sidebar {
|
|
width: 70px;
|
|
}
|
|
|
|
.main-content, .footer {
|
|
margin-left: 70px;
|
|
width: calc(100% - 70px);
|
|
}
|
|
|
|
/* Ajuster le header pour le mode sidebar compact */
|
|
.header {
|
|
width: 100%;
|
|
max-width: calc(100vw - 70px);
|
|
margin-left: -20px;
|
|
padding-left: 40px;
|
|
padding-right: 40px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.nav-item span {
|
|
display: none;
|
|
}
|
|
|
|
/* Masquer complètement la section Hashtags */
|
|
.category-title,
|
|
.tag-item {
|
|
display: none;
|
|
}
|
|
|
|
.nav-item {
|
|
justify-content: center;
|
|
padding: 15px 0;
|
|
position: relative;
|
|
}
|
|
|
|
.nav-item i {
|
|
margin-right: 0;
|
|
font-size: 20px;
|
|
}
|
|
|
|
/* Tooltip for compact mode */
|
|
.nav-item:hover::after {
|
|
content: attr(data-title);
|
|
position: absolute;
|
|
left: 70px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
background: var(--sidebar-bg);
|
|
color: var(--text-color);
|
|
padding: 5px 10px;
|
|
border-radius: 4px;
|
|
white-space: nowrap;
|
|
box-shadow: 0 1px 5px rgba(0,0,0,0.2);
|
|
z-index: 100;
|
|
}
|
|
|
|
.logo {
|
|
text-align: center;
|
|
padding: 10px 0;
|
|
}
|
|
|
|
.logo img {
|
|
height: 50px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1000px) {
|
|
.sidebar {
|
|
display: none;
|
|
}
|
|
|
|
.main-content, .footer {
|
|
margin-left: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
/* Ajuster le header pour l'affichage mobile */
|
|
.header {
|
|
width: 100vw;
|
|
max-width: 100vw;
|
|
margin-left: -20px;
|
|
padding-left: 20px;
|
|
padding-right: 20px;
|
|
box-sizing: border-box;
|
|
position: relative;
|
|
left: 0;
|
|
}
|
|
|
|
.mobile-menu-toggle {
|
|
display: block;
|
|
}
|
|
|
|
.search-container {
|
|
max-width: 60%;
|
|
}
|
|
|
|
.social-icons {
|
|
display: none;
|
|
}
|
|
|
|
.action-icons {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.hero-mastodon-wrapper {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.hero, #mt-container {
|
|
width: 100%;
|
|
height: 300px;
|
|
}
|
|
|
|
.hero-mastodon-wrapper #mt-container {
|
|
height: 600px;
|
|
}
|
|
|
|
/* Pour le nouveau layout timeline-wordpress */
|
|
.timeline-wordpress-container #mt-container {
|
|
height: 400px;
|
|
}
|
|
|
|
/* Réduire la taille des boutons du footer Mastodon en mobile */
|
|
.mt-footer .mt-btn-violet {
|
|
font-size: 12px !important;
|
|
padding: 5px 10px !important;
|
|
}
|
|
|
|
.hero-logo {
|
|
font-size: 40px;
|
|
}
|
|
|
|
.footer-columns {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.footer-column {
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 992px) {
|
|
.video-grid {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 15px;
|
|
}
|
|
|
|
.video-title {
|
|
font-size: 15px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 400px) {
|
|
.cc-license {
|
|
padding: 12px;
|
|
}
|
|
|
|
.cc-logo {
|
|
height: 25px;
|
|
}
|
|
|
|
.cc-license h4 {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.footer-social {
|
|
gap: 10px;
|
|
max-width: 250px;
|
|
}
|
|
|
|
.footer-social a {
|
|
width: 32px;
|
|
height: 32px;
|
|
min-width: 32px;
|
|
min-height: 32px;
|
|
font-size: 16px;
|
|
margin: 0 3px;
|
|
}
|
|
|
|
.mobile-social-icons {
|
|
gap: 5px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.mobile-social-icons a {
|
|
width: 32px;
|
|
height: 32px;
|
|
min-width: 32px;
|
|
min-height: 32px;
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
|
|
/* Styles pour le menu dropdown des réseaux sociaux */
|
|
.more-social-container {
|
|
position: relative;
|
|
}
|
|
|
|
.more-social-dropdown {
|
|
position: absolute;
|
|
top: 100%;
|
|
right: 0;
|
|
width: 180px;
|
|
background-color: var(--main-bg);
|
|
border-radius: 4px;
|
|
box-shadow: 0 2px 10px rgba(0,0,0,0.2);
|
|
padding: 10px 0;
|
|
display: none;
|
|
z-index: 100;
|
|
}
|
|
|
|
.more-social-container:hover .more-social-dropdown,
|
|
.more-social-toggle:focus + .more-social-dropdown,
|
|
.more-social-dropdown:hover {
|
|
display: block;
|
|
}
|
|
|
|
.more-social-item {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 10px 15px;
|
|
font-size: 14px;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.more-social-item:hover {
|
|
background-color: rgba(0,0,0,0.05);
|
|
}
|
|
|
|
.more-social-item i {
|
|
margin-right: 10px;
|
|
font-size: 18px;
|
|
width: 20px;
|
|
text-align: center;
|
|
color: inherit;
|
|
}
|
|
|
|
@media (max-width: 1000px) {
|
|
.more-social-dropdown {
|
|
right: -15px;
|
|
}
|
|
}
|
|
|
|
/* Styles pour les icônes des réseaux sociaux avec leurs couleurs officielles */
|
|
i.icon-facebook,
|
|
.fab.fa-facebook.icon-facebook {
|
|
color: #1877F2 !important; /* Bleu Facebook */
|
|
}
|
|
|
|
i.icon-youtube,
|
|
.fab.fa-youtube.icon-youtube {
|
|
color: #FF0000 !important; /* Rouge YouTube */
|
|
}
|
|
|
|
i.icon-instagram,
|
|
.fab.fa-instagram.icon-instagram {
|
|
/* Imiter le dégradé Instagram avec une couleur principale */
|
|
color: #E1306C !important; /* Rose/magenta Instagram */
|
|
}
|
|
|
|
i.icon-tiktok,
|
|
.fab.fa-tiktok.icon-tiktok {
|
|
color: #000000 !important; /* Noir TikTok */
|
|
}
|
|
|
|
[data-theme="dark"] .header i.icon-tiktok,
|
|
[data-theme="dark"] .header .fab.fa-tiktok.icon-tiktok {
|
|
color: #ffffff !important; /* Blanc TikTok en mode sombre - header seulement */
|
|
}
|
|
|
|
i.icon-tiktok-accent {
|
|
color: #EE1D52 !important; /* Rouge TikTok */
|
|
}
|
|
|
|
i.icon-x,
|
|
.fab.fa-x-twitter.icon-x,
|
|
.fab.fa-x.icon-x {
|
|
color: #000000 !important; /* Noir X (anciennement Twitter) */
|
|
}
|
|
|
|
[data-theme="dark"] .header i.icon-x,
|
|
[data-theme="dark"] .header .fab.fa-x-twitter.icon-x,
|
|
[data-theme="dark"] .header .fab.fa-x.icon-x {
|
|
color: #ffffff !important; /* Blanc X en mode sombre - header seulement */
|
|
}
|
|
|
|
i.icon-mastodon,
|
|
.fab.fa-mastodon.icon-mastodon {
|
|
color: #563ACC !important; /* Violet Mastodon */
|
|
}
|
|
|
|
/* Maintenir la couleur par défaut pour les icônes dans le footer */
|
|
|
|
/* Ajustements pour le menu déroulant des réseaux sociaux */
|
|
.more-social-item i {
|
|
margin-right: 10px;
|
|
font-size: 18px;
|
|
width: 20px;
|
|
text-align: center;
|
|
/* Supprimer la couleur rouge par défaut pour utiliser les classes spécifiques */
|
|
color: inherit;
|
|
}
|
|
|
|
/* Styles pour le menu mobile des réseaux sociaux */
|
|
.mobile-social-icons {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 20px;
|
|
margin: 15px 0;
|
|
padding: 10px 15px;
|
|
}
|
|
|
|
.mobile-social-icons a {
|
|
font-size: 24px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
background-color: #f5f5f5;
|
|
transition: transform 0.2s, background-color 0.2s;
|
|
min-width: 40px;
|
|
min-height: 40px;
|
|
aspect-ratio: 1/1;
|
|
}
|
|
|
|
.mobile-social-icons a:hover {
|
|
transform: scale(1.1);
|
|
background-color: #e8e8e8;
|
|
}
|
|
|
|
@media (max-width: 1000px) {
|
|
.mobile-menu-section .social-icons {
|
|
display: flex;
|
|
}
|
|
}
|
|
|
|
.mobile-section-title {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
margin: 20px 0 10px;
|
|
padding: 0;
|
|
color: var(--text-color);
|
|
text-align: center;
|
|
}
|
|
|
|
/* Styles pour la page de direct */
|
|
.live-page {
|
|
width: 100%;
|
|
margin-bottom: 40px;
|
|
padding-top: 5px;
|
|
}
|
|
|
|
.live-container {
|
|
position: relative;
|
|
width: 100%;
|
|
background-color: var(--card-bg);
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
box-shadow: var(--card-shadow);
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.live-player {
|
|
position: relative;
|
|
width: 100%;
|
|
padding-top: 56.25%; /* Ratio 16:9 */
|
|
}
|
|
|
|
.live-player iframe {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
border: none;
|
|
}
|
|
|
|
.live-info {
|
|
padding: 20px;
|
|
border-top: 1px solid var(--divider-color);
|
|
}
|
|
|
|
.live-title {
|
|
font-size: 24px;
|
|
font-weight: 600;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.live-channel-info {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.live-channel-info .channel-avatar,
|
|
.live-channel-info .channel-avatar-placeholder {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
margin-right: 15px;
|
|
}
|
|
|
|
.live-channel-info .channel-name {
|
|
font-size: 18px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.live-description {
|
|
font-size: 16px;
|
|
line-height: 1.6;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.live-description p {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.live-badge.large {
|
|
position: absolute;
|
|
top: 20px;
|
|
left: 20px;
|
|
background-color: var(--primary-red);
|
|
color: white;
|
|
border-radius: 4px;
|
|
padding: 8px 15px;
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
z-index: 10;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.live-badge.large i {
|
|
font-size: 12px;
|
|
animation: pulse 1.5s infinite;
|
|
}
|
|
|
|
.no-live-message {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
background-color: var(--card-bg);
|
|
color: var(--text-color);
|
|
text-align: center;
|
|
padding: 60px 20px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.no-live-message i {
|
|
font-size: 60px;
|
|
margin-bottom: 20px;
|
|
opacity: 0.7;
|
|
color: var(--primary-red);
|
|
}
|
|
|
|
.no-live-message h2 {
|
|
font-size: 28px;
|
|
font-weight: 600;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.no-live-message p {
|
|
font-size: 18px;
|
|
max-width: 600px;
|
|
margin: 0 auto 30px;
|
|
}
|
|
|
|
.btn-primary {
|
|
display: inline-block;
|
|
padding: 12px 25px;
|
|
background-color: var(--primary-red);
|
|
color: white;
|
|
border-radius: 4px;
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
transition: all 0.3s;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background-color: #cc0000;
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
/* Responsive pour la page de direct */
|
|
@media (max-width: 768px) {
|
|
.live-title {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.live-channel-info .channel-avatar,
|
|
.live-channel-info .channel-avatar-placeholder {
|
|
width: 32px;
|
|
height: 32px;
|
|
}
|
|
|
|
.live-channel-info .channel-name {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.live-badge.large {
|
|
top: 15px;
|
|
left: 15px;
|
|
padding: 6px 12px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.no-live-message {
|
|
padding: 40px 15px;
|
|
}
|
|
|
|
.no-live-message i {
|
|
font-size: 50px;
|
|
}
|
|
|
|
.no-live-message h2 {
|
|
font-size: 24px;
|
|
}
|
|
|
|
.no-live-message p {
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
|
|
/* Catégories */
|
|
.category-page {
|
|
width: 100%;
|
|
margin-bottom: 40px;
|
|
padding-top: 5px;
|
|
}
|
|
|
|
.category-videos {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 25px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.no-videos-message {
|
|
text-align: center;
|
|
padding: 50px 20px;
|
|
background-color: var(--card-bg);
|
|
border-radius: 8px;
|
|
box-shadow: var(--card-shadow);
|
|
margin-top: 30px;
|
|
}
|
|
|
|
.no-videos-message i {
|
|
font-size: 50px;
|
|
color: var(--primary-red);
|
|
margin-bottom: 20px;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.no-videos-message h3 {
|
|
font-size: 24px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.no-videos-message p {
|
|
font-size: 16px;
|
|
color: var(--text-secondary);
|
|
margin-bottom: 25px;
|
|
}
|
|
|
|
.btn-primary {
|
|
display: inline-block;
|
|
padding: 10px 20px;
|
|
background-color: var(--primary-red);
|
|
color: #fff;
|
|
border-radius: 4px;
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
transition: background-color 0.3s, transform 0.3s;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background-color: #d40000;
|
|
transform: translateY(-3px);
|
|
}
|
|
|
|
@media (max-width: 992px) {
|
|
.category-videos {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 576px) {
|
|
.category-videos {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* Page de recherche */
|
|
.search-page {
|
|
margin-bottom: 40px;
|
|
padding-top: 5px;
|
|
}
|
|
|
|
.search-form-container {
|
|
margin: 20px 0 30px;
|
|
}
|
|
|
|
.search-form {
|
|
display: flex;
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.search-form input[type="text"] {
|
|
flex: 1;
|
|
padding: 12px 15px;
|
|
font-size: 16px;
|
|
border: 2px solid #ddd;
|
|
border-right: none;
|
|
border-radius: 4px 0 0 4px;
|
|
width: 100%;
|
|
}
|
|
|
|
.search-form button {
|
|
background-color: var(--primary-red);
|
|
color: white;
|
|
border: none;
|
|
padding: 0 20px;
|
|
cursor: pointer;
|
|
border-radius: 0 4px 4px 0;
|
|
font-size: 16px;
|
|
transition: background-color 0.3s;
|
|
}
|
|
|
|
.search-form button:hover {
|
|
background-color: #d40000;
|
|
}
|
|
|
|
.search-results-count {
|
|
text-align: center;
|
|
margin-bottom: 20px;
|
|
padding: 10px;
|
|
background-color: #f9f9f9;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.search-instructions {
|
|
text-align: center;
|
|
margin: 40px auto;
|
|
max-width: 500px;
|
|
padding: 30px;
|
|
background-color: #f9f9f9;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.search-instructions i {
|
|
font-size: 48px;
|
|
color: var(--primary-red);
|
|
margin-bottom: 15px;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.search-instructions h3 {
|
|
font-size: 22px;
|
|
margin-bottom: 15px;
|
|
color: #333;
|
|
}
|
|
|
|
.search-instructions p {
|
|
color: var(--text-secondary);
|
|
line-height: 1.5;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.search-instructions .mt-2 {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.search-instructions strong {
|
|
color: var(--primary-red);
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Pagination */
|
|
.pagination {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin-top: 30px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.page-numbers {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.page-number {
|
|
width: 36px;
|
|
height: 36px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin: 0 5px;
|
|
border-radius: 4px;
|
|
background-color: #f5f5f5;
|
|
text-decoration: none;
|
|
color: #333;
|
|
font-weight: 500;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.page-number:hover {
|
|
background-color: #e0e0e0;
|
|
}
|
|
|
|
.page-number.current {
|
|
background-color: var(--primary-red);
|
|
color: white;
|
|
cursor: default;
|
|
}
|
|
|
|
.page-link {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 8px 15px;
|
|
border-radius: 4px;
|
|
background-color: #f5f5f5;
|
|
text-decoration: none;
|
|
color: #333;
|
|
font-weight: 500;
|
|
margin: 0 10px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.page-link:hover {
|
|
background-color: #e0e0e0;
|
|
}
|
|
|
|
.page-link.prev i {
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.page-link.next i {
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.page-dots {
|
|
margin: 0 5px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
/* Styles pour les hashtags dans le menu mobile */
|
|
.mobile-menu .nav-item .fas.fa-hashtag {
|
|
color: var(--primary-red);
|
|
font-size: 0.9em;
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
.mobile-menu .nav-item:hover .fas.fa-hashtag {
|
|
transform: scale(1.2);
|
|
}
|
|
|
|
.mobile-menu .nav-item:hover {
|
|
color: var(--primary-red);
|
|
background-color: rgba(255, 0, 0, 0.05);
|
|
}
|
|
|
|
/* Styles pour le conteneur flex des sections Informations et Tendances Hashtags */
|
|
.info-tags-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 30px;
|
|
margin-bottom: 40px;
|
|
margin-top: 60px;
|
|
position: relative;
|
|
}
|
|
|
|
/* Conteneur pour la section des tags */
|
|
.tags-section-container {
|
|
background-color: var(--card-bg);
|
|
border-radius: 8px;
|
|
padding: 25px 20px;
|
|
box-shadow: var(--card-shadow);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* Section info */
|
|
.info-section {
|
|
background-color: var(--card-bg);
|
|
border-radius: 8px;
|
|
padding: 25px 20px;
|
|
box-shadow: var(--card-shadow);
|
|
}
|
|
|
|
.info-header {
|
|
margin-top: 0;
|
|
margin-bottom: 20px;
|
|
font-size: 1.25rem;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
/* Media Queries pour grands écrans */
|
|
@media (min-width: 992px) {
|
|
.info-tags-container {
|
|
flex-direction: row;
|
|
align-items: flex-start;
|
|
margin-top: 30px;
|
|
}
|
|
|
|
.info-section,
|
|
.tags-section-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.info-section {
|
|
flex: 3;
|
|
margin-right: 30px;
|
|
}
|
|
|
|
.tags-section-container {
|
|
flex: 2;
|
|
align-self: stretch;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
|
|
/* Quand la section info n'est pas présente, la section tags prend toute la largeur */
|
|
.info-tags-container:not(:has(.info-section)) .tags-section-container {
|
|
flex: 1;
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.tags-section {
|
|
flex-grow: 1;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
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;
|
|
}
|
|
}
|
|
|
|
|