main_web/yatzee/yatzee.css
2023-04-15 20:28:38 -04:00

214 lines
3.2 KiB
CSS

body {
background-color: #42739e;
cursor: default;
font-size: 130%;
font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
height: 100%;
}
html {
height: 200vh;
}
.cells {
padding: 4%;
}
#score {
border: 2px solid black;
background-color: rgb(46, 45, 45);
color: white;
border-radius: 15px;
float: left;
border-collapse: collapse;
border-style: hidden;
width: 45%;
z-index: 0;
margin-bottom: 7%;
font-size: larger;
margin-left: 5px;
}
.cells {
text-align: center !important;
margin: auto;
border-bottom: 4px solid #33505d;
border-right: 2px solid gray;
padding-top: 4%;
padding-bottom: 4%;
width: 3rem;
}
.cells1 {
text-align: center !important;
background-color: #d86e60;
text-align: center;
padding-top: 4%;
padding-bottom: 4%;
}
main {
}
.dice {
border: 5px solid black;
/* width: 85%; */
min-width: 80%;
min-height: 400px;
background-color: #56667e;
align-self: center;
margin-top: 7%;
/* padding: 50px; */
}
.dice_pic {
height: 4rem;
width: 4rem;
display: flex;
justify-self: start;
padding: 3px;
margin-bottom: 5px;
}
.dice_pic_hold {
height: 4rem;
width: 4rem;
float: right;
/* margin-right: 15px; */
display: flex;
padding: 3px;
margin-bottom: 5px;
}
#center {
text-align: center;
}
#highscore {
color: white;
margin: auto;
text-align: center;
}
#button_dice {
display: flex;
flex-direction: column;
justify-content: space-evenly;
margin-left: 10%;
width: 50%
}
#btn {
border-radius: 10px;
background-color: #e9eb85;
color: 23313d;
text-align: center;
border: 2.5px solid black;
height: 70px;
width: 100px;
align-self: center;
font-size: large;
}
#full {
/* position: absolute;
top: 40px;
right: 0; */
float: right;
z-index: 1;
color: rgb(165, 162, 162);
font-size: 3rem;
margin-right: 5px;
}
#how {
margin-top: 10%;
width: 5%;
margin-right: 3%;
float: right;
}
#how-div {
border-radius: 10px;
border: 2px black solid;
background-color: white;
z-index: 3;
display: none;
position: absolute;
top: 10%;
left: 10%;
padding: 3%;
overflow: auto;
height: 75%;
width: 80%;
}
#cell13 {
color: #c6f2ff;
background-color: #181c28;
}
#cell31 {
color: #c6f2ff;
background-color: #181c28;
border-radius: 15px;
}
#how:hover {
border: 3px black solid;
}
#smX {
height: 35px;
width: 35px;
float: right;
}
@media (max-device-width: 550px) {
.cells {
border-bottom: 4px solid #2e2e45;
border-right: 2px solid gray;
padding-top: 4%;
padding-bottom: 4%;
min-width: 55px;
font-size: medium;
}
.cells1 {
border-radius: 5px;
background-color: #33505d;
padding-top: 4%;
padding-bottom: 4%;
min-width: 55px;
font-size: medium;
}
.dice_pic {
width: 4rem;
height: 4rem;
}
.dice_pic_hold {
width: 4rem;
height: 4rem;
}
.dice {
/* width: 70%; */
}
}
@media only screen and (min-width: 1200px) {
#main {
margin-top: 1%;
}
}
/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
#main {
margin-top: 1%;
}
}
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
#main {
margin-top: 1%;
}
}