From 219a37100266a011acaaed864802a516661521d5 Mon Sep 17 00:00:00 2001 From: Jamie Thompson Date: Tue, 22 Aug 2023 16:32:52 +0200 Subject: [PATCH] add new row for scala center activities --- _layouts/frontpage.html | 17 +++++++++++++++-- resources/css/main.scss | 26 ++++++++++++++++++++++---- 2 files changed, 37 insertions(+), 6 deletions(-) diff --git a/_layouts/frontpage.html b/_layouts/frontpage.html index cfe9a34..794051e 100644 --- a/_layouts/frontpage.html +++ b/_layouts/frontpage.html @@ -34,7 +34,7 @@ -
+
ScalaCenter. For Open Source. For Education @@ -47,7 +47,7 @@
An independent not-for-profit center established at EPFL.
- Focused on: + Focused on
@@ -57,6 +57,19 @@ Education
+
+
+
+ Activities +
+
+
+
diff --git a/resources/css/main.scss b/resources/css/main.scss index 8a22b64..0da0673 100644 --- a/resources/css/main.scss +++ b/resources/css/main.scss @@ -57,6 +57,18 @@ $fa-font-path: "./../../bower_components/font-awesome/fonts"; overflow-x: hidden; } +.main-logo-wrap { + margin-top: 135px; + + @media (max-width: 991px) { + margin-top: 42px; + } + + @media (max-width: 767px) { + margin-top: 154px; + } +} + /* HEADER */ .header-logo { .swirl { @@ -121,9 +133,6 @@ $fa-font-path: "./../../bower_components/font-awesome/fonts"; .popover .arrow { left: 50% !important; } - body.home .splash { - height: 815px !important; - } } /* HOME */ @@ -180,7 +189,13 @@ body.home { } .splash { - height: 650px; + height: 720px; + @media (max-width: 768px) { + height: 770px; + } + @media (max-width: 520px) { + height: 900px; + } background-color: #15414c; position: relative; font-family: "Lato", sans-serif; @@ -255,6 +270,9 @@ body.home { line-height: 1.42; margin-bottom: 40px; font-weight: 400; + &.short { + height: 14px; + } b { margin-top: 15px; display: block;