forked from asimone/questrpg-roll20-character-sheet-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathroll20-custom-sheet.css
273 lines (210 loc) · 5.04 KB
/
roll20-custom-sheet.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
/*----------- Logo -------------*/
img.sheet-logo {
float: right;
padding-right: 30px;
}
/*----------- Tabs Setup -------------*/
/*this hides the contents of each tab by default*/
.charsheet div[class^="sheet-section"] {
display: none;
}
/*this shows the tab content when the appropriate input field is selected*/
.charsheet input.sheet-tab1:checked~div.sheet-section-profile,
.charsheet input.sheet-tab2:checked~div.sheet-section-inv,
.charsheet input.sheet-tab4:checked~div.sheet-section-spells,
.charsheet input.sheet-tab3:checked~div.sheet-section-abilities {
display: block;
width: 800px;
background-color: white;
}
.charsheet input.sheet-tab99:checked~div[class^="sheet-section"] {
display: block;
}
/*this hides the radio button for each tab, makes it 100px wide and 40px tall and makes sure it's above everything else*/
.charsheet input.sheet-tab {
width: 100px;
height: 40px;
cursor: pointer;
position: relative;
opacity: 0;
transform: translate(6px, 17px);
z-index: 9999;
}
/*this styles the span with the tab information and slides to the left, so it appears underneath the radio button*/
.charsheet span.sheet-tab {
text-align: center;
display: inline-block;
font-size: 13px;
background: #c7c3b0;
color: white;
font-weight: bold;
border-radius: 4px;
width: 100px;
height: 40px;
cursor: pointer;
position: relative;
vertical-align: middle;
margin-left: -101px;
/*originally 91px*/
}
/*this modifies the span color once the radio button is selected so you know which tab is selected*/
.charsheet input.sheet-tab1:checked+span.sheet-tab1,
.charsheet input.sheet-tab2:checked+span.sheet-tab2,
.charsheet input.sheet-tab3:checked+span.sheet-tab3,
.charsheet input.sheet-tab4:checked+span.sheet-tab4,
.charsheet input.sheet-tab5:checked+span.sheet-tab5,
.charsheet input.sheet-tab6:checked+span.sheet-tab6,
.charsheet input.sheet-tab7:checked+span.sheet-tab7,
.charsheet input.sheet-tab8:checked+span.sheet-tab8,
.charsheet input.sheet-tab99:checked+span.sheet-tab99 {
background: #2c424e;
color: white;
border-radius: 4px;
}
/*----------- End Tab Setup -----------*/
/*----------- Profile Section -------------*/
.charsheet .sheet-section-profile {
background-color: #ffffff;
background-repeat: no-repeat;
}
.charsheet div.sheet-section-profile {
padding-top: 30px;
padding-bottom: 10px;
}
.charsheet .sheet-section-profile p {
font-family: 'Ovo', serif;
font-size: 24px;
margin-left: 20px;
line-height: 1.6;
width: 800px;
}
input[type=text],
input[type=number] {
display: inline-block;
margin-right: 5px;
box-shadow: none;
border: none;
border-bottom: 1px solid black;
-moz-appearance: textfield;
font-size: 24px;
margin-top: -5px;
}
.charsheet input.sheet-name-field {
width: 300px;
}
.charsheet input.sheet-pronoun {
width: 130px;
text-align: center;
}
.charsheet input.sheet-age {
width: 70px;
}
.charsheet input.sheet-height {
width: 180px;
}
.charsheet input.sheet-role {
width: 275px;
}
.charsheet input.sheet-attribute {
width: 275px;
}
.charsheet input.sheet-attribute2 {
width: 500px;
}
.charsheet input.sheet-clothes {
width: 340px;
}
.charsheet input.sheet-background {
width: 440px;
}
.charsheet input.sheet-background2 {
width: 630px;
}
.charsheet input.sheet-ethos {
width: 370px;
}
.charsheet input.sheet-goal {
width: 650px;
}
.charsheet textarea.sheet-notes {
width: 760px;
height: 130px;
font-size: 24px;
}
.charsheet div.sheet-profile-notes {
padding-top: 15px;
}
/*----------- End Profile Section -------------*/
/*----------- Abilities Section -------------*/
div.sheet-section-abilities {
padding-top: 30px;
}
div.sheet-section-abilities p {
font-size: 24px;
}
span.sheet-ap {
float: right;
}
span.sheet-hp {
text-align: center;
}
input.sheet-ap {
text-align: center;
}
input.sheet-hp {
text-align: center;
}
h3.sheet-ability-header {
text-align: center;
color: #FFF;
background-color: #2c424e;
margin-top: 20px;
margin-bottom: 20px;
}
input.sheet-ability-name {
margin-bottom: 10px;
font-size: 18px;
}
input.sheet-ability-cost {
margin-bottom: 10px;
font-size: 18px;
width: 75px;
}
textarea.sheet-ability-description {
font-size: 18px;
resize: none;
width: 790px;
resize: none;
}
/*----------- End Abilities Section -------------*/
/*----------- Inventory Section -------------*/
div.sheet-2colrow.sheet-2colrow-top {
padding-top: 30px;
}
.charsheet textarea.sheet-inv {
font-size: 18px;
resize: none;
}
/*----------- End Inventory Section -------------*/
/*----------- Ability Roll Template -------------*/
.sheet-rolltemplate-ability table {
width: 100%;
padding: 2px;
background-color: white;
border: 1px solid #2c424e;
}
.sheet-rolltemplate-ability th {
color: #FFF;
background-color: #2c424e;
padding: 5px;
line-height: 1.1em;
font-size: 1em;
text-align: left;
font-family: "Arial", Helvetica, sans-serif;
text-transform: uppercase;
}
.sheet-rolltemplate-ability td {
font-size: 14px;
padding: 5px;
}
/*----------- End Ability Roll Template -------------*/