Aller au contenu

« MediaWiki:Common.css » : différence entre les versions

De Sara'h
Suppression des cadres et bordures autour du calendrier d'accueil
Ajout de classes pour les paroles LRC
Ligne 413 : Ligne 413 :
.accueil-text-small-gray {
.accueil-text-small-gray {
     height: 14px; color: #64748b;
     height: 14px; color: #64748b;
}
/* ==========================================================================
  Styles pour les paroles synchronisées (LRC)
  ========================================================================== */
.sarah-lyrics {
    font-family: inherit;
    line-height: 1.6;
}
.sarah-lyrics code {
    background: transparent;
    border: none;
    padding: 0;
    color: inherit;
    font-family: inherit; /* Use standard font instead of monospace if desired, but user asked for 'code' layout */
}
.lrc-tag {
    display: none;
}
}

Version du 12 septembre 2026 à 17:51

/* ==========================================================================
   Styles pour le catalogue des œuvres de Sara'h (Liste des chansons de Sara'h)
   ========================================================================== */
.sarah-catalog-table {
    width: 100%;
    font-size: 92%;
    border-collapse: collapse;
    margin-top: 1em;
}

.sarah-catalog-table th {
    background: #1e3a8a !important;
    color: #ffffff !important;
    padding: 10px 12px;
    font-weight: bold;
    text-align: left;
    border-color: #1e3a8a;
}

.sarah-catalog-table tr {
    border-bottom: 1px solid #e2e8f0;
}

.sarah-catalog-table td {
    padding: 8px 10px;
    vertical-align: middle;
}

.sarah-catalog-table .col-title {
    font-weight: bold;
}

.sarah-catalog-table .col-views {
    text-align: right;
    font-weight: 600;
    color: #1e3a8a;
    white-space: nowrap;
}

.sarah-catalog-table .col-date {
    white-space: nowrap;
}

.sarah-catalog-table .col-listen {
    white-space: nowrap;
}

/* ==========================================================================
   Styles pour l'Infobox Chanson et les paroles (Remplace le CSS inline)
   ========================================================================== */
.infobox-chanson {
    width: 320px;
    float: right;
    margin: 0 0 1.2em 1.5em;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 90%;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.08);
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
}

.infobox-chanson-title {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #ffffff !important;
    padding: 12px;
    font-size: 115%;
    text-align: center;
    font-weight: bold;
}

.infobox-chanson-image {
    text-align: center;
    padding: 8px;
    background: #f8fafc;
}

.infobox-chanson-row {
    border-top: 1px solid #e2e8f0;
}

.infobox-chanson-label {
    padding: 6px 10px;
    text-align: left;
    background: #f8fafc;
    color: #334155;
    font-weight: 600;
}

.infobox-chanson-label-w40 {
    width: 40%;
}

.infobox-chanson-value {
    padding: 6px 10px;
    color: #0f172a;
}

.infobox-chanson-value-bold {
    font-weight: bold;
}

.infobox-chanson-value-lh {
    line-height: 1.6;
}

.infobox-chanson-desc-container {
    padding: 8px 10px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.infobox-chanson-desc-collapsible {
    font-size: 90%;
}

.infobox-chanson-desc-header {
    font-weight: bold;
    color: #1e40af;
    cursor: pointer;
    padding: 2px 0;
}

.infobox-chanson-desc-content {
    margin-top: 6px;
    padding: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    line-height: 1.45;
    color: #334155;
    max-height: 200px;
    overflow-y: auto;
}

.sarah-lyrics {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5em;
    margin: 1em 0;
    line-height: 1.8;
    font-size: 0.95em;
    white-space: pre-line;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.03);
}


/* ==========================================================================
   Styles pour l'Infobox Biographie et Musique
   ========================================================================== */
