hell
This commit is contained in:
parent
6595115398
commit
af8b6b9908
3 changed files with 15 additions and 3 deletions
|
@ -17,6 +17,11 @@ body {
|
|||
|
||||
#drawer-toggler:checked ~ body, .drawer-body-scrolling-disabled {
|
||||
overflow: hidden;
|
||||
background:grey;
|
||||
* {
|
||||
color:red!important;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.main-page-wrap {
|
||||
|
@ -80,3 +85,9 @@ body {
|
|||
font-size: 1.3em;
|
||||
}
|
||||
}
|
||||
#drawer-toggler:checked + .drawer{
|
||||
width: 300px;
|
||||
.drawer-links {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,8 +5,9 @@
|
|||
|
||||
{{- block "head" . -}}{{ end }}
|
||||
</head>
|
||||
<input type=checkbox hidden name=drawer-toggler id=drawer-toggler>
|
||||
<body>
|
||||
<input type=checkbox hidden name=drawer-toggler id=drawer-toggler>
|
||||
{{ partial "drawer" . }}
|
||||
<div
|
||||
id="main-page-wrap"
|
||||
class="main-page-wrap"
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
class="drawer">
|
||||
<div class="drawer-content">
|
||||
<div class="drawer-close-container">
|
||||
<div
|
||||
<label
|
||||
class="drawer-close-button"
|
||||
for="drawer-toggler">
|
||||
<i class="fa fas fa-times-circle"></i>
|
||||
</div>
|
||||
</label>
|
||||
</div>
|
||||
<div class="drawer-links">
|
||||
{{ range .Site.Menus.main.ByWeight }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue