Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions theme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,18 @@ <h1 class="title_header">
<strong>{{ theme_fixer_version_codename }} (v{{ theme_fixer_version_number }})</strong> edition
</h1>
</div>

{%- block navigation %}
<nav class="nav">
<ul class="menu">
<li><a href="{% if pagename == root_doc %}#installation{% else %}{{ pathto(root_doc) }}#installation{% endif %}">Installation</a></li>
Comment thread
keradus marked this conversation as resolved.
Outdated
<li class="{% if pagename.startswith('doc/usage') %}active{% endif %}"><a href="{{ pathto('doc/usage') }}">Usage</a></li>
<li class="{% if pagename.startswith('doc/config') %}active{% endif %}"><a href="{{ pathto('doc/config') }}">Configuration</a></li>
<li class="{% if pagename.startswith('doc/rules') %}active{% endif %}"><a href="{{ pathto('doc/rules/index') }}">Rules</a></li>
<li class="{% if pagename.startswith('doc/ruleSets') %}active{% endif %}"><a href="{{ pathto('doc/ruleSets/index') }}">Sets</a></li>
</ul>
</nav>
{% endblock %}
</div>
</div>
</header>
Expand Down
31 changes: 14 additions & 17 deletions theme/static/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ a:visited
right: 0;
}

.hd, .bd, .ft
.hd, .nav, .bd, .ft
Comment thread
keradus marked this conversation as resolved.
{
max-width: 1200px;
min-width: 996px;
Expand Down Expand Up @@ -154,36 +154,33 @@ a:visited
border-bottom: 2px dotted #fff;
}

.menu
{
padding-top: 95px;
width: 940px;
font-family: Arial, sans-serif;
.nav {
background-color: transparent;
margin-top: 50px;
}

.menu li
.nav .menu
{
color: #ffffff;
font-size: 1.125em;
display: inline;
padding-right: 30px;
font-family: Arial, sans-serif;
display: flex;
gap: 30px;
}

.menu a
.nav .menu a
{
color: #ffffff;
font-size: 1.2em;
color: #fff;
text-decoration: none;
}

.menu a:hover
.nav .menu a:hover
{
color: #ffffff;
text-decoration: underline;
}

.menu a.active
.nav .menu li.active a
{
color: #444;
font-weight: bold;
Comment thread
keradus marked this conversation as resolved.
Outdated
}

.bd .content
Expand Down