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

css for Table of Contents #47

Open
mmattel opened this issue Apr 25, 2019 · 0 comments
Open

css for Table of Contents #47

mmattel opened this issue Apr 25, 2019 · 0 comments

Comments

@mmattel
Copy link
Collaborator

mmattel commented Apr 25, 2019

When using a TOC (Table of Contents) which we force positioning by command
(:toc: macro and :toc:) somewhere in the document, we do not have a css rule for it which leads to the situation, that a defined toc title will be positioned and rendered like a standard text just underneath the text above. This is only an issue when force positioning, not with automatic positioning.
I have asked the Antora team about this and got the advice to add a css definition for it.

Here is an example code rendered by yarn antora

image

<div class="paragraph">
<p><code>occ</code> is in the owncloud/ directory; for example <code>/var/www/owncloud</code> on
Ubuntu Linux. <code>occ</code> is a PHP script. <strong>You must run it as your HTTP user</strong>
to ensure that the correct permissions are maintained on your ownCloud
files and directories.</p>
</div>
<div id="toc" class="toc">
<div id="toctitle" class="title">occ Command Directory</div>

As you can see, we reference to a toc id/class, but no definition has been made so far, at least I can´t find one. I am not a css guy, and would ask for help fixing that.

@settermjd @LukasHirt

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

No branches or pull requests

1 participant