From 9367c2cacfd0bb527ade949ca702add0cbbcb18d Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sat, 14 May 2022 18:35:07 +0100 Subject: [PATCH] Add blog embed to homepage (#249) --- _includes/header.html | 2 +- _sass/_blog.scss | 11 +++++++++++ assets/css/main.scss | 1 + index.html | 12 ++++++++++++ 4 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 _sass/_blog.scss diff --git a/_includes/header.html b/_includes/header.html index a035fc1..3b38b07 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -25,7 +25,7 @@ Gallery Download ContentDB - News + Blog Get Involved Education diff --git a/_sass/_blog.scss b/_sass/_blog.scss new file mode 100644 index 0000000..98ac9d5 --- /dev/null +++ b/_sass/_blog.scss @@ -0,0 +1,11 @@ +.blog-embed { + // position: relative; + text-align: center; + + iframe { + width: 100%; + height: 230px; + max-width: 960px; + margin: none auto; + } +} diff --git a/assets/css/main.scss b/assets/css/main.scss index 1b5cf20..8e00039 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -11,3 +11,4 @@ @import "home"; @import "content"; @import "footer"; +@import "blog"; diff --git a/index.html b/index.html index 54124ea..7b65154 100644 --- a/index.html +++ b/index.html @@ -58,6 +58,18 @@ redirect_from: +
+ +
+