541 lines
7.9 KiB
CSS
541 lines
7.9 KiB
CSS
* {
|
|
align-self: baseline;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
background-color: white;
|
|
}
|
|
|
|
header {
|
|
text-align: right;
|
|
padding: 0;
|
|
}
|
|
|
|
header a {
|
|
text-decoration: none;
|
|
color: black;
|
|
}
|
|
|
|
nav,
|
|
nav .container {
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
header .container,
|
|
nav .container {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
header h1 {
|
|
font-size: 4em;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
img.banner {
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
section {
|
|
padding: 1em;
|
|
min-height: 100vh;
|
|
width: 50vw;
|
|
text-align: left;
|
|
margin: auto;
|
|
}
|
|
|
|
article {
|
|
width: 50vw;
|
|
text-align: left;
|
|
margin: auto;
|
|
}
|
|
|
|
article h1 {
|
|
font-size: 5em;
|
|
}
|
|
|
|
footer {
|
|
color: white;
|
|
text-align: center;
|
|
background-color: rgba(0, 0, 0, 0.9);
|
|
padding: 1em;
|
|
}
|
|
|
|
footer a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
|
|
footer img {
|
|
height: 1em;
|
|
}
|
|
|
|
label {
|
|
width: 40em;
|
|
display: inline;
|
|
}
|
|
|
|
label span.info {
|
|
display: none;
|
|
}
|
|
|
|
label:hover span.info {
|
|
display: inline-block;
|
|
position: relative;
|
|
background: yellow;
|
|
padding: 0.5em;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
input {
|
|
margin: 0.1em;
|
|
}
|
|
|
|
/* Style inputs with type="text", select elements and textareas */
|
|
input[type=text],
|
|
input[type=email],
|
|
input[type=url],
|
|
input[type=password],
|
|
input[type=number],
|
|
input[type=date],
|
|
input[type=time],
|
|
select,
|
|
textarea {
|
|
width: 100%;
|
|
/* Full width */
|
|
padding: 12px;
|
|
/* Some padding */
|
|
border: 1px solid #ccc;
|
|
/* Gray border */
|
|
border-radius: 4px;
|
|
/* Rounded borders */
|
|
box-sizing: border-box;
|
|
/* Make sure that padding and width stays in place */
|
|
margin-top: 6px;
|
|
/* Add a top margin */
|
|
margin-bottom: 16px;
|
|
/* Bottom margin */
|
|
resize: vertical
|
|
/* Allow the user to vertically resize the textarea (not horizontally) */
|
|
}
|
|
|
|
/* Style the submit button with a specific background color etc */
|
|
input[type=submit] {
|
|
background-color: #4CAF50;
|
|
color: white;
|
|
padding: 12px 20px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
input[type=reset] {
|
|
background-color: #af4c4c;
|
|
color: white;
|
|
padding: 12px 20px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* When moving the mouse over the submit button, add a darker green color */
|
|
input[type=submit]:hover {
|
|
background-color: #45a049;
|
|
}
|
|
|
|
/* When moving the mouse over the reset button, add a darker red color */
|
|
input[type=reset]:hover {
|
|
background-color: #923737;
|
|
}
|
|
|
|
|
|
/* Add a background color and some padding around the form */
|
|
.container {
|
|
border-radius: 5px;
|
|
background-color: #f2f2f2;
|
|
padding: 1em;
|
|
}
|
|
|
|
nav {
|
|
border-bottom: 1px solid black;
|
|
position: flex;
|
|
display: block;
|
|
width: 100%;
|
|
background-color: white;
|
|
z-index: 10;
|
|
overflow: hidden;
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
nav div {
|
|
padding: 1em;
|
|
}
|
|
|
|
nav.dark-theme {
|
|
background: black;
|
|
}
|
|
|
|
nav.dark-theme ul li {
|
|
color: white;
|
|
}
|
|
|
|
nav ul {
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
nav ul a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
nav ul li {
|
|
list-style: none;
|
|
color: black;
|
|
margin: 0.5em;
|
|
}
|
|
|
|
iframe::parent {
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
iframe {
|
|
width: 100%;
|
|
height: 750px;
|
|
}
|
|
|
|
#previewFrame {
|
|
width: 300px;
|
|
height: 200px;
|
|
resize: both;
|
|
zoom: 0.2;
|
|
-moz-transform: scale(0.5);
|
|
-moz-transform-origin: 0 0;
|
|
-o-transform: scale(0.5);
|
|
-o-transform-origin: 0 0;
|
|
-webkit-transform: scale(0.5);
|
|
-webkit-transform-origin: 0 0;
|
|
}
|
|
|
|
iframe html body {
|
|
font-size: 0.1em;
|
|
}
|
|
|
|
.container {
|
|
display: flex;
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.container.row {
|
|
flex-direction: row;
|
|
}
|
|
|
|
.container.column {
|
|
flex-direction: column;
|
|
}
|
|
|
|
h3,
|
|
p {
|
|
padding: 1em;
|
|
width: auto;
|
|
}
|
|
|
|
p.large {
|
|
width: auto;
|
|
}
|
|
|
|
table {
|
|
border-radius: 5px;
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
td,
|
|
th {
|
|
border: 1px solid #dddddd;
|
|
text-align: left;
|
|
padding: 0.5em;
|
|
}
|
|
|
|
tr:nth-child(even) {
|
|
background-color: #dddddd;
|
|
}
|
|
|
|
table a {
|
|
text-decoration: none;
|
|
color: black;
|
|
}
|
|
|
|
table a:hover {
|
|
font-style: italic;
|
|
}
|
|
|
|
#searchbar {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-self: right;
|
|
}
|
|
|
|
ul.breadcrumb {
|
|
display: flex;
|
|
flex-basis: row;
|
|
}
|
|
|
|
ul.breadcrumb li {
|
|
list-style: url("/media/icons/arrow.svg");
|
|
margin-left: 2em;
|
|
}
|
|
|
|
ul.breadcrumb li.active {
|
|
font-weight: bold;
|
|
}
|
|
|
|
div.coordinates {
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
div.coordinates input[type="text"] {
|
|
width: 25em;
|
|
}
|
|
|
|
.sci-name {
|
|
font-style: italic;
|
|
}
|
|
|
|
.error {
|
|
border: solid red;
|
|
border-radius: 5px;
|
|
padding: 0.5em;
|
|
background-color: rgba(255, 0, 0, 0.4)
|
|
}
|
|
|
|
.sound {
|
|
background-color: rgba(0, 255, 0, 0.5);
|
|
padding: 1em;
|
|
border-radius: 5px;
|
|
overflow: auto;
|
|
}
|
|
|
|
#spectrogram {
|
|
width: 100%;
|
|
max-width: 75vh;
|
|
}
|
|
|
|
button img {
|
|
max-height: 1em;
|
|
}
|
|
|
|
form#url-form {
|
|
display: none;
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 35%;
|
|
width: 15em;
|
|
z-index: 1;
|
|
background-color: white;
|
|
padding: 1em;
|
|
border-radius: 5px;
|
|
border: 1px solid #ccc;
|
|
}
|
|
|
|
table#replies td {
|
|
background-color: white;
|
|
}
|
|
|
|
|
|
#larynx {
|
|
background-color: rgba(0, 0, 0, 0.8);
|
|
width: auto;
|
|
min-height: 100vh;
|
|
margin: 0;
|
|
|
|
color: white;
|
|
padding: 1em;
|
|
}
|
|
|
|
#larynx h2 {
|
|
text-align: center;
|
|
}
|
|
|
|
#larynx {
|
|
text-align: center;
|
|
}
|
|
|
|
#larynx .license {
|
|
text-align: left;
|
|
}
|
|
|
|
#larynx canvas {
|
|
width: 100vw;
|
|
position: relative;
|
|
left: 0;
|
|
}
|
|
|
|
#larynx .container {
|
|
background: transparent;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
#larynx .settings {
|
|
display: flex;
|
|
}
|
|
|
|
#larynx .settings input, #larynx .settings label {
|
|
width: auto;
|
|
padding: 0em 1em;
|
|
}
|
|
table {
|
|
max-width: 100vw;
|
|
}
|
|
|
|
table#list {
|
|
position: absolute;
|
|
left: 0;
|
|
}
|
|
|
|
table img {
|
|
height: 1em;
|
|
}
|
|
|
|
.images img {
|
|
max-height: 10em;
|
|
}
|
|
|
|
.images li {
|
|
list-style: none;
|
|
}
|
|
|
|
.images .fullscreen {
|
|
display: block;
|
|
position: fixed;
|
|
/*top: 10%;*/
|
|
bottom: 0;
|
|
left: 50%;
|
|
max-width: 100vw;
|
|
max-height: 100vh;
|
|
transform: translate(-50%);
|
|
}
|
|
.images .fullscreen::parent {
|
|
background: rgba(0, 0, 0, 0.5);
|
|
backdrop-filter: blur(9px);
|
|
position: fixed;
|
|
bottom: 0;
|
|
right: 0;
|
|
left: 0;
|
|
top: 0;
|
|
}
|
|
|
|
.arrow {
|
|
position: relative;
|
|
bottom: 0;
|
|
left: 50%;
|
|
margin-left:-20px;
|
|
width: 40px;
|
|
height: 40px;
|
|
background-image: url(/media/icons/bottom_arrow.svg);
|
|
background-size: contain;
|
|
}
|
|
|
|
.bounce {
|
|
animation: bounce 2s infinite;
|
|
}
|
|
|
|
@keyframes bounce {
|
|
0%, 20%, 50%, 100% {
|
|
transform: translateY(0);
|
|
}
|
|
40% {
|
|
transform: translateY(-30px);
|
|
}
|
|
60% {
|
|
transform: translateY(-15px);
|
|
}
|
|
}
|
|
|
|
article#guano {
|
|
font-family: "Consolas";
|
|
background-color: lightgray;
|
|
padding: 1em;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
|
|
.collapsible {
|
|
background-color: lightgrey;
|
|
color: black;
|
|
cursor: pointer;
|
|
padding: 18px;
|
|
width: 100%;
|
|
border: none;
|
|
text-align: left;
|
|
outline: none;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.collapsed, .collapsible:hover {
|
|
background-color: grey;
|
|
}
|
|
|
|
.content {
|
|
padding: 0 18px;
|
|
display: none;
|
|
overflow: hidden;
|
|
background-color: #f1f1f1;
|
|
}
|
|
|
|
.collapsible:after {
|
|
content: '\02795'; /* Unicode character for "plus" sign (+) */
|
|
font-size: 13px;
|
|
color: #777;
|
|
float: right;
|
|
margin-left: 5px;
|
|
}
|
|
|
|
.collapsed:after {
|
|
content: "\2796"; /* Unicode character for "minus" sign (-) */
|
|
}
|
|
|
|
.tooltip {
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|
|
|
|
.tooltip .tooltiptext {
|
|
visibility: hidden;
|
|
width: 140px;
|
|
background-color: #555;
|
|
color: #fff;
|
|
text-align: center;
|
|
border-radius: 6px;
|
|
padding: 5px;
|
|
position: absolute;
|
|
z-index: 1;
|
|
bottom: 150%;
|
|
left: 50%;
|
|
margin-left: -75px;
|
|
opacity: 0;
|
|
transition: opacity 0.3s;
|
|
}
|
|
|
|
.tooltip .tooltiptext::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 50%;
|
|
margin-left: -5px;
|
|
border-width: 5px;
|
|
border-style: solid;
|
|
border-color: #555 transparent transparent transparent;
|
|
}
|
|
|
|
.tooltip:hover .tooltiptext {
|
|
visibility: visible;
|
|
opacity: 1;
|
|
} |