From 8fb0989e0c61c19315de44351003169b5015c38a Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Tue, 19 Sep 2017 15:09:02 +0800 Subject: [PATCH] Simpler add style --- _data/content.yml | 5 ----- _includes/2017/code-sponsor.html | 8 -------- _sass/2017/components/main-heading.scss | 9 +++++++++ 3 files changed, 9 insertions(+), 13 deletions(-) diff --git a/_data/content.yml b/_data/content.yml index 848e643ce..e37bbcea3 100644 --- a/_data/content.yml +++ b/_data/content.yml @@ -38,8 +38,3 @@ not_found: title: Not found description: Sorry, we don't have a cheatsheet for this yet. Try searching! home: Back to home - -code_sponsor: - recommender_name: "@rstacruz" - recommender_url: "https://twitter.com/rstacruz" - recommender_suffix: "recommends:" diff --git a/_includes/2017/code-sponsor.html b/_includes/2017/code-sponsor.html index 0441b452c..176e90df0 100644 --- a/_includes/2017/code-sponsor.html +++ b/_includes/2017/code-sponsor.html @@ -1,11 +1,3 @@ diff --git a/_sass/2017/components/main-heading.scss b/_sass/2017/components/main-heading.scss index d0db88e43..1b46f2df4 100644 --- a/_sass/2017/components/main-heading.scss +++ b/_sass/2017/components/main-heading.scss @@ -40,4 +40,13 @@ & > .adbox > .ad.-carbon { margin-top: 16px; } + + & > .adbox > .ad.-codesponsor::before { + content: ''; + display: block; + margin: 8px auto 24px auto; + width: 64px; + height: 1px; + background: lighten($gray-text, 40%); + } }