From 5aee161e2ec76f4b624fc693d085101b8d011183 Mon Sep 17 00:00:00 2001 From: Sean Clarke Date: Wed, 8 Jan 2020 10:50:36 -0500 Subject: [PATCH] changed the .title design on index --- public/stylesheets/main.css | 12 ++++++++++++ views/index.pug | 12 ++++++------ 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/public/stylesheets/main.css b/public/stylesheets/main.css index 031ed1b..da5b439 100644 --- a/public/stylesheets/main.css +++ b/public/stylesheets/main.css @@ -36,3 +36,15 @@ a { margin: 0px; display: inline; } + +.title h1 { + text-align: left; + padding-left: 16px; + padding-right: 16px; + margin-bottom: 0px; +} + +.title h3 { + margin-top: 8px; + margin-left: 36px; +} diff --git a/views/index.pug b/views/index.pug index f7df5a5..0a32e35 100644 --- a/views/index.pug +++ b/views/index.pug @@ -1,12 +1,12 @@ extends layout block content - h1(id='title')= title - - h2= "Sites Visited: " - a(href="/visits") #{visits.length} - | / - a(href="/sites") #{totalSites} + div(class='title') + h1= title + h3= "Sites Visited: " + a(href="/visits") #{visits.length} + | / + a(href="/sites") #{totalSites} - var sitesVisited = [];