Skip to content

Commit

Permalink
test sidebar 5
Browse files Browse the repository at this point in the history
  • Loading branch information
tanvirmahdad committed Jul 22, 2024
1 parent 8160796 commit e79e052
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 30 deletions.
Binary file modified .DS_Store
Binary file not shown.
35 changes: 5 additions & 30 deletions _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,9 @@
layout: archive
---

<style>
.wrapper {
display: flex;
width: 100%;
margin: 0; /* Remove any default margin */
padding: 0; /* Remove any default padding */
box-sizing: border-box; /* Ensure padding and border are included in the element's total width and height */
}
.main {
flex: 9;
width: 75%;
box-sizing: border-box; /* Ensure padding and border are included in the element's total width and height */
}
.sidebar {
flex: 1;
width: 25%;
padding-left: 20px;
box-sizing: border-box; /* Ensure padding and border are included in the element's total width and height */
}
</style>

<div class="wrapper">
<div class="main">
<div class="wrapper" style="display: flex; width: 100%;"> <!-- Ensure wrapper spans full width -->
<div class="main" style="flex: 9; width: 75%;"> <!-- Adjusted flex value and width -->

{{ content }}

<div class="homepage-text" style="font-size: 16px; display: inline-block; vertical-align: top; width: 100%;">
Expand All @@ -38,12 +18,7 @@ <h2 class="archive__subtitle">Recent News</h2>
{% capture recent_text %}{% include recent-text.md %}{% endcapture %}
{{ recent_text | markdownify }}
</div>

</div>

<!-- Sidebar section -->
<div class="sidebar">
<h2>Sidebar</h2>
<p>Here you can add your sidebar content.</p>
<!-- Add more sidebar content as needed -->
</div>
</div>

0 comments on commit e79e052

Please sign in to comment.