How to use Foundation elements in Asciidoctor

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

How to use Foundation elements in Asciidoctor

bimlas
I have a site where I like to include Foundation's topbar.

What I tried: get the code from the Foundation manual, copy the javascript files, include the Sass code to Asciidoctor Stylesheet Factory, wait forr magic. Magic doesn't come, write to forum.

I think Awestruct isn't an opinion, because I have a complex tree of files including each other to get a multilingual site.

Is it possible to place the topbar to my native Asciidoctor site by adding some lines to the Sass stylesheet?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to use Foundation elements in Asciidoctor

bimlas
Ok, just figured out: I forgot to add the global Foundation components (first line).

@import "foundation/components/global"; // *always required
@import "foundation/components/grid";
@import "foundation/components/top-bar";  // *requires components/grid

Loading...