mirror of
https://github.com/zyllian/webdog.git
synced 2025-01-18 11:44:35 -08:00
50 lines
831 B
SCSS
50 lines
831 B
SCSS
#pet {
|
|
#pet-display {
|
|
.the-pet {
|
|
--color: red;
|
|
--width: 250px;
|
|
--height: 250px;
|
|
|
|
background-color: var(--color);
|
|
width: var(--width);
|
|
height: var(--height);
|
|
margin-bottom: 8px;
|
|
|
|
&.egg {
|
|
background-color: white;
|
|
// egg shape from https://css-tricks.com/the-shapes-of-css/
|
|
width: 126px;
|
|
height: 180px;
|
|
border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
|
|
}
|
|
|
|
&.square {
|
|
border-radius: 2px;
|
|
}
|
|
|
|
&.circle {
|
|
border-radius: 50%;
|
|
}
|
|
|
|
&.triangle {
|
|
clip-path: polygon(50% 0, 100% 100%, 0 100%);
|
|
}
|
|
}
|
|
|
|
.status {
|
|
font-style: italic;
|
|
}
|
|
}
|
|
|
|
#debug-section [name] {
|
|
font-weight: bold;
|
|
}
|
|
|
|
button {
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
}
|