-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
113 lines (113 loc) · 1.9 KB
/
Copy pathstyle.css
File metadata and controls
113 lines (113 loc) · 1.9 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
body, #content {
background-color: #22362a;
color: white;
width: fit-content;
text-size-adjust: none;
}
table {
border-collapse: collapse;
}
a {
color: white;
}
[data-searchable] {
cursor: pointer;
text-decoration: underline dotted;
}
.filters {
position: sticky;
top: 0;
z-index: 1;
display: none;
justify-content: end;
user-select: none;
font-size: larger;
}
[data-searching]:not([data-searching="science"]) .filters {
display: grid;
}
.filters > #toggle {
background-color: #22362a;
width: fit-content;
display: inline-block;
position: sticky;
cursor: pointer;
}
[data-searching] .card:not(.expose), [data-searching] [data-searchable]:not(.found) {
display: none;
}
.toolgroup, .building, .recipe, .filters > div {
border: #a99262 solid 2px;
padding: 4px;
}
.toolgroup {
background-color: #1d2c38;
}
.building {
background-color: #322227;
}
.recipe {
background-color: #22362a;
}
.card table {
width: 100%;
}
tr:nth-child(even) {
background-color: rgb(255 255 255 / 0.1);
}
tr > :not(.name) {
padding-inline-start: 12px;
text-align: right;
}
.card {
display: grid;
grid-template: "name stats" / 1fr auto;
grid-gap: 2px;
}
.card > * {
grid-column: 1 / 3;
}
.name {
grid-area: name;
text-wrap: balance;
margin-inline-end: 5px;
}
.stats {
grid-area: 1 / 2 / 3;
z-index: 0;
text-align: right;
}
.stats > div {
font-size: larger;
margin-inline-start: 1px;
white-space: nowrap;
}
.stats + *
{
grid-row: 2;
}
ul {
margin: 0px;
padding-inline-start: 20px;
}
li.good {
list-style: "▲ ";
}
li.bad {
list-style: "▼ ";
}
li.good::marker, li.bad::marker {
font-weight: bold;
}
ul.cost, ul.ingredients {
list-style: "▶ ";
}
ul.cost li::marker, ul.ingredients li::marker, li.bad::marker, #toggle .consumers {
color: #b30000;
}
ul.products {
list-style: "◀ ";
}
ul.products li::marker, li.good::marker, #toggle .producers {
color: #008000;
}