mirror of
https://gitea.smigz.com/smiggiddy/odin-codeprojects.git
synced 2025-06-29 05:15:35 -04:00
feat: project complete
This commit is contained in:
parent
dcb7c62de0
commit
43173aac47
3 changed files with 80 additions and 97 deletions
|
@ -1,13 +1,27 @@
|
|||
:root {
|
||||
font-size: 16px;
|
||||
font-size: 32px;
|
||||
font-family: 'Roboto', sans-serif;
|
||||
--dark-color: #607274;
|
||||
--light-color: #FAEED1;
|
||||
--gray-color: #F4F4F2;
|
||||
--light-grey-color: #E8E8E8;
|
||||
}
|
||||
|
||||
body,html {
|
||||
width: 100vw;
|
||||
min-width: 100vw;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
header {
|
||||
display: flex;
|
||||
min-width: 100vw;
|
||||
justify-content: center;
|
||||
align-content: center;
|
||||
background-color: var(--dark-color);
|
||||
color: var(--gray-color);
|
||||
}
|
||||
|
||||
|
||||
header h1 {
|
||||
font-size: 2rem;
|
||||
|
@ -17,25 +31,56 @@ header h1 {
|
|||
.container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background-color: var(--light-grey-color);
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.content {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-content: center;
|
||||
flex-direction: column;
|
||||
gap: 20px
|
||||
}
|
||||
|
||||
.game-status {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-content: center;
|
||||
}
|
||||
|
||||
.content>.game-area {
|
||||
display: grid;
|
||||
grid-area: 1 / 1 / 4 / 4;
|
||||
gap: 15px;
|
||||
grid-template-rows: repeat(3, 150px);
|
||||
grid-template-columns: repeat(3, 150px);
|
||||
justify-items: center;
|
||||
align-items: center;
|
||||
border: solid;
|
||||
}
|
||||
|
||||
.block {
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
font-family: 'Silkscreen', sans-serif;
|
||||
font-weight: 700;
|
||||
height: 150px;
|
||||
width: 150px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
border: solid;
|
||||
font-size: 3rem;
|
||||
}
|
||||
|
||||
.block:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.btn {
|
||||
padding: 16px 20px;
|
||||
font-size: 0.5rem;
|
||||
width: 200px;
|
||||
align-self: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue