feat: change main title
parent
adda9a7834
commit
ee37fc6f06
|
@ -6,7 +6,8 @@ eleventyNavigation:
|
||||||
---
|
---
|
||||||
{% set maxPosts = collections.posts.length | min(5) %}
|
{% set maxPosts = collections.posts.length | min(5) %}
|
||||||
{#<h1>{% if maxPosts == 1 %}Article{% else %}Derniers articles{% endif %}</h1>#}
|
{#<h1>{% if maxPosts == 1 %}Article{% else %}Derniers articles{% endif %}</h1>#}
|
||||||
<h1>Blog IT's on us</h1>
|
<h1>Blog numérique responsable</h1>
|
||||||
|
<p class="sub-title">par le collectif IT's on us</p>
|
||||||
{% set postslist = collections.posts | head(-5) %}
|
{% set postslist = collections.posts | head(-5) %}
|
||||||
{% set postslistCounter = collections.posts | length %}
|
{% set postslistCounter = collections.posts | length %}
|
||||||
{% include "postslist.njk" %}
|
{% include "postslist.njk" %}
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
--background-color: #fff;
|
--background-color: #fff;
|
||||||
|
|
||||||
--text-color: rgba(0,0,10,.8);
|
--text-color: rgba(0,0,10,.8);
|
||||||
|
--text-color-sub: rgba(0,0,10,.55);;
|
||||||
--text-color-secondary: var(--color-green-1);
|
--text-color-secondary: var(--color-green-1);
|
||||||
--text-color-tertiary: var(--color-green-2);
|
--text-color-tertiary: var(--color-green-2);
|
||||||
--text-color-link: var(--color-green-1);
|
--text-color-link: var(--color-green-1);
|
||||||
|
@ -143,7 +144,12 @@ main {
|
||||||
padding: 8rem 1rem 4rem 1rem;
|
padding: 8rem 1rem 4rem 1rem;
|
||||||
}
|
}
|
||||||
main :first-child {
|
main :first-child {
|
||||||
margin-top: 0;
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sub-title {
|
||||||
|
margin: 0.5rem 0 5rem;
|
||||||
|
color: var(--text-color-sub);
|
||||||
}
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
|
@ -182,7 +188,7 @@ figure img {
|
||||||
figure figcaption {
|
figure figcaption {
|
||||||
margin-top: 6px;
|
margin-top: 6px;
|
||||||
font-size: 0.8125em; /* 13px /16 */
|
font-size: 0.8125em; /* 13px /16 */
|
||||||
color: rgba(0,0,10,.55);
|
color: var(--text-color-sub);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Header */
|
/* Header */
|
||||||
|
@ -267,7 +273,7 @@ figure figcaption {
|
||||||
.post-metadata time {
|
.post-metadata time {
|
||||||
margin-right: 1em;
|
margin-right: 1em;
|
||||||
font-size: 0.8125em; /* 13px /16 */
|
font-size: 0.8125em; /* 13px /16 */
|
||||||
color: rgba(0,0,10,.55);
|
color: var(--text-color-sub);
|
||||||
}
|
}
|
||||||
.post-metadata li:first-child {
|
.post-metadata li:first-child {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
|
|
Loading…
Reference in New Issue