-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
107 lines (100 loc) · 1.9 KB
/
styles.css
File metadata and controls
107 lines (100 loc) · 1.9 KB
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
101
102
103
104
105
106
107
* {
box-sizing: border-box;
margin: 0;
}
html,
body {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
}
header,
footer {
margin: 2rem;
text-align: center;
}
header {
display: flex;
}
.container {
width: 45rem;
/* height: 10rem; */
margin: auto;
background-color: rgb(96, 194, 161);
border-radius: 18px;
/* border-top-left-radius: 18px; */
padding-top: 1rem;
}
.game-board .btn {
width: 5rem;
height: 5rem;
color: rebeccapurple;
background-color: floralwhite;
border-radius: 4px;
border: 1px solid rebeccapurple;
display: flex;
justify-content: center;
align-items: center;
font-size: 1.5rem;
}
.game-board {
/* width: 600px; */
display: grid;
margin: 1rem auto;
grid-template-columns: repeat(3, auto);
grid-template-rows: repeat(3, auto);
align-items: center;
justify-content: center;
/* z-index: 1; */
}
main {
position: relative;
}
main .announcer {
background-color: rgba(56, 117, 97, 0.63);
color: floralwhite;
position: absolute;
width: 90%;
height: 15rem;
right: 5%;
font-size: 2rem;
display: flex;
align-items: center;
justify-content: center;
border-radius: 16px;
}
main #restart {
display: block;
width: 100%;
background-color: rgb(79, 48, 110);
color: floralwhite;
padding-bottom: 0.8rem;
padding-top: 0.5rem;
border: none;
border-end-end-radius: 18px;
font-size: 1.3rem;
font-weight: bold;
}
.game-board .btn {
font-size: 3rem;
transition: all 0.7s;
}
.game-board .btn:hover {
background-color: rgb(201, 198, 193);
opacity: 0.9;
}
@media screen and (max-width: 765px) {
.container {
width: 90%;
}
.game-board button {
width: 4rem;
height: 4rem;
}
}
@media screen and (max-width: 665px) {
.container {
width: 95%;
}
}