Skip to content

Commit

Permalink
improve style of the timeline
Browse files Browse the repository at this point in the history
  • Loading branch information
jmmut committed Mar 3, 2024
1 parent e8b56e6 commit 505c60b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 19 deletions.
6 changes: 6 additions & 0 deletions assets/iframe.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,9 @@ iframe {
code {
overflow: scroll;
}

.timeline_box {
border: 2px solid #0090ff;
padding: 30px 40px 20px;
margin: 20px 0;
}
31 changes: 12 additions & 19 deletions index.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,13 @@
### Timeline:

<ul>
{% for post in site.posts %}
<li>
{{ post.date | date: "%Y-%m-%d" }}
<a href="{{ post.url }}"> {{ post.title }}</a>
[
{% for tag in post.tags %}
<a href="/tag/{{ tag }}.html">{{tag}}</a>
{% endfor %}
]
{{ post.excerpt }}
<h4><a href="{{ post.url }}">Read more</a></h4>
</li>
<hr>
<hr>
{% for post in site.posts %}
<div class="timeline_box">
{{ post.date | date: "%Y-%m-%d" }}
<a href="{{ post.url }}"> {{ post.title }}</a>
[
{% for tag in post.tags %}
<a href="/tag/{{ tag }}.html">{{tag}}</a>
{% endfor %}
</ul>

]
{{ post.excerpt }}
<h4><a href="{{ post.url }}">Read more</a></h4>
</div>
{% endfor %}

0 comments on commit 505c60b

Please sign in to comment.