Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

k2s
Copy link

@k2s k2s commented Feb 28, 2014

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
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants