Merge pull request #198 from mcguirepr89/nitpicky

Nitpicky
This commit is contained in:
Patrick McGuire
2022-04-17 11:34:04 -04:00
committed by GitHub
2 changed files with 9 additions and 3 deletions
+8 -2
View File
@@ -15,6 +15,7 @@ a:hover {
h3 { h3 {
text-align: center; text-align: center;
margin-bottom: 12px;
} }
iframe { iframe {
@@ -71,7 +72,6 @@ button {
} }
button:hover { button:hover {
font-weight: bold;
color: blue; color: blue;
} }
@@ -131,6 +131,7 @@ button:hover {
justify-content: space-between; justify-content: space-between;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
margin-bottom: 15px;
} }
.topnav form { .topnav form {
@@ -143,7 +144,8 @@ button:hover {
text-align: center; text-align: center;
padding: 14px 16px; padding: 14px 16px;
width: auto; width: auto;
height: auto; height: 100%;
vertical-align: middle;
} }
.topnav button:hover { .topnav button:hover {
@@ -188,6 +190,9 @@ button:hover {
margin-left: auto; margin-left: auto;
} }
.overview .chart {
margin-top: 10px;
}
.overview-stats { .overview-stats {
display: flex; display: flex;
justify-content: center; justify-content: center;
@@ -363,6 +368,7 @@ button:hover {
.overview .right-column .chart img { .overview .right-column .chart img {
margin-left: 5%; margin-left: 5%;
margin-right: auto; margin-right: auto;
margin-top: 10px;
} }
} }
@media screen and (max-width: 1000px) { @media screen and (max-width: 1000px) {
+1 -1
View File
@@ -103,7 +103,7 @@ if(isset($_GET['ajax_detections']) && $_GET['ajax_detections'] == "true" && isse
<button type="submit" name="species" value="<?php echo $mostrecent['Com_Name'];?>"><?php echo $mostrecent['Com_Name'];?>: </button> <button type="submit" name="species" value="<?php echo $mostrecent['Com_Name'];?>"><?php echo $mostrecent['Com_Name'];?>: </button>
<a href="https://wikipedia.org/wiki/<?php echo $sciname;?>" target="_blank"/><i><?php echo $mostrecent['Sci_Name'];?></i></a> <a href="https://wikipedia.org/wiki/<?php echo $sciname;?>" target="_blank"/><i><?php echo $mostrecent['Sci_Name'];?></i></a>
<br>Confidence: <?php echo $mostrecent['Confidence'];?><br> <br>Confidence: <?php echo $mostrecent['Confidence'];?><br>
<video onplay='setLiveStreamVolume(0)' onended='setLiveStreamVolume(1)' onpause='setLiveStreamVolume(1)' controls poster="<?php echo $filename.".png";?>" preload="none" title="<?php echo $filename;?>"><source src="<?php echo $filename;?>"></video></td> <video style="margin-top: 10px;" onplay='setLiveStreamVolume(0)' onended='setLiveStreamVolume(1)' onpause='setLiveStreamVolume(1)' controls poster="<?php echo $filename.".png";?>" preload="none" title="<?php echo $filename;?>"><source src="<?php echo $filename;?>"></video></td>
</form> </form>
</tr> </tr>
</table> <?php </table> <?php