use banner class on banner in about

pull/75/head
Harvey Tindall 4 years ago
parent 618cc32a17
commit e351c35cc8
No known key found for this signature in database
GPG Key ID: BBC65952848FB1A2

@ -52,6 +52,11 @@
padding: var(--spacing-4,1rem); padding: var(--spacing-4,1rem);
} }
.modal-content .banner {
margin-left: calc(-1 * var(--spacing-4,1rem) - 0.5%); /* Not sure why this is necessary */
margin-right: calc(-1 * var(--spacing-4,1rem) - 0.5%);
}
div.card:contains(section.banner.footer) { div.card:contains(section.banner.footer) {
padding-bottom: 0px; padding-bottom: 0px;
} }

@ -40,8 +40,8 @@
</div> </div>
<div id="modal-about" class="modal"> <div id="modal-about" class="modal">
<div class="modal-content content card"> <div class="modal-content content card">
<span class="heading">{{ .strings.aboutProgram }} <span class="modal-close">&times;</span></span> <img src="{{ .urlBase }}/banner.svg" class="banner header" alt="jfa-go banner">
<img src="{{ .urlBase }}/banner.svg" class="mt-1" alt="jfa-go banner"> <span class="heading"><span class="modal-close">&times;</span></span>
<p><i class="icon ri-github-fill"></i><a href="https://github.com/hrfee/jfa-go">jfa-go</a></p> <p><i class="icon ri-github-fill"></i><a href="https://github.com/hrfee/jfa-go">jfa-go</a></p>
<p>{{ .strings.version }} <span class="code monospace">{{ .version }}</span></p> <p>{{ .strings.version }} <span class="code monospace">{{ .version }}</span></p>
<p>{{ .strings.commitNoun }} <span class="code monospace">{{ .commit }}</span></p> <p>{{ .strings.commitNoun }} <span class="code monospace">{{ .commit }}</span></p>

Loading…
Cancel
Save