forked from Hobylicious/MemoryGame
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
133 lines (128 loc) · 2.11 KB
/
styles.css
File metadata and controls
133 lines (128 loc) · 2.11 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
body{
text-align: center;
}
h1{
height: 20px;
}
.buttons{
font-size: 30px;
display: inline;
height: 30px;
}
.row{
text-align: center;
}
.scoreBoardContainer{
display: grid;
justify-content: center;
height: 110px;
}
.scoreBoard{
border: solid black 2px;
height: 30px;
width: 150px;
display: flex;
justify-content: center;
font-size: 30px;
}
.card {
display: inline-block;
background-color: grey;
height: 225px;
width: 225px;
cursor: pointer;
}
.card:hover{
box-shadow: inset 0px 0px 0px 5px red;
box-sizing: border-box;
}
.gridmaker{
display: inline-block;
}
.rules{
margin: 5px;
justify-content: center;
border: solid black 3px;
text-align: left;
}
.green{
background-color: green;
}
.purple{
background-color: purple;
}
.red{
background-color: red;
}
.blue{
background-color: blue;
}
.orange{
background-color: orange;
}
.black{
background-color: black;
}
.teal{
background-color: teal;
}
.pink{
background-color: pink;
}
.hiding{
background-color: grey;
}
@media screen and (max-width: 900px) {
.scoreBoardContainer{
display: grid;
justify-content: center;
height: 55px;
}
.scoreBoard{
border: solid black 2px;
height: 15px;
width: 75px;
display: flex;
justify-content: center;
font-size: 15px;
}
.card {
display: inline-block;
background-color: grey;
height: 112.5px;
width: 112.5px;
cursor: pointer;
}
.scoreBoardContainer{
display: grid;
justify-content: center;
height: 110px;
}
.green{
background-color: green;
}
.purple{
background-color: purple;
}
.red{
background-color: red;
}
.blue{
background-color: blue;
}
.orange{
background-color: orange;
}
.black{
background-color: black;
}
.teal{
background-color: teal;
}
.pink{
background-color: pink;
}
.hiding{
background-color: grey;
}
}