* {
box-sizing: border-box
}
html {
font-family: Arial, Helvetica, sans-serif;
display: inline-block;
margin: 0px auto;
text-align: center;
}
h1,
h3 {
color: white;
font-size: 1.8rem;
}
.topnav {
overflow: hidden;
background-color: #143642;
}
body {
margin: 0;
}
.card {
background-color: #F8F7F9;
box-shadow: 2px 2px 12px 1px rgba(140, 140, 140, .5);
padding-top: 10px;
padding-bottom: 20px;
}
.toggle_button {
padding: 15px 50px;
font-size: 24px;
text-align: center;
outline: none;
color: #fff;
background-color: #0f8b8d;
border: none;
border-radius: 5px;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.toggle_button:active {
background-color: #0f8b8d;
box-shadow: 2 2px #CDCDCD;
transform: translateY(2px);
}
.toggle_button:hover {
cursor: pointer;
}
.led-green {
margin: 0 auto;
width: 24px;
height: 24px;
background-color: #ABFF00;
border-radius: 50%;
box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #304701 0 -1px 9px, #89FF00 0 2px 12px;
}
.led-red {
margin: 0 auto;
width: 24px;
height: 24px;
background-color: #F00;
border-radius: 50%;
box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #441313 0 -1px 9px, rgba(255, 0, 0, 0.5) 0 2px 12px;
}
.layout {
max-width: 1200px;
margin: 0 auto;
display: grid;
gap: 1rem;
}
@media (min-width: 300px) {
.layout {
grid-template-columns: repeat(1, 1fr);
}
}
@media (min-width: 600px) {
.layout {
grid-template-columns: repeat(2, 1fr);
}
}
@media (min-width: 900px) {
.layout {
grid-template-columns: repeat(3, 1fr);
}
}
.options_button_div {
text-align: right;
}
.options_button {
border: none;
background-color: #F8F7F9;
}
.options_button:hover {
cursor: pointer;
}
.options_button:active {
transform: translateY(2px);
}
img {
width: 1.5em;
height: auto;
}
/* The Modal (background) */
.modal {
display: none;
/* Hidden by default */
position: fixed;
/* Stay in place */
z-index: 1;
/* Sit on top */
left: 0;
top: 0;
width: 100%;
/* Full width */
height: 100%;
/* Full height */
overflow: auto;
/* Enable scroll if needed */
background-color: rgb(0, 0, 0);
/* Fallback color */
background-color: rgba(0, 0, 0, 0.4);
/* Black w/ opacity */
}
/* Modal Content/Box */
.modal-content {
background-color: #fefefe;
margin: 10% auto;
/* 15% from the top and centered */
padding: 20px;
border: 1px solid #888;
width: 400px;
/* Could be more or less, depending on screen size */
}
/* The Close Button */
.close {
color: red;
float: right;
font-size: 35px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: white;
text-decoration: none;
cursor: pointer;
}
label {
display: inline-block;
text-align: left;
width: 75px;
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333;
}
li {
float: left;
}
li a {
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
li a:hover {
background-color: #111;
}