aboutsummaryrefslogtreecommitdiff
path: root/budget/static/css/main.css
diff options
context:
space:
mode:
authorJocelyn Delalande <jocelyn@crapouillou.net>2017-02-02 11:48:40 +0100
committerJocelyn Delalande <jocelyn@crapouillou.net>2017-02-04 00:41:28 +0100
commitc6c5f8657e3935da98c537fe75ab2eefe8751b6c (patch)
tree606d474de1d77cd1589603c2ce562ea74228a4c9 /budget/static/css/main.css
parente148d19e9640a4bf3ebea8010db82c6f24fffc9a (diff)
downloadihatemoney-mirror-c6c5f8657e3935da98c537fe75ab2eefe8751b6c.zip
ihatemoney-mirror-c6c5f8657e3935da98c537fe75ab2eefe8751b6c.tar.gz
ihatemoney-mirror-c6c5f8657e3935da98c537fe75ab2eefe8751b6c.tar.bz2
Adapt navigation bar to bootstrap 4
Also fixed some weird alignment issues. I think this will need more work later (revamp the navbar layout to avoid that sensation of thing which are floating at random places in the navbar).
Diffstat (limited to 'budget/static/css/main.css')
-rw-r--r--budget/static/css/main.css18
1 files changed, 14 insertions, 4 deletions
diff --git a/budget/static/css/main.css b/budget/static/css/main.css
index 0a07e94..80d3b1c 100644
--- a/budget/static/css/main.css
+++ b/budget/static/css/main.css
@@ -5,15 +5,25 @@
/* General */
body {
- margin-top: 40px;
+ /* For fixed navbar */
+ padding-top: 3.5rem;
+ padding-bottom: 2rem;
}
/* Navbar */
-.navbar h1{ margin-left: 75px; }
+.navbar h1 {
+ font-size: 1rem;
+ margin: 0;
+ padding: 0;
+}
.navbar .primary-nav { padding-left: 75px; }
-.navbar .secondary-nav { padding-right: 75px; }
-.brand{ font-family: 'Lobster', arial, serif; }
+.navbar .secondary-nav {
+ text-align: right;
+ flex-direction: row-reverse;
+
+}
+.navbar-brand{ font-family: 'Lobster', arial, serif; }
/* Header */