Skip to content
Open
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ By [@meiz_sandwich](https://twitter.com/meiz_sandwich).

License: can be used for any promotion of the D language.

### Oceandrift D-Man collection

By Elias A. Batek ([@0xEAB](https://github.com/0xEAB)).

License: [CC-BY-4.0](./oceandrift/COPYING.txt).

## Other D-Man resources

- [dlang comic strips](https://twitter.com/DlangGuy): A collection of comics D-Man comics (made with love)
Expand Down
2 changes: 1 addition & 1 deletion _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<nav class="site-nav">
<div class="trigger">
{%- for my_page in site.pages -%}
{%- if my_page.title -%}
{%- if my_page.title %}
|
<a class="page-link" href="{{ my_page.url | prepend: site.baseurl }}">{{ my_page.title }}</a>
{%- endif -%}
Expand Down
16 changes: 15 additions & 1 deletion css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,19 @@
}

.site-nav {
display: inline-block;
display: inline-block;
}

.gallery img {
max-width: 30%;
}

.gallery.big img {
max-width: 90%;
}

@media (min-width: 1200px) {
.gallery.big img {
max-width: 60%;
}
}
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ <h1 class="page-heading">Available collections</h1>

<ul>
<li><a href="./meiz/">Meiz</a></li>
<li><a href="./oceandrift/">Oceandrift</a></li>
</ul>

</div>
4 changes: 3 additions & 1 deletion meiz/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@
title: Meiz
---

<div class="gallery">
{% for file in site.static_files -%}
{%- assign pageurl = page.url | replace: 'index.html', '' -%}
{%- if file.path contains pageurl -%}
{%- if file.extname == '.jpg' %}
<img src="{{ site.baseurl }}{{ file.path }}" alt="{{ file.basename }}" style="max-width:30%">
<img src="{{ site.baseurl }}{{ file.path }}" alt="{{ file.basename }}">
{%- endif -%}
{%- endif -%}
{% endfor -%}
</div>
623 changes: 623 additions & 0 deletions oceandrift/2024-07-21_ship/d-man_cargo-ship.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions oceandrift/2024-07-21_ship/d-man_ship-draft.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions oceandrift/2024-07-21_ship/d-man_ship-sketch.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading