Skip to content

Commit f720ea1

Browse files
committed
updated website
Signed-off-by: Vishal Rana <vr@labstack.com>
1 parent cd36c4f commit f720ea1

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

website/layouts/partials/head.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
<title>
1616
{{ if ne .URL "/" }}{{ .Title }} | {{ end }}{{ .Site.Title }}
1717
</title>
18-
<link rel="stylesheet" href="https://cdn.labstack.com/css/w3.css">
1918
<link rel="stylesheet" href="https://unpkg.com/font-awesome@4.6.3/css/font-awesome.min.css">
2019
<link rel="stylesheet" href="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.css">
20+
<link rel="stylesheet" href="https://cdn.labstack.com/css/w3.css">
2121
<link rel="stylesheet" href="{{ .Site.BaseURL }}/styles/prism.css">
2222
<link rel="stylesheet" href="{{ .Site.BaseURL }}/styles/main.css">

website/layouts/partials/sidenav.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<nav id="sidenav" class="w3-sidenav w3-collapse w3-animate-left">
1+
<nav id="sidenav" class="w3-sidenav w3-collapse">
22
<span class="w3-closenav w3-xxlarge w3-hide-large" onclick="closeSidenav()">
33
&times;
44
</span>

website/static/styles/main.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,15 @@ a.icon {
131131
background: #F5F5F5;
132132
}
133133

134+
.w3-sidenav a:not(.active):hover {
135+
background: #CCC;
136+
color: #000;
137+
}
138+
134139
.w3-sidenav a:hover,
135140
.w3-sidenav .active {
136-
background: #00AFD1;
137-
color: #FFF;
141+
background: #00AFD1;
142+
color: #FFF;
138143
}
139144

140145
#search-menu {

0 commit comments

Comments
 (0)