.infobox-bio {
    width: 22em;
    font-size: 90%;
    border: 1px solid #a2a9b1;
    background-color: #f8f9fa;
    color: #202122;
    margin: 0 0 1em 1em;
    padding: 0.2em;
    float: right;
    clear: right;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

.infobox-bio-title {
    font-size: 130%;
    font-weight: bold;
    background-color: #e8ecf1;
    padding: 0.5em;
    text-align: center;
    border-radius: 4px 4px 0 0;
    color: #1a1a1a;
}

.infobox-bio-image-desc {
    text-align: center;
    font-size: 95%;
    color: #54595d;
    padding: 0.2em 0.5em 0.5em;
}

.infobox-bio-row {
    border-top: 1px solid #a2a9b1;
}

.infobox-bio-label {
    text-align: left;
    padding: 0.4em 0.6em;
    font-weight: 600;
    color: #404244;
}

.infobox-bio-label-w40 {
    width: 40%;
}

.infobox-bio-value {
    padding: 0.4em 0.6em;
}


/* ==========================================================================
   Styles pour Modèle:Confusion et Modèle:Voir homonymes
   ========================================================================== */
.template-notice {
    padding: 8px 12px;
    margin: 0 0 1.2em 0;
    background: #f1f5f9;
    border-left: 4px solid #2563eb;
    border-radius: 4px;
    font-size: 90%;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
}


/* ==========================================================================
   Styles pour la page d'Accueil (Dashboard)
   ========================================================================== */
.accueil-hero {
    width: 100%; background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%); border: none; border-radius: 10px; padding: 2em; margin-bottom: 1.5em; box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.accueil-hero-title {
    font-size: 200%; font-weight: 800; color: #ffffff; margin-bottom: 0.3em; letter-spacing: -0.5px;
}
.accueil-hero-subtitle {
    font-size: 115%; color: #93c5fd; line-height: 1.5;
}
.accueil-hero-badge {
    background: rgba(255,255,255,0.25); color: #ffffff; font-size: 80%; padding: 1px 6px; border-radius: 10px; font-weight: bold;
}
.accueil-card {
    background: #ffffff; border: 1px solid #d0d7de; border-radius: 8px; padding: 18px; margin: 1.5em 0; box-shadow: 0 2px 6px rgba(0,0,0,0.04); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}
.accueil-card-header {
    display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e2e8f0; padding-bottom: 12px; margin-bottom: 16px; flex-wrap: wrap; gap: 8px;
}
.accueil-card-title {
    font-size: 110%; font-weight: bold; color: #1e3a8a; margin-bottom: 8px;
}
.accueil-card-subtitle {
    display: flex; gap: 8px; font-size: 85%; flex-wrap: wrap;
}
.accueil-badge-gray {
    background: #f1f5f9; color: #475569; font-size: 80%; padding: 1px 6px; border-radius: 10px; font-weight: bold;
}
.accueil-badge-green {
    background: #ecfdf5; padding: 4px 10px; border-radius: 12px; color: #065f46; font-weight: 600;
}
.accueil-badge-pink {
    background: #fdf2f8; padding: 4px 10px; border-radius: 12px; color: #9d174d; font-weight: 600;
}
.accueil-badge-blue {
    background: #e0f2fe; color: #0369a1; font-size: 80%; font-weight: 700; padding: 2px 8px; border-radius: 12px;
}
.accueil-badge-slate {
    background: #f1f5f9; padding: 4px 10px; border-radius: 12px; color: #334155; font-weight: 600;
}
.accueil-btn-primary {
    display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; background: #2563eb; color: #ffffff; border: 1px solid #1d4ed8; border-radius: 6px; font-weight: 700; font-size: 85%; cursor: pointer; user-select: none; box-shadow: 0 1px 3px rgba(37,99,235,0.3);
}
.accueil-btn-secondary {
    display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; background: #ffffff; color: #1e293b; border: 1px solid #cbd5e1; border-radius: 6px; font-weight: 600; font-size: 85%; cursor: pointer; user-select: none; box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.accueil-cal-container {
    overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 4px 0; margin-bottom: 8px;
}
.accueil-cal-table {
    border-collapse: separate; border-spacing: 3px; font-size: 75%; margin: 0 auto; user-select: none;
}
.accueil-cal-cell {
    width: 11px; height: 11px; min-width: 11px; padding: 0;
}
.accueil-cal-cell-0 {
    width: 11px; height: 11px; min-width: 11px; background: #ebedf0; border: 1px solid #e2e8f0; border-radius: 2px;
}
.accueil-cal-cell-1 {
    display: block; width: 11px; height: 11px; background: #9be9a8; border: 1px solid #85e89d; border-radius: 2px; cursor: pointer;
}
.accueil-cal-cell-2 {
    display: block; width: 11px; height: 11px; background: #40c463; border: 1px solid #34b256; border-radius: 2px; cursor: pointer;
}
.accueil-cal-cell-3 {
    display: block; width: 11px; height: 11px; background: #216e39; border: 1px solid #1b5a2f; border-radius: 2px; cursor: pointer;
}
.accueil-cal-cell-empty {
    width: 11px; height: 11px; min-width: 11px; background: transparent; border: none;
}
.accueil-cal-label-y {
    font-size: 70%; color: #64748b; text-align: right; padding-right: 6px; line-height: 11px; height: 11px;
}
.accueil-cal-label-x {
    text-align: left; font-weight: normal; padding-left: 2px; font-size: 70%; color: #64748b;
}
.accueil-cal-footer {
    display: flex; align-items: center; justify-content: space-between; font-size: 80%; color: #64748b; border-top: none; padding-top: 10px; margin-top: 8px; flex-wrap: wrap; gap: 8px;
}
.accueil-cal-legend {
    display: flex; align-items: center; gap: 6px;
}
.accueil-cal-legend-text {
    color: #64748b;
}
.accueil-cal-legend-0 {
    display: inline-block; width: 11px; height: 11px; background: #ebedf0; border-radius: 2px; border: 1px solid #e2e8f0;
}
.accueil-cal-legend-1 {
    display: inline-block; width: 11px; height: 11px; background: #9be9a8; border-radius: 2px; border: 1px solid #85e89d;
}
.accueil-cal-legend-2 {
    display: inline-block; width: 11px; height: 11px; background: #40c463; border-radius: 2px; border: 1px solid #34b256;
}
.accueil-cal-legend-3 {
    display: inline-block; width: 11px; height: 11px; background: #216e39; border-radius: 2px; border: 1px solid #1b5a2f;
}
.accueil-cal-toggle {
    text-align: right; margin-top: 8px; padding-top: 6px; border-top: 1px dashed #e2e8f0;
}
.accueil-cal-toggle-btn {
    font-size: 80%; color: #2563eb; cursor: pointer; font-weight: 600; text-decoration: none;
}
.accueil-section-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid #f1f5f9; flex-wrap: wrap; gap: 8px;
}
.accueil-section-header-alt {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid #e2e8f0; flex-wrap: wrap; gap: 8px;
}
.accueil-section-title {
    font-weight: 700; font-size: 110%; color: #0f172a;
}
.accueil-section-title-alt {
    font-weight: 700; font-size: 105%; color: #0f172a;
}
.accueil-stats-box {
    background: transparent; border: none; border-radius: 0; padding: 0; margin-bottom: 16px;
}
.accueil-stats-inner {
    display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; flex-wrap: wrap; gap: 6px;
}
.accueil-stats-val {
    font-size: 115%; font-weight: bold; color: #0f172a;
}
.accueil-stats-label {
    font-size: 85%; color: #64748b; margin-top: 2px;
}
.accueil-stats-label-alt {
    font-size: 80%; color: #64748b; margin-top: 2px;
}
.accueil-box {
    margin-bottom: 20px; background: transparent; border: none; border-radius: 0; padding: 0; box-shadow: none;
}
.accueil-box-alt {
    margin-bottom: 20px; background: #f8fafc; border: 1px solid #cbd5e1; border-radius: 8px; padding: 16px; box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.accueil-grid {
    width: 100%; border-spacing: 12px; border-collapse: separate;
}
.accueil-grid-col {
    width: 33%; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 16px; vertical-align: top;
}
.accueil-icon {
    width: 26px;
}
.accueil-icon-valign {
    vertical-align: middle;
}
.accueil-flex-center {
    display: flex; align-items: center; gap: 8px;
}
.accueil-flex-wrap {
    display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}
.accueil-list-header {
    margin-top: 8px; padding-top: 6px; border-top: 1px solid #f1f5f9; text-align: right;
}
.accueil-list-toggle {
    font-size: 80%; color: #475569; background: #f8fafc; border: 1px solid #e2e8f0; padding: 3px 8px; border-radius: 4px; cursor: pointer; font-weight: 500;
}
.accueil-list-container {
    margin-top: 8px; padding: 8px 12px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px; font-size: 85%;
}
.accueil-list-title {
    font-weight: bold; color: #334155; margin-bottom: 6px;
}
.accueil-list-cols {
    columns: 2; column-gap: 16px;
}
.accueil-text-blue {
    color: #2563eb;
}
.accueil-text-slate {
    color: #64748b;
}
.accueil-text-bold {
    font-size: 92%; font-weight: bold; color: #1e293b;
}
.accueil-btn-danger {
    font-size: 80%; color: #dc2626; cursor: pointer; font-weight: 600; padding: 4px 10px; background: #fef2f2; border: 1px solid #fecaca; border-radius: 4px; user-select: none;
}
.accueil-btn-danger-alt {
    font-size: 80%; padding: 4px 10px; background: #fee2e2; border: 1px solid #fca5a5; border-radius: 6px; color: #991b1b; cursor: pointer; font-weight: 700; user-select: none;
}


.accueil-flex-gap6 {
    display: flex; gap: 6px; align-items: center;
}
.accueil-text-small-gray {
    height: 14px; color: #64748b;
}
/* ==========================================================================
   Styles pour les paroles synchronisées (LRC)
   ========================================================================== */
.sarah-lyrics {
    font-family: inherit;
    line-height: 1.6;
}
.sarah-lyrics code {
    background: transparent;
    border: none;
    padding: 0;
    color: inherit;
    font-family: inherit; /* Use standard font instead of monospace if desired, but user asked for 'code' layout */
}
.lrc-tag {
    display: none;
}