94 lines
1.3 KiB
CSS
94 lines
1.3 KiB
CSS
.text-center {
|
|
text-align: center;
|
|
}
|
|
|
|
.healthbar {
|
|
width: 80%;
|
|
height: 40px;
|
|
background-color: #eee;
|
|
margin: auto;
|
|
transition: width 500ms;
|
|
}
|
|
|
|
.controls, .log {
|
|
margin-top: 30px;
|
|
text-align: center;
|
|
padding: 10px;
|
|
border: 1px solid #ccc;
|
|
box-shadow: 0px 3px 6px #ccc;
|
|
}
|
|
|
|
.turn {
|
|
margin-top: 20px;
|
|
margin-bottom: 20px;
|
|
font-weight: bold;
|
|
font-size: 22px;
|
|
}
|
|
|
|
.log ul {
|
|
list-style: none;
|
|
font-weight: bold;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.log ul li {
|
|
margin: 5px;
|
|
}
|
|
|
|
.log ul .player-turn {
|
|
color: blue;
|
|
background-color: #e4e8ff;
|
|
}
|
|
|
|
.log ul .monster-turn {
|
|
color: red;
|
|
background-color: #ffc0c1;
|
|
}
|
|
|
|
button {
|
|
font-size: 20px;
|
|
background-color: #eee;
|
|
padding: 12px;
|
|
box-shadow: 0 1px 1px black;
|
|
margin: 10px;
|
|
}
|
|
|
|
#start-game {
|
|
background-color: #aaffb0;
|
|
}
|
|
|
|
#start-game:hover {
|
|
background-color: #76ff7e;
|
|
}
|
|
|
|
#attack {
|
|
background-color: #ff7367;
|
|
}
|
|
|
|
#attack:hover {
|
|
background-color: #ff3f43;
|
|
}
|
|
|
|
#special-attack {
|
|
background-color: #ffaf4f;
|
|
}
|
|
|
|
#special-attack:hover {
|
|
background-color: #ff9a2b;
|
|
}
|
|
|
|
#heal {
|
|
background-color: #aaffb0;
|
|
}
|
|
|
|
#heal:hover {
|
|
background-color: #76ff7e;
|
|
}
|
|
|
|
#give-up {
|
|
background-color: #ffffff;
|
|
}
|
|
|
|
#give-up:hover {
|
|
background-color: #c7c7c7;
|
|
} |