diff --git a/src/_pages/index.njk b/src/_pages/index.njk index 5149c68..533c007 100644 --- a/src/_pages/index.njk +++ b/src/_pages/index.njk @@ -6,7 +6,8 @@ eleventyNavigation: --- {% set maxPosts = collections.posts.length | min(5) %} {#

{% if maxPosts == 1 %}Article{% else %}Derniers articles{% endif %}

#} -

Blog IT's on us

+

Blog numérique responsable

+

par le collectif IT's on us

{% set postslist = collections.posts | head(-5) %} {% set postslistCounter = collections.posts | length %} {% include "postslist.njk" %} diff --git a/src/assets/css/index.scss b/src/assets/css/index.scss index d2171cc..136161b 100644 --- a/src/assets/css/index.scss +++ b/src/assets/css/index.scss @@ -17,6 +17,7 @@ --background-color: #fff; --text-color: rgba(0,0,10,.8); + --text-color-sub: rgba(0,0,10,.55);; --text-color-secondary: var(--color-green-1); --text-color-tertiary: var(--color-green-2); --text-color-link: var(--color-green-1); @@ -143,7 +144,12 @@ main { padding: 8rem 1rem 4rem 1rem; } main :first-child { - margin-top: 0; + margin: 0; +} + +.sub-title { + margin: 0.5rem 0 5rem; + color: var(--text-color-sub); } table { @@ -182,7 +188,7 @@ figure img { figure figcaption { margin-top: 6px; font-size: 0.8125em; /* 13px /16 */ - color: rgba(0,0,10,.55); + color: var(--text-color-sub); } /* Header */ @@ -267,7 +273,7 @@ figure figcaption { .post-metadata time { margin-right: 1em; font-size: 0.8125em; /* 13px /16 */ - color: rgba(0,0,10,.55); + color: var(--text-color-sub); } .post-metadata li:first-child { flex-grow: 1;