On 24 February 2014 22:50, Richard Hardwick <[email protected]> wrote:
> Lex Trotman wrote
>
>>The "stylesheet" attribute
>>http://www.methods.co.nz/asciidoc/userguide.html#X88 defines a css
>>stylesheet that overrides the theme. Just create one that sets the
>>css for the elements you want to be different to the theme.
>
> Thats very helpful
>
> Just for others who may come the same way
> To add the attribute 'stylesheet',
> I put at the end of my command, '-a stylesheet=rch-special.css '
> so that it now reads
> 'asciidoc -b html5 -a icons -a toc2 -a theme=volnitsky -a
> stylesheet=rch-special.css ';
>
> where file rch-special.css is /etc/asciidoc/rch-special.css [1]
>
> Its having some effect, though not altogether what I hoped for,
> but I guess thats a question now for a CSS forum
> and off-topic for asciidoc
My CSS is lousy, thats why I didn't try to advise on that :)
Cheers
Lex
>
> Richard H
>
> [1] My rch-special.css reads
> i {
> font-style: italic;
> color: red;
> font-size: small;
> }
>
> em {
> font-style: italic;
> color: red;
> font-size: small;
> }
>
> --
> You received this message because you are subscribed to the Google Groups
> "asciidoc" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/asciidoc.
> For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/groups/opt_out.