Index: static/scss/layout/_footer.scss |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/static/scss/layout/_footer.scss |
@@ -0,0 +1,90 @@ |
+// This file is part of help.eyeo.com. |
+// Copyright (C) 2017 Eyeo GmbH |
+// |
+// help.eyeo.com is free software: you can redistribute it and/or modify |
+// it under the terms of the GNU General Public License as published by |
+// the Free Software Foundation, either version 3 of the License, or |
+// (at your option) any later version. |
+// |
+// help.eyeo.com is distributed in the hope that it will be useful, |
+// but WITHOUT ANY WARRANTY; without even the implied warranty of |
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
+// GNU General Public License for more details. |
+// |
+// You should have received a copy of the GNU General Public License |
+// along with help.eyeo.com. If not, see <http://www.gnu.org/licenses/>. |
+ |
+#site-footer |
+{ |
+ font-size: $small-font; |
juliandoucette
2017/08/22 14:33:43
I don't think this does anything after all other s
ire
2017/09/04 20:28:08
Which other styles? From my test, this makes a dif
juliandoucette
2017/09/06 17:48:20
I was mislead by the effect of font-size: 100%; so
ire
2017/09/08 09:53:33
No worries :)
|
+} |
+ |
+#site-footer .one-fourth |
juliandoucette
2017/08/22 14:33:43
I think it makes more sense to add margin (in em n
ire
2017/09/04 20:28:08
The margin is more to separate the first row from
|
+{ |
+ margin-bottom: 10px; |
+ |
+ @media (min-width: $mobile-breakpoint) |
+ { |
+ margin-bottom: 0; |
+ } |
+} |
+ |
+#site-footer .three-fourths |
+{ |
+ @media (min-width: $mobile-breakpoint) |
+ { |
+ text-align: right; |
+ } |
+} |
+ |
+#site-footer-nav |
+{ |
+ @media (min-width: $tablet-breakpoint) |
+ { |
+ display: inline; |
+ } |
+} |
+ |
+#site-footer-nav ul |
+{ |
+ display: inline; |
+ list-style: none; |
+} |
+ |
+#site-footer-nav li |
+{ |
+ display: inline; |
+ |
+ &:not(:last-child) |
juliandoucette
2017/08/22 14:33:43
not is not supported by IE
ire
2017/09/04 20:28:08
Done.
|
+ { |
+ margin-right: 10px; |
+ padding-right: 10px; |
+ border-right: 1px solid $gray; |
+ } |
+ |
+ @media (min-width: $tablet-breakpoint) |
+ { |
+ &:last-child |
juliandoucette
2017/08/22 14:33:43
last-child is not supported by IE
ire
2017/09/04 20:28:08
:last-child is supported by IE 9+ (http://caniuse.
juliandoucette
2017/09/06 17:48:20
I suggest that we support IE 8 by default or docum
ire
2017/09/08 09:53:33
The current browserlist for this site supports IE9
|
+ { |
+ margin-right: 10px; |
+ padding-right: 10px; |
+ border-right: 1px solid $gray; |
+ } |
+ } |
+} |
+ |
+[dir="rtl"] |
juliandoucette
2017/08/22 14:33:43
NIT: Please move rtl styles directly below ltr sty
ire
2017/09/04 20:28:08
Done.
|
+{ |
+ #site-footer .three-fourths |
+ { |
+ @media (min-width: $mobile-breakpoint) |
+ { |
+ text-align: left; |
+ } |
+ } |
+ |
+ #site-footer-nav ul |
+ { |
+ padding: 0; |
+ } |
+} |