forked from PsychosPlay/Psychosplay.Github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
289 lines (238 loc) · 5.39 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
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
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
body {
font-size: 14px;
font-family: "Libre Franklin", Calibri, Arial, Helvetica;
font-weight: 400;
}
* {
margin: 0;
padding: 0;
}
h1 {
padding: 8px;
font-size: 16px;
}
#meditation {
font-size: 24px;
color: green;
}
#rolld6 {
margin-left: 8px;
}
/** add the same margin to the save button **/
#save {
margin-left: 8px;
}
table#land {
width: 100%;
border-spacing: 5px;
text-align: center;
}
table#land , table#land th, table#land td {
border: 1px solid black;
padding: 5px;
}
table#Iron {
width: 100%;
}
table#Iron , table#Iron th {
padding: 5px;
}
table#Iron td {
width: 50%;
padding: 5px;
}
.swMain {
visibility: visible;
}
tr.swMain td {
border-bottom: 1px solid silver;
}
.swHide {
visibility: hidden
}
/** add the same margin to the left of the status box
but also make the text purple to make it stand out
a little bit **/
#status {
margin-left: 8px;
color: purple;
}
/* Style the list */
ul.tab {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
border: 1px solid #ccc;
background-color: #f1f1f1;
}
/* Float the list items side by side */
ul.tab li {float: left;}
/* Style the links inside the list items */
ul.tab li a {
display: inline-block;
color: black;
text-align: center;
padding: 14px 16px;
text-decoration: none;
transition: 0.3s;
font-size: 17px;
}
/* Change background color of links on hover */
ul.tab li a:hover {background-color: #ddd;}
/* Create an active/current tablink class */
ul.tab li a:focus, .active {background-color: #ccc;}
/* Style the tab content */
.tabcontent {
display: none;
padding: 6px 12px;
border: 1px solid #ccc;
border-top: none;
}
/* The Modal (background) */
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
/* Modal Content/Box */
.modal-content {
background-color: #fefefe;
margin: 15% auto; /* 15% from the top and centered */
padding: 20px;
border: 1px solid #888;
width: 80%; /* Could be more or less, depending on screen size */
}
.HolyGrail {
display: flex;
min-height: 100vh;
flex-direction: column;
}
.HolyGrail-body {
display: flex;
flex: 1;
}
.HolyGrail-content {
flex: 1;
}
.HolyGrail-nav, .HolyGrail-ads {
/* 12em is the width of the columns */
flex: 0 0 28em;
}
table {
border-collapse: collapse;
}
td {
border: 1px solid #999;
padding: 0.25rem;
text-align: left;
font-size: .875em
}
th {
font-weight: 700;
font-size: 1.75em;
}
tr.swMain td:nth-child(3), tr.swMain td:nth-child(4) {
text-align: center;
}
/* Backgrounds */
.resIron, tr#IronResource td, tr#RefIronResource td, tr#MotorResource td, tr#CarResource td, tr#PlaneResource td {
background-color: #e2e2e2;
}
.resCoal, tr#CoalResource td, tr#SteelResource td, tr#MechPartResource td, tr#ACResource td {
background-color: #333333;
color: #eeeeee;
}
.resCopper, tr#CopperResource td, tr#SpoolResource td, tr#RefCopperResource td, tr#ElectronicResource td {
background-color: #e4952e;
}
.resOil, tr#OilResource td, tr#GasResource td, tr#PlasticResource td {
background-color: #8e6948;
color: #eeeeee;
}
.resSand, tr#SandResource td, tr#GlassResource td, tr#LightbulbResource td {
background-color: #d0dfe2;
}
.resPower {
background-color: #FDD023;
color: #8e3d04;
}
.resMoney {
background-color: #dfedde;
color: #516b51;
}
/* Dividers */
.divider {
width: 100%;
display: block;
border-bottom: 1px solid silver;
margin: 1em 0;
clear: both;
}
/* Unit Cards */
table.unitCard {
border-collapse: collapse;
width: 30%;
float: left;
margin-right: 2%;
margin-bottom: 2%;
}
table.unitCard h2 {
font-size: .75em;
text-align: left;
}
table.unitCard td {
position: relative;
border: 1px solid #666;
padding: .5em;
}
table.unitCard td p {
margin: .5em;
text-align: center;
font-weight: 800;
}
table.unitCard td p span {
font-weight: 400;
}
/* Resources */
.resource {
padding: .25em;
border-radius: 3px;
border: 1px solid #444;
}
/* Buttons */
.btn {
border-radius: 3px 3px 3px 3px;
border: 1px solid #666;
border-bottom: 3px solid #666;
/* box-shadow: 0px 1px 3px #666666; */
font-family: "Libre Franklin", "Helvetica Neue", Sans-serif;
color: #333;
background-color: #fff;
text-decoration: none;
outline: none;
padding: .25em .5em;
margin-right: .25em;
}
.btn:hover {
text-decoration: none;
}
.btn:active {
outline: none;
border-bottom: 1px solid #666;
}
/* Legend */
.legend {
background-color: #333;
color: #eee;
font-size: 11px;
border-radius: 3px;
padding: .25em .5em;
}