Commit 0c6e2a3a authored by Eva Huet's avatar Eva Huet
Browse files

divers fix (surtitre, sous-titre, auteur de section, firstpara)

parent a95a2362
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -33,6 +33,7 @@
    --spacing-md: 1.2rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;

    /* Typography (from CHARLES) */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
@@ -398,7 +399,7 @@ body.dark section.body p:not(div.boxed-text *, .caption, .credits, details *) {
    font-family: var(--font-serif);
    font-size: 1.875rem;
    font-weight: 700;
    margin-top: 10px;
    margin-top: -40px;
    margin-bottom: 10px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
@@ -453,7 +454,7 @@ section.body h6 {
}

section.body p.firstPara:not(div.boxed-text *, details *) {
    margin-top: var(--spacing-xl);
    margin-top: var(--spacing-xxl);
}

/***** figure *******/
+2 −1
Original line number Diff line number Diff line
@@ -274,6 +274,7 @@
                        <xsl:apply-templates select="./article-meta/history"/>
                        <xsl:apply-templates select="./article-meta/fpage"/>
                        <xsl:apply-templates select="./article-meta/custom-meta-group[.//meta-name = 'cite this article']"/>
                        <xsl:apply-templates select="./article-meta/funding-group"/>
                        <xsl:apply-templates select="./article-meta/permissions/license[@xlink:href and @specific-use='article']"/>
                        <xsl:apply-templates select="./article-meta/permissions/copyright-statement[@specific-use='article']"/>
                        <xsl:call-template name="AI-policy-article"/>
@@ -984,7 +985,7 @@
            <span class="given-names">
                <xsl:value-of select="name/given-names"/>
            </span>
            <xsl:if test="role != 'aut' and @contrib-type != 'editorial-manager'">
            <xsl:if test="role != 'aut' and role != '' and @contrib-type != 'editorial-manager'">
                <span class="idno trans">
                    <xsl:attribute name="data-key">
                        <xsl:value-of select="role"/>
+1 −1
Original line number Diff line number Diff line
@@ -1003,7 +1003,7 @@
    <xsl:template match="tei:persName[ancestor::tei:titleStmt or ancestor::tei:monogr]">
        <p class="{local-name(parent::tei:*)}">
            <xsl:apply-templates/>
            <xsl:if test="parent::tei:author[not(@role = 'aut')] or parent::tei:editor[not(@role = 'aut')]">
            <xsl:if test="parent::tei:author[@role and not(@role = 'aut')] or parent::tei:editor[not(@role = 'aut')]">
                <span class="idno trans">
                    <xsl:attribute name="data-key">
                        <xsl:value-of select="parent::tei:author/@role | parent::tei:editor/@role"/>