Files
kaubuntu.re/css/styles.css
T

2613 lines
49 KiB
CSS
Raw Normal View History

2025-04-08 06:37:14 +04:00
/* Styles généraux */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
2025-07-22 11:54:05 +04:00
/* 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;
}
2025-04-08 06:51:33 +04:00
:root {
--primary-red: #FF0000;
--primary-green: #008000;
--primary-black: #000000;
2025-04-10 07:19:18 +04:00
--sidebar-bg: #f5f5f5;
2025-04-09 17:07:10 +04:00
--footer-bg: #f0f0f0;
2025-04-08 06:51:33 +04:00
--main-bg: #ffffff;
--text-color: #000000;
2025-07-22 12:57:49 +04:00
--text-secondary: #666666;
2025-04-08 06:51:33 +04:00
--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;
2025-07-22 12:57:49 +04:00
--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);
2025-04-08 06:51:33 +04:00
}
2025-04-08 06:37:14 +04:00
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
2025-04-08 06:51:33 +04:00
color: var(--text-color);
background-color: var(--main-bg);
display: flex;
2025-04-09 17:07:10 +04:00
flex-direction: column;
2025-07-22 12:00:35 +04:00
overflow-x: hidden;
2025-04-08 06:37:14 +04:00
}
.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 15px;
}
a {
text-decoration: none;
2025-04-08 06:51:33 +04:00
color: var(--text-color);
2025-04-08 06:37:14 +04:00
}
2025-07-22 11:54:05 +04:00
/* 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;
}
2025-07-22 12:57:49 +04:00
[data-theme="dark"] {
--text-color: #ffffff;
--primary-red: #FF6666;
--card-bg: #000000;
--sidebar-bg: #111111;
--main-bg: #000000;
}
2025-07-22 11:54:05 +04:00
}
2025-04-08 06:37:14 +04:00
img {
max-width: 100%;
height: auto;
}
2025-04-08 06:51:33 +04:00
/* Layout */
.sidebar {
width: 250px;
height: 100vh;
position: fixed;
2025-04-08 06:37:14 +04:00
top: 0;
2025-04-08 06:51:33 +04:00
left: 0;
background-color: var(--sidebar-bg);
overflow-y: auto;
padding: 15px 0;
2025-04-08 06:37:14 +04:00
z-index: 100;
}
2025-04-08 06:51:33 +04:00
.main-content {
margin-left: 250px;
width: calc(100% - 250px);
2025-04-11 07:08:50 +04:00
padding: 0 20px 20px 20px;
position: relative;
2025-07-22 12:00:35 +04:00
box-sizing: border-box;
overflow-x: hidden;
2025-04-08 06:51:33 +04:00
}
/* Logo */
.logo {
display: block;
padding: 10px 15px;
margin-bottom: 20px;
2025-04-08 06:37:14 +04:00
}
.logo img {
2025-04-08 18:04:19 +04:00
height: 100px;
2025-04-08 06:37:14 +04:00
}
2025-04-08 06:51:33 +04:00
/* Navigation */
.sidebar-nav {
margin-bottom: 30px;
}
.nav-item {
2025-04-08 06:37:14 +04:00
display: flex;
2025-04-08 06:51:33 +04:00
align-items: center;
padding: 12px 15px;
font-size: 18px;
font-weight: 500;
transition: background-color 0.2s;
2025-04-11 07:22:18 +04:00
position: relative;
overflow: hidden;
2025-04-08 06:37:14 +04:00
}
2025-04-08 06:51:33 +04:00
.nav-item:hover {
2025-07-22 12:57:49 +04:00
background-color: var(--hover-bg);
2025-04-08 06:37:14 +04:00
}
2025-07-17 20:10:21 +04:00
/* 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;
2025-07-22 12:00:35 +04:00
flex-shrink: 0;
white-space: nowrap;
2025-07-17 20:10:21 +04:00
}
.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;
}
}
2025-04-11 07:22:18 +04:00
/* 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);
}
2025-04-08 06:51:33 +04:00
.nav-item i, .nav-item img {
margin-right: 15px;
width: 24px;
text-align: center;
2025-04-08 06:37:14 +04:00
}
2025-04-08 06:51:33 +04:00
.nav-divider {
height: 1px;
background-color: var(--divider-color);
margin: 15px 0;
2025-04-08 06:37:14 +04:00
}
2025-04-08 06:51:33 +04:00
.category-title {
font-size: 20px;
font-weight: 600;
padding: 10px 15px;
margin-top: 20px;
2025-04-08 06:37:14 +04:00
}
2025-04-08 06:51:33 +04:00
.tag-item {
2025-04-10 13:10:24 +04:00
position: relative;
2025-04-08 06:51:33 +04:00
display: flex;
align-items: center;
2025-04-10 13:10:24 +04:00
padding: 10px 15px 10px 25px;
color: var(--text-color);
text-decoration: none;
transition: all 0.2s ease;
font-size: 14px;
2025-04-08 06:37:14 +04:00
}
2025-04-10 13:10:24 +04:00
.tag-item:hover {
background-color: rgba(0, 0, 0, 0.05);
color: var(--primary-red);
transform: translateX(5px);
}
2025-04-11 07:22:18 +04:00
/* 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);
}
2025-04-10 13:10:24 +04:00
.tag-icon {
color: var(--primary-red);
font-size: 0.9em;
margin-right: 10px;
transition: transform 0.2s ease;
}
2025-04-11 07:22:18 +04:00
.tag-item:hover .tag-icon,
.tag-item.active .tag-icon {
2025-04-10 13:10:24 +04:00
transform: scale(1.5);
2025-04-08 06:37:14 +04:00
}
2025-04-11 07:22:18 +04:00
/* 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);
}
2025-04-08 06:51:33 +04:00
/* Header */
.header {
display: flex;
justify-content: space-between;
align-items: center;
2025-04-11 07:08:50 +04:00
padding: 20px 20px 25px 20px;
2025-04-08 06:51:33 +04:00
background-color: var(--main-bg);
position: sticky;
top: 0;
z-index: 50;
2025-04-10 13:10:24 +04:00
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
2025-07-22 12:00:35 +04:00
width: 100%;
max-width: calc(100vw - 250px);
2025-04-11 07:08:50 +04:00
margin-bottom: 20px;
margin-left: -20px;
padding-left: 40px;
padding-right: 40px;
2025-07-22 12:00:35 +04:00
box-sizing: border-box;
2025-04-08 06:37:14 +04:00
}
.search-container {
2025-04-08 06:51:33 +04:00
flex: 1;
2025-04-08 06:37:14 +04:00
max-width: 600px;
margin: 0 auto;
}
.search-container form {
display: flex;
2025-04-08 06:51:33 +04:00
position: relative;
2025-04-08 06:37:14 +04:00
}
.search-container input {
2025-04-08 06:51:33 +04:00
width: 100%;
2025-04-10 13:10:24 +04:00
padding: 12px 45px 12px 15px;
border: 1px solid #e0e0e0;
border-radius: 25px;
background-color: #f8f8f8;
2025-04-08 06:37:14 +04:00
font-size: 16px;
2025-04-10 13:10:24 +04:00
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;
2025-04-08 06:37:14 +04:00
}
.search-container button {
2025-04-08 06:51:33 +04:00
position: absolute;
2025-04-10 13:10:24 +04:00
right: 5px;
2025-04-08 06:51:33 +04:00
top: 50%;
transform: translateY(-50%);
2025-04-10 13:10:24 +04:00
background-color: var(--primary-red);
color: white;
2025-04-08 06:37:14 +04:00
border: none;
2025-04-10 13:10:24 +04:00
border-radius: 50%;
width: 35px;
height: 35px;
2025-04-08 06:37:14 +04:00
cursor: pointer;
2025-04-10 13:10:24 +04:00
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);
2025-04-08 06:37:14 +04:00
}
2025-04-08 06:51:33 +04:00
.social-icons, .action-icons {
display: flex;
align-items: center;
2025-07-22 12:00:35 +04:00
flex-shrink: 0;
2025-04-08 06:37:14 +04:00
}
2025-04-08 06:51:33 +04:00
.icon-button {
background: none;
border: none;
font-size: 24px;
margin-left: 15px;
cursor: pointer;
}
2025-04-09 07:33:03 +04:00
.icon-button i {
color: var(--text-color);
}
2025-07-22 12:57:49 +04:00
/* 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);
}
2025-09-17 22:30:09 +04:00
/* 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;
}
2025-09-28 20:39:47 +04:00
/* Bouton de don dans le header */
.donation-link {
background: transparent !important;
color: var(--primary-red) !important;
position: relative;
overflow: hidden;
border: none !important;
box-shadow: none !important;
}
.donation-link:hover {
background: rgba(255, 0, 0, 0.1) !important;
transform: scale(1.2);
}
.donation-link i {
color: var(--primary-red) !important;
}
/* Animation pulse pour attirer l'attention */
.donation-link::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 0;
height: 0;
background: rgba(255, 255, 255, 0.3);
border-radius: 50%;
transform: translate(-50%, -50%);
animation: pulse-heart 2s infinite;
}
@keyframes pulse-heart {
0% {
width: 0;
height: 0;
opacity: 1;
}
100% {
width: 40px;
height: 40px;
opacity: 0;
}
}
/* Lien de don dans la sidebar */
.donation-nav-link i {
color: var(--primary-red) !important;
}
.donation-nav-link:hover i {
color: #cc0000 !important;
}
.donation-nav-link.active i {
color: var(--primary-red) !important;
}
2025-07-22 12:57:49 +04:00
[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);
}
2025-04-09 07:33:03 +04:00
/* 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,
2025-07-17 15:08:15 +04:00
.icon-button i.icon-twitter,
.icon-button i.icon-mastodon {
2025-04-09 07:33:03 +04:00
color: inherit;
}
2025-04-08 06:51:33 +04:00
/* Hero Section */
2025-04-08 08:22:02 +04:00
.hero-mastodon-wrapper {
2025-09-17 22:30:09 +04:00
display: grid;
grid-template-columns: 1fr 1fr;
2025-04-08 08:22:02 +04:00
gap: 20px;
margin-bottom: 30px;
2025-04-11 07:08:50 +04:00
padding-top: 5px;
2025-09-17 22:30:09 +04:00
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%;
}
2025-04-08 08:22:02 +04:00
}
2025-04-08 06:51:33 +04:00
.hero {
position: relative;
2025-09-17 22:30:09 +04:00
width: 100%;
2025-04-08 06:51:33 +04:00
height: 400px;
background-color: #888;
overflow: hidden;
border-radius: 8px;
}
2025-04-10 10:33:19 +04:00
/* 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;
}
2025-04-08 08:22:02 +04:00
#mt-container {
2025-09-17 22:30:09 +04:00
width: 100%;
2025-04-08 08:22:02 +04:00
height: 400px;
border-radius: 8px;
2025-04-08 08:36:27 +04:00
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);
2025-04-08 08:22:02 +04:00
}
.mt-body {
2025-04-08 08:36:27 +04:00
height: calc(100% - 50px);
2025-04-08 08:22:02 +04:00
overflow-y: auto;
}
2025-04-08 06:51:33 +04:00
.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;
2025-04-08 06:37:14 +04:00
margin-bottom: 20px;
2025-04-08 06:51:33 +04:00
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 {
2025-04-10 14:04:39 +04:00
margin: 30px 0;
2025-04-08 06:51:33 +04:00
overflow-x: auto;
white-space: nowrap;
2025-04-10 14:04:39 +04:00
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;
2025-04-08 06:51:33 +04:00
}
.tag {
2025-04-10 14:04:39 +04:00
display: inline-flex;
align-items: center;
padding: 8px 16px;
margin: 0 8px 12px;
border: none;
border-radius: 50px;
font-size: 15px;
font-weight: 600;
2025-07-22 12:57:49 +04:00
background: var(--tag-bg);
2025-04-08 06:51:33 +04:00
cursor: pointer;
2025-04-10 14:04:39 +04:00
transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
text-decoration: none;
2025-07-22 12:57:49 +04:00
color: var(--text-color);
2025-04-10 14:04:39 +04:00
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;
2025-04-08 06:51:33 +04:00
}
.tag:hover {
2025-04-10 14:04:39 +04:00
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);
2025-04-08 06:51:33 +04:00
}
/* Section Headers */
.section-header {
display: flex;
justify-content: flex-start;
align-items: center;
margin-bottom: 20px;
2025-04-11 07:38:50 +04:00
flex-wrap: nowrap;
2025-04-08 06:51:33 +04:00
}
.section-logo {
margin-right: 15px;
2025-04-11 07:38:50 +04:00
flex-shrink: 0;
min-width: 60px;
2025-04-08 06:51:33 +04:00
}
.section-logo img {
2025-04-08 18:04:19 +04:00
height: 80px;
2025-04-11 07:38:50 +04:00
width: auto;
min-width: 80px;
object-fit: contain;
2025-04-08 06:51:33 +04:00
}
.section-title {
font-size: 24px;
font-weight: 600;
2025-04-11 07:38:50 +04:00
word-break: break-word;
overflow-wrap: break-word;
hyphens: auto;
2025-04-08 06:51:33 +04:00
}
/* Video Sections */
.video-section {
margin-bottom: 40px;
2025-04-08 10:49:46 +04:00
position: relative;
2025-04-11 07:08:50 +04:00
padding-top: 5px;
2025-04-08 06:37:14 +04:00
}
.video-grid {
display: grid;
2025-04-08 10:49:46 +04:00
grid-template-columns: repeat(3, 1fr);
2025-04-08 06:37:14 +04:00
gap: 20px;
}
.video-card {
2025-04-08 06:51:33 +04:00
background-color: var(--card-bg);
2025-04-08 06:37:14 +04:00
border-radius: 8px;
overflow: hidden;
2025-04-08 06:51:33 +04:00
box-shadow: var(--card-shadow);
2025-04-08 06:37:14 +04:00
transition: transform 0.3s;
2025-04-08 06:51:33 +04:00
cursor: pointer;
2025-04-08 10:49:46 +04:00
height: 100%;
display: flex;
flex-direction: column;
2025-04-08 06:37:14 +04:00
}
.video-card:hover {
transform: translateY(-5px);
}
.video-thumbnail {
position: relative;
padding-top: 56.25%; /* 16:9 aspect ratio */
2025-04-08 10:49:46 +04:00
overflow: hidden;
2025-04-08 06:37:14 +04:00
}
.video-thumbnail img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
2025-04-08 06:51:33 +04:00
.video-play-icon {
2025-04-08 06:37:14 +04:00
position: absolute;
2025-04-08 06:51:33 +04:00
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
2025-04-13 10:32:56 +04:00
width: 50px;
height: 50px;
2025-04-08 06:51:33 +04:00
opacity: 1;
2025-04-13 10:32:56 +04:00
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;
2025-04-08 06:37:14 +04:00
}
.video-info {
padding: 15px;
2025-04-08 10:49:46 +04:00
flex-grow: 1;
display: flex;
flex-direction: column;
2025-04-08 06:37:14 +04:00
}
.video-title {
font-size: 16px;
font-weight: 600;
margin-bottom: 8px;
2025-04-08 06:51:33 +04:00
line-height: 1.4;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
2025-04-08 10:49:46 +04:00
flex-grow: 1;
}
.video-channel {
font-size: 14px;
2025-07-22 12:57:49 +04:00
color: var(--text-secondary);
2025-04-08 10:49:46 +04:00
margin-bottom: 8px;
2025-04-09 08:40:03 +04:00
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;
2025-07-22 12:57:49 +04:00
color: var(--text-secondary);
2025-04-09 08:40:03 +04:00
font-size: 16px;
}
.channel-name {
2025-04-08 10:49:46 +04:00
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
2025-04-09 09:14:12 +04:00
line-height: 1.4;
2025-04-09 09:03:46 +04:00
display: flex;
align-items: center;
2025-07-22 12:57:49 +04:00
color: inherit;
2025-04-08 06:37:14 +04:00
}
.video-metadata {
display: flex;
2025-04-08 06:51:33 +04:00
align-items: center;
justify-content: space-between;
2025-04-08 06:37:14 +04:00
font-size: 12px;
2025-07-22 12:57:49 +04:00
color: var(--text-secondary);
2025-04-08 10:49:46 +04:00
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;
2025-04-08 06:37:14 +04:00
}
2025-04-08 06:51:33 +04:00
.video-tag {
display: inline-block;
padding: 3px 8px;
background-color: #f0f0f0;
border-radius: 4px;
font-size: 12px;
margin-right: 5px;
2025-04-08 06:37:14 +04:00
}
2025-04-08 06:51:33 +04:00
/* Carousel */
.carousel {
2025-04-08 06:37:14 +04:00
position: relative;
overflow: hidden;
2025-04-08 10:49:46 +04:00
margin: 15px 0 30px;
padding: 10px 0;
2025-04-08 06:37:14 +04:00
}
2025-04-08 06:51:33 +04:00
.carousel-container {
display: flex;
transition: transform 0.5s ease;
2025-04-08 10:49:46 +04:00
padding-bottom: 10px;
2025-04-08 06:37:14 +04:00
}
2025-04-08 06:51:33 +04:00
.carousel-item {
flex: 0 0 auto;
2025-04-08 10:49:46 +04:00
width: 220px;
2025-04-08 06:51:33 +04:00
margin-right: 20px;
}
.carousel-controls {
2025-04-08 06:37:14 +04:00
display: flex;
2025-04-08 06:51:33 +04:00
justify-content: center;
margin-top: 15px;
2025-04-08 06:37:14 +04:00
}
2025-04-08 06:51:33 +04:00
.carousel-dot {
width: 10px;
height: 10px;
border-radius: 50%;
background-color: #ccc;
margin: 0 5px;
cursor: pointer;
2025-04-08 10:49:46 +04:00
transition: all 0.2s ease;
2025-04-08 06:51:33 +04:00
}
.carousel-dot.active {
background-color: var(--primary-red);
2025-04-08 10:49:46 +04:00
transform: scale(1.2);
2025-04-08 06:51:33 +04:00
}
/* View More Button */
.view-more {
display: block;
width: max-content;
2025-04-08 10:49:46 +04:00
margin: 25px auto 5px;
padding: 12px 30px;
background-color: var(--primary-red);
color: white;
2025-04-08 06:51:33 +04:00
border: none;
border-radius: 4px;
font-size: 16px;
2025-04-08 10:49:46 +04:00
font-weight: 500;
2025-04-08 06:51:33 +04:00
cursor: pointer;
2025-04-08 10:49:46 +04:00
transition: all 0.2s;
text-transform: uppercase;
letter-spacing: 1px;
2025-04-08 06:51:33 +04:00
}
.view-more:hover {
2025-04-08 10:49:46 +04:00
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;
2025-04-08 06:51:33 +04:00
}
/* 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;
2025-04-08 06:51:33 +04:00
margin-bottom: 20px;
font-size: 1.25rem;
line-height: 1.4;
2025-04-08 06:37:14 +04:00
}
2025-04-08 06:51:33 +04:00
.info-text {
font-size: 16px;
line-height: 1.6;
margin-bottom: 20px;
2025-04-08 06:37:14 +04:00
}
2025-04-09 18:55:56 +04:00
.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;
}
2025-04-08 06:51:33 +04:00
.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%;
}
2025-04-11 07:38:50 +04:00
.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;
}
2025-04-08 06:37:14 +04:00
}
2025-04-08 06:51:33 +04:00
/* Footer */
.footer {
margin-top: 40px;
2025-04-09 18:08:57 +04:00
margin-left: 250px;
width: calc(100% - 250px);
2025-04-09 20:41:48 +04:00
padding: 50px 30px 30px;
2025-04-10 07:19:18 +04:00
background-color: var(--footer-bg);
2025-07-22 12:57:49 +04:00
border-top: 1px solid var(--border-color);
2025-04-09 17:07:10 +04:00
box-sizing: border-box;
align-self: stretch;
2025-07-22 12:57:49 +04:00
color: var(--text-color);
2025-04-08 06:51:33 +04:00
}
2025-04-09 20:48:35 +04:00
.footer-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 40px;
padding-bottom: 30px;
2025-07-22 12:57:49 +04:00
border-bottom: 1px solid var(--border-color);
2025-04-09 20:48:35 +04:00
max-width: 1200px;
margin-left: auto;
margin-right: auto;
}
.footer-logo {
margin: 0;
2025-04-10 06:30:59 +04:00
cursor: pointer;
2025-04-09 20:48:35 +04:00
}
.footer-logo img {
height: 90px;
transition: transform 0.3s;
2025-04-10 06:30:59 +04:00
cursor: pointer;
2025-04-09 20:48:35 +04:00
}
.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;
2025-07-22 12:57:49 +04:00
color: var(--text-color);
2025-04-09 20:48:35 +04:00
}
.footer-email {
font-size: 16px;
}
.footer-email a {
2025-07-22 12:57:49 +04:00
color: var(--text-secondary);
2025-04-09 20:48:35 +04:00
text-decoration: none;
transition: color 0.2s;
}
.footer-email a:hover {
color: var(--primary-red);
}
2025-04-09 18:08:57 +04:00
.footer-columns {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
text-align: left;
2025-04-09 20:41:48 +04:00
margin-bottom: 40px;
max-width: 1200px;
margin-left: auto;
margin-right: auto;
2025-04-09 18:08:57 +04:00
}
.footer-column {
flex: 1;
min-width: 200px;
2025-04-09 20:41:48 +04:00
padding: 0 20px;
margin-bottom: 30px;
2025-04-09 18:08:57 +04:00
}
.footer-title {
font-size: 18px;
2025-04-09 20:41:48 +04:00
font-weight: 700;
margin-bottom: 20px;
2025-07-22 12:57:49 +04:00
color: var(--text-color);
2025-04-09 20:41:48 +04:00
position: relative;
padding-bottom: 10px;
}
.footer-title::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 40px;
height: 3px;
background-color: var(--primary-red);
2025-04-09 18:08:57 +04:00
}
.footer-links {
list-style-type: none;
padding: 0;
margin: 0;
}
.footer-links li {
2025-04-09 20:41:48 +04:00
margin-bottom: 12px;
2025-04-09 18:08:57 +04:00
}
.footer-links a {
2025-07-22 12:57:49 +04:00
color: var(--text-secondary);
2025-04-09 18:08:57 +04:00
text-decoration: none;
2025-04-09 20:41:48 +04:00
font-size: 15px;
transition: all 0.2s;
display: inline-block;
position: relative;
2025-04-09 18:08:57 +04:00
}
.footer-links a:hover {
color: var(--primary-red);
2025-04-09 20:41:48 +04:00
transform: translateX(5px);
}
2025-04-11 07:27:14 +04:00
/* 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);
}
2025-04-09 20:41:48 +04:00
.footer-links a i {
margin-right: 8px;
2025-04-09 18:08:57 +04:00
}
.footer-copyright {
2025-04-09 20:41:48 +04:00
padding-top: 25px;
2025-07-22 12:57:49 +04:00
border-top: 1px solid var(--border-color);
2025-04-09 18:08:57 +04:00
font-size: 14px;
2025-07-22 12:57:49 +04:00
color: var(--text-secondary);
2025-04-09 20:41:48 +04:00
max-width: 1200px;
margin: 0 auto;
text-align: center;
2025-04-09 18:08:57 +04:00
}
2025-04-09 18:55:56 +04:00
.footer-copyright a {
color: var(--primary-red);
font-weight: bold;
text-decoration: underline;
transition: opacity 0.2s;
}
.footer-copyright a:hover {
opacity: 0.8;
}
2025-04-08 06:51:33 +04:00
.footer-social {
2025-07-20 12:37:14 +04:00
display: grid;
grid-template-columns: repeat(3, 1fr);
justify-items: center;
2025-04-09 20:41:48 +04:00
align-items: center;
margin-bottom: 25px;
gap: 20px;
2025-07-20 12:37:14 +04:00
max-width: 300px;
margin-left: auto;
margin-right: auto;
2025-04-08 06:37:14 +04:00
}
2025-04-08 06:51:33 +04:00
.footer-social a {
2025-04-09 20:41:48 +04:00
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);
2025-04-08 06:51:33 +04:00
color: var(--text-color);
2025-04-09 20:41:48 +04:00
font-size: 20px;
transition: all 0.3s;
2025-04-10 07:15:59 +04:00
min-width: 40px;
min-height: 40px;
aspect-ratio: 1/1;
2025-04-09 20:40:12 +04:00
}
.footer-social a:hover {
2025-04-09 20:41:48 +04:00
transform: translateY(-5px);
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
2025-04-08 06:37:14 +04:00
}
2025-04-09 20:41:48 +04:00
@media (max-width: 1000px) {
.footer {
margin-left: 0;
width: 100%;
padding: 40px 20px 20px;
}
2025-04-09 20:48:35 +04:00
.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;
}
2025-04-09 20:41:48 +04:00
.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;
}
2025-04-08 06:37:14 +04:00
}
2025-04-08 06:51:33 +04:00
/* Dark Mode Toggle */
.dark-mode-toggle {
background: none;
border: none;
font-size: 20px;
cursor: pointer;
color: var(--text-color);
margin-left: 15px;
2025-04-08 06:37:14 +04:00
}
/* Mobile Menu */
2025-04-08 06:51:33 +04:00
.mobile-menu-toggle {
display: none;
background: none;
border: none;
font-size: 24px;
cursor: pointer;
2025-04-09 07:21:01 +04:00
position: relative;
2025-04-08 06:37:14 +04:00
z-index: 200;
2025-04-09 07:21:01 +04:00
margin-left: 15px;
color: var(--text-color);
2025-04-08 06:37:14 +04:00
}
.mobile-menu {
position: fixed;
top: 0;
left: 0;
2025-04-08 06:51:33 +04:00
width: 100%;
2025-04-08 06:37:14 +04:00
height: 100%;
2025-04-08 06:51:33 +04:00
background-color: var(--main-bg);
z-index: 150;
padding: 60px 20px 20px;
transform: translateX(-100%);
transition: transform 0.3s;
2025-04-11 07:11:00 +04:00
overflow-y: auto;
max-height: 100vh;
2025-04-08 06:37:14 +04:00
}
2025-04-08 06:51:33 +04:00
.mobile-menu.active {
transform: translateX(0);
2025-04-08 06:37:14 +04:00
}
.mobile-menu-close {
2025-04-08 06:51:33 +04:00
position: absolute;
top: 15px;
right: 15px;
2025-04-08 06:37:14 +04:00
background: none;
border: none;
font-size: 24px;
cursor: pointer;
color: var(--text-color);
2025-04-08 06:37:14 +04:00
}
2025-04-11 07:29:43 +04:00
/* 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;
}
2025-04-08 06:37:14 +04:00
/* Media Queries */
2025-04-08 10:24:29 +04:00
@media (max-width: 1200px) and (min-width: 1001px) {
2025-04-08 10:21:20 +04:00
.sidebar {
width: 70px;
}
2025-04-09 18:08:57 +04:00
.main-content, .footer {
2025-04-08 10:21:20 +04:00
margin-left: 70px;
width: calc(100% - 70px);
}
2025-04-11 07:08:50 +04:00
/* Ajuster le header pour le mode sidebar compact */
.header {
2025-07-22 12:00:35 +04:00
width: 100%;
max-width: calc(100vw - 70px);
2025-04-11 07:08:50 +04:00
margin-left: -20px;
padding-left: 40px;
padding-right: 40px;
2025-07-22 12:00:35 +04:00
box-sizing: border-box;
2025-04-11 07:08:50 +04:00
}
2025-04-08 10:28:34 +04:00
.nav-item span {
2025-04-08 10:21:20 +04:00
display: none;
}
2025-04-08 10:28:34 +04:00
/* Masquer complètement la section Hashtags */
.category-title,
2025-04-08 10:21:20 +04:00
.tag-item {
2025-04-08 10:28:34 +04:00
display: none;
}
.nav-item {
2025-04-08 10:21:20 +04:00
justify-content: center;
padding: 15px 0;
position: relative;
}
2025-04-08 10:28:34 +04:00
.nav-item i {
2025-04-08 10:21:20 +04:00
margin-right: 0;
font-size: 20px;
}
/* Tooltip for compact mode */
2025-04-08 10:28:34 +04:00
.nav-item:hover::after {
2025-04-08 10:21:20 +04:00
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;
2025-04-08 10:21:20 +04:00
}
}
2025-04-08 10:24:29 +04:00
@media (max-width: 1000px) {
2025-04-08 06:51:33 +04:00
.sidebar {
2025-04-08 06:37:14 +04:00
display: none;
}
2025-04-08 06:51:33 +04:00
2025-04-09 18:08:57 +04:00
.main-content, .footer {
2025-04-08 06:51:33 +04:00
margin-left: 0;
width: 100%;
}
2025-04-11 07:08:50 +04:00
/* Ajuster le header pour l'affichage mobile */
.header {
width: 100vw;
2025-07-22 12:00:35 +04:00
max-width: 100vw;
2025-04-11 07:08:50 +04:00
margin-left: -20px;
padding-left: 20px;
padding-right: 20px;
2025-07-22 12:00:35 +04:00
box-sizing: border-box;
position: relative;
left: 0;
2025-04-08 06:37:14 +04:00
}
2025-04-08 06:51:33 +04:00
2025-04-11 07:08:50 +04:00
.mobile-menu-toggle {
display: block;
2025-04-08 06:37:14 +04:00
}
2025-04-08 06:51:33 +04:00
.search-container {
2025-04-11 07:08:50 +04:00
max-width: 60%;
2025-04-08 06:37:14 +04:00
}
2025-04-08 06:51:33 +04:00
.social-icons {
display: none;
2025-04-08 06:37:14 +04:00
}
2025-04-08 06:51:33 +04:00
2025-04-09 07:21:01 +04:00
.action-icons {
display: flex;
align-items: center;
}
2025-04-08 08:22:02 +04:00
.hero-mastodon-wrapper {
2025-09-17 22:30:09 +04:00
grid-template-columns: 1fr;
2025-04-08 08:22:02 +04:00
}
.hero, #mt-container {
width: 100%;
2025-04-08 06:51:33 +04:00
height: 300px;
}
2025-09-17 22:30:09 +04:00
.hero-mastodon-wrapper #mt-container {
2025-04-08 10:13:32 +04:00
height: 600px;
}
2025-09-17 22:30:09 +04:00
/* Pour le nouveau layout timeline-wordpress */
.timeline-wordpress-container #mt-container {
height: 400px;
}
2025-04-08 10:13:32 +04:00
/* Réduire la taille des boutons du footer Mastodon en mobile */
.mt-footer .mt-btn-violet {
font-size: 12px !important;
padding: 5px 10px !important;
}
2025-04-08 06:51:33 +04:00
.hero-logo {
font-size: 40px;
2025-04-08 06:37:14 +04:00
}
2025-04-09 18:08:57 +04:00
.footer-columns {
flex-direction: column;
}
.footer-column {
text-align: center;
margin-bottom: 30px;
}
2025-04-08 06:37:14 +04:00
}
2025-04-08 10:24:29 +04:00
@media (max-width: 992px) {
.video-grid {
2025-04-08 10:49:46 +04:00
grid-template-columns: repeat(2, 1fr);
gap: 15px;
}
.video-title {
font-size: 15px;
2025-04-08 10:24:29 +04:00
}
}
2025-04-09 18:55:56 +04:00
@media (max-width: 400px) {
.cc-license {
padding: 12px;
}
.cc-logo {
height: 25px;
}
.cc-license h4 {
font-size: 14px;
}
2025-04-10 07:15:59 +04:00
.footer-social {
2025-07-20 14:59:29 +04:00
gap: 10px;
max-width: 250px;
2025-04-10 07:15:59 +04:00
}
.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;
}
2025-04-09 07:26:06 +04:00
}
/* 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;
2025-04-09 07:33:03 +04:00
color: inherit;
2025-04-09 07:26:06 +04:00
}
@media (max-width: 1000px) {
.more-social-dropdown {
right: -15px;
}
2025-04-09 07:33:03 +04:00
}
/* 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 */
}
2025-07-22 12:57:49 +04:00
[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 */
}
2025-04-09 07:33:03 +04:00
i.icon-tiktok-accent {
color: #EE1D52 !important; /* Rouge TikTok */
}
2025-04-09 07:34:58 +04:00
i.icon-x,
.fab.fa-x-twitter.icon-x,
.fab.fa-x.icon-x {
color: #000000 !important; /* Noir X (anciennement Twitter) */
2025-04-09 07:33:03 +04:00
}
2025-07-22 12:57:49 +04:00
[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 */
}
2025-07-17 15:08:15 +04:00
i.icon-mastodon,
.fab.fa-mastodon.icon-mastodon {
color: #563ACC !important; /* Violet Mastodon */
}
2025-04-09 07:33:03 +04:00
/* 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;
2025-04-09 08:08:02 +04:00
}
/* 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;
2025-04-10 07:15:59 +04:00
min-width: 40px;
min-height: 40px;
aspect-ratio: 1/1;
2025-04-09 08:08:02 +04:00
}
.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);
2025-04-09 08:08:02 +04:00
text-align: center;
2025-04-10 10:42:03 +04:00
}
/* Styles pour la page de direct */
.live-page {
width: 100%;
margin-bottom: 40px;
2025-04-11 07:08:50 +04:00
padding-top: 5px;
2025-04-10 10:42:03 +04:00
}
.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;
}
2025-04-10 12:07:56 +04:00
}
/* Catégories */
.category-page {
width: 100%;
margin-bottom: 40px;
2025-04-11 07:08:50 +04:00
padding-top: 5px;
2025-04-10 12:07:56 +04:00
}
.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;
2025-07-22 12:57:49 +04:00
color: var(--text-secondary);
2025-04-10 12:07:56 +04:00
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;
}
2025-04-10 13:10:24 +04:00
}
/* Page de recherche */
.search-page {
margin-bottom: 40px;
2025-04-11 07:08:50 +04:00
padding-top: 5px;
2025-04-10 13:10:24 +04:00
}
.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 {
2025-07-22 12:57:49 +04:00
color: var(--text-secondary);
2025-04-10 13:10:24 +04:00
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;
2025-07-22 12:57:49 +04:00
color: var(--text-secondary);
2025-04-10 13:10:24 +04:00
}
/* 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;
}
2025-04-11 07:17:24 +04:00
}
/* 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;
}
2025-07-17 15:08:15 +04:00
}