aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/static/css/main.css
diff options
context:
space:
mode:
authorBrice Maron <b.maron@whatever-company.com>2019-07-31 00:07:29 +0200
committerAlexis Metaireau <alexis@notmyidea.org>2019-08-18 21:37:20 +0000
commit72acde7122a79c5a68a9e9ec1e3885a6f2d443a2 (patch)
tree254a64a8fc2ed0b2b0f0d4e21dd968705f720729 /ihatemoney/static/css/main.css
parentfd49599cc76de69e81f645257845778571d4d964 (diff)
downloadihatemoney-mirror-72acde7122a79c5a68a9e9ec1e3885a6f2d443a2.zip
ihatemoney-mirror-72acde7122a79c5a68a9e9ec1e3885a6f2d443a2.tar.gz
ihatemoney-mirror-72acde7122a79c5a68a9e9ec1e3885a6f2d443a2.tar.bz2
Add footer with links
Diffstat (limited to 'ihatemoney/static/css/main.css')
-rw-r--r--ihatemoney/static/css/main.css110
1 files changed, 96 insertions, 14 deletions
diff --git a/ihatemoney/static/css/main.css b/ihatemoney/static/css/main.css
index 47ede77..73ea513 100644
--- a/ihatemoney/static/css/main.css
+++ b/ihatemoney/static/css/main.css
@@ -7,7 +7,6 @@
body {
/* For fixed navbar */
padding-top: 3.5rem;
- padding-bottom: 2rem;
}
/* Navbar */
@@ -130,16 +129,91 @@ body {
}
footer {
- margin-left: -15px;
- margin-right: -15px;
- margin-top: 30px;
- position: fixed;
- bottom: 0px;
- height: 2em;
width: 100%;
+ font: normal 16px sans-serif;
+ padding: 45px 50px;
+}
+
+@media (min-width: 768px) {
+ footer {
+ padding-left: calc(25% + 50px);
+ }
+}
+
+footer .footer-limiter {
+ max-width: 880px;
+ margin: 0 auto;
+}
+
+footer .footer-left p {
+ color: #8f9296;
+ font-size: 14px;
+ margin: 0;
+}
+
+/* Footer links */
+footer p.footer-links {
+ font-size: 18px;
+ font-weight: bold;
+ color: #ffffff;
+ margin: 0 0 10px;
+ padding: 0;
+}
+
+footer p.footer-links a {
+ display: inline-block;
+ line-height: 1.8;
+ text-decoration: none;
+ color: inherit;
+}
+
+footer .footer-right {
+ float: right;
+ margin-top: 6px;
+ max-width: 180px;
+}
+
+footer .footer-right a {
+ display: inline-block;
+ width: 35px;
+ height: 35px;
+ background-color: #33383b;
+ border-radius: 2px;
+
+ font-size: 20px;
+ color: #ffffff;
text-align: center;
- background-color: #fff;
- opacity: 0.8;
+ line-height: 35px;
+
+ margin-left: 3px;
+ border-radius: 50%;
+ opacity: 0.5;
+}
+footer .footer-right a:hover {
+ opacity: 1;
+}
+
+footer .footer-left {
+ padding-top: 6px;
+ line-height: 35px;
+}
+
+/* If you don't want the footer to be responsive, remove these media queries */
+
+@media (max-width: 600px) {
+ footer .footer-left,
+ footer .footer-right {
+ text-align: center;
+ }
+
+ footer .footer-right {
+ float: none;
+ margin: 0 auto 20px;
+ }
+
+ footer .footer-left p.footer-links {
+ line-height: 1.8;
+ }
}
.identifier {
@@ -330,14 +404,22 @@ tr:hover .extra-info {
}
.globe-europe svg {
+ fill: rgba(255, 255, 255, 0.5);
+}
+.navbar-nav .dropdown-toggle:hover .globe-europe svg {
+ fill: rgba(255, 255, 255, 0.75);
+}
+.navbar-dark .navbar-nav .show > .nav-link svg {
+ fill: white;
+}
+.icon svg {
display: inline-block;
border-bottom: 0.2em solid transparent;
height: 1.2em;
- fill: rgba(255,255,255,.5)
}
-.navbar-nav .dropdown-toggle:hover .globe-europe svg {
- fill: rgba(255,255,255,.75);
+.icon.plus svg {
+ margin-right: 3px;
}
-.navbar-dark .navbar-nav .show > .nav-link svg {
+footer .icon svg {
fill: white;
-} \ No newline at end of file
+}