odin-rock-paper-scissors/styles/style.css

108 lines
1.7 KiB
CSS
Raw Normal View History

body {
background-image: url("../images/paper-5985445_1920.jpg");
background-size: cover;
background-color: rgb(221, 125, 104);
color: #fff;
text-align: center;
height: 100vh;
display: flex;
flex-direction: column;
font-family: "Purisa", cursive;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5)
}
header {
flex: 0 0 auto;
}
2023-11-07 23:29:27 -07:00
h1{
font-size: 50px;
}
main {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.buttons {
display: flex;
justify-content: center;
}
button {
width: 200px;
margin: 5px;
border-radius: 5px;
font-family: "Purisa", cursive;
font-size: 30px;
font-weight: bold;
text-shadow: 2px 2px 4px rgba(233, 233, 233, 0.973)
}
.button {
height: 200px;
}
.replay-button {
height: auto;
}
2023-12-31 16:02:51 -07:00
#rock {
background-image: url("../images/rocks-576653_640.png");
2023-12-31 16:02:51 -07:00
background-size: cover;
background-repeat: no-repeat;
background-position: center;
}
#paper {
background-image: url("../images/certificate-154169_640.png");
2023-12-31 16:02:51 -07:00
background-size: contain;
background-repeat: no-repeat;
background-position-x: center;
}
#scissors {
background-image: url("../images/school-1555907_640.png");
2023-12-31 16:02:51 -07:00
background-size: contain;
background-repeat: no-repeat;
background-position-x: center;
}
.score {
display: flex;
justify-content: center;
}
.score-text {
2023-11-08 00:34:08 -07:00
margin: 20px;
font-size: 25px;
}
2023-11-08 02:08:57 -07:00
.count {
margin-bottom: 20px;
font-size: 25px;
}
#msg {
2023-11-07 23:11:37 -07:00
font-size: 32px;
2023-11-08 00:34:08 -07:00
}
#msg .button {
margin-top: 30px;
}
footer {
flex: 0 0 auto;
font-weight: bold;
}
footer a {
color: #ebe5dc;
}
footer a:hover {
text-decoration: none;
}