aboutsummaryrefslogtreecommitdiff
path: root/css/base.css
diff options
context:
space:
mode:
Diffstat (limited to 'css/base.css')
-rw-r--r--css/base.css10
1 files changed, 10 insertions, 0 deletions
diff --git a/css/base.css b/css/base.css
index d7d0d65..9928c8c 100644
--- a/css/base.css
+++ b/css/base.css
@@ -10,6 +10,7 @@
*
* Copyright (C) 2020, Pedram Ashofteh Ardakani <pedramardakani@pm.me>
* Copyright (C) 2020, Mohammad Akhlaghi <mohammad@akhlaghi.org>
+ * Copyright (C) 2020, Marjan Akbari <mrjakbari@gmail.com>
*
* This file is part of Maneage. Maneage is free software: you can
* redistribute it and/or modify it under the terms of the GNU General
@@ -85,6 +86,15 @@ p {
margin: 45px auto 0;
}
+/* This is a way to put everything in the center of the page. */
+.center{
+ /* Make sure `left`, `right`, and `width` values add up to 100% to
+ * help keep the navigation bar in center for big screens */
+ margin: 0 auto;
+ /* Make the content a block to to put it in the center of the page */
+ display: block;
+}
+
/* ==================================================================
* Inline and blob code style
* ================================================================== */