Modifying a Default style
When I try to get the css of the builtin style Upstanding Citizen
from here
https://github.com/ttscoff/MarkedCustomStyles/blob/master/default_s...
on hitting raw, I see under src url part a lot of data that makes no sense.
Is it some broken link doing this?
I cannot get a clean file to try my modifications.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Brett on 08 Oct, 2017 01:00 PM
The CSS for some files (like that one) contain embedded fonts. Just scroll down.
- Brett
2 Posted by Mazhar on 08 Oct, 2017 05:17 PM
Thanks for the clarification.
Like that style. Just wanted h3, h4 to get progressively smaller.
Support Staff 3 Posted by Brett on 08 Oct, 2017 05:22 PM
Note that it is possible to modify things like that using the Additional CSS under Style preferences. You can add override styles there that apply to all themes. All themes also get a body class based on their filename, so you can modify just Upstanding styles with:
.upstandingcitizen h2 { … }
- Brett
Support Staff 4 Posted by Brett on 08 Oct, 2017 05:23 PM
The classes are auto-assigned, I didn't double check that one. If you right click on the preview window and Inspect element, you can see the actual classes on the body tag (and even experiment with style changes live in the preview).
- Brett
5 Posted by Mazhar on 08 Oct, 2017 05:28 PM
Thanks! I will try. Not too familiar with this, just a happy user. (But did tinker successfully earlier with one style.)
6 Posted by Mazhar on 08 Oct, 2017 05:47 PM
Thanks.
"All themes also get a body class based on their filename, so you can modify just Upstanding styles with:
.upstandingcitizen h2 { … }"
This worked beautifully. All good. Thank you for responding, and so quickly.