From dae4c3294b3beba9ba46fed3e2f1778d768b721c Mon Sep 17 00:00:00 2001 From: Sarah Conway Date: Tue, 18 Sep 2018 16:03:06 -0700 Subject: [PATCH] update fonts and headers --- static/css/style.css | 57 +++++++-------------------------------- templates/base.html | 29 +++++++++----------- templates/index_base.html | 1 - 3 files changed, 23 insertions(+), 64 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index ce18f6a..864b906 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -1,62 +1,24 @@ +@import url('https://fonts.googleapis.com/css?family=Open+Sans|Source+Sans+Pro'); + body { font-weight: 400; line-height: 1.65em; - font-family: 'Verdana', sans-serif; -} - -header img { - width: 120px; - height: 120px; -} - -header { - display: flex; - justify-content: space-between; - align-items: center; /*vertical centering*/ - padding: 10px 40px; - background: linear-gradient(to bottom, #ccc, white); -} - -header ul { - display: flex; - margin: 0; /*taking the margin and padding ul default size off*/ - padding: 0; - list-style-type: none; + font-family: 'Open Sans', sans-serif; } -header li { - padding: 2.5em; -} - -header li a { - color: #333; - text-decoration: none; -} - -main { - padding: 2em; - line-height: 1.1; - display: flex; - justify-content: space-between; - align-items: stretch; /*vertical centering*/ - flex-grow: 1; -} - -main section { - flex-grow: 1; - flex-basis: 33%; - padding: 20px; - border-right: solid 1px #b9b9b9; - text-align: justify; +h1, h2, h3, h4 { + font-family: 'Source Sans Pro', sans-serif; } h2 { - font-size: 1em; + font-size: 2rem; + font-weight: 600; text-align: center; } h3 { - font-size: 0.8em; + font-size: 1.5rem; + font-weight: 600; text-align: center; } @@ -264,6 +226,7 @@ ul.icons li .icon:before { margin: 0; display: inline-block; font-size: 1.25em; + font-weight: 600; } /* MEDIA QUERIES */ diff --git a/templates/base.html b/templates/base.html index 0407e4f..ba55120 100644 --- a/templates/base.html +++ b/templates/base.html @@ -13,7 +13,6 @@ {%block title%}PgDU 2018{%endblock%} - @@ -57,21 +56,19 @@ - + diff --git a/templates/index_base.html b/templates/index_base.html index 7878506..e6c9936 100644 --- a/templates/index_base.html +++ b/templates/index_base.html @@ -13,7 +13,6 @@ {%block title%}PgDU 2018{%endblock%} - -- 2.39.5