forked from foundryvtt/world-anvil
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wa.css
190 lines (163 loc) · 3.81 KB
/
wa.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
/** --------------------------------------------
Global Styling Rules
--------------------------------------------- */
button#world-anvil {
flex: 0 0 32px;
min-width: inherit;
}
button#world-anvil img {
position: relative;
border: none;
height: 24px;
width: auto;
}
.wa-link {
padding: 1px 4px 1px 18px;
margin: 0;
white-space: nowrap;
word-break: break-all;
background: #DDD;
background-image: url(icons/wa-icon.svg);
background-repeat: no-repeat;
background-size: 14px 14px;
background-position: 2px 1px;
border: 1px solid #444;
border-radius: 2px;
}
.wa-link.not-found {
color: darkred;
}
.wa-link:hover {
text-shadow: 0 0 4px red;
cursor: pointer;
}
/** --------------------------------------------
Application Styling Rules
--------------------------------------------- */
/* World Overview */
#world-anvil-browser .window-content {
max-height: 80vh;
}
/* World Overview */
#world-anvil-browser .world-description {
max-height: 200px;
overflow-y: auto;
scrollbar-width: thin;
}
/* Article Links */
#world-anvil-browser .world-anvil-link {
flex: 1;
margin: 0;
padding-left: 20px;
background-image: url(icons/wa-icon.svg);
background-repeat: no-repeat;
background-size: 16px 16px;
background-position: 0 50%;
color: #191813;
text-decoration: none;
}
#world-anvil-browser a.article-link {
color: #191813;
text-decoration: none;
}
/* General Rules */
#world-anvil-browser .controls {
flex: none;
}
#world-anvil-browser .world-anvil-control {
width: 32px;
height: 24px;
margin: 0;
padding: 0 4px;
line-height: 24px;
text-align: center;
}
#world-anvil-browser .world-anvil-control.inactive {
opacity: 0.65;
}
#world-anvil-browser .world-anvil-control > i {
margin: 0;
}
/* Categories */
#world-anvil-browser .category {
border-top: 1px solid #782e22;
}
#world-anvil-browser .subcategories .category:first-child {
border-top: none;
}
#world-anvil-browser .category-header {
align-items: center;
padding: 0.2em 0;
margin: 0;
border-bottom: 1px solid #782e22;
border-left: 1px solid #782e22;
}
#world-anvil-browser .category-title {
margin: 0;
border: none;
font-size: 1.2em;
padding-left: 0.25em;
}
#world-anvil-browser .subcategories {
padding-left: 1em;
border-left: 1px solid rgba(0, 0, 0, 0.25);
border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}
#world-anvil-browser .category .collapsed-icon {
line-height: 24px;
flex: unset;
padding: 0 0.4em;
}
#world-anvil-browser .category .collapsed-icon:hover {
cursor: pointer;
text-shadow: 0 0 4px red;
}
/* Articles */
#world-anvil-browser .article {
align-items: center;
padding: 0.25em 0em 0.25em 0.25em;
border-left: 1px solid rgba(0, 0, 0, 0.25);
border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}
#world-anvil-browser .article:last-child {
margin-bottom: 1em;
}
#world-anvil-browser .article-title {
margin: 0;
border-bottom: none;
font-size: 1em;
}
#world-anvil-browser .article-title.clickable:hover {
cursor: pointer;
text-shadow: 0 0 4px red;
}
/* Article Filters */
#world-anvil-browser .article-filters {
margin-top: 1em;
padding: 0.25em 0;
border-top: 1px solid #782e22;
}
#world-anvil-browser .article-filters button {
flex: auto;
margin-left: 3px
}
/** --------------------------------------------
Journal Entries
--------------------------------------------- */
.journal-sheet.world-anvil .image-thumb-container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.journal-sheet.world-anvil .image-thumb-container img {
max-width: 320px;
max-height: 480px;
}
dt {
font-weight: bold;
}
dd {
padding-left: 5px;
margin: 3px 0;
}