Skip to content

Commit

Permalink
Attempt dynamic change in bottom rows
Browse files Browse the repository at this point in the history
  • Loading branch information
ljvmiranda921 committed Dec 8, 2024
1 parent f6f1cab commit a7e41e4
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@
layout: default
---

<style>
@media screen and (min-width: 769px) {
.column {
width: 50%;
float: left;
max-width: 50%;
padding: 5px;
}
.row {
display: flex;
flex-direction: row;
width: 100%;
}
}
</style>


<div class="home">

<div class="divider">
Expand Down Expand Up @@ -43,9 +60,8 @@
<hr>

&nbsp;

<div class="row">
<div class="column" style="width:48%; float:left;">
<div class="column" style="width:100%; float:left;">
<h2 style="font-size: 1.5em;">Recent Posts</h2>

<ul class="post-list">
Expand All @@ -63,7 +79,7 @@ <h3 style="font-size: 1.2em;"><a href="{{ post.url | relative_url }}">{{ post.ti
</ul>
</div>

<div class="column" style="width:48%; float:right;">
<div class="column" style="width:100%; float:right;">
<h2 style="font-size: 1.5em;">What's New?</h2>
<ul class="post-list">
{% assign news_content = site.pages | where: "path", "news.md" | first %}
Expand All @@ -72,5 +88,4 @@ <h2 style="font-size: 1.5em;">What's New?</h2>
</div>
</div>


</div>

0 comments on commit a7e41e4

Please sign in to comment.