From c7192d5188bf4b63d90eac830c6b0740d09a052a Mon Sep 17 00:00:00 2001 From: Benoit Donneaux Date: Fri, 15 Nov 2024 17:27:33 +0100 Subject: [PATCH] An other step closer to the mockup Signed-off-by: Benoit Donneaux --- src/_sass/_custom.scss | 32 +++++++++++++++++++------------- src/index.html | 12 ++++++++---- 2 files changed, 27 insertions(+), 17 deletions(-) diff --git a/src/_sass/_custom.scss b/src/_sass/_custom.scss index 80f60c1..d58b4f8 100644 --- a/src/_sass/_custom.scss +++ b/src/_sass/_custom.scss @@ -3,17 +3,16 @@ body { } .page__hero--overlay { - padding-left: 1em; - padding-right: 1em; + padding: 1em; } .page__hero--overlay .page__title { - color: #000; + color: #fff; text-shadow: unset; } .page__hero--overlay .page__lead { - color: #000; + color: #fff; text-shadow: unset; } @@ -55,6 +54,7 @@ body { .feature__item .archive__item-body { padding-left: 0.5em; padding-right: 0.5em; + padding-bottom: 0.5em; } .feature__item .archive__item-teaser img { @@ -86,12 +86,13 @@ body { .entries-grid { background-color: #eee; margin-bottom: auto; - padding-left: 2em; - padding-right: 2em; + padding-left: 1em; + padding-right: 1em; } .grid__item { background-color: #ccc; + padding: 0.5em; } .grid__item .archive__item-title { @@ -103,11 +104,6 @@ body { padding-right: 0.5em; } -.grid__item .archive__item-teaser { - max-height: 150px; - min-height: 150px; - } - .grid__item .grid__item-teaser img { width: initial; display: block; @@ -115,10 +111,20 @@ body { margin-right: auto; } +.entries-grid::after { + clear: both; + content: ""; + display: table; +} + #about { background-color: #fff; } -.page__footer { - background-color: #eeeeee; +.feature__item--center { + text-align: center; +} + +.page__footer { + background-color: #eee; } diff --git a/src/index.html b/src/index.html index 1efa28a..f1b774a 100644 --- a/src/index.html +++ b/src/index.html @@ -3,7 +3,7 @@ title: "Welcome The Least-Authority File Store" layout: splash author_profile: false header: - overlay_color: "#ccc" + overlay_color: "#101820" actions: - label: "Download" url: "https://tahoe-lafs.org/downloads" @@ -65,11 +65,11 @@ contribute_list:
  • Submit pull request with a valid issue number
  • ' blog: - - title: "News" - excerpt: "Find here under a list of the latest articles on the subjects that matter for us." + - title: "Latest News" + excerpt: "" about: - title: "About us" - excerpt: "Here comes something about us..." + excerpt: "" about_list: - title: "Volunteers" excerpt: "Tahoe-LAFS is an open-source project supported by donations and maintained by a group of hardy volunteers...
    " @@ -95,10 +95,12 @@ about_list: {% include feature_row id="documentation" type="center" %} {% include feature_row id="documentation_list" %} +
    {% include feature_row id="contribute" type="center" %} {% include feature_row id="contribute_list" %}
    +
    {% include feature_row id="blog" type="center" %}
    @@ -116,6 +118,8 @@ about_list:
    {% endfor %}
    + +
    {% include feature_row id="about" type="center" %} {% include feature_row id="about_list" %}