From f13cc711f0bf368f9acb1ae579ab9e078aefce1e Mon Sep 17 00:00:00 2001 From: john muhl Date: Thu, 14 Mar 2024 13:22:52 -0500 Subject: [PATCH] Fix some CSS issues * html/layout.css (footer): Remove fixed height so the background expands to encompass all footer content. (table): Make packages table always use full page width. --- html/layout.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/html/layout.css b/html/layout.css index 7d3be41..9d04958 100644 --- a/html/layout.css +++ b/html/layout.css @@ -1,4 +1,4 @@ -l/* Copyright (C) 2010-2022, 2024 Free Software Foundation, Inc. +/* Copyright (C) 2010-2022, 2024 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -74,7 +74,7 @@ html, body { height: 100%; margin: 0 auto -50px; /* the bottom margin is the negative value of the footer's height */ } -footer, .push, .footer { +.push { height: 90px; /* .push must be the same height as .footer */ } @@ -302,6 +302,10 @@ footer p, .footer p { line-height: 1.4em; } +table { + width: 100%; +} + @media screen and (max-width: 999px) { .container { width: 600px; @@ -313,10 +317,6 @@ footer p, .footer p { font-size: 1em; } - table { - width: 100%; - } - .container { width: 90%; padding: 40px 5%; -- 2.41.0