arXiv : distinguer les versions v1/v2/v3
Étiquette les versions v1, v2, v3 dans l'historique avec des badges colorés pour les comparer rapidement.
Code à copier
/* Distinguish v1/v2/v3 versions in the submission-history list */
.submission-history {
font-size: 14px !important;
line-height: 1.7 !important;
}
.submission-history b,
.submission-history strong {
display: inline-block !important;
min-width: 36px !important;
padding: 1px 6px !important;
margin-right: 6px !important;
background: #b31b1b !important;
color: #fff !important;
border-radius: 3px !important;
text-align: center !important;
font-weight: 800 !important;
}
.submission-history a[href$=".pdf"],
.submission-history a[href*="/abs/"] {
font-weight: 600 !important;
}
Comment utiliser cet exemple
- Copiez le code avec le bouton ci-dessus.
- Installez JustZix (2 minutes) et ouvrez l'extension sur la page cible.
- Ajoutez une nouvelle règle correspondant à cette page.
- Collez le code dans le panneau CSS de la règle et enregistrez — l'effet apparaît aussitôt.
Notez cet exemple
Aucune note — soyez le premier.