From 3d682ea13ab9d83f453fa85ea88fc28163c6b259 Mon Sep 17 00:00:00 2001 From: Mark Powers Date: Mon, 18 Mar 2019 21:45:03 -0400 Subject: Fix form styles --- src/css/styles.css | 38 ++++++++++++++++++++++++++++++++++++++ src/html/admin.html | 4 ++-- src/html/login.html | 2 +- 3 files changed, 41 insertions(+), 3 deletions(-) diff --git a/src/css/styles.css b/src/css/styles.css index e3694a8..f9e86ef 100644 --- a/src/css/styles.css +++ b/src/css/styles.css @@ -100,6 +100,15 @@ p { .card img { width: 400px; } + form input[type=text], input[type=password] { + max-width: 600px; + } + form textarea { + max-width: 600px; + } + form input[type=submit] { + margin-left: 0px; + } } .titlebar { @@ -158,4 +167,33 @@ p { .url-table, .ip-table { width: 30%; +} + +form { + width: 85%; +} + +input[type=text], input[type=password] { + height:1.5em; + width: 100%; + display: block; + margin-top: 5px; +} + +input[type=submit] { + height:2em; + width: 50%; + margin-top: 5px; + margin-left: 25%; +} + +td { + padding-right: 10px; +} + +textarea { + border-radius: 4px; + border: 2px solid var(--background-accent); + width: 100%; + height: 10em; } \ No newline at end of file diff --git a/src/html/admin.html b/src/html/admin.html index b2b1f64..1087b51 100644 --- a/src/html/admin.html +++ b/src/html/admin.html @@ -33,7 +33,7 @@
- +
Tags: @@ -84,7 +84,7 @@ - + diff --git a/src/html/login.html b/src/html/login.html index 58ca2ae..2afe7d3 100644 --- a/src/html/login.html +++ b/src/html/login.html @@ -15,7 +15,7 @@ - + -- cgit v1.2.3
DateSessionMethodPath
{{item.createdAt}}{{item.createdAt.substring(0,19)}} {{item.session.substring(0,10)}}... {{item.method}} {{item.url.substring(0, Math.min(30, item.url.length))}}