/* User Provided Stylesheet */

/* Liens hypertextes des paragraphes */
.article p a {
    color: rgb(37 99 235);
    font-weight: normal;
    text-decoration: none;
    font-style: inherit;    /* Evite l'italique pour les liens à tooltip */
}

/* Légende des figures */
.article figcaption {
    font-size: 1em;
}
.article figcaption a {
    color: var(--tw-prose-captions);
}
.article figcaption a:hover {
    font-weight: normal;
    text-decoration: none;
}

/* Bouton exercice */
a.exercise {
    background-color: #eff6ff;
    border: 1px solid #3b82f6;
    border-radius: .25rem;
    padding: .4em;
    margin-right: 1em;
}
a.exercise::before {
    content: "🡢 Exercice ";
}
a.exercise:visited, a.exercise:visited, a.exercise:active {
    color: var(--pst-color-text-base);
}

/* Hack pour remplacer "Content" par "Sommaire" */
/* Source : https://www.geeksforgeeks.org/css/how-to-replace-text-with-css/ */
.myst-outline-header {
    visibility: hidden;
    position: relative;
}
.myst-outline-header::after {
    visibility: visible;
    position: absolute;
    top: 0;
    left: 0;
    content: "Sommaire";
}
