Styling "headings"


#1

Continuing my interest in styling: is there a way to style different levels of headings differently? I’m poking around in the developer tools but I’m not a CSS wizard and I don’t see any particular differences in the attributes of level 1 headings and level 2 headings.

There was this in the standalone FT. Anything similar for Atom?


#2

Here’s how you can style the font size of “headings” that have children vrs those that don’t:

.ft-has-children > .ft-branch > .ft-item-content > .ft-body-text {
  font-weight: bold;
}

But it looks like I took out the “level” attribute that I was using to differentiate between levels. I’ll add that back in for the next release.