« Modèle:Téléchargements/styles.css » : différence entre les versions
De Infothèque
Autres actions
CSS du tableau de téléchargements (Infothèque) |
CSS du tableau de téléchargements — clé de produit + galerie (Infothèque) |
||
| Ligne 42 : | Ligne 42 : | ||
vertical-align: top; | vertical-align: top; | ||
padding: 8px 10px; | padding: 8px 10px; | ||
} | |||
.ith-dl-wrap table.ith-dl-table code { | |||
display: inline-block; | |||
margin: 2px 0; | |||
padding: 1px 6px; | |||
background: #f5f7fa; | |||
border: 1px solid #e2e5ea; | |||
border-radius: 4px; | |||
font-size: 0.9em; | |||
} | |||
.ith-dl-wrap table.ith-dl-table .gallery { | |||
margin: 0; | |||
} | } | ||
Version du 12 août 2026 à 10:33
/* ============================================================
* Infothèque — Tableau de téléchargements
* À coller dans : Modèle:Téléchargements/styles.css
* Chargé une seule fois par Modèle:Téléchargements (le "début"
* du tableau) via <templatestyles>.
* ============================================================ */
.ith-dl-wrap {
clear: both;
width: 100%;
box-sizing: border-box;
margin: 18px 0 24px 0;
border: 1px solid #c9ced6;
border-radius: 16px;
overflow: hidden;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.ith-dl-wrap table.ith-dl-table {
margin: 0;
width: 100%;
border: none;
}
.ith-dl-wrap table.ith-dl-table > caption {
padding: 12px 16px;
font-weight: 800;
font-size: 16px;
text-align: left;
background: #eef1f6;
border-bottom: 1px solid #c9ced6;
caption-side: top;
}
.ith-dl-wrap table.ith-dl-table th {
background: #f5f7fa;
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 code {
display: inline-block;
margin: 2px 0;
padding: 1px 6px;
background: #f5f7fa;
border: 1px solid #e2e5ea;
border-radius: 4px;
font-size: 0.9em;
}
.ith-dl-wrap table.ith-dl-table .gallery {
margin: 0;
}