File tree Expand file tree Collapse file tree 2 files changed +26
-17
lines changed
Expand file tree Collapse file tree 2 files changed +26
-17
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,18 @@ <h1 class="title_header">
4747 < strong > {{ theme_fixer_version_codename }} (v{{ theme_fixer_version_number }})</ strong > edition
4848 </ h1 >
4949 </ div >
50+
51+ {%- block navigation %}
52+ < nav class ="nav ">
53+ < ul class ="menu ">
54+ < li class ="{% if pagename.startswith('doc/installation') %}active{% endif %} "> < a href ="{{ pathto('doc/installation') }} "> Installation</ a > </ li >
55+ < li class ="{% if pagename.startswith('doc/usage') %}active{% endif %} "> < a href ="{{ pathto('doc/usage') }} "> Usage</ a > </ li >
56+ < li class ="{% if pagename.startswith('doc/config') %}active{% endif %} "> < a href ="{{ pathto('doc/config') }} "> Configuration</ a > </ li >
57+ < li class ="{% if pagename.startswith('doc/rules') %}active{% endif %} "> < a href ="{{ pathto('doc/rules/index') }} "> Rules</ a > </ li >
58+ < li class ="{% if pagename.startswith('doc/ruleSets') %}active{% endif %} "> < a href ="{{ pathto('doc/ruleSets/index') }} "> Sets</ a > </ li >
59+ </ ul >
60+ </ nav >
61+ {% endblock %}
5062 </ div >
5163 </ div >
5264 </ header >
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ a:visited
5353 right : 0 ;
5454}
5555
56- .hd , .bd , .ft
56+ .hd , .nav , . bd , .ft
5757{
5858 max-width : 1200px ;
5959 min-width : 996px ;
@@ -154,36 +154,33 @@ a:visited
154154 border-bottom : 2px dotted # fff ;
155155}
156156
157- .menu
158- {
159- padding-top : 95px ;
160- width : 940px ;
161- font-family : Arial, sans-serif;
157+ .nav {
158+ background-color : transparent;
159+ margin-top : 50px ;
162160}
163161
164- .menu li
162+ .nav . menu
165163{
166- color : # ffffff ;
167- font-size : 1.125em ;
168- display : inline;
169- padding-right : 30px ;
164+ font-family : Arial, sans-serif;
165+ display : flex;
166+ gap : 30px ;
170167}
171168
172- .menu a
169+ .nav . menu a
173170{
174- color : # ffffff ;
171+ font-size : 1.2em ;
172+ color : # fff ;
175173 text-decoration : none;
176174}
177175
178- .menu a : hover
176+ .nav . menu a : hover
179177{
180- color : # ffffff ;
181178 text-decoration : underline;
182179}
183180
184- .menu a .active
181+ .nav . menu li .active a
185182{
186- color : # 444 ;
183+ color : # fbc817 ;
187184}
188185
189186.bd .content
You can’t perform that action at this time.
0 commit comments