Skip to content

Commit

Permalink
updated coding page layout slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
MyXoToD committed May 4, 2024
1 parent 66f200a commit 6993525
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Personal website of Maximilian Boll. Feel free to look around.

![](https://img.shields.io/badge/version-v1.1.4-brightgreen?style=for-the-badge)
![](https://img.shields.io/badge/version-v1.1.5-brightgreen?style=for-the-badge)
![](https://img.shields.io/github/last-commit/MyXoToD/makkusu.dev?style=for-the-badge)
![](https://img.shields.io/github/actions/workflow/status/MyXoToD/makkusu.dev/deploy.yml?style=for-the-badge)

Expand Down
2 changes: 1 addition & 1 deletion src/_includes/post-coding.njk
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{% set cover = fallbackcover %}
{% endif %}

<article class="post">
<article class="post post--coding">
<a href="{{ project.url | url }}" class="post__image">
<iframe height="100%" style="width: 100%;" scrolling="no" title="{{ project.data.title }}" src="https://codepen.io/MyXoToD/embed/{{ project.data.codepen }}?default-tab=result&editable=true&theme-id=dark&data-show-tab-bar=no" frameborder="no" loading="lazy" allowtransparency="true" allowfullscreen="true"></iframe>
</a>
Expand Down
9 changes: 9 additions & 0 deletions src/assets/stylesheets/_post.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@
animation-range: entry 0% entry 50vh;
}

&--coding {
.post__data {
grid-column: 9 / -1;
}
&.post:nth-child(even) .post__data {
grid-column: 1 / 5;
}
}

&:hover {
.post__image {
&:before {
Expand Down
2 changes: 1 addition & 1 deletion src/assets/stylesheets/application.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/assets/stylesheets/application.min.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6993525

Please sign in to comment.