-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
112 lines (105 loc) · 2.02 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
body {
background-color: #222;
color: rgb(152, 126, 72);
border-color: rgb(152, 126, 72);
height: 100vh;
}
#search {
width: calc(100% - 8px);
background-color: #222;
color: rgb(152, 126, 72);
border-color: rgb(152, 126, 72);
border-width: 1px;
border-radius: 4px;
}
#tablecontainer {
display: flex;
gap: 1em;
min-height: 100%;
}
#result {
margin-top: 2em;
flex-basis: 70%;
}
#result > .itemrow:first-child {
border-top: 1px solid;
border-color: inherit;
}
#sidebar {
margin-top: 2em;
flex-basis: 30%;
display: grid;
grid-template-rows: auto 1fr auto;
}
#recipes {
position: sticky;
height: fit-content;
top: 2em;
}
#spacer {
height: 2em;
}
#skillrecipes {
position: sticky;
height: fit-content;
bottom: 1em;
}
#recipes > .reciperow:first-child {
border-top: 1px solid;
border-color: inherit;
}
#skillrecipes > .craftingrow:first-child {
border-top: 1px solid;
border-color: inherit;
}
.itemrow {
display: flex;
align-content: center;
border-bottom: 1px solid;
border-color: inherit;
}
.itemrow > span {
align-self: center;
margin: 0.5em;
}
.itemrow > span:first-child {
min-width: 10em;
}
.itemrow.selected {
background-color: rgba(152, 126, 72, 0.2);
}
.reciperow {
display: grid;
grid-template-columns: 1fr auto 1fr;
border-bottom: 1px solid;
border-color: inherit;
/*height: 2.5em;*/
align-content: center;
}
.reciperow > span {
margin: 0.25em;
}
.reciperow.selected {
background-color: rgba(152, 126, 72, 0.2);
}
.craftingrow {
display: grid;
grid-template-columns: auto 1fr auto;
border-bottom: 1px solid;
border-color: inherit;
}
.craftingrow > span {
align-self: center;
margin: 0.25em;
}
.craftingrow.selected {
background-color: rgba(152, 126, 72, 0.2);
}
.icon {
width: 2em;
height: 2em;
background-image: url('aspects/forge.png');
background-size: contain;
display: inline-block;
vertical-align: -0.5em;
}