forked from will0101/www
-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.html
42 lines (33 loc) · 1.31 KB
/
header.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<div class="offcanvas black-bg offcanvas-end" tabindex="-1" id="offcanvasRight" aria-labelledby="offcanvasRightLabel">
<div class="offcanvas-header">
<h5 class="offcanvas-title" id="offcanvasRightLabel">MENU</h5>
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close"><i class="icon-tea-x-btn"></i></button>
</div>
<div class="offcanvas-body">
<ul class="navbar-nav ms-auto me-4 my-auto">
{{ range .Site.Menus.main }}
<li class="nav-item mt-lg-0 mt-md-0 mt-sm-3 mt-3" style="text-transform: uppercase;">
<a class="top-nav-link nav-link{{ if $.IsMenuCurrent "main" . }} active" aria-current="page {{ end }}" href="{{ .URL }}">{{ .Name}}</a>
</li>
{{ end }}
<li class="nav-item mt-lg-0 mt-md-0 mt-sm-3 mt-3">
<a class="top-nav-link nav-link" aria-current="page" href="https://github.com/teaxyz/cli/stargazers"><i class="icon-github" style="position:relative;top:2px;"></i> <span class="stargazers"></span></a>
</li>
</ul>
</div>
</div>
<style>
@media only screen and (max-width: 992px) {
.offcanvas-title{
font-size: 3vw;
}
a.top-nav-link{
color: #00ffd0!important;
font-size: 6vw;
text-align: right;
}
.btn-close{
color: white !important;
}
}
</style>