diff --git a/assets/styles/fonts.sass b/assets/styles/fonts.sass index 81a9259..42c530e 100644 --- a/assets/styles/fonts.sass +++ b/assets/styles/fonts.sass @@ -12,6 +12,15 @@ body line-height: 1.2 font-family: 'League Spartan Variable' +.viemunicipale h1, .viemunicipale a + color: var(--color-green) +.cadredevie h1, .cadredevie a + color: var(--color-blue) +.economie h1, .economie a + color: var(--color-orange) +.associations h1, .associations a + color: var(--color-purple) + h1, h2, h3, h4, h5 font-weight: 600 text-transform: uppercase @@ -19,7 +28,7 @@ h1, h2, h3, h4, h5 h1 text-align: center text-transform: uppercase - color: $vert + color: var(--color-green) margin: 0 1rem 1rem padding: 1rem font-size: 2.5rem diff --git a/assets/styles/footer.sass b/assets/styles/footer.sass index 67d5c13..fdc70c2 100644 --- a/assets/styles/footer.sass +++ b/assets/styles/footer.sass @@ -1,5 +1,5 @@ .footer - background: $vert + background: var(--color-green) color: white padding: 2rem 0 diff --git a/assets/styles/header.sass b/assets/styles/header.sass index 0286312..c937dee 100644 --- a/assets/styles/header.sass +++ b/assets/styles/header.sass @@ -5,9 +5,9 @@ position: relative &.home - height: 80vh + height: 60vh .hero - height: 80vh + height: 60vh .hero position: absolute @@ -19,7 +19,7 @@ object-fit: cover width: 100% height: 40vh - background-color: $orange + background-color: var(--color-orange) $nav-height: 70px .nav @@ -28,13 +28,16 @@ bottom: 0 left: 0 right: 0 - background-color: $vert + background-color: var(--color-secondary) height: $nav-height @media screen and (max-width: $size-md) top: 30px height: 50px + .viemunicipale a + color: var(--color-green)!important + .container display: flex align-items: center @@ -45,6 +48,7 @@ z-index: 20 margin: -1rem 1rem -1rem 0 background: white + box-shadow: 0px 8px 17px 2px rgba(0,0,0,0.14) , 0px 3px 14px 2px rgba(0,0,0,0.12) , 0px 5px 5px -3px rgba(0,0,0,0.2) a margin: 1rem @@ -69,6 +73,19 @@ margin: 0 height: $nav-height + .viemunicipale, .viemunicipale a + color: var(--color-green) + font-weight: bold + .cadredevie, .cadredevie a + color: var(--color-blue) + font-weight: bold + .economie, .economie a + color: var(--color-orange) + font-weight: bold + .associations, .associations a + color: var(--color-purple) + font-weight: bold + @media screen and (max-width: $size-xl) font-size: .95rem @@ -76,7 +93,6 @@ list-style-type: none display: none position: absolute - color: $vert background: white top: $nav-height flex-direction: column @@ -87,7 +103,6 @@ z-index: 10 a - color: $vert padding: 10px 0 0 .menu:hover .submenu @@ -101,7 +116,7 @@ top: 100% width: 0 height: 0 - border-top: 15px solid $vert + border-top: 15px solid var(--color-green) border-right: 15px solid transparent border-bottom: 0 solid transparent border-left: 15px solid transparent @@ -116,12 +131,6 @@ &:first-child::before content: none - &::before - content: "" - border-right: 1px white solid - right: 0 - height: 20px - a color: white display: flex @@ -151,7 +160,7 @@ right: 0 height: 100vh z-index: 100 - background: $vert + background: var(--color-green) flex-direction: column justify-content: center diff --git a/assets/styles/main.sass b/assets/styles/main.sass index e066ce1..ffc8c3a 100644 --- a/assets/styles/main.sass +++ b/assets/styles/main.sass @@ -1,9 +1,3 @@ -$vert: #04874b -$orange: #f0833c -$grey: #e5e5e5 -$color-primary: black -$color-secondary: white - $size-xs: 480px $size-sm: 600px $size-md: 840px @@ -19,8 +13,16 @@ $size-xl: 1280px @import "./css-masonry" body - color: $color-primary - background-color: $color-secondary + --color-green: #04874B + --color-blue: #586994 + --color-orange: #F0833C + --color-purple: #4C1036 + --color-grey: #E8E9ED + --color-primary: black + --color-secondary: white + + color: var(--color-primary) + background-color: var(--color-secondary) .open-button, .close-button border-radius: 0 @@ -62,7 +64,7 @@ body width: 30px .container - max-width: $size-lg + max-width: $size-xl margin: 0 auto padding: 0 1rem @media screen and (max-width: $size-xs) @@ -78,7 +80,7 @@ body min-height: inherit a - color: $color-primary + color: var(--color-primary) > .container background-color: white @@ -111,7 +113,7 @@ body margin: 0 .opening - background: $orange + background: var(--color-orange) width: 35% padding: 20px color: black @@ -151,7 +153,7 @@ body hr margin: 3rem auto - border: 1px dashed $vert + border: 1px dashed var(--color-green) @media screen and (max-width: $size-xs) margin: 2rem auto // FOOTER @@ -159,7 +161,7 @@ hr .explain text-align: center font-size: .6rem - background-color: $vert + background-color: var(--color-green) color: white a @@ -167,7 +169,7 @@ hr #content .commissions h3, h4 - color: $vert + color: var(--color-green) #content .conseilmunicipal display: flex @@ -182,7 +184,7 @@ hr margin-bottom: 1rem h2 - color: $vert + color: var(--color-green) font-size: 1.1rem padding: 0 margin: 0 0 .3rem @@ -214,12 +216,6 @@ details > summary cursor: pointer padding: .5rem 0 -// $vert: #04874b -// $orange: #f0833c -// $grey: #e5e5e5 -// $color-primary: black -// $color-secondary: white - #content .cards margin: 0 -1rem padding: 0 @@ -229,7 +225,7 @@ details > summary justify-content: center .card flex: 0 0 calc(100% * 3 / 12) - background-color: #f0833c + background-color: var(--color-purple) margin: 1rem padding: 1rem border-radius: 4px @@ -247,7 +243,7 @@ details > summary &:hover box-shadow: none - color: $vert + color: var(--color-green) background-color: white blockquote @@ -258,9 +254,9 @@ blockquote font-style: italic color: #555555 padding: 1.5rem - border-left: 8px solid $vert + border-left: 8px solid var(--color-green) line-height: 1.4 - background: #EDEDED + background: var(--color-grey) position: relative @@ -275,7 +271,7 @@ blockquote &::before font-family: Arial content: "\201C" - color: $vert + color: var(--color-green) font-size: 10rem position: absolute left: 1rem diff --git a/assets/styles/posts.sass b/assets/styles/posts.sass index c55719a..845c1c8 100644 --- a/assets/styles/posts.sass +++ b/assets/styles/posts.sass @@ -12,7 +12,7 @@ $size-news: 100px .picture width: $size-news height: $size-news - background: $orange + background: var(--color-orange) flex-shrink: 0 @media screen and (max-width: $size-sm) margin-bottom: 1rem @@ -35,7 +35,7 @@ $size-news: 100px width: 100% .details padding: 20px - background: $grey + background: var(--color-grey) height: $size-la-une overflow: hidden text-overflow: ellipsis diff --git a/config/_default/config.yml b/config/_default/config.yml index 1cc766a..3cf52e2 100644 --- a/config/_default/config.yml +++ b/config/_default/config.yml @@ -44,6 +44,10 @@ markup: attribute: block: true title: true + tableOfContents: + endLevel: 3 + ordered: false + startLevel: 2 disableHugoGeneratorInject: true diff --git a/content/viemunicipale/lemotdumaire/anthony-choren-lYzap0eubDY-unsplash.jpg b/content/viemunicipale/lemotdumaire/anthony-choren-lYzap0eubDY-unsplash.jpg deleted file mode 100644 index 7f13bb6..0000000 Binary files a/content/viemunicipale/lemotdumaire/anthony-choren-lYzap0eubDY-unsplash.jpg and /dev/null differ diff --git a/content/viemunicipale/lemotdumaire/index.md b/content/viemunicipale/lemotdumaire/index.md deleted file mode 100644 index 82d6c99..0000000 --- a/content/viemunicipale/lemotdumaire/index.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: Le mot du **maire** -description: Retrouvez le mot du Maire après son élection -image: anthony-choren-lYzap0eubDY-unsplash.jpg -image_credit: Photo de Anthony Choren sur Unsplash -menu: - main: - name: Le mot du maire - weight: 4 - parent: viemunicipale ---- - -{{< maire >}} - -**Nous voilà maintenant en début de mandat 2020, une année spéciale avec cette crise sanitaire.** - -2020 n’aura pas été facile pour tous, et une première pensée va à ceux qui ont été malheureusement touchés de plein fouet par ce COVID 19. - -Pour notre commune, dans la conjoncture actuelle que nous connaissons tous, il nous semble important que la municipalité reste bien assurée. Nous allons poursuivre les dossiers en cours : travaux de l’école, la voirie... Rénover la mairie afin de faciliter son accès aux personnes à mobilité réduite et d’améliorer sa performance énergétique. D’autres projets seront étudiés en fonction des besoins qui se manifesteront. Tous les aspects animations, culture et patrimoine qui font la richesse et la vie de notre commune seront soutenus avec conviction. - -Je souhaite remercier toutes les personnes qui ont continué de se mobiliser pour notre village de Crémeaux malgré la pandémie (commerçants, artisans et entreprises, associations, agriculteurs, enseignants, soignants...) et en particuliers les adjoints, conseillers et agents communaux. - -**Didier PONCET** - diff --git a/content/viemunicipale/lemotdumaire/maire.jpg b/content/viemunicipale/lemotdumaire/maire.jpg deleted file mode 100644 index d3d4607..0000000 Binary files a/content/viemunicipale/lemotdumaire/maire.jpg and /dev/null differ diff --git a/static/docs/bulletins_municipaux/2023-Bulletin_municipal.pdf b/static/docs/bulletins_municipaux/2023-Bulletin_municipal.pdf new file mode 100644 index 0000000..9100378 Binary files /dev/null and b/static/docs/bulletins_municipaux/2023-Bulletin_municipal.pdf differ diff --git a/static/docs/conseils_municipaux/2023/2023_01_12-Conseil_Municipal.pdf b/static/docs/conseils_municipaux/2023/2023_01_12-Conseil_Municipal.pdf new file mode 100644 index 0000000..4c6fbb4 Binary files /dev/null and b/static/docs/conseils_municipaux/2023/2023_01_12-Conseil_Municipal.pdf differ diff --git a/static/docs/conseils_municipaux/2023/2023_02_09-Conseil_Municipal.pdf b/static/docs/conseils_municipaux/2023/2023_02_09-Conseil_Municipal.pdf new file mode 100644 index 0000000..bd327ae Binary files /dev/null and b/static/docs/conseils_municipaux/2023/2023_02_09-Conseil_Municipal.pdf differ diff --git a/static/icons/associations.svg b/static/icons/associations.svg index 77b7bd8..4380ce0 100644 --- a/static/icons/associations.svg +++ b/static/icons/associations.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/static/icons/cadredevie.svg b/static/icons/cadredevie.svg index 44d725f..b11dc2c 100644 --- a/static/icons/cadredevie.svg +++ b/static/icons/cadredevie.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/static/icons/economie.svg b/static/icons/economie.svg index 22b2fc8..13c5e15 100644 --- a/static/icons/economie.svg +++ b/static/icons/economie.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/static/icons/viemunicipale.svg b/static/icons/viemunicipale.svg index f583ae2..e9256a6 100644 --- a/static/icons/viemunicipale.svg +++ b/static/icons/viemunicipale.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file