Mercurial > web
changeset 98:caa6f0e136c8
*: add cheese section that's really just a photo gallery
author | Paper <paper@tflc.us> |
---|---|
date | Tue, 19 Nov 2024 00:55:49 -0500 |
parents | 809b6a0ca2e9 |
children | e83a48ef3bf4 |
files | _data/cheese.yml _data/navigation.yml _posts/2024-11-03-long-live-powerpc.html cheese/index.html css/style.css media/blog/macosx-panther-schism.png media/cheese/macosx-panther-schism.jpg media/cheese/performa-630cd.jpg media/cheese/weeaboo-brainrot.jpg |
diffstat | 9 files changed, 35 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/_data/cheese.yml Tue Nov 19 00:55:49 2024 -0500 @@ -0,0 +1,6 @@ +- name: Schism on my powerbook g3 pismo running panther + link: /media/cheese/macosx-panther-schism.jpg +- name: weeaboo brainrot + link: /media/cheese/weeaboo-brainrot.jpg +- name: my performa 630CD + link: /media/cheese/performa-630cd.jpg \ No newline at end of file
--- a/_data/navigation.yml Sun Nov 03 06:28:32 2024 -0500 +++ b/_data/navigation.yml Tue Nov 19 00:55:49 2024 -0500 @@ -4,4 +4,6 @@ link: /code/ - name: blog link: /blog/ - prefix: /blog/ \ No newline at end of file + prefix: /blog/ +- name: cheese + link: /cheese/ \ No newline at end of file
--- a/_posts/2024-11-03-long-live-powerpc.html Sun Nov 03 06:28:32 2024 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,7 +0,0 @@ ---- -layout: post -author: Paper -title: 'Long live PowerPC!' -nowplaying: 'Sko - One of us' ---- -<img class="drop-shadow-box center-image" src="/media/blog/macosx-panther-schism.png">
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cheese/index.html Tue Nov 19 00:55:49 2024 -0500 @@ -0,0 +1,9 @@ +--- +layout: default +title: cheese +--- +<div class="cheese-list"> +{% for item in site.data.cheese %} + <a href="{{ item.link }}"><img class="drop-shadow-box cheese-image" src="{{ item.link }}" alt="{{ item.name }}" title="{{ item.name }}"></a> +{% endfor %} +</div>
--- a/css/style.css Sun Nov 03 06:28:32 2024 -0500 +++ b/css/style.css Tue Nov 19 00:55:49 2024 -0500 @@ -169,6 +169,23 @@ height: auto; } +.cheese-list { + display: flex; + + flex-wrap: wrap; + justify-content: center; + + row-gap: 0.5em; + column-gap: 0.5em; +} + +.cheese-image { + display: block; + + height: 35vh; + width: auto; +} + .plugs-list { display: flex; width: 100%;