diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-06-23 18:40:18 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-06-23 18:40:18 +0200 |
commit | 6402c1bda311cd627555df363107312d3599138f (patch) | |
tree | 7729e06715f980bd294f3692b0a1ca19c3f89a24 /css | |
parent | Removed test (diff) | |
download | joe-www-6402c1bda311cd627555df363107312d3599138f.tar.gz joe-www-6402c1bda311cd627555df363107312d3599138f.tar.bz2 joe-www-6402c1bda311cd627555df363107312d3599138f.tar.xz joe-www-6402c1bda311cd627555df363107312d3599138f.tar.zst joe-www-6402c1bda311cd627555df363107312d3599138f.zip |
Good footer
Diffstat (limited to 'css')
-rw-r--r-- | css/site.css | 34 |
1 files changed, 29 insertions, 5 deletions
diff --git a/css/site.css b/css/site.css index b8b233c..d467b02 100644 --- a/css/site.css +++ b/css/site.css @@ -1,9 +1,14 @@ body { - background-colo-r: #f5f5f5; - /* background-color: #ffffff; */ + margin: 0 auto; + height: 100%; + min-height: 100%; +} + +div.fullpage { + background-color: #f5f5f5; font-family: sans-serif; - margin: 0pt; - padding: 0pt; + position: relative; + min-height: 100%; } header { @@ -23,6 +28,23 @@ header h1 { margin: 0pt; } +footer { + border-top: 1pt solid #ccc; + background-color: #f1f1f1; + clear: both; + position: absolute; + bottom: 0; + width: 100%; + height: 2.5rem; + margin-top: -2.5rem; +} + +footer p { + text-align: center; + padding: 5px; + margin: 0; +} + a { margin: 0pt; border-collapse: collapse; @@ -74,7 +96,9 @@ div.sidebar ul { } div.body-contents { - padding: 5pt; + padding: 5pt 0 5pt 0; + padding-bottom: 2.5rem; + width: 100%; margin-left: 20%; margin-right: 20%; } |