mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Select front page aside by class page-aside-right instead of id recent-updates
This commit is contained in:
@@ -249,7 +249,7 @@ aside#all-posts-link {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
aside#recent-updates {
|
aside.page-aside-right {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
min-width: 11rem;
|
min-width: 11rem;
|
||||||
max-width: 17rem;
|
max-width: 17rem;
|
||||||
@@ -259,21 +259,21 @@ aside#all-posts-link {
|
|||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
}
|
}
|
||||||
|
|
||||||
aside#recent-updates .block {
|
aside.page-aside-right .block {
|
||||||
margin-bottom: 1.5rem;
|
margin-bottom: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
aside#recent-updates h1 {
|
aside.page-aside-right h2 {
|
||||||
font-size: 110%;
|
font-size: 110%;
|
||||||
margin-bottom: .2rem;
|
margin-bottom: .2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
aside#recent-updates ul {
|
aside.page-aside-right ul {
|
||||||
margin: 0 0 .2rem 0;
|
margin: 0 0 .2rem 0;
|
||||||
padding: 0 0 0 1rem;
|
padding: 0 0 0 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
aside#recent-updates ul li {
|
aside.page-aside-right ul li {
|
||||||
margin-top: .5rem;
|
margin-top: .5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -285,7 +285,7 @@ aside#all-posts-link {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
aside#recent-updates time {
|
aside.page-aside-right time {
|
||||||
color: #9a9a9a;
|
color: #9a9a9a;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -78,14 +78,14 @@
|
|||||||
{% endblock main %}
|
{% endblock main %}
|
||||||
|
|
||||||
{% block after_main %}
|
{% block after_main %}
|
||||||
<aside id="recent-updates">
|
<aside class="page-aside-right">
|
||||||
<div class="block">
|
<div class="block">
|
||||||
<h1>Recent Updates</h1>
|
<h2>Recent Updates</h2>
|
||||||
{% include "auto/recent-updates.html" %}
|
{% include "auto/recent-updates.html" %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="block">
|
<div class="block">
|
||||||
<h1>Repository</h1>
|
<h2>Repository</h2>
|
||||||
<div class="gh-repo-box">
|
<div class="gh-repo-box">
|
||||||
<div>
|
<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>
|
<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>
|
||||||
|
|||||||
Reference in New Issue
Block a user