Skip to content

Commit

Permalink
Fix index page style with multi-column
Browse files Browse the repository at this point in the history
  • Loading branch information
MetroWind committed Oct 27, 2024
1 parent c444ea7 commit 9ffe1ae
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<body>
<div id="Body">
{% include "nav.html" %}
<div id="ContentWrapper">
<div id="IndexWrapper">
<header id="BlogTitle">
<h1>{{ blog_title }}</h1>
</header>
Expand Down
2 changes: 1 addition & 1 deletion templates/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<body>
<div id="Body">
{% include "nav.html" %}
<div id="ContentWrapper">
<div id="PostWrapper">
<header id="BlogTitle">
<h1><a href="{{ url_for("index") }}">{{ blog_title }}</a></h1>
</header>
Expand Down
12 changes: 11 additions & 1 deletion themes/planck-light-columns/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,22 @@
width: 100%;
}

footer
{
top: calc(100vh - 32px);
}

main#PostMain, #BlogTitle
{
max-width: unset;
}

#ContentWrapper
#IndexWrapper
{
padding: 32px;
}

#PostWrapper
{
columns: auto 700px;
height: calc(100vh - 32px);
Expand Down

0 comments on commit 9ffe1ae

Please sign in to comment.