-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
130 lines (107 loc) · 2.22 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
@import url('https://fonts.googleapis.com/css2?family=Gemunu+Libre&family=Josefin+Sans:wght@100&family=Poppins:wght@400;700&display=swap');
* {
margin: 0;
padding: 0;
}
nav ul {
list-style: none;
}
body {
background: linear-gradient(90deg, #8052ec, #d161ff);
}
nav {
background-color: black;
color: white;
padding: 30px;
font-family: 'Gemunu Libre', sans-serif;
font-family: 'Josefin Sans', sans-serif;
font-family: 'Poppins', sans-serif;
text-align: center;
}
.game-container {
display: flex;
flex-wrap: wrap;
width: 100vw;
height: 100vh;
justify-content: space-evenly;
align-items: center;
}
/* container - grid */
.container {
display: grid;
grid-template-columns: repeat(3, 15vw);
grid-template-rows: repeat(3, 15vh);
padding: 40px;
font-family: 'Poppins', sans-serif;
font-weight: bold;
}
.box {
border: 3px solid black;
font-weight: bolder;
font-size: 4rem;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
}
.box:hover {
background-color: #d161ff;
color: white;
}
.image-box img {
display: none;
}
.info-section {
display: flex;
flex-direction: column;
}
#reset {
width: 88px;
height: 40px;
margin-left: 50px;
border-radius: 8px;
cursor: pointer;
}
.info {
color: white;
text-align: center;
margin-bottom: 50px;
border: 5px solid whitesmoke;
padding: 10px 40px;
}
.game-info {
padding: 30px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
font-family: 'Poppins', sans-serif;
border: 2px solid whitesmoke;
}
.game-info h2 {
padding: 20px;
font-size: large;
}
/* UTILITY CLASSES for grid layouts*/
.top-border {
border-top: 0;
}
.bottom-border {
border-bottom: 0;
}
.left-border {
border-left: 0;
}
.right-border {
border-right: 0;
}
/* GAME INFO*/
.game-info h1 {
padding: 30px;
font-family: 'Poppins', sans-serif;
}
@media screen and (max-width: 425) {
#reset {
margin-left: 50px;
}
}