Added styles for new blog section

This commit is contained in:
squidfunk 2021-09-13 16:15:08 +02:00
parent ec7ccd2b2d
commit e9572815c6
6 changed files with 26 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -3,7 +3,7 @@
-#}
{% extends "base.html" %}
{% block extrahead %}
<link rel="stylesheet" href="{{ 'overrides/assets/stylesheets/main.a9869c0c.min.css' | url }}">
<link rel="stylesheet" href="{{ 'overrides/assets/stylesheets/main.82a6bf04.min.css' | url }}">
{% endblock %}
{% block announce %}
<a href="https://twitter.com/squidfunk">

View File

@ -123,4 +123,26 @@
break-inside: avoid;
}
}
// Blog author
.mdx-author {
display: flex;
font-size: px2rem(13.6px);
// Blog author image
img {
height: px2rem(40px);
border-radius: 100%;
}
// Blog author content
p {
margin-right: px2rem(16px);
// Blog metadata
> span {
display: block;
}
}
}
}