Abfahrtsanzeiger Display Basic Library
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
libmonoformat/backup/styles.css

84 lines
1.1 KiB

body {
font-family: sans-serif;
background: #111;
color: white;
display: flex;
flex-direction: column;
align-items: center;
}
canvas {
image-rendering: pixelated;
margin-top: 20px;
}
#matrix {
display: grid;
grid-template-columns: repeat(var(--col-count, 10), 1fr);
grid-gap: 1px;
margin-top: 20px;
}
.dot {
width: 10px;
height: 10px;
background: #222;
border-radius: 50%;
}
.dot.on {
background: orange;
}
#dropzone {
border: 2px dashed #555;
padding: 20px;
margin-top: 20px;
text-align: center;
width: 300px;
cursor: pointer;
}
#controls {
margin-top: 10px;
display: flex;
gap: 10px;
flex-wrap: wrap;
justify-content: center;
}
#textInputArea {
display: none;
margin-top: 10px;
}
input, textarea, select {
background: #222;
color: white;
border: 1px solid #555;
padding: 5px;
border-radius: 4px;
}
select option {
background: #222;
color: white;
}
button {
background: #333;
color: white;
border: 1px solid #555;
padding: 5px 10px;
border-radius: 4px;
cursor: pointer;
}
button:hover {
background: #444;
}
button.active {
background: #f60;
border-color: #f60;
}