From 280d26801e6459363f800aec33f568c5af2e2a4d Mon Sep 17 00:00:00 2001 From: Francesco Siddi Date: Mon, 16 Apr 2018 20:36:23 +0200 Subject: [PATCH] Reduce scope of h2 styling --- src/styles/project-landing.sass | 8 ++++---- src/templates/projects/landing.pug | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/styles/project-landing.sass b/src/styles/project-landing.sass index f2fe90e..84e46cf 100644 --- a/src/styles/project-landing.sass +++ b/src/styles/project-landing.sass @@ -88,10 +88,10 @@ header &:hover background: lighten(#ff4970, 5%) - -h2 - text-align: center - margin-bottom: 40px +.landing + h2 + text-align: center + margin-bottom: 40px section max-width: 1024px diff --git a/src/templates/projects/landing.pug b/src/templates/projects/landing.pug index 12e538b..685ba71 100644 --- a/src/templates/projects/landing.pug +++ b/src/templates/projects/landing.pug @@ -92,7 +92,7 @@ header | {{ projectmacros.render_secondary_navigation(project, pages=pages) }} | {% endblock navbar_secondary %} -#container +#container.landing section.node-details-container.project .node-details-title h1 {{ project.name }}