From 21aa2af4481d9c2ec50f087302b195c1e259f21c Mon Sep 17 00:00:00 2001 From: WasabiFan Date: Mon, 20 Mar 2017 09:45:09 -0700 Subject: [PATCH 1/2] Initial implementation of new hero image --- _includes/page-core/html-head.html | 2 ++ _layouts/page.html | 2 +- images/hero-ev3-image.png | Bin 0 -> 1064061 bytes index.md | 3 ++- stylesheets/landing-content.scss | 4 ++++ 5 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 images/hero-ev3-image.png diff --git a/_includes/page-core/html-head.html b/_includes/page-core/html-head.html index 3266d748c..16c3dd75f 100644 --- a/_includes/page-core/html-head.html +++ b/_includes/page-core/html-head.html @@ -18,7 +18,9 @@ + {% if page.url == "/" %} + {% endif %} +jumbotron-id: landing-jumbotron jumbotron-heading: | ev3dev is your EV3 re-imagined jumbotron-content: | @@ -45,7 +46,7 @@ jumbotron-content: |

- ev3dev boot logo + ev3dev on an ev3
excerpt: "ev3dev is a Debian Linux-based operating system that runs on several LEGO MINDSTORMS compatible platforms including the LEGO MINDSTORMS EV3 and Raspberry Pi-powered BrickPi." --- diff --git a/stylesheets/landing-content.scss b/stylesheets/landing-content.scss index 2abe18327..4b5234c05 100644 --- a/stylesheets/landing-content.scss +++ b/stylesheets/landing-content.scss @@ -8,6 +8,10 @@ font-size: 54px; } +#landing-jumbotron { + padding-bottom: 0; +} + // Featurette flow margin .featurette-divider { margin: 80px 0; From 77c85d30319a6920ee8b80cada804c02ecd60f34 Mon Sep 17 00:00:00 2001 From: WasabiFan Date: Mon, 20 Mar 2017 11:04:12 -0700 Subject: [PATCH 2/2] Improve hero image alignment --- index.md | 2 +- stylesheets/landing-content.scss | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/index.md b/index.md index 9c915af54..5fb39d2c9 100644 --- a/index.md +++ b/index.md @@ -46,7 +46,7 @@ jumbotron-content: |

- ev3dev on an ev3 + ev3dev on an ev3
excerpt: "ev3dev is a Debian Linux-based operating system that runs on several LEGO MINDSTORMS compatible platforms including the LEGO MINDSTORMS EV3 and Raspberry Pi-powered BrickPi." --- diff --git a/stylesheets/landing-content.scss b/stylesheets/landing-content.scss index 4b5234c05..47203d732 100644 --- a/stylesheets/landing-content.scss +++ b/stylesheets/landing-content.scss @@ -12,6 +12,11 @@ padding-bottom: 0; } +#ev3-hero-image { + margin-left: auto; + margin-right: auto; +} + // Featurette flow margin .featurette-divider { margin: 80px 0; @@ -53,8 +58,8 @@ .featurette { text-align: center; } - - #splash-thumbnail { - display: none; + + #ev3-hero-image { + width: 50%; } }