From cdb5289154f9fb65153702b5ce4d42eb614b285b Mon Sep 17 00:00:00 2001 From: Anatolii Kmetiuk Date: Fri, 1 Sep 2023 00:31:54 +0200 Subject: [PATCH] Add impact & years --- _includes/project-block.html | 8 ++++++++ resources/css/main.scss | 12 +++++++++--- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/_includes/project-block.html b/_includes/project-block.html index 1526e0a..93a27a8 100644 --- a/_includes/project-block.html +++ b/_includes/project-block.html @@ -45,6 +45,14 @@

{{ project.name }}

{% else %} {% endif %} +
+ {% if project.impact %} +

Impact: {{ project.impact }}

+ {% endif %} + {% if project.start_year && project.end_year %} +

{{ project.start_year }} - {{ project.end_year }}

+ {% endif %} +
diff --git a/resources/css/main.scss b/resources/css/main.scss index bff7edb..0211647 100644 --- a/resources/css/main.scss +++ b/resources/css/main.scss @@ -1524,8 +1524,8 @@ ul.nav { height: 50px; position: absolute; - bottom: 25px; - left: 25px; + bottom: 0px; + right: 0px; } .project .status.active { @@ -1551,7 +1551,7 @@ ul.nav { // Align to the bottom-right position: absolute; bottom: 25px; - right: 45px; + left: 25px; } .contributors li { @@ -1576,3 +1576,9 @@ ul.nav { color: #999; } } + +.project-meta { + margin-top: 20px; + font-size: 14px; + color: #999; +}