-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.css
126 lines (114 loc) · 2.07 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
#main {
border: 1px solid black;
background-color: rgb(101, 178, 24);
z-index: 1;
}
canvas {
pointer-events: none;
}
.main {
width: 100%;
height: 100%;
padding: 0;
margin: 0;
zoom: 100%
}
html {
margin:0;
padding:0;
}
body {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
margin:0;
padding:0;
}
#data {
display: none;
}
#upgrades {
z-index: 1;
position: fixed;
display: none;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 1;
background-color: rgba(0, 0, 0, 0.3);
padding: 10px;
border-radius: 10px;
color: white;
font-size: 16px;
width: 50%;
height: 75%;
text-align: left;
zoom: 200%;
}
#buttonGrid {
position: relative;
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 10px;
margin-top: 10px;
padding: 15px;
zoom: 100%;
height: 85%;
overflow-y: auto;
}
#overlay {
z-index: 1;
position: fixed;
display: none;
top: 50%;
left: 50%;
font-family: 'Courier New', monospace;
transform: translate(-50%, -50%);
z-index: 1;
background-color: rgba(0, 0, 0, 0.3);
padding: 10px;
border-radius: 10px;
color: white;
font-size: 16px;
width: 50%;
height: 75%;
text-align: center;
zoom: 100%;
overflow: auto;
}
.button {
width: 100%;
height: 150px;
padding: 10px;
color: white;
text-align: top;
background-color: rgba(0, 0, 0, 0.5);
border: none;
border-radius: 5px;
white-space: pre-line;
}
#big {
/* grid display */
display: grid;
grid-template-columns: 1fr 1fr 1fr;
/* rows */
grid-template-rows: 1fr 1fr;
grid-gap: 10px;
/* height of elements */
height: 12rem;
/* padding/margin */
padding: 10px;
margin: 10px;
}
#big button {
border-radius: 5px;
outline: none;
/* no button decorations */
border: none;
/* background color */
cursor: pointer;
}
#big button:hover {
background-color: rgba(0, 0, 0, 0.1);
}