centered overview on larger screens (@svarsten53)
This commit is contained in:
+4
-2
@@ -118,7 +118,7 @@ button:hover {
|
|||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.topnav, .topnav form {
|
.topnav {
|
||||||
background-color: rgb(159, 226, 155);
|
background-color: rgb(159, 226, 155);
|
||||||
display: block;
|
display: block;
|
||||||
width: 85%;
|
width: 85%;
|
||||||
@@ -127,6 +127,8 @@ button:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.topnav form {
|
.topnav form {
|
||||||
|
display: block;
|
||||||
|
width: 80%;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-rigth: auto;
|
margin-rigth: auto;
|
||||||
}
|
}
|
||||||
@@ -200,7 +202,7 @@ button:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.overview span img {
|
.overview span img {
|
||||||
margin-left: 15%;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -104,7 +104,7 @@ $totalspeciestally = $result6->fetchArray(SQLITE3_ASSOC);
|
|||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
if (file_exists('/home/pi/BirdSongs/Extracted/Charts/'.$chart)) {
|
if (file_exists('/home/pi/BirdSongs/Extracted/Charts/'.$chart)) {
|
||||||
echo "<img src=\"/Charts/$chart?nocache=time()\">";
|
echo "<img style=\"display:block;max-height:100%;margin-left:25%;margin-right:10%;\" src=\"/Charts/$chart?nocache=time()\">";
|
||||||
} else {
|
} else {
|
||||||
echo "<p>No Detections For Today</p>";
|
echo "<p>No Detections For Today</p>";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user