From 53e30a3169f5dc02b5e4b57c150249db54a6a728 Mon Sep 17 00:00:00 2001 From: Pedram Ashofteh Ardakani Date: Sat, 16 May 2020 12:48:07 +0430 Subject: Bring headers closer to text below them Reduce the margin and padding on top of the paragraphs and below the headers. Mohammad suggested this on savannah: * https://savannah.nongnu.org/bugs/?58377#comment0 Also, add a few sentences in the README.md file. --- README.md | 6 +++++- css/base.css | 11 +++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cd50159..7f6d57c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,8 @@ Webpage source of Maneage ------------------------- -This is the source of the Maneage webpage at http://maneage.org. \ No newline at end of file +This is the developement repository for the main Maneage webpage at https://maneage.org + +The source code for the live official webpage is kept at https://git.maneage.org/webpage.git + +Feel free to contact us for your suggestions, or in case you face any problems while browsing the webpage. diff --git a/css/base.css b/css/base.css index a115d77..78085af 100644 --- a/css/base.css +++ b/css/base.css @@ -56,11 +56,22 @@ body { h1, h2, h3 { + /* Bring the headers closer to the text under them, this is a + * complementary command with the margin-top in `p` tag styling */ + padding-bottom: 0; + margin-bottom: 0; /* Set line-height for headers to prevent overlap when browser is * forced to wrap the words. */ line-height: 1; } +p { + /* Bring the headers closer to the text under them, this is a + * complementary command with the padding & margin bottom in the + * header tags above */ + margin-top: 5px; +} + /* Wrap the entire content of the page in this `div` - the navigation * bar is an exception, because of its fixed position. */ #container { -- cgit v1.2.1