From 62eeb4289f9b59d0a7b51d39b52eb6a0102e927c Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Sat, 18 Apr 2020 23:09:53 +0200 Subject: [PATCH] fixed ad placement, I hate css --- actaddmanual/index.html | 14 +++++++------- actaddmanual/style.css | 16 +++++++++++----- 2 files changed, 18 insertions(+), 12 deletions(-) diff --git a/actaddmanual/index.html b/actaddmanual/index.html index 91d4e70..1155a20 100644 --- a/actaddmanual/index.html +++ b/actaddmanual/index.html @@ -37,13 +37,13 @@ - + + diff --git a/actaddmanual/style.css b/actaddmanual/style.css index ba6f848..8e02d7c 100644 --- a/actaddmanual/style.css +++ b/actaddmanual/style.css @@ -1,7 +1,3 @@ -html { - height: 100%; -} - body { font-family: Roboto; margin-top: 30px; @@ -71,8 +67,10 @@ body { #footer { position: fixed; + width: calc(100% - 300px); + right: 0; bottom: 0; - width: 100%; + padding: 15px; } .anchor { @@ -90,6 +88,10 @@ body { #sidebar { width: 200px; } + + #footer { + width: calc(100% - 200px); + } } @media (max-width: 510px) { @@ -101,6 +103,10 @@ body { width: 100px; } + #footer { + width: calc(100% - 100px); + } + #sidebar a { font-size: 80%; margin-bottom: 10px;