-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
170 lines (147 loc) · 3.11 KB
/
style.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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
html, body {
margin: 0;
padding: 0;
font-family: Arial, Helvetica, sans-serif;
}
.noselect {
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Safari */
-khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Old versions of Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently
supported by Chrome, Edge, Opera and Firefox */
}
canvas {
display: block;
box-shadow: 0px 0px 20px rgb(98, 148, 24);
}
#sketch-div {
padding: 10px;
}
.scoreboard {
width: 230px;
position: fixed;
top: 20px;
left: 20px;
border: 1px solid rgb(119, 24, 148);
box-shadow: 0px 0px 10px rgb(119, 24, 148);
background-color: white;
padding: 10px;
font-size: 22px;
line-height: 30px;
cursor: all-scroll;
z-index: 1;
}
.info {
/* position: fixed;
top: 100px;
left: 15px;
padding: 10px; */
font-size: 20px;
color: red;
}
.container {
display: flex !important;
align-items: center;
justify-content: center;
flex-direction: column;
}
.gameName {
margin: 15px 10px 5px;
font-size: 24px;
align-items: center;
justify-content: center;
font-weight: bold;
}
.button-list {
margin: 10px 0;
}
.button-list button {
background-color: transparent;
outline: none;
cursor: pointer;
margin: 0 10px;
border: solid black 1px;
border-radius: 5px;
padding: 5px 10px;
}
.material-icons {
color: black;
font-size: 28px !important;
}
.button-list button:hover:enabled {
box-shadow: 0px 0px 3px rgb(46, 46, 46), 0px 0px 2px rgb(46, 46, 46);
}
.button-list button:disabled {
cursor: default;
opacity: 30%;
}
.love {
margin-top: 5px;
margin-bottom: 15px;
color: grey;
font-size: 14px;
}
.love a {
color: grey;
font-size: 14px;
}
.love a:hover {
color: rgb(56, 54, 54);
}
/***************** rules modal *****************/
.modal .material-icons {
font-size: 14px !important;
vertical-align: middle;
}
#food {
color: rgb(255, 0, 100);
}
#special_food {
color: rgb(255, 255, 0);
}
.modal {
display: flex;
align-items: center;
justify-content: center;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.4);
}
.modal-content {
position: relative;
color: rgb(80, 80, 80);
background-color: #fefefe;
max-width: 495px;
max-height: 500px;
margin: 8px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
word-wrap: break-word;
padding: 10px;
}
.modal-content p {
margin: 15px;
}
.close {
color: #aaaaaa;
background-color: transparent;
border: transparent;
font-size: 28px;
font-weight: bold;
position: absolute;
/* float: right; */
right: 0;
bottom: 0;
padding: 10px 20px;
outline: none; /* no border when clicked */
}
.close:hover {
color: #000;
text-decoration: none;
cursor: pointer;
}