soundbirder/public/stylesheets/style.css

79 lines
915 B
CSS

* {
box-sizing: border-box;
}
body {
padding: 0;
margin: 0;
}
body>* {
padding: 1em;
}
.link {
position: relative;
display: inline-block;
padding: 5px 0;
text-decoration: none;
color: #fff;
}
.link:after {
content: '';
height: 1px;
display: block;
border-bottom: 2px dotted darkblue;
width: 0;
-webkit-transition: width 0.2s;
transition: width 0.2s;
}
.link:hover:after {
width: 100%;
}
.author a {
text-decoration: none;
cursor: pointer;
}
footer {
color: white;
background-color: black;
text-align: center;
width: 100vw;
padding: 2rem;
}
footer .link:after {
border-bottom: 2px dotted white;
}
main {
min-height: calc(100vh - 15em);
}
#map {
height: 50vh;
}
nav {}
nav li {
list-style: none;
}
nav ul {
display: flex;
flex-direction: row;
justify-content: space-evenly;
}
.none {
display: none;
}
.species span {
margin-left: 1em;
}