rpi-rgb/app/static/app.css

71 lines
819 B
CSS
Raw Permalink Normal View History

2023-05-28 13:38:23 +02:00
html {
2023-06-01 20:32:43 +02:00
font-family: sans-serif;
2023-05-28 13:38:23 +02:00
}
h1 {
2023-06-01 20:32:43 +02:00
text-align: center;
2023-05-28 13:38:23 +02:00
}
2023-06-01 20:32:43 +02:00
.container {
display: flex;
flex-wrap: wrap;
2023-05-28 13:38:23 +02:00
}
2023-06-01 20:32:43 +02:00
.center {
margin: auto;
max-width: 500px;
2023-05-28 13:38:23 +02:00
}
2023-06-01 20:32:43 +02:00
.color {
display: block;
width: calc(100vw - 24px);
height: 100px;
border: 1px solid black;
box-sizing: border-box;
text-align: center;
line-height: 100px;
font-size: 18px;
font-weight: bold;
cursor: pointer;
margin-bottom: 16px;
border-radius: 12px;
2023-05-28 13:38:23 +02:00
}
2023-06-01 20:32:43 +02:00
.red {
background-color: #f00;
2023-05-28 13:38:23 +02:00
}
2023-06-01 20:32:43 +02:00
.green {
background-color: #0f0;
2023-05-28 13:38:23 +02:00
}
2023-06-01 20:32:43 +02:00
.blue {
background-color: #00f;
color: #fff;
2023-05-28 13:38:23 +02:00
}
2023-06-01 20:32:43 +02:00
.cyan {
background-color: #0ff;
2023-05-28 13:38:23 +02:00
}
2023-06-01 20:32:43 +02:00
.yellow {
background-color: #ff0;
2023-05-28 13:38:23 +02:00
}
2023-06-01 20:32:43 +02:00
.orange {
background-color: #ff8000;
2023-05-28 13:38:23 +02:00
}
2023-06-01 20:32:43 +02:00
.purple {
background-color: #f0f;
2023-05-28 13:38:23 +02:00
}
2023-06-01 20:32:43 +02:00
.white {
background-color: #fff;
2023-05-28 13:38:23 +02:00
}
2023-06-01 20:32:43 +02:00
.black {
background-color: #000;
color: #fff;
2023-05-28 13:38:23 +02:00
}