387 lines
5.7 KiB
CSS
387 lines
5.7 KiB
CSS
*|* {
|
|
margin:0;
|
|
padding:0;
|
|
}
|
|
|
|
body {
|
|
display: flex;
|
|
justify-content:space-evenly;
|
|
align-items:center;
|
|
flex-direction:column;
|
|
background:#000;
|
|
width:100vw;
|
|
height:100vh;
|
|
}
|
|
|
|
#petPin, #infoex, .player {
|
|
display: flex;
|
|
flex-wrap:wrap;
|
|
justify-content:space-around;
|
|
background: rgba(0,0,0,0);
|
|
border: solid 5px rgba(200,100,50,0.5);
|
|
border-radius:10px;
|
|
padding:10px;
|
|
overflow:auto;
|
|
max-height:60vh;
|
|
width: 90vw;
|
|
}
|
|
|
|
#infoex {
|
|
display:flex;
|
|
position:relative;
|
|
justify-content:space-between;
|
|
max-height:30vh;
|
|
}
|
|
|
|
.log {
|
|
display:flex;
|
|
flex-direction:column;
|
|
width:45%;
|
|
height:10em;
|
|
border:solid 1px rgba(100,100,100,0.7);
|
|
padding:0.5em;
|
|
overflow-y:auto;
|
|
}
|
|
|
|
.market {
|
|
display:flex;
|
|
justify-content:center;
|
|
align-items:center;
|
|
width:45%;
|
|
}
|
|
|
|
.urgency_0 {
|
|
color:rgba(150,150,150,0.9);
|
|
}
|
|
|
|
.urgency_1 {
|
|
color:rgba(250,250,250,1);
|
|
}
|
|
|
|
.urgency_2 {
|
|
color:rgba(250,250,0,1);
|
|
}
|
|
|
|
.urgency_3 {
|
|
color:rgba(250,0,0,1);
|
|
}
|
|
|
|
.urgency_0, .urgency_1, .urgency_2, .urgency_3 {
|
|
margin-bottom:0.5em;
|
|
width:100%;
|
|
}
|
|
|
|
.waterSupply {
|
|
color:rgba(0,100,200,1);
|
|
}
|
|
|
|
.foodSupply {
|
|
color:rgba(200,100,0,1);
|
|
}
|
|
|
|
.coins {
|
|
color:rgba(200,200,50,1);
|
|
}
|
|
|
|
.waterSupply, .foodSupply, .coins {
|
|
font-size:1.5em;
|
|
}
|
|
|
|
.statbar_back {
|
|
width:100%;
|
|
border:solid 1px rgba(100,100,100,0.5);
|
|
}
|
|
|
|
.statbar_fill {
|
|
height: 1em;
|
|
color: rgba(128,128,128,0.8);
|
|
white-space:nowrap;
|
|
transition:250ms;
|
|
}
|
|
|
|
.health {
|
|
background:rgba(100,0,0,0.9);
|
|
}
|
|
|
|
.hunger {
|
|
background:rgba(100,50,0,0.9);
|
|
}
|
|
|
|
.thurst {
|
|
background:rgba(0,50,100,0.9);
|
|
}
|
|
|
|
.energy {
|
|
background:rgba(100,100,0,0.9);
|
|
}
|
|
|
|
.mood {
|
|
background:rgba(100,0,100,0.9);
|
|
}
|
|
|
|
.age {
|
|
color: rgba(100,100,100,0.9);
|
|
width:100%;
|
|
text-align:center;
|
|
}
|
|
|
|
.petContainer {
|
|
display:flex;
|
|
flex-direction:column;
|
|
align-items:stretch;
|
|
padding: 5px;
|
|
border:solid 1px rgba(100,100,100,0);
|
|
border-radius:3px;
|
|
transition:250ms
|
|
}
|
|
|
|
.petContainer:hover {
|
|
border:solid 1px rgba(100,100,100,1);
|
|
transition:250ms;
|
|
}
|
|
|
|
.egg {
|
|
height:20vh;
|
|
width:15vh;
|
|
margin:auto;
|
|
border:solid 1vh rgba(200,200,200,0.7);
|
|
border-radius: 7.5vh/12vh 12vh 8vh 8vh;
|
|
transition:1s;
|
|
}
|
|
|
|
.baby {
|
|
height:20vh;
|
|
width:20vh;
|
|
margin:auto;
|
|
border:solid 0.1vh rgba(150,150,150,0.5);
|
|
border-radius: 10vh;
|
|
transition:10s;
|
|
}
|
|
|
|
.toddler {
|
|
height:20vh;
|
|
width:20vh;
|
|
margin:auto;
|
|
border:solid 1px rgba(200,200,200,0.3);
|
|
border-radius: 10vh/ 18vh 18vh 2vh 2vh;
|
|
transition:10s;
|
|
}
|
|
|
|
.kid {
|
|
height:25vh;
|
|
width:20vh;
|
|
margin:auto;
|
|
border:none;
|
|
border-radius: 10vh/ 21vh 21vh 4vh 4vh;
|
|
transition:10s;
|
|
}
|
|
|
|
.teen {
|
|
height:30vh;
|
|
width:16vh;
|
|
margin:auto;
|
|
border:none;
|
|
border-radius: 8vh/ 26vh 26vh 4vh 4vh;
|
|
transition:10s;
|
|
}
|
|
|
|
.adult{
|
|
height:40vh;
|
|
width:20vh;
|
|
margin:auto;
|
|
border:none;
|
|
border-radius: 10vh/ 35vh 35vh 5vh 5vh;
|
|
transition:10s;
|
|
}
|
|
|
|
.midaged {
|
|
height:35vh;
|
|
width:25vh;
|
|
margin:auto;
|
|
border:none;
|
|
border-radius: 12.5vh/ 30vh 30vh 5vh 5vh;
|
|
transition:10s;
|
|
}
|
|
|
|
.old {
|
|
height:20vh;
|
|
width:30vh;
|
|
margin:auto;
|
|
border:none;
|
|
border-radius: 15vh/ 15vh 15vh 3vh 3vh;
|
|
transition:10s;
|
|
}
|
|
|
|
.gender_0 {
|
|
background: rgba(255,100,100,1);
|
|
}
|
|
|
|
.gender_1 {
|
|
background: rgba(100,100,255,1);
|
|
}
|
|
|
|
.dead_pet {
|
|
height: 10vh;
|
|
width: 10vh;
|
|
border-radius:5vh 5vh 0 0;
|
|
background: rgba(90,90,90,0.9);
|
|
text-align:center;
|
|
margin:auto;
|
|
transition:1s;
|
|
}
|
|
|
|
.actionCurrent {
|
|
color: rgba(200,200,200,0.9);
|
|
text-align:center;
|
|
}
|
|
|
|
.actionQueue {}
|
|
|
|
.actionMenu {
|
|
opacity:0;
|
|
width:100%;
|
|
display:flex;
|
|
justify-content:space-around;
|
|
}
|
|
|
|
.itemContainer {
|
|
display:flex;
|
|
flex-direction:column;
|
|
justify-content:space-around;
|
|
align-items:center;
|
|
height:4em;
|
|
width:4em;
|
|
margin:0.25em;
|
|
padding:0.25em;
|
|
overflow:hidden;
|
|
border:solid 1px rgba(50,50,50,1);
|
|
cursor:pointer;
|
|
transition:250ms;
|
|
}
|
|
|
|
.itemContainer:hover {
|
|
height:4.25em;
|
|
width:4.25em;
|
|
margin:0em;
|
|
transition:250ms;
|
|
}
|
|
|
|
.itemContainer:hover .itemDesc {
|
|
display:block;
|
|
position:absolute;
|
|
right:0;
|
|
bottom:0;
|
|
}
|
|
|
|
.itemCount {
|
|
display:none;
|
|
}
|
|
|
|
.itemName {
|
|
color:rgba(255,255,255,1);
|
|
}
|
|
|
|
.itemValue {
|
|
color:rgba(200,200,50,1);
|
|
font-size:1em;
|
|
}
|
|
|
|
.itemDesc {
|
|
display:none;
|
|
text-align:center;
|
|
border-top:solid 1px rgba(100,100,100,1);
|
|
background:rgba(0,0,0,1);
|
|
width:100%;
|
|
color:rgba(200,200,200,1);
|
|
font-size:1em;
|
|
}
|
|
|
|
.player .market .itemContainer {
|
|
height:unset;
|
|
width:unset;
|
|
}
|
|
.player .market .itemCount { display: none;}
|
|
.player .market .itemValue { display: none;}
|
|
|
|
.bowl_tray {
|
|
opacity:0.2;
|
|
width:100%;
|
|
display:flex;
|
|
justify-content:space-around;
|
|
}
|
|
|
|
.bowl_tray .statbar_back {
|
|
transform:rotate(-0.25turn);
|
|
height:3em;
|
|
width:2em;
|
|
border:solid 0.3em rgba(100,100,100,1);
|
|
border-right:none;
|
|
border-radius: 2em 0 0 2em;
|
|
overflow:hidden;
|
|
background: rgba(50,50,50,1);
|
|
}
|
|
|
|
.bowl_tray .statbar_fill {
|
|
height:3em;
|
|
line-height:3em;
|
|
color: rgba(100,100,100,0);
|
|
}
|
|
|
|
.statsContainer {
|
|
margin:10px 0 0 0;
|
|
border: solid 1px rgba(100,100,100,1);
|
|
border-radius:3px;
|
|
overflow:hidden;
|
|
opacity:0.2;
|
|
transition:250ms;
|
|
}
|
|
|
|
.petContainer:hover .statsContainer, .petContainer:hover .actionMenu, .petContainer:hover .bowl_tray {
|
|
opacity:1;
|
|
transition:250ms;
|
|
}
|
|
|
|
.water {
|
|
color: rgba(100,200,250,1);
|
|
background: rgba(0,50,200,1);
|
|
border-right:solid 0.2em rgba(50,100,250,0.8);
|
|
box-shadow:0 0 0.4em rgba(50,100,250,0.8);
|
|
}
|
|
|
|
.feed, .food {
|
|
color: rgba(250,200,100,1);
|
|
background: rgba(100,50,0,1);
|
|
border-right:solid 0.2em rgba(250,100,50,0.8);
|
|
box-shadow:0 0 0.4em rgba(250,100,50,0.8);
|
|
}
|
|
|
|
.play {
|
|
color: rgba(250,250,100,1);
|
|
background: rgba(100,100,0,1);
|
|
border-right:solid 0.2em rgba(150,150,50,0.8);
|
|
box-shadow:0 0 0.4em rgba(150,150,50,0.8);
|
|
}
|
|
|
|
.button {
|
|
display: inline-block;
|
|
user-select: none;
|
|
text-align:center;
|
|
width:1em;
|
|
height:1em;
|
|
margin:1px;
|
|
padding:2px;
|
|
border:solid 1px rgba(90,90,90,0.5);
|
|
border-radius:5px;
|
|
cursor:pointer;
|
|
}
|
|
|
|
.button:hover {
|
|
margin:0px;
|
|
padding:3px;
|
|
transition:0.2s;
|
|
}
|
|
|
|
.disabled {
|
|
opacity:0.7;
|
|
}
|