88x31 buttons
BIN
assets/buttons/firefox-now.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
assets/buttons/get-blender-2.8.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
assets/buttons/iso-8601.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
assets/buttons/made-with-notepad++.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
assets/buttons/minecraft.png
Normal file
After Width: | Height: | Size: 6.3 KiB |
BIN
assets/buttons/powered-by-ubuntu.png
Normal file
After Width: | Height: | Size: 5.6 KiB |
BIN
assets/buttons/tea-powered.png
Normal file
After Width: | Height: | Size: 370 B |
BIN
assets/buttons/ubuntu.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
assets/links/maya.land.png
Normal file
After Width: | Height: | Size: 7.2 KiB |
34
layouts/partials/buttons.html
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
<style>
|
||||||
|
.buttons {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: center;
|
||||||
|
max-width: 100vw; /* Make the container as wide as the viewport */
|
||||||
|
gap: 3px;
|
||||||
|
margin: 0; /* Remove any default margin */
|
||||||
|
padding: 0; /* Remove any default padding */
|
||||||
|
}
|
||||||
|
.button {
|
||||||
|
display: inline-block;
|
||||||
|
border: none;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
border-radius: 0;
|
||||||
|
background: none;
|
||||||
|
image-rendering: auto;
|
||||||
|
image-rendering: crisp-edges;
|
||||||
|
image-rendering: pixelated;
|
||||||
|
image-rendering: -webkit-optimize-contrast;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<div class="buttons">
|
||||||
|
{{ $buttons := resources.Match "buttons/*" }}
|
||||||
|
{{ if $buttons }}
|
||||||
|
{{ range $index, $button := $buttons }}
|
||||||
|
<img class="button" src="{{ $button.RelPermalink }}" alt="Button {{ $button.Name | path.Base }}" />
|
||||||
|
{{ end }}
|
||||||
|
{{ else }}
|
||||||
|
<p>No buttons available.</p>
|
||||||
|
{{ end }}
|
||||||
|
</div>
|