-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
100 lines (90 loc) · 1.76 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
body {
background-image: url("images/black-board.jpg");
background-repeat: repeat;
background-size: 1400px 1100px;
color: whitesmoke;
width: 100vw;
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
font-family: "Source Code Pro", sans-serif;
}
h1{
font-size: 45px;
font-weight: 800;
margin: 20px 0px;
text-align: center;
}
h3{
font-weight: 600;
margin: 20px 0px;
text-align: center;
}
.btn{
margin: 10px 0px;
padding: 5px 0px;
background: burlywood;
text-align: center;
color: #232323;
}
.content{ display: flex;
flex-direction: column;
margin: 20px;
}
.gameWrapper{
display: flex;
justify-content: center;
width: 100%;
}
.gameboard{
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: 1fr 1fr 1fr;
gap: 0.5rem;
width: 24vw;
height: 24vw;
color: black;
}
.modal-wrapper{
background: #232323;
padding: 60px;
position: fixed;
border: 5px solid burlywood;
box-shadow: 0px 20px 90px 90px rgba(0, 0, 0, 7);
}
.formClass{
display: flex;
flex-direction: column;
margin-bottom: 10px;
}
.box{
min-width: 50px;
min-height: 50px;
width: auto;
height: auto;
font-size: max(4vw, 3rem);
display: flex;
transition: all 0.2s ease-in-out;
background: whitesmoke;
opacity: 0.5;
justify-content: center;
padding:10px;
cursor: pointer;
align-items: center;
}
.box:hover, .btn:hover{
transform: scale(1.1);
cursor: pointer;
}
.footer {
gap: 1%;
padding: 0px 10px;
}
@media only screen and (max-width: 700px){
.gameboard{
width: 100vw;}
}
.gameWrapper{
width: auto;}