asciidoctor / asciidoctor-stylesheet-factory

!DEPRECATED! This was the utility project for producing the default stylesheet for the HTML converter in Asciidoctor. The source of the default stylesheet now lives in the main Asciidoctor repository.
Other
175 stars 87 forks source link

shell script to compile embedable AsciiDoc CSS themes (wrapped into CSS selector) #10

Open k2s opened 10 years ago

k2s commented 10 years ago

this shell script will produce stylesheets/$themeName-wrapped.css files they contain all CSS selectors nested under .$themeName class selector

I needed this to be able to embed AsciiDoc content into other pages.

mojavelinux commented 9 years ago

Actually, I have a slightly separate approach to this problem that cuts down on the size of the generated stylesheet. We can, of course, still include an option to wrap the styles inside a selector...but doing so does run the risk that the style definitions no longer override where they were intended to override. That's why it's important to be able to produce a stylesheet designed for embeddable usage as well. See #2