diff --git a/public/assets/styles/commun.css b/public/assets/styles/commun.css index 3924e97..bdb0f10 100644 --- a/public/assets/styles/commun.css +++ b/public/assets/styles/commun.css @@ -63,39 +63,3 @@ footer a { text-decoration: none; } - -.devise, .logo-eidas, .marianne { - background-repeat: no-repeat; - background-size: contain; -} - -.marianne { - height: .75em; - - background-image: url(/statique/assets/images/marianne.svg); -} - -.republique-francaise { - padding: .1em 0; - font-size: .7em; - font-weight: bold; - line-height: 1em; -} - -.devise { - height: 1.25em; - - background-image: url(/statique/assets/images/devise.svg); -} - -.logo-eidas { - width: 2.5em; - height: 2.5em; - background-image: url(/statique/assets/images/logo-eidas.png); -} - -.titre-eidas { - color: var(--gris-eidas); - font-size: .7em; - font-weight: bold; -} diff --git a/public/assets/styles/eidas.css b/public/assets/styles/eidas.css new file mode 100644 index 0000000..90bb83c --- /dev/null +++ b/public/assets/styles/eidas.css @@ -0,0 +1,13 @@ +.logo-eidas { + width: 2.5em; + height: 2.5em; + background-image: url(/statique/assets/images/logo-eidas.png); + background-repeat: no-repeat; + background-size: contain; +} + +.titre-eidas { + color: var(--gris-eidas); + font-size: .7em; + font-weight: bold; +} diff --git a/public/assets/styles/republiqueFrancaise.css b/public/assets/styles/republiqueFrancaise.css new file mode 100644 index 0000000..1720c76 --- /dev/null +++ b/public/assets/styles/republiqueFrancaise.css @@ -0,0 +1,21 @@ +.devise, .marianne { + background-repeat: no-repeat; + background-size: contain; +} + +.marianne { + height: .75em; + background-image: url(/statique/assets/images/marianne.svg); +} + +.republique-francaise { + padding: .1em 0; + font-size: .7em; + font-weight: bold; + line-height: 1em; +} + +.devise { + height: 1.25em; + background-image: url(/statique/assets/images/devise.svg); +} \ No newline at end of file diff --git a/src/vues/base.pug b/src/vues/base.pug index 6dbb06e..8e9a3f0 100644 --- a/src/vues/base.pug +++ b/src/vues/base.pug @@ -7,20 +7,14 @@ html(lang = 'fr', xml:lang = 'fr', xmlns = 'http://www.w3.org/1999/xhtml') title Vitrine eIDAS-France link(rel='stylesheet', href='/statique/assets/styles/fontes.css') link(rel='stylesheet', href='/statique/assets/styles/palette.css') + link(rel='stylesheet', href='/statique/assets/styles/republiqueFrancaise.css') + link(rel='stylesheet', href='/statique/assets/styles/eidas.css') link(rel='stylesheet', href='/statique/assets/styles/commun.css') block styles body header - .bloc-marque - .marianne - .republique-francaise RÉPUBLIQUE
FRANÇAISE - .devise - .bloc-eidas - a(href='https://eidas.ec.europa.eu/', target='_blank') - .logo-eidas - .titre-eidas European
digital ID - + include fragments/blocMarque .bandeau block bandeau @@ -29,14 +23,7 @@ html(lang = 'fr', xml:lang = 'fr', xmlns = 'http://www.w3.org/1999/xhtml') footer .logos - .bloc-marque - .marianne - .republique-francaise RÉPUBLIQUE
FRANÇAISE - .devise - .bloc-eidas - a(href='https://eidas.ec.europa.eu/', target='_blank') - .logo-eidas - .titre-eidas European
digital ID + include fragments/blocMarque ul li: a(href='https://agentconnect.gouv.fr', target='_blank') agentconnect.gouv.fr li: a(href='https://info.gouv.fr', target='_blank') info.gouv.fr diff --git a/src/vues/fragments/blocMarque.pug b/src/vues/fragments/blocMarque.pug new file mode 100644 index 0000000..8e2b596 --- /dev/null +++ b/src/vues/fragments/blocMarque.pug @@ -0,0 +1,9 @@ +.bloc-marque + .marianne + .republique-francaise RÉPUBLIQUE
FRANÇAISE + .devise + +.bloc-eidas + a(href='https://eidas.ec.europa.eu/', target='_blank') + .logo-eidas + .titre-eidas European
digital ID