HearingGame/index.css

168 lines
2.5 KiB
CSS

body {
background-color: darkgray;
}
#activeholder {
width: 100%;
left: 0%;
bottom: 0%;
}
.activepart {
width: fit-content;
margin: auto;
padding: auto;
position: relative;
}
.place {
width: 128px;
height: 128px;
background-color: lightgray;
}
.fixbgimage{
image-rendering: pixelated;
background-repeat: no-repeat;
background-size: cover;
}
#trashcan {
width: 128px;
height: 128px;
background-color: red;
background-image: url("assets/trashcan.png");
}
#verify {
width: 128px;
height: 128px;
background-image: url("assets/verify.png");
background-color: blue;
}
#refresh {
width: 128px;
height: 128px;
background-image: url("assets/refresh.png");
background-color: darkgreen;
}
.status {
width: 128px;
height: 128px;
display: none;
background-image: url("assets/fail.png");
}
th,
td {
padding: 8px;
overflow: hidden;
display: inline-block;
}
#actiontable{
margin-left: auto;
margin-right: auto;
}
.itemcont {
width: 100vw;
}
.itemstor {
display: flex;
flex-direction: row;
flex-wrap: wrap;
margin-left: auto;
margin-right: auto;
width: fit-content;
padding: auto;
position: relative;
}
.itemstor>div {
margin: 8px;
}
.itemstor>div>p {
margin: 0px;
}
#vzoritem {
bottom: 4%;
left: 4%;
z-index: 10;
}
#vzoritemtd{
width: unset;
height: unset;
overflow: unset;
margin-left: auto;
margin-right: auto;
}
.itemholderak{
width: 100%;
height: 100%;
}
.lettervec{
font-family: 'Courier New', monospace;
font-size: 128px;
width: 128px;
height: 128px;
text-align: center;
margin: 0px;
background-color:white;
}
.imagevec{
width: 128px;
height: 128px;
background-color:white;
}
#currentvzor{
width: unset;
height: unset;
}
/* The switch - the box around the slider */
.switch {
position: relative;
display: inline-block;
width: 128px;
height: 128px;
}
/* Hide default HTML checkbox */
.switch input {
opacity: 0;
width: 0;
height: 0;
}
/* The slider */
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 128px;
height: 128px;
background-color: red;
background-image: url("assets/speaker.png");
-webkit-transition: .4s;
transition: .4s;
}
input:checked + .slider {
background-color: #00FF00 !important;
}
input:focus + .slider {
box-shadow: 0 0 1px #00FF00 !important;
}