You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
86 lines
1.5 KiB
CSS
86 lines
1.5 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
font-family: "Segoe UI", sans-serif;
|
|
}
|
|
|
|
body, html {
|
|
height: 100%;
|
|
background-color: #0d1117;
|
|
color: #ffffff;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.background {
|
|
background-image: url('https://wallpapers.com/images/hd/blue-circuit-board-traces-zn0xezd4t8axj9r6.webp');
|
|
background-size: cover;
|
|
background-position: center;
|
|
opacity: 0.1;
|
|
filter: blur(3px);
|
|
position: absolute;
|
|
top: 0; left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: -1;
|
|
}
|
|
|
|
.container {
|
|
max-width: 800px;
|
|
margin: 40px auto;
|
|
background-color: #161b22;
|
|
padding: 30px;
|
|
border-radius: 20px;
|
|
box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
|
|
animation: fadeIn 1s ease-in;
|
|
}
|
|
|
|
h1 {
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
font-size: 2.5rem;
|
|
color: #58a6ff;
|
|
}
|
|
|
|
.sensor-card {
|
|
background-color: #1f2937;
|
|
padding: 20px;
|
|
border-radius: 15px;
|
|
margin-bottom: 20px;
|
|
box-shadow: 0 0 20px rgba(100, 255, 255, 0.1);
|
|
animation: slideIn 1s ease;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
}
|
|
|
|
.sensor-card img {
|
|
width: 64px;
|
|
height: 64px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.sensor-card h2 {
|
|
margin-bottom: 10px;
|
|
color: #90cdf4;
|
|
}
|
|
|
|
.data span {
|
|
display: block;
|
|
margin: 5px 0;
|
|
font-size: 1.2rem;
|
|
color: #ffffff;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; transform: translateY(-20px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
@keyframes slideIn {
|
|
from { opacity: 0; transform: scale(0.9); }
|
|
to { opacity: 1; transform: scale(1); }
|
|
}
|