Select front page aside by class page-aside-right instead of id recent-updates

This commit is contained in:
Philipp Oppermann
2020-02-17 14:51:19 +01:00
parent b8e8370a4c
commit ea3e89dd00
2 changed files with 9 additions and 9 deletions

View File

@@ -249,7 +249,7 @@ aside#all-posts-link {
display: none;
}
aside#recent-updates {
aside.page-aside-right {
position: absolute;
min-width: 11rem;
max-width: 17rem;
@@ -259,21 +259,21 @@ aside#all-posts-link {
font-size: 90%;
}
aside#recent-updates .block {
aside.page-aside-right .block {
margin-bottom: 1.5rem;
}
aside#recent-updates h1 {
aside.page-aside-right h2 {
font-size: 110%;
margin-bottom: .2rem;
}
aside#recent-updates ul {
aside.page-aside-right ul {
margin: 0 0 .2rem 0;
padding: 0 0 0 1rem;
}
aside#recent-updates ul li {
aside.page-aside-right ul li {
margin-top: .5rem;
}
@@ -285,7 +285,7 @@ aside#all-posts-link {
}
}
aside#recent-updates time {
aside.page-aside-right time {
color: #9a9a9a;
}

View File

@@ -78,14 +78,14 @@
{% endblock main %}
{% block after_main %}
<aside id="recent-updates">
<aside class="page-aside-right">
<div class="block">
<h1>Recent Updates</h1>
<h2>Recent Updates</h2>
{% include "auto/recent-updates.html" %}
</div>
<div class="block">
<h1>Repository</h1>
<h2>Repository</h2>
<div class="gh-repo-box">
<div>
<svg viewBox="0 0 12 16" version="1.1" width="12" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M4 9H3V8h1v1zm0-3H3v1h1V6zm0-2H3v1h1V4zm0-2H3v1h1V2zm8-1v12c0 .55-.45 1-1 1H6v2l-1.5-1.5L3 16v-2H1c-.55 0-1-.45-1-1V1c0-.55.45-1 1-1h10c.55 0 1 .45 1 1zm-1 10H1v2h2v-1h3v1h5v-2zm0-10H2v9h9V1z"></path></svg>