Basic spotify and plant

This commit is contained in:
2022-01-04 00:56:06 +01:00
parent f3f01f9717
commit c0cc162ae4
9 changed files with 186 additions and 6 deletions

View File

@ -0,0 +1,44 @@
.container {
display: grid;
grid-template-columns: auto auto;
height: 100%;
}
.plant {
display: grid;
grid-template-areas:
"plantName plantName"
"moisture conductivity";
text-align: center;
border-right: 1px solid var(--iconColor);
}
.plant:last-of-type {
border-right: none;
}
.plant div:nth-child(1) {
grid-area: plantName;
font-weight: bold;
font-size: 200%;
}
.plant div:nth-child(2) {
grid-area: moisture;
font-weight: bold;
font-size: 190%;
}
.plant div:nth-child(3) {
grid-area: conductivity;
font-weight: bold;
font-size: 190%;
}
.icon {
font-size: 250%;
}
.problem {
color: #ff0000;
}

View File

@ -0,0 +1,21 @@
.container {
grid-area: spotify;
display: grid;
grid-template-columns: auto max-content;
justify-content: start;
width:100%;
height:100%;
padding:5px;
background: var(--spotifyColor);
border-radius: 5px;
}
.container p {
max-width: 21vw;
color: inherit;
word-wrap: normal;
}
.title {
font-size: 180%;
font-weight: bold;
color: inherit;
}