-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
242 lines (205 loc) · 5.01 KB
/
index.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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
body {
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
monospace;
}
input.hpInput {
color: blue;
margin-left: 10px;
}
.pageTabsArea {
display: flex;
justify-content: space-around;
font-size: 25px;
}
.pageTabsArea .activeTab {
border-style: solid solid none solid;
border-width: 1px;
text-align: center;
flex-grow: 1;
padding-bottom: 5px;
}
.pageTabsArea .inactiveTab {
border-style: none none solid none;
border-width: 1px;
text-align: center;
flex-grow: 1;
background-color: lightgray;
padding-bottom: 5px;
}
div.setupArea {
display: flex;
flex-direction: column;
}
div.healthArea {
display: flex;
justify-content: space-evenly;
flex-wrap: wrap;
}
div.healthTracker.nemesis {
background: url("./nemesis.jpg");
}
div.healthTracker.gravehold {
background: url("./city.jpg");
background-position: center;
background-size: cover;
}
div.healthTracker {
width: 300px;
height: 125px;
border: 2px solid;
border-radius: 15px;
display: flex;
justify-content: space-evenly;
align-items: center;
flex-grow: 1;
margin: 5px;
}
div.healthButton {
height: 30px;
width: 30px;
border-radius: 5px;
border: 1px solid;
background-color: lightgrey;
display: flex;
align-items: center;
justify-content: center;
}
.healthNumber {
font-size: 20pt;
height: 30px;
width: 50px;
background-color: lightgrey;
border: 1px solid;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
text-align: center;
}
div.goodHealth {
color: green;
}
div.okHealth {
color: yellow;
}
div.badHealth {
color: red
}
div.cardsArea {
display: flex;
}
div.cardBack {
background:
radial-gradient(hsl(0, 100%, 27%) 4%, hsl(0, 100%, 18%) 9%, hsla(0, 100%, 20%, 0) 9%) 0 0,
radial-gradient(hsl(0, 100%, 27%) 4%, hsl(0, 100%, 18%) 8%, hsla(0, 100%, 20%, 0) 10%) 50px 50px,
radial-gradient(hsla(0, 100%, 30%, 0.8) 20%, hsla(0, 100%, 20%, 0)) 50px 0,
radial-gradient(hsla(0, 100%, 30%, 0.8) 20%, hsla(0, 100%, 20%, 0)) 0 50px,
radial-gradient(hsla(0, 100%, 20%, 1) 35%, hsla(0, 100%, 20%, 0) 60%) 50px 0,
radial-gradient(hsla(0, 100%, 20%, 1) 35%, hsla(0, 100%, 20%, 0) 60%) 100px 50px,
radial-gradient(hsla(0, 100%, 15%, 0.7), hsla(0, 100%, 20%, 0)) 0 0,
radial-gradient(hsla(0, 100%, 15%, 0.7), hsla(0, 100%, 20%, 0)) 50px 50px,
linear-gradient(45deg, hsla(0, 100%, 20%, 0) 49%, hsla(0, 100%, 0%, 1) 50%, hsla(0, 100%, 20%, 0) 70%) 0 0,
linear-gradient(-45deg, hsla(0, 100%, 20%, 0) 49%, hsla(0, 100%, 0%, 1) 50%, hsla(0, 100%, 20%, 0) 70%) 0 0;
background-color: #300;
background-size: 100px 100px;
/*background-clip: content-box;*/
/*padding:3px;*/
width: 100px;
height: 150px;
border-radius: 5px;
border: 3px solid;
margin-left: 5px;
transition: left 2s;
position: absolute;
}
div.deckHolder {
/*height: 160px;
display: flex;
justify-content: center;*/
}
div.discardHolder {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
div.shuffleHolder {
background: lightgrey;
background-clip: content-box;
width: 100px;
height: 150px;
border-radius: 5px;
border: 1px dashed;
margin-left: 5px;
margin-top: 2px;
margin-bottom: 2px;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}
div.cardFront {
opacity: 1;
/*background: lightgrey;*/
background-clip: content-box;
width: 100px;
height: 150px;
border-radius: 5px;
border: 3px solid;
margin-left: 5px;
font-size: 22px;
margin-bottom: 5px;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}
/* .cardFront.four {
background-image: radial-gradient(circle, violet 50%, grey, black);
}
.cardFront.three {
background-image: radial-gradient(circle, turquoise 50%, grey, black);
}
.cardFront.one {
background-image: radial-gradient(circle, yellow 50%, grey, black);
}
.cardFront.two {
background-image: radial-gradient(circle, orange 50%, grey, black);
}
.cardFront.threefour {
background-image: radial-gradient(circle, turquoise 20%, violet, purple);
}
.cardFront.onetwo {
background-image: radial-gradient(circle, yellow 50%,white 5%, orange);
} */
.cardFront.nemesis {
/* background-image: radial-gradient(circle, red 20%, rgb(133, 40, 40) 70%, black); */
background-image: radial-gradient(circle, pink, rgb(133, 40, 40) 70%, black);
color: black;
}
.cardFront.one,
.cardFront.two,
.cardFront.three,
.cardFront.four,
.cardFront.wild,
.cardFront.onetwo,
.cardFront.threefour
{
background-image: radial-gradient(circle, white 40%, lightgray, black);
}
.cardFront.wild
{
background-image: radial-gradient(circle, yellow 25%, rgb(202, 202, 68) 70%, black);
}
div.cardFront.hovering {
background: grey;
border-style: dashed;
}