Good format for the launchpad

This commit is contained in:
shockrah 2023-09-21 23:03:31 -07:00
parent 1cf61e3a51
commit 75944355f3
3 changed files with 14 additions and 4 deletions

View File

@ -17,7 +17,7 @@ Params:
description: 📜 Posts about things description: 📜 Posts about things
uri: /feed uri: /feed
- name: Stream - name: Stream
description: 📽️Come watch description: 📽️Livestreamin larry
uri: /stream uri: /stream
- name: Dev Blog - name: Dev Blog
description: 🧑‍💻 Dev stuff description: 🧑‍💻 Dev stuff

View File

@ -1,6 +1,5 @@
{{ range .Site.Params.Launchpad }} {{ range .Site.Params.Launchpad }}
<button type="button" class="fade-in-image launchpad-button btn btn-light"> <button type="button" class="fade-in-image launchpad-button btn btn-light launchpad-button-text">
<h5 class="card-title">{{ .uri }}</h5> <pre style="">{{ printf "%-8s%s" .uri .description }}</pre>
<p class="card-text">{{ .description }}</p>
</button> </button>
{{ end }} {{ end }}

View File

@ -206,12 +206,23 @@ ul.timeline > li:before {
width: 100%; width: 100%;
} }
.launchpad-button > pre {
margin: 0.3em;
}
/* Overriding some bootstrap shittery here */ /* Overriding some bootstrap shittery here */
.launchpad-button { .launchpad-button {
border-top-left-radius: 0.25rem; border-top-left-radius: 0.25rem;
border-top-right-radius: 0.25rem; border-top-right-radius: 0.25rem;
text-align: left;
} }
.launchpad-button-text {
font-family: 'Courier New', monospace;
}
@media (max-width: 768px) { @media (max-width: 768px) {
body { min-width: 100%; } body { min-width: 100%; }
p { font-size: x-large; } p { font-size: x-large; }