From 400d17e61314e09efc89fbfb770b045550cf6e09 Mon Sep 17 00:00:00 2001 From: James Taylor Date: Sat, 24 Aug 2019 11:35:58 -0700 Subject: Layout: simplify CSS layout on most pages --- youtube/templates/login.html | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'youtube/templates/login.html') diff --git a/youtube/templates/login.html b/youtube/templates/login.html index 0f09a62..156bc01 100644 --- a/youtube/templates/login.html +++ b/youtube/templates/login.html @@ -2,16 +2,12 @@ {% extends "base.html" %} {% block style %} - main{ - display: grid; - grid-template-columns: minmax(0px, 3fr) 640px 40px 500px minmax(0px,2fr); - align-content: start; - grid-row-gap: 40px; + main > * { + width: 640px; + margin: auto; } - main form{ margin-top:20px; - grid-column:2; display:grid; justify-items: start; align-content: start; @@ -26,10 +22,9 @@ margin-top:20px; } #tor-note{ - grid-row:2; - grid-column:2; background-color: #dddddd; padding: 10px; + margin-top: 40px; } {% endblock style %} -- cgit v1.2.3