From 609d876465c9b0b732744f40a6251cd10edc0ec6 Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Thu, 22 Sep 2022 19:12:54 +0000 Subject: [PATCH] A bit better desktop styling. Extract logo styles to css. Submit -> Generate PDF Also fix some funky example text. --- flaskr/static/styles.css | 25 ++++++++++++++++++++++--- flaskr/templates/writing.html | 4 ++-- writing.py | 4 ++-- 3 files changed, 26 insertions(+), 7 deletions(-) diff --git a/flaskr/static/styles.css b/flaskr/static/styles.css index 18b0976..e385a75 100644 --- a/flaskr/static/styles.css +++ b/flaskr/static/styles.css @@ -2,6 +2,25 @@ html { height: 100%; } +span.logo { + margin: 0; + padding: 0.2em; +} + +span.logo:hover { + font-size: 800%; +} + +span.logo.left { + color: black; + background-color: white; +} + +span.logo.right { + color: white; + background-color: black; +} + body { background-color: #f0f0f0; line-height: 200%; @@ -65,7 +84,7 @@ input, textarea { } textarea { width: 80vw; - font-size: 200%; + font-size: 120%; } .bigtext { min-height: 40vh; @@ -86,10 +105,10 @@ input, textarea { font-size: 105%; } dd { - margin-left: 0; + margin-left: 0.5em; } dt { - margin-left: 0.5em; + margin-top: 0.5em; } dl { margin-top: 0; diff --git a/flaskr/templates/writing.html b/flaskr/templates/writing.html index a0029bc..7b6db52 100644 --- a/flaskr/templates/writing.html +++ b/flaskr/templates/writing.html @@ -25,7 +25,7 @@ -

UnderCover

+

The secret cover letter generator

{% from "_formhelpers.html" import render_field %} @@ -52,7 +52,7 @@

{% endif %} -