From bee9aa4796d05085755c2b996437bde016eee8bb Mon Sep 17 00:00:00 2001 From: creme Date: Sun, 1 Mar 2020 13:42:12 +0000 Subject: [PATCH] add css class center for error pages --- css/css_style.css | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/css/css_style.css b/css/css_style.css index 8df93ff..7bc11e3 100644 --- a/css/css_style.css +++ b/css/css_style.css @@ -126,8 +126,8 @@ tr, th, td { background: #e5e5e5; } -.tw20 { width: 20px; } -.tw25 { width: 25px; } +.tw20 { width: 20px; } +.tw25 { width: 25px; } .tw110 { width: 110px; } .tw130 { width: 130px; } .tw140 { width: 140px; } @@ -159,10 +159,12 @@ input[type=button], input[type=submit], input[type=text] { text-decoration: none; padding: 0.3em 1em 0.3em 1em; } + input[type=button]:hover, input[type=submit]:hover { background-color: #211921; color: #ddd; } + input[type=file] { color: #333; background-color: #f5f5f5; @@ -182,13 +184,13 @@ button:hover { } -.clean { margin: 0; padding: 0; } +.clean { margin: 0; padding: 0; } -.clear { clear:both; } +.clear { clear:both; } -.mark { color: #10A0A0; } +.mark { color: #10A0A0; } -.alert { +.alert { color: #333; background: #e5e5e5; margin: 0 0 1.5em 0; @@ -201,6 +203,13 @@ button:hover { padding: 0.8em 0 0.8em 4em; } +.center { + position: absolute; + top: 50%; + left: 50%; + transform: translateX(-50%) translateY(-50%); +} + .button_back { float: left; margin-top: 1em;