From 5a138a407cb72df2c5d9983a613dc8d70078e6e4 Mon Sep 17 00:00:00 2001 From: Billy Brawner Date: Tue, 29 Mar 2016 19:44:02 -0700 Subject: [PATCH] Added a privacy policy to comply with use of Google Analytics --- flask_site.py | 4 ++++ static/css/style.css | 37 ++++------------------------------- templates/master.html | 5 +++-- templates/privacy-policy.html | 12 ++++++++++++ 4 files changed, 23 insertions(+), 35 deletions(-) create mode 100644 templates/privacy-policy.html diff --git a/flask_site.py b/flask_site.py index 85dbdef..259ac7d 100644 --- a/flask_site.py +++ b/flask_site.py @@ -49,6 +49,10 @@ def home(): def bio(): return render_template('bio.html') +@app.route('/privacy-policy') +def privacy_policy(): + return render_template('privacy-policy.html') + @app.route('/blog') def blog(): g.db.execute('SELECT * FROM blog_posts ORDER BY id DESC') diff --git a/static/css/style.css b/static/css/style.css index 8781e04..8781b5a 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -411,14 +411,8 @@ div#instafeed { margin-right: 20px; } -#contact p { - width: 50%; - display: inline-block; -} - -p.contact-btns { - float: right; - text-align: right; +#contact { + text-align: center; } a#menu-icon { @@ -449,22 +443,6 @@ a.social-link:hover, a.social-link:active { border-bottom: 1px solid rgba(255, 255, 255, 1); } -.entry-footer { - border-radius: 50px; -} - -.entry-footer span { - margin: auto 5px; -} - -.entry-footer a:link, .entry-footer a:visited { - color: #5C995C; -} - -.entry-footer a:hover, .entry-footer a:active { - color: #fff; -} - /* Admin Styles */ .admin-table { width: 100%; @@ -584,8 +562,8 @@ a.social-link:hover, a.social-link:active { @media all and (max-width: 870px) { .one-third { - width: 45%; - margin: 5px 2.5% 40px; + width: 90%; + margin: 5px 5% 40px; } } @@ -595,13 +573,6 @@ a.social-link:hover, a.social-link:active { } } -@media all and (max-width: 700px) { - .one-third { - width: 90%; - margin: 5px 5% 40px; - } -} - @media all and (max-width: 440px) { .blog-entry { padding: 0 5px; diff --git a/templates/master.html b/templates/master.html index 09f089f..d80408d 100644 --- a/templates/master.html +++ b/templates/master.html @@ -69,8 +69,9 @@