Login  Register

Re: Customize CSS in Asciidoctor JS

Posted by mojavelinux on May 16, 2019; 8:07pm
URL: https://discuss.asciidoctor.org/Customize-CSS-in-Asciidoctor-JS-tp6901p6924.html

The simple solution to that problem (apart from using docinfo) is to store the default stylesheet locally and add the following to the top of custom.css

@import url(asciidoctor.css);

/* add your custom styles here */

Cheers,

-Dan

On Thu, May 16, 2019 at 1:55 PM gquintana [via Asciidoctor :: Discussion] <[hidden email]> wrote:
When I had
:stylesheet: custom.css

It replaces the default stylesheet, I only want to add my own css after the default one.
As I said, I don't need to design a new theme.

By the way, thanks for your help


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Customize-CSS-in-Asciidoctor-JS-tp6901p6923.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux