Updates to theme
This commit is contained in:
parent
9bd317a3fb
commit
d5721545d9
|
|
@ -35,7 +35,7 @@ nav .fancy-title{
|
|||
text-shadow: none;
|
||||
}
|
||||
|
||||
article>div p:not(.nodrop):first-of-type::first-letter {
|
||||
article>div>p:not(.nodrop):first-of-type::first-letter {
|
||||
color: firebrick;
|
||||
padding: 0 .3rem;
|
||||
margin: 0 .3rem 0 0;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
{{- $cp := where .Site.RegularPages ".Params.categories" "intersect" site.Params.cyoa -}}
|
||||
{{- $np := where $cp ".Params.prev" "intersect" (slice $pageRel ) }}
|
||||
|
||||
|
||||
{{if or (isset .Params "prev") $np }}
|
||||
<div class="bg-white br3 mb3 pa4 gray">
|
||||
<h1 class="f3 near-black">Choose Your Own Adventure<h1>
|
||||
|
|
@ -11,9 +12,9 @@
|
|||
{{ range $np }}
|
||||
<li class="list pa0">
|
||||
<a href="{{ .RelPermalink }}" class="link f5 grow no-underline ph3 pv0 mb2 dib black sans-serif">
|
||||
{{if in .Params.categories "Player"}}<img src="/images/PF.svg" alt="Player Forward" height="16px">{{end}}
|
||||
{{if in .Params.categories "Game Master"}}<img src="/images/GMF.svg" alt="Game Master Forward" height="16px"> {{end}}
|
||||
{{if in .Params.categories "Technical"}}<img src="/images/TF.svg" alt="Technical Forward" height="16px"> {{end}}
|
||||
{{if and (in .Params.categories "Player") (in $.Params.categories "Player")}}<img src="/images/PF.svg" alt="Player Forward" height="16px">{{end}}
|
||||
{{if and (in .Params.categories "Game Master") (in $.Params.categories "Game Master")}}<img src="/images/GMF.svg" alt="Game Master Forward" height="16px"> {{end}}
|
||||
{{if and (in .Params.categories "Technical") (in $.Params.categories "Technical")}}<img src="/images/TF.svg" alt="Technical Forward" height="16px"> {{end}}
|
||||
{{- .LinkTitle -}}
|
||||
</a>
|
||||
</li>
|
||||
|
|
@ -25,9 +26,9 @@
|
|||
{{ with $.GetPage .}}
|
||||
<li class="list pv0 mv0">
|
||||
<a href="{{ .RelPermalink }}" class="link f5 grow no-underline ph3 pv0 mb2 dib black sans-serif">
|
||||
{{if in .Params.categories "Player"}}<img src="/images/PB.svg" alt="Player Back" height="16px">{{end}}
|
||||
{{if in .Params.categories "Game Master"}}<img src="/images/GMB.svg" alt="Game Master Back" height="16px"> {{end}}
|
||||
{{if in .Params.categories "Technical"}}<img src="/images/TB.svg" alt="Technical Back" height="16px"> {{end}}
|
||||
{{if and (in .Params.categories "Player") (in $.Params.categories "Player") }}<img src="/images/PB.svg" alt="Player Back" height="16px">{{end}}
|
||||
{{if and (in .Params.categories "Game Master") (in $.Params.categories "Game Master")}}<img src="/images/GMB.svg" alt="Game Master Back" height="16px"> {{end}}
|
||||
{{if and (in .Params.categories "Technical") (in $.Params.categories "Technical")}}<img src="/images/TB.svg" alt="Technical Back" height="16px"> {{end}}
|
||||
{{- .LinkTitle -}}
|
||||
</a>
|
||||
</li>
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<div class="nested-links f5 lh-copy nested-copy-line-height">
|
||||
{{ $gm := or .Params.GM .Parent.Params.GM }}
|
||||
<ul class="list">
|
||||
<li>Game Master: <a href='/gmprofile/{{ $gm }}' class="link">{{ $gm }}</a></li>
|
||||
<li>Game Master: <a href='/gmprofile/{{ lower $gm }}' class="link">{{ $gm }}</a></li>
|
||||
{{ partial "session-type.html" . }}
|
||||
<li>Seat reservation fee<a href="/reservation-fee" ><img src="/info.png" class="w100 mw5-ns" style="width: 16px" alt="Info on seat reservation fees" /></a>: ${{ .Params.seat_fee }} {{- if ne nil .Params.patreon.seat_fee }} (Patreons<a href="/patreon-reservation-fee" ><img src="/info.png" class="w100 mw5-ns" style="width: 16px" alt="Info on Patreon seat reservation fees" /></a> {{if .Params.patreon.seat_fee}}${{ .Params.patreon.seat_fee }}{{else}}FREE{{- end}}){{else}}NON {{ .Params.patreon.seat_fee }}{{- end}}</li>
|
||||
</ul>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user