fix shifting things, fix links, add automatic read time
This commit is contained in:
parent
cea714263b
commit
f59d20d9ef
|
@ -14,7 +14,7 @@
|
||||||
{% for post in site.posts %}
|
{% for post in site.posts %}
|
||||||
<div class="blog-details">
|
<div class="blog-details">
|
||||||
<div class="blog-details-date">{{ post.date | date: "%b %e, %Y" }}</div>
|
<div class="blog-details-date">{{ post.date | date: "%b %e, %Y" }}</div>
|
||||||
<div class="blog-details-read-time">{{ post.read_time }} min read</div>
|
<div class="blog-details-read-time">{{ post.content | number_of_words | divided_by: 200 }} min read</div>
|
||||||
</div>
|
</div>
|
||||||
<a class="blog-link" href="{{ post.url | relative_url }}" title="{{ post.title }}">
|
<a class="blog-link" href="{{ post.url | relative_url }}" title="{{ post.title }}">
|
||||||
<article>
|
<article>
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
layout: post
|
layout: post
|
||||||
title: Bybit incident report and mitigating controls
|
title: Bybit incident report and mitigating controls
|
||||||
date: 2025-03-20
|
date: 2025-03-20
|
||||||
read_time: 12
|
|
||||||
cover_image: "/assets/images/whale_shark.jpg"
|
cover_image: "/assets/images/whale_shark.jpg"
|
||||||
authors:
|
authors:
|
||||||
- name: Anton Livaja
|
- name: Anton Livaja
|
||||||
|
|
|
@ -460,11 +460,9 @@ footer {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
transition: transform 0.5s ease !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-link:hover {
|
.footer-link:hover {
|
||||||
transform: translateY(-2px);
|
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
@ -517,11 +515,9 @@ hr {
|
||||||
margin: 0px 4px;
|
margin: 0px 4px;
|
||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
transition: transform 0.5s ease;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-page-links a:hover {
|
.header-page-links a:hover {
|
||||||
transform: translateY(-2px);
|
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
@ -1581,8 +1577,8 @@ pre {
|
||||||
}
|
}
|
||||||
|
|
||||||
.blog a:hover {
|
.blog a:hover {
|
||||||
|
text-decoration: underline;
|
||||||
background: var(--background-color);
|
background: var(--background-color);
|
||||||
color: var(--dark-teal);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.blog-details {
|
.blog-details {
|
||||||
|
|
Loading…
Reference in New Issue