* { align-self: baseline; } body { margin: 0; background-color: white; } header { text-align: right; padding: 0; margin-top: 1em; } 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; } 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; }