Use consistent margins in site header

master
Will Faught 12 months ago
parent e63ace5f74
commit 53b4c1f9be

@ -39,15 +39,15 @@
{{ end }} {{ end }}
{{ with $title }} {{ with $title }}
<p class="display-1 fw-bold mb-2 text-center" id="paige-site-title">{{ . }}</p> <p class="display-1 fw-bold mb-2 mt-3 text-center" id="paige-site-title">{{ . }}</p>
{{ end }} {{ end }}
{{ with $description }} {{ with $description }}
<p class="lead text-center" id="paige-site-description">{{ . }}</p> <p class="lead mb-3 mt-2 text-center" id="paige-site-description">{{ . }}</p>
{{ end }} {{ end }}
{{ with $menu }} {{ with $menu }}
<nav> <nav class="my-3">
<ul class="align-items-center justify-content-center nav {{ if $pills }} nav-pills {{ else if $tabs }} nav-tabs {{ else if $underline }} nav-underline {{ end }}"> <ul class="align-items-center justify-content-center nav {{ if $pills }} nav-pills {{ else if $tabs }} nav-tabs {{ else if $underline }} nav-underline {{ end }}">
{{ range . }} {{ range . }}
{{ $menupath := strings.TrimPrefix $basepath .URL }} {{ $menupath := strings.TrimPrefix $basepath .URL }}
@ -81,7 +81,7 @@
{{ end }} {{ end }}
{{ with $ancestors }} {{ with $ancestors }}
<nav aria-label="{{ i18n `paige_breadcrumbs` }}" class="mt-3" id="paige-breadcrumbs"> <nav aria-label="{{ i18n `paige_breadcrumbs` }}" class="my-3" id="paige-breadcrumbs">
<div class="d-flex justify-content-center"> <div class="d-flex justify-content-center">
<ol class="breadcrumb mb-0"> <ol class="breadcrumb mb-0">
{{ $reverse := .Reverse }} {{ $reverse := .Reverse }}

Loading…
Cancel
Save