Modify NavBar
This commit is contained in:
parent
9fab118375
commit
b93e3da93e
@ -6,7 +6,7 @@ theme = "sophie-lewis"
|
||||
|
||||
[params]
|
||||
#navbar = ["about", "writing", "get-in-touch"]
|
||||
navbar = ["about", "writing", "videos", "audio", "events", "get-in-touch"]
|
||||
navbar = ["home", "about", "writing", "videos", "audio", "events", "get-in-touch"]
|
||||
|
||||
[params.header]
|
||||
name = "Sophie Lewis"
|
||||
|
File diff suppressed because one or more lines are too long
@ -30,7 +30,8 @@ hr {
|
||||
}
|
||||
a {
|
||||
padding: 0.5rem 0;
|
||||
font-size: 1.3rem;
|
||||
font-size: 1rem;
|
||||
text-decoration: underline;
|
||||
@media (max-width: 480px) { font-size: 1.1rem; }
|
||||
color: $text-colour;
|
||||
border-bottom-color: $hr-color;
|
||||
@ -41,7 +42,6 @@ hr {
|
||||
}
|
||||
padding: 0.8rem 0;
|
||||
.is-active a {
|
||||
text-decoration: underline;
|
||||
font-weight: bold;
|
||||
color: $text-colour;
|
||||
border-bottom-color: $hr-color;
|
||||
@ -252,7 +252,7 @@ p {
|
||||
|
||||
nav,footer {
|
||||
font-family: $sans_font;
|
||||
font-style: italic;
|
||||
//font-style: italic;
|
||||
}
|
||||
|
||||
.cv-entry {
|
||||
|
@ -1,5 +1,5 @@
|
||||
<nav>
|
||||
<div class="tabs is-fullwidth nav-tabs is-italic is-uppercase">
|
||||
<div class="tabs is-fullwidth nav-tabs is-uppercase">
|
||||
<ul>
|
||||
{{ range $nav_tab := site.Params.navbar }}
|
||||
{{ $nav_title := replace $nav_tab "-" " " | title }}
|
||||
@ -8,7 +8,7 @@
|
||||
{{ else }}
|
||||
<li><a href="/{{$nav_tab}}">{{ $nav_title }}</a></li>
|
||||
{{ end }}
|
||||
|
||||
|
||||
{{ end }}
|
||||
{{/* <li><a>About</a></li>
|
||||
<li><a>Writing</a></li>
|
||||
@ -16,4 +16,4 @@
|
||||
<li><a>Get In Touch</a></li> */}}
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
</nav>
|
||||
|
Loading…
Reference in New Issue
Block a user