Mercurial > web
changeset 86:1fed81c848a5
html: add plugs
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Sun, 09 Jun 2024 22:07:26 -0400 |
parents | 52d59a351bf5 |
children | 60f77a3de847 |
files | _data/plugs.yml _layouts/post.html _posts/2024-06-09-schism-unicode-and-you.html css/style.css index.html media/plugs/foobar2000.png media/plugs/modarchive.gif media/plugs/openmpt.png media/plugs/schism.gif media/plugs/tarc.gif media/plugs/tarc.webp media/plugs/un4seen.png |
diffstat | 12 files changed, 57 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/_data/plugs.yml Sun Jun 09 22:07:26 2024 -0400 @@ -0,0 +1,18 @@ +- url: '/media/plugs/schism.gif' + href: 'https://schismtracker.org/' + alt: 'Schism Tracker' +- url: '/media/plugs/openmpt.png' + href: 'https://openmpt.org/' + alt: 'OpenMPT' +- url: '/media/plugs/foobar2000.png' + href: 'https://foobar2000.org/' + alt: 'foobar2000' +- url: '/media/plugs/modarchive.gif' + href: 'https://modarchive.org/' + alt: 'The Mod Archive' +- url: '/media/plugs/un4seen.png' + href: 'https://un4seen.com/' + alt: 'Un4seen' +- url: '/media/plugs/tarc.gif' + href: 'https://discord.gg/VxVYXMJZ9G' + alt: 'TARC' \ No newline at end of file
--- a/_layouts/post.html Sun Jun 09 18:20:45 2024 -0400 +++ b/_layouts/post.html Sun Jun 09 22:07:26 2024 -0400 @@ -3,11 +3,14 @@ --- <div class="content drop-shadow-box drop-shadow-text"> <h2>{{ page.title }}</h2> + <span class="blog-footer"><i>[{{ page.author }}], {{ page.date | date_to_string }}</i></span> <hr class="project-separator"> {{ content }} <br> - <span class="blog-footer"><i>Written on {{ page.date | date_to_string }} by {{ page.author }}</i></span> + {% if page.nowplaying %} + <span class="blog-footer"><i>Now playing: <b>{{ page.nowplaying }}</b></i></span><br> + {% endif %} </div>
--- a/_posts/2024-06-09-schism-unicode-and-you.html Sun Jun 09 18:20:45 2024 -0400 +++ b/_posts/2024-06-09-schism-unicode-and-you.html Sun Jun 09 22:07:26 2024 -0400 @@ -2,6 +2,7 @@ layout: post author: Paper title: 'Schism Tracker, Unicode, and you' +nowplaying: 'Holy Fuck - LP' --- <span>Recently I've taken on adding real Unicode-awareness to Schism, and it was <i>surprisingly</i> easy, to say the least.</span> <br><br>
--- a/css/style.css Sun Jun 09 18:20:45 2024 -0400 +++ b/css/style.css Sun Jun 09 22:07:26 2024 -0400 @@ -163,3 +163,25 @@ display: block; margin: 0 auto; } + +.plugs-list { + display: flex; + width: 100%; + + flex-wrap: wrap; + justify-content: center; + column-gap: 4px; +} + +.plugs-list-item { + display: block; + + width: 88px; + height: 31px; + + opacity: 80%; +} + +.plugs-list-item:hover { + opacity: 100%; +}
--- a/index.html Sun Jun 09 18:20:45 2024 -0400 +++ b/index.html Sun Jun 09 22:07:26 2024 -0400 @@ -16,11 +16,13 @@ <div class="content drop-shadow-box"> <h2 class="drop-shadow-text">welcome to my website!</h2> - <p class="drop-shadow-text"> + <span class="drop-shadow-text"> there's not really much to see here for now. In the meantime, you can check out the links at the top right to see some stuff I've made. - </p> + </span> - <h2 class="drop-shadow-text">Socials</h2> + <br><br> + + <h2 class="drop-shadow-text">socials</h2> <ul class="index-socials-list"> <li class="drop-shadow-text"> E-mail (<a class="prettylink" href="mailto:paper@paper.us.eu.org">paper@paper.us.eu.org</a>); please send me <a class="prettylink" href="https://useplaintext.email/">plain text email</a> if possible. @@ -38,4 +40,11 @@ Fediverse (<a target="_blank" class="prettylink" href="https://miniwa.moe/users/paper">@paper@miniwa.moe</a>) </li> </ul> + <br> + + <div class="plugs-list"> + {% for plug in site.data.plugs %} + <a href="{{ plug.href }}" class="navbar-item-active"><img class="plugs-list-item drop-shadow-box" src="{{ plug.url }}" alt="{{ plug.alt }}"></a> + {% endfor %} + </div> </div>