aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedram Ashofteh Ardakani <pedramardakani@pm.me>2020-05-16 12:48:07 +0430
committerPedram Ashofteh Ardakani <pedramardakani@pm.me>2020-05-16 12:48:07 +0430
commit53e30a3169f5dc02b5e4b57c150249db54a6a728 (patch)
tree0ac09a47b00938d96141ef9088405aaf712cc925
parent6780aff28ca9493b38fdd9539d0c769902eaeadf (diff)
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.
-rw-r--r--README.md6
-rw-r--r--css/base.css11
2 files changed, 16 insertions, 1 deletions
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 {