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
uri: /feed
- name: Stream
description: 📽️Come watch
description: 📽️Livestreamin larry
uri: /stream
- name: Dev Blog
description: 🧑‍💻 Dev stuff

View File

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

View File

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