« Modèle:Téléchargements/styles.css » : différence entre les versions
De Infothèque
Autres actions
CSS du tableau de téléchargements — clé de produit + galerie (Infothèque) |
CSS téléchargements — boîtes grises pour les clés de série (Infothèque) |
||
| Ligne 52 : | Ligne 52 : | ||
border-radius: 4px; | border-radius: 4px; | ||
font-size: 0.9em; | font-size: 0.9em; | ||
} | |||
.ith-dl-wrap table.ith-dl-table .ith-dl-serialbox { | |||
display: block; | |||
margin: 6px 0; | |||
padding: 8px 12px; | |||
background: #f0f2f5; | |||
border: 1px solid #d7dbe0; | |||
border-radius: 10px; | |||
font-family: monospace; | |||
font-size: 0.92em; | |||
color: #1f2328; | |||
word-break: break-all; | |||
} | } | ||
Version du 12 août 2026 à 10:52
/* ============================================================
* 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 .ith-dl-serialbox {
display: block;
margin: 6px 0;
padding: 8px 12px;
background: #f0f2f5;
border: 1px solid #d7dbe0;
border-radius: 10px;
font-family: monospace;
font-size: 0.92em;
color: #1f2328;
word-break: break-all;
}
.ith-dl-wrap table.ith-dl-table .gallery {
margin: 0;
}