Good format for the launchpad
This commit is contained in:
parent
1cf61e3a51
commit
75944355f3
@ -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
|
||||
|
@ -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 }}
|
||||
|
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user