diff --git a/styles/default.css b/styles/default.css index b32d018..fb107ce 100644 --- a/styles/default.css +++ b/styles/default.css @@ -13,10 +13,12 @@ body { background: url("/includes/bg.php") no-repeat var(--bg-col); /* ../includes/bg.php */ - background-size: cover; + background-size: cover; background-attachment: fixed; background-position: bottom left; word-break: break-word; + display: grid; + grid-template-columns: min-content auto; } ul { @@ -112,10 +114,11 @@ input[type="submit" i] { .aside { width: 250px; - position: fixed; margin: 2px; max-height: var(--ver); overflow-x: hidden; + position: sticky; + top: calc(2px + 8px); } .aside > ul { @@ -218,11 +221,10 @@ input[type="submit" i] { } .content { - margin-left: 280px; margin-bottom: var(--ver-btm); margin-top: 2px; - position: absolute; margin-bottom: 0; + width: fit-content; } .article { @@ -522,7 +524,6 @@ input[type="submit" i] { } .content { - margin-left: 240px; } }