fix sidenav
This commit is contained in:
parent
dd63ae1207
commit
7cae730bf9
|
@ -18,6 +18,9 @@
|
|||
</div>
|
||||
</div>
|
||||
<div id="particles-js"></div>
|
||||
|
||||
<a href="#" data-target="slide-out" class="top-nav sidenav-trigger full hide-on-large-only"><i class="fa fa-bars"></i></a>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
@ -26,7 +29,7 @@
|
|||
<main>
|
||||
{% include github-corner.html %}
|
||||
|
||||
<ul class="sidenav sidenav-fixed" style="transform: translateX(0px);">
|
||||
<ul id="slide-out" class="sidenav sidenav-fixed" style="transform: translateX(0px);">
|
||||
<ul class="collapsible collapsible-accordion">
|
||||
<li class="tab col s2"><a class="tab white-text" href="#tabMain">Awesome WM Widgets</a></li>
|
||||
<li><div class="divider"></div></li>
|
||||
|
@ -35,7 +38,7 @@
|
|||
<div class="collapsible-body">
|
||||
<ul>
|
||||
{% for widget in site.widgets %}
|
||||
<li class="tab col s2 ">
|
||||
<li class="tab col s2 sidenav-close">
|
||||
<a class="tab" href="#tab{{ widget.title | replace: ' ', '_' }}">
|
||||
{{ widget.title | replace: 'Cpu', 'CPU' | replace: 'Ram', 'RAM' | replace: 'Fs', 'FS' | replace: 'Todo', 'ToDo'}}
|
||||
</a>
|
||||
|
@ -50,7 +53,7 @@
|
|||
<div class="collapsible-body">
|
||||
<ul>
|
||||
{% for prompt in site.prompts %}
|
||||
<li class="tab col s2 ">
|
||||
<li class="tab col s2 sidenav-close">
|
||||
<a class="tab" href="#tab{{ prompt.title | replace: ' ', '_' }}">
|
||||
{{ prompt.title }}
|
||||
</a>
|
||||
|
@ -66,7 +69,7 @@
|
|||
<div class="collapsible-body">
|
||||
<ul>
|
||||
{% for tip in site.tips %}
|
||||
<li class="tab col s2 ">
|
||||
<li class="tab col s2 sidenav-close">
|
||||
<a class="tab" href="#tab{{ tip.title | replace: ' ', '_' }}">
|
||||
{{ tip.title }}
|
||||
</a>
|
||||
|
@ -81,7 +84,7 @@
|
|||
<div class="collapsible-body">
|
||||
<ul>
|
||||
{% for snippet in site.snippets %}
|
||||
<li class="tab col s2 ">
|
||||
<li class="tab col s2 sidenav-close">
|
||||
<a class="tab" href="#tab{{ snippet.title | replace: ' ', '_' }}">
|
||||
{{ snippet.title }}
|
||||
</a>
|
||||
|
|
|
@ -69,7 +69,18 @@ footer {
|
|||
padding-top: 0 !important;
|
||||
padding-bottom: 12px;
|
||||
}
|
||||
|
||||
a.sidenav-trigger.top-nav {
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
height: 28px;
|
||||
width: 28px;
|
||||
top: 8px;
|
||||
float: none;
|
||||
margin-left: 1.5rem;
|
||||
color: #3CA2A2;
|
||||
font-size: 36px;
|
||||
z-index: 2;
|
||||
}
|
||||
.sidenav {
|
||||
background-color: #202020;
|
||||
color: white;
|
||||
|
|
Loading…
Reference in New Issue