From 0b8acdedf397125cc4676d40d7689808a72f2bdb Mon Sep 17 00:00:00 2001
From: mcguirepr89
Date: Fri, 18 Feb 2022 10:31:59 -0500
Subject: [PATCH] better formatting
---
scripts/stats.php | 22 ++++++----------------
1 file changed, 6 insertions(+), 16 deletions(-)
diff --git a/scripts/stats.php b/scripts/stats.php
index 838696a..2680592 100644
--- a/scripts/stats.php
+++ b/scripts/stats.php
@@ -93,7 +93,7 @@ input[type=number] {
width: calc(50% - 70px);
}
.second {
- width: 50%;
+ width: calc(50% + 70px);
}
.
/* Clear floats after the columns */
@@ -111,11 +111,10 @@ a {
}
.block {
display: block;
- width:50%;
- margin-right:auto;
+ width:40%;
margin-left:auto;
border: none;
- padding: 10px 10px;
+ padding: 5px 5px;
font-size: medium;
cursor: pointer;
text-align: center;
@@ -133,27 +132,18 @@ img {
}
select option {
- text-align:center;
font-size:large;
}
select {
+ float:left;
display:block;
- width:80%;
margin-right:auto;
- margin-left:auto;
font-size:large;
- width: 60%;
-}
-
-form {
- margin-left:20px;
+ width: 50%;
}
@media screen and (max-width: 800px) {
- select {
- width:100%;
- }
h3 {
margin-bottom:0px;
text-align:center;
@@ -161,6 +151,7 @@ form {
form {
text-align:left;
margin-left:0px;
+ width:100%;
}
.column {
float: none;
@@ -230,7 +221,6 @@ while($rows=$stats ->fetch_assoc())
}
?>
-
Show Species Statistics