Browse Source

a few styling changes and URL fix for bookmarks page

master
jk 5 years ago
parent
commit
9b902b4d52
  1. 4
      themes/nipponalba/layouts/partials/bookmarks.html
  2. 6
      themes/nipponalba/static/css/style.css

4
themes/nipponalba/layouts/partials/bookmarks.html

@ -1,12 +1,12 @@
<h4>Scottish Politics</h4> <h4>Scottish Politics</h4>
{{ range .Site.Data.bookmarks }} {{ range .Site.Data.bookmarks }}
{{ if eq .category "Scottish Politics"}} {{ if eq .category "Scottish Politics"}}
<u><a href="{{ .bookmarkof | absURL }}">{{ .name }}</a></u> - {{ .content | markdownify }}
<u><a href="{{ .bookmarkof | absURL }}" target="_blank">{{ .name }}</a></u> - {{ .content | markdownify }}
{{ end }} {{ end }}
{{ end }} {{ end }}
<h4>Vegan Recipes</h4> <h4>Vegan Recipes</h4>
{{ range .Site.Data.bookmarks }} {{ range .Site.Data.bookmarks }}
{{ if eq .category "Vegan Recipes"}} {{ if eq .category "Vegan Recipes"}}
<u><a href="{{ .bookmarkof }}">{{ .name }}</a></u> - {{ .content | markdownify }}
<u><a href="{{ .bookmarkof | absURL }}" target="_blank">{{ .name }}</a></u> - {{ .content | markdownify }}
{{ end }} {{ end }}
{{ end }} {{ end }}

6
themes/nipponalba/static/css/style.css

@ -740,7 +740,7 @@ hr{
width: 70%; width: 70%;
} }
.page-top .nav #Responses{
.page-top .nav #Bookmarks{
display:none; display:none;
} }
.page-top .nav li{ .page-top .nav li{
@ -757,14 +757,14 @@ hr{
} }
.content { .content {
width:95%;
width:90%;
z-index: 2; z-index: 2;
position: absolute; position: absolute;
left:0; left:0;
} }
.about, .post, .archive, .content, .stream{ .about, .post, .archive, .content, .stream{
width:95%;
width:90%;
margin:0 auto; margin:0 auto;
} }