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

98 lines
1.4 KiB
CSS
Raw Normal View History

2022-08-13 07:46:56 +02:00
* {
box-sizing: border-box;
}
body {
background-color: lightgray;
margin: 0;
padding: 0;
}
header {
padding: 1em;
text-align: center;
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;
2022-08-13 07:46:56 +02:00
padding: 5em;
}
footer {
color: white;
background-color: black;
padding: 2em;
text-align: center;
}
footer a {
color: white;
text-decoration: none;
}
footer a:hover {
font-style: italic;
}
nav ul {
list-style-type: none;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
background-color: #333;
margin: auto;
min-width: 100vw;
2022-08-13 07:46:56 +02:00
}
nav ul li a,
.dropdown-button {
color: white;
2022-08-13 07:46:56 +02:00
text-decoration: none;
display: block;
padding: 1em 0.5em;
}
nav ul li a.active,
nav ul li a:hover {
background-color: #999;
color: #101010
}
.dropdown-button:hover {
background-color: #900;
color: white
2022-08-13 07:46:56 +02:00
}
.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;
}