[upd] css ajust

This commit is contained in:
Knah Tsaeb 2015-06-01 12:04:36 +02:00
parent 6d5fb043ae
commit e9b2821682
2 changed files with 9 additions and 8 deletions

View File

@ -6,7 +6,6 @@ Fail2BanCount - by k6b (kyle@kylefberry.net)
body {
margin:0;
padding:10px;
font-size:80%;
font-family: sans-serif;
text-align: center;
@ -28,7 +27,7 @@ body {
width: 80%;
margin: auto;
display: block;
padding: 10px;
padding: 0.3em;
}
.table {
@ -42,24 +41,25 @@ body {
width: 100%
}
.row
.menu {
width:200px;
padding:1em;
width:50%;
padding:0.5em;
display: table-cell;
text-align: center;
font-weight: bold;
}
.cell {
width:150px;
width:10em;
padding:0.4em;
display: table-cell;
text-align: center;
}
.cell-header {
width:150px;
padding:1em;
padding:0.5em;
display: table-cell;
text-align: center;
text-decoration: underline;
@ -67,7 +67,7 @@ body {
}
h1, h2, h3 {
padding: 5px;
padding: 0.1em 0.1em 0.2em 0.1em;
}
a:link, a:visited, a:active {

View File

@ -110,6 +110,7 @@ switch ($page) {
default :
// Begin creating the first table of IPs that have been banned
// more than once.
echo "\t<h2>Recidivist</h2>\n";
echo "\t<div class='table'>\n";
echo "\t\t<div class='row'>\n";
echo "\t\t\t<div class='cell-header'>\n\t\t\t\tIP\n\t\t\t</div>\n";