This commit is contained in:
SowinskiBraeden committed 2025-05-19 23:11:59 -07:00
1 parent a987dc3230
commit d40e8c36ea
11 files changed
+1228 -159

No files matched your search

+130
View File
@@ -0,0 +1,130 @@
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');
* {
font-family: "Oswald", sans-serif;
font-optical-sizing: auto;
font-weight: 400;
font-style: normal;
}
body {
margin: 0px;
}
.center {
display: flex;
justify-content: center;
}
#cards {
border: 2px #187092 solid;
border-radius: 24px;
width: 600px;
height: 400px;
margin: auto;
display: flex;
flex-wrap: wrap;
}
.game-header {
display: flex;
flex-direction: column;
justify-content: center;
width: 100%;
}
.game-header-wrapper {
display: flex;
justify-content: center;
}
#timer {
text-align: center;
}
/*
#difficulty-select {
display: flex;
justify-content: center;
} */
#difficulty-select p {
text-align: center;
padding: 0px;
margin: 0px;
}
#difficulty-select div {
margin-bottom: 24pt;
}
h1 {
text-align: center;
}
button {
width: 120px;
padding: 12px;
max-height: 48px;
border-radius: 45px;
background-color: #1bb0eb;
color: white;
font-weight: 400;
font-size: 16px;
border: none;
}
button:hover {
cursor: pointer;
background-color: #5ecbf7;
}
.header1 {
display: flex;
justify-content: space-between;
padding: 12px;
}
h3 {
margin: 0px;
padding: 0px;
}
.message-box {
background-color: #4ae284;
border-radius: 12px;
padding: 8px;
display: none;
}
.sub {
display: flex;
flex-direction: column;
justify-content: center;
}
.card {
width: 33.33%;
position: relative;
transition: transform 1s;
perspective: 1000px;
transform-style: preserve-3d;
}
img {
width: 100%
}
.front_face,
.back_face {
position: absolute;
backface-visibility: hidden;
}
.flip {
transform: rotateY(180deg);
}
.front_face {
transform: rotateY(180deg);
}