Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

CSS Question

1499382091

Edited 1499382176
Robert D.
Sheet Author
So my CSS fundamentals aren't great. My players have asked that I move some headers down to make the L5R sheet more readable. I've determine by using inspect and editing the settings that the following CSS will do what I want: p { margin: 9px 0 3px; font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 13px; line-height: 13px; } I tried to call this by adding it to my css file like so: .sheet-traits span p { margin: 9px 0 3px; font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 13px; line-height: 13px; } And calling it like so:             <div class="attribute">                 <p></label class="traits"><span data-i18n="reflexes-u">Reflexes</span></p>                 <input type="number" value='2' name="attr_Reflexes" />                 <button type='roll' name='roll_Reflexes' value='/em @{name} rolls Reflexes! \n\n/roll [[@{Reflexes}]]d10!!'></button><br/>             </div> But that doesn't work. I'm sure I just don't understand the basic logic of his CSS is called. Can someone prod me in the right direction?
1499388320
Lithl
Pro
Sheet Author
API Scripter
Add a comma after .sheet-traits span: .sheet-traits span, p { ...
That didn't help. Does the location of the information in the CSS matter? It still seems to just be calling the normal span from the base css.
Nevermind. It's working now. Must have been a cache problem.