Verified Commit 23ec6715 authored by Jakob Moser's avatar Jakob Moser
Browse files

Fix bug with levitating sidebar

parent 55c51961
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
 * Author: personads :: Maximilian Müller-Eberstein (ursprüngliche Version und Design); Jakob Moser
 * Author URI: https://personads.me/
 *
 * Version: 2.14.0
 * Version: 2.14.1
 * Requires PHP: 8.0
 *
 * License: GNU General Public License v3.0
@@ -80,7 +80,7 @@ body > aside + main {
/* A levitating aside only takes up the height its content needs and has a top margin, which looks less
massive than the classical aside that takes up all the page height */
body > aside.levitating {
    margin-top: 9em;
    margin-top: calc(4em + 89px);  /* margin of items + height of header */
    height: max-content;
    position: fixed;
}
@@ -704,6 +704,13 @@ main.list article > header h1 {
    font-size: 0.8em;
}

@media (max-width: 1500px) {
    body > aside.levitating {
        position: inherit;
        margin-top: 4em;
    }
}

@media (max-width: 615px) {
    body {
        grid-template-columns: 1fr;