« MediaWiki:Common.css » : différence entre les versions
De Wiki des possibles
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 5 : | Ligne 5 : | ||
} | } | ||
table.pages { | table.pages { | ||
counter-reset: | counter-reset: ligne; | ||
} | } | ||
table tr.noligne { | table.pages tr.noligne { | ||
counter-increment: | counter-increment: ligne; | ||
} | } | ||
table tr td:first-child | table.pages tr.ligne td:first-child { | ||
content: counter(rowNumber); | content: counter(rowNumber); | ||
min-width: 1em; | min-width: 1em; | ||
margin-right: 0.5em; | margin-right: 0.5em; | ||
} | } |
Version du 8 décembre 2024 à 22:47
/* Le CSS placé ici sera appliqué à tous les habillages. */ body { background-image: url("https://wikidespossibles.org/images/8/81/Foire_des_Possibles_dans_Ahuntsic.jpg"); background-attachment:fixed; } table.pages { counter-reset: ligne; } table.pages tr.noligne { counter-increment: ligne; } table.pages tr.ligne td:first-child { content: counter(rowNumber); min-width: 1em; margin-right: 0.5em; }