add css class center for error pages

This commit is contained in:
creme 2020-03-01 13:42:12 +00:00
parent d3af5d44e3
commit bee9aa4796
1 changed files with 15 additions and 6 deletions

View File

@ -126,8 +126,8 @@ tr, th, td {
background: #e5e5e5; background: #e5e5e5;
} }
.tw20 { width: 20px; } .tw20 { width: 20px; }
.tw25 { width: 25px; } .tw25 { width: 25px; }
.tw110 { width: 110px; } .tw110 { width: 110px; }
.tw130 { width: 130px; } .tw130 { width: 130px; }
.tw140 { width: 140px; } .tw140 { width: 140px; }
@ -159,10 +159,12 @@ input[type=button], input[type=submit], input[type=text] {
text-decoration: none; text-decoration: none;
padding: 0.3em 1em 0.3em 1em; padding: 0.3em 1em 0.3em 1em;
} }
input[type=button]:hover, input[type=submit]:hover { input[type=button]:hover, input[type=submit]:hover {
background-color: #211921; background-color: #211921;
color: #ddd; color: #ddd;
} }
input[type=file] { input[type=file] {
color: #333; color: #333;
background-color: #f5f5f5; 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; color: #333;
background: #e5e5e5; background: #e5e5e5;
margin: 0 0 1.5em 0; margin: 0 0 1.5em 0;
@ -201,6 +203,13 @@ button:hover {
padding: 0.8em 0 0.8em 4em; padding: 0.8em 0 0.8em 4em;
} }
.center {
position: absolute;
top: 50%;
left: 50%;
transform: translateX(-50%) translateY(-50%);
}
.button_back { .button_back {
float: left; float: left;
margin-top: 1em; margin-top: 1em;