BirdNET-stream/www/assets/styles/app.css

150 lines
2.0 KiB
CSS

* {
box-sizing: border-box;
}
.container {
display: flex;
flex-direction: column;
position: relative;
}
.column {
flex-direction: column;
}
.row {
flex-direction: row;
}
.behind {
position: relative;
z-index: -1;
}
.above {
position: relative;
z-index: 1;
}
body {
background-color: lightgray;
margin: 0;
padding: 0;
z-index: -10;
}
header {
padding: 1em;
display: flex;
flex-direction: row;
/** Align text and center of image */
justify-content: center;
align-items: baseline;
}
header img.logo {
width: 100px;
height: 100px;
}
main {
min-height: 100vh;
padding: 5em;
z-index: 0;
}
footer {
color: white;
background-color: black;
padding: 2em;
text-align: center;
}
footer a {
color: white;
text-decoration: none;
}
footer a:hover {
font-style: italic;
}
/* .dropdown-button:hover {
background-color: #900;
color: white
}
.dropdown:hover .dropdown-content {
display: block;
}
*/
.dropdown-content {
display: none;
position: absolute;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
z-index: 1;
}
canvas {
display: block;
height: 100%;
width: 100%;
}
.scientific-name {
font-style: italic;
}
.dataviz img {
max-width: 100%;
width: 100%;
}
#statuses {
display: flex;
flex-direction: column;
}
#statuses li {
list-style: none;
display: flex;
flex-direction: row;
justify-content: space-between;
}
.status .bullet {
border-radius: 50%;
background-color: #999;
width: 1em;
height: 1em;
display: inline-block;
position: relative;
top: 0.15em;
margin-right: 0.5em;
margin-left: 0.5em;
}
.status.active .bullet {
background-color: #090;
}
.status.inactive .bullet {
background-color: #900;
}
@media screen and (max-width: 700px) {
main {
padding: 1em;
}
}
.overlay {
z-index: 10;
opacity: 100%;
background-color: rgba(255, 255, 255, 1);
position: relative;
}