« MediaWiki:Common.css » : différence entre les versions
Apparence
Ajout des styles du catalogue des chansons |
Ajout des styles pour Infobox Chanson et paroles |
||
| Ligne 44 : | Ligne 44 : | ||
.sarah-catalog-table .col-listen { | .sarah-catalog-table .col-listen { | ||
white-space: nowrap; | 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); | |||
} | } | ||
Version du 10 septembre 2026 à 11:53
/* ==========================================================================
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);
}