Re: [css-d] 'Reversing' attributes?

2020-09-21 Thread Michael Platt
I’m confused I’m only 9 Sent from my iPad > On 10 Sep 2020, at 10:54, Jeff Zeitlin wrote: > > Normally, the title of a book should be set in italics. I'm a big fan of > semantics, so I have a class called "booktitle": > > .booktitle { >font-style: italic; > } > > > I also have a class c

Re: [css-d] 'Reversing' attributes?

2020-09-21 Thread Sandy Feldman
Hey Jeff, maybe what you need is .italic, cite {    font-style: italic; } .editorial {    editorial styles } and then you've got and book title. Think about making the editorial font size at least 1em, so as to have mercy on your older & your low vision users. There's other ways, right?

Re: [css-d] 'Reversing' attributes?

2020-09-21 Thread Jeff Zeitlin
On Mon, 21 Sep 2020 13:49:31 -0400, Sandy Feldman wrote to Freelance Traveller: >Hey Jeff, > >maybe what you need is > >.italic, cite { >    font-style: italic; >} > >.editorial { >    editorial styles > >} > >and then you've got and book >title. This doesn't solve the problem - essentially, w

Re: [css-d] 'Reversing' attributes?

2020-09-21 Thread Tom Livingston
Did we not establish an answer to this? Did another issue arrive? .italic{ font-style: italic; } .editorial{ font-style: italic; } .italic .editorial{ font-style: normal; } On Mon, Sep 21, 2020 at 2:17 PM Jeff Zeitlin wrote: > > On Mon, 21 Sep 2020 13:49:31 -0400, Sandy Feldman > wrote to Free

Re: [css-d] 'Reversing' attributes?

2020-09-21 Thread Jeff Zeitlin
On Mon, 21 Sep 2020 14:53:48 -0400, Tom Livingston wrote: >Did we not establish an answer to this? Did another issue arrive? If this is the best answer, then yes, it's been established; I was explaining what I was ultimately seeking to someone who may have missed what I was asking for. The prob

Re: [css-d] 'Reversing' attributes?

2020-09-21 Thread Tom Livingston
This is a bummer. Have you tried Sass? This might make it easier to manage. THere are GUI apps that can compile or set up your own build tools. With a little nesting, it becomes: .italic, .otheritalicstuff, em, i{ .editorial{font-style:normal;} } hope this might help. I'm on Mac and use c

Re: [css-d] 'Reversing' attributes?

2020-09-21 Thread Sandy Feldman
hey Jeff, Just about this one small part of the problem - if you have the font size set below 1em you are forcing the browser to go under the base browser size setting. On 2020-09-21 2:17 p.m., Jeff Zeitlin wrote: Think about making the editorial font size at least 1em, so as to have mercy o