« Modèle:Téléchargements/styles.css » : différence entre les versions
De Infothèque
Autres actions
CSS téléchargements — largeur pleine (override Citizen max-width:max-content) (Infothèque) |
Aucun résumé des modifications |
||
| (5 versions intermédiaires par le même utilisateur non affichées) | |||
| Ligne 1 : | Ligne 1 : | ||
/* ============================================================ | /* ============================================================ | ||
* | * Tableau des téléchargements | ||
* ============================================================ */ | * ============================================================ */ | ||
| Ligne 11 : | Ligne 8 : | ||
box-sizing: border-box; | box-sizing: border-box; | ||
margin: 18px 0 24px 0; | margin: 18px 0 24px 0; | ||
border: 1px solid | border: 1px solid var(--border-color-base); | ||
border-radius: 16px; | border-radius: 16px; | ||
overflow: hidden; | overflow: hidden; | ||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); | box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); | ||
} | |||
.ith-dl-wrap .citizen-overflow-wrapper, | |||
.ith-dl-wrap .citizen-overflow-content { | |||
width: 100% !important; | |||
max-width: 100% !important; | |||
margin: 0 !important; | |||
border: none !important; | |||
background: none !important; | |||
} | |||
.ith-dl-wrap .citizen-overflow-navButton { | |||
display: none !important; | |||
} | } | ||
.ith-dl-wrap table.ith-dl-table { | .ith-dl-wrap table.ith-dl-table { | ||
margin: 0 !important; | margin: 0 !important; | ||
width: 100% !important; | width: 100% !important; | ||
| Ligne 33 : | Ligne 38 : | ||
font-size: 16px; | font-size: 16px; | ||
text-align: left; | text-align: left; | ||
background: | background: var(--background-color-neutral-subtle); | ||
border-bottom: 1px solid | border-bottom: 1px solid var(--border-color-base); | ||
caption-side: top; | caption-side: top; | ||
} | } | ||
.ith-dl-wrap table.ith-dl-table th { | .ith-dl-wrap table.ith-dl-table th { | ||
background: | background: var(--background-color-neutral-subtle); | ||
text-align: left; | text-align: left; | ||
} | } | ||
| Ligne 47 : | Ligne 52 : | ||
vertical-align: top; | vertical-align: top; | ||
padding: 8px 10px; | padding: 8px 10px; | ||
} | |||
.ith-dl-wrap table.ith-dl-table td:nth-child(5), | |||
.ith-dl-wrap table.ith-dl-table td:nth-child(6) { | |||
text-align: center; | |||
} | |||
.ith-dl-wrap table.ith-dl-table td:nth-child(5) img { | |||
width: 32px; | |||
height: 32px; | |||
object-fit: contain; | |||
} | } | ||
| Ligne 53 : | Ligne 69 : | ||
margin: 2px 0; | margin: 2px 0; | ||
padding: 1px 6px; | padding: 1px 6px; | ||
background: | background: var(--background-color-neutral-subtle); | ||
border: 1px solid | border: 1px solid var(--border-color-base); | ||
border-radius: 4px; | border-radius: 4px; | ||
font-size: 0.9em; | font-size: 0.9em; | ||
| Ligne 63 : | Ligne 79 : | ||
margin: 6px 0; | margin: 6px 0; | ||
padding: 8px 12px; | padding: 8px 12px; | ||
background: | background: var(--background-color-neutral-subtle); | ||
border: 1px solid | border: 1px solid var(--border-color-base); | ||
border-radius: 10px; | border-radius: 10px; | ||
font-family: monospace; | font-family: monospace; | ||
font-size: 0.92em; | font-size: 0.92em; | ||
color: | color: var(--color-base); | ||
word-break: break-all; | word-break: break-all; | ||
} | } | ||
| Ligne 74 : | Ligne 90 : | ||
.ith-dl-wrap table.ith-dl-table .gallery { | .ith-dl-wrap table.ith-dl-table .gallery { | ||
margin: 0; | margin: 0; | ||
} | |||
.ith-dl-wrap table.ith-dl-table td:nth-child(5) img { | |||
width: 32px; | |||
height: 32px; | |||
object-fit: contain; | |||
} | } | ||
Dernière version du 14 août 2026 à 12:28
/* ============================================================
* Tableau des téléchargements
* ============================================================ */
.ith-dl-wrap {
clear: both;
width: 100%;
box-sizing: border-box;
margin: 18px 0 24px 0;
border: 1px solid var(--border-color-base);
border-radius: 16px;
overflow: hidden;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.ith-dl-wrap .citizen-overflow-wrapper,
.ith-dl-wrap .citizen-overflow-content {
width: 100% !important;
max-width: 100% !important;
margin: 0 !important;
border: none !important;
background: none !important;
}
.ith-dl-wrap .citizen-overflow-navButton {
display: none !important;
}
.ith-dl-wrap table.ith-dl-table {
margin: 0 !important;
width: 100% !important;
max-width: 100% !important;
border: none;
}
.ith-dl-wrap table.ith-dl-table > caption {
padding: 12px 16px;
font-weight: 800;
font-size: 16px;
text-align: left;
background: var(--background-color-neutral-subtle);
border-bottom: 1px solid var(--border-color-base);
caption-side: top;
}
.ith-dl-wrap table.ith-dl-table th {
background: var(--background-color-neutral-subtle);
text-align: left;
}
.ith-dl-wrap table.ith-dl-table td,
.ith-dl-wrap table.ith-dl-table th {
vertical-align: top;
padding: 8px 10px;
}
.ith-dl-wrap table.ith-dl-table td:nth-child(5),
.ith-dl-wrap table.ith-dl-table td:nth-child(6) {
text-align: center;
}
.ith-dl-wrap table.ith-dl-table td:nth-child(5) img {
width: 32px;
height: 32px;
object-fit: contain;
}
.ith-dl-wrap table.ith-dl-table code {
display: inline-block;
margin: 2px 0;
padding: 1px 6px;
background: var(--background-color-neutral-subtle);
border: 1px solid var(--border-color-base);
border-radius: 4px;
font-size: 0.9em;
}
.ith-dl-wrap table.ith-dl-table .ith-dl-serialbox {
display: block;
margin: 6px 0;
padding: 8px 12px;
background: var(--background-color-neutral-subtle);
border: 1px solid var(--border-color-base);
border-radius: 10px;
font-family: monospace;
font-size: 0.92em;
color: var(--color-base);
word-break: break-all;
}
.ith-dl-wrap table.ith-dl-table .gallery {
margin: 0;
}
.ith-dl-wrap table.ith-dl-table td:nth-child(5) img {
width: 32px;
height: 32px;
object-fit: contain;
}