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