Index: static/css/main-desktop.css |
=================================================================== |
--- a/static/css/main-desktop.css |
+++ b/static/css/main-desktop.css |
@@ -1,155 +1,22 @@ |
html |
{ |
position: relative; |
min-height: 100%; |
} |
-header, #footer-content |
+#content, |
+#footer-content |
{ |
margin-left: auto; |
margin-right: auto; |
} |
-header |
-{ |
- width: 1000px; |
- border-radius: 0 0 5px 5px; |
-} |
- |
-header nav |
-{ |
- padding: 40px 12px 10px 140px; |
- line-height: 1; |
-} |
- |
-html[dir="rtl"] header nav |
-{ |
- padding: 40px 140px 10px 12px; |
-} |
- |
-header nav ul, |
-html[dir="rtl"] header nav ul * |
-{ |
- text-align: right; |
- white-space: nowrap; |
-} |
- |
-header nav ul *, |
-html[dir="rtl"] header nav ul |
-{ |
- text-align: left; |
-} |
- |
-header nav li |
-{ |
- display: inline-block; |
- vertical-align: middle; |
-} |
- |
-header nav li |
-{ |
- height: 18px; |
- border-left: 1px dotted #848484; |
- border-right-width: 0; |
- margin-left: 8px; |
- margin-right: 0; |
- padding: 2px 0 2px 12px; |
-} |
- |
-html[dir="rtl"] header nav li |
-{ |
- border-right: 1px dotted #848484; |
- border-left-width: 0; |
- margin-right: 8px; |
- margin-left: 0; |
- padding: 2px 12px 2px 0; |
-} |
- |
-html[dir] header nav li.first, html[dir] .language-entry |
-{ |
- border-left-width: 0; |
- border-right-width: 0; |
- margin-left: 0; |
- margin-right: 0; |
- padding-left: 0; |
- padding-right: 0; |
-} |
- |
-/* Needs to be duplicated because IE6 ignores the above rule */ |
-header nav li.first, .language-entry |
-{ |
- border-left-width: 0; |
- border-right-width: 0; |
- margin-left: 0; |
- margin-right: 0; |
- padding-left: 0; |
- padding-right: 0; |
-} |
- |
-#language |
-{ |
- position: relative; |
- cursor: pointer; |
-} |
- |
-#language-arrow |
-{ |
- width: 16px; |
- height: 9px; |
- background-position: -31px -190px; |
-} |
- |
-#language-selector |
-{ |
- display: none; |
- position: absolute; |
- right: -12px; |
- left: auto; |
- margin-top: 2px; |
- min-width: 100%; |
- padding: 5px 5px 5px 5px; |
- background: white; |
- border: 1px solid #D9D9D9; |
- border-radius: 5px; |
-} |
- |
-html[dir="rtl"] #language-selector |
-{ |
- left: -12px; |
- right: auto; |
-} |
- |
-#language-selector.visible |
-{ |
- display: block; |
-} |
- |
-.language-entry |
-{ |
- display: block; |
- margin: 4px; |
- white-space: nowrap; |
-} |
- |
-#logo |
-{ |
- top: -5px; |
- left: 10px; |
- right: auto; |
-} |
- |
-html[dir="rtl"] #logo |
-{ |
- right: 25px; |
- left: auto; |
-} |
- |
-#footer-content |
+#content, #footer-content |
{ |
margin-top: 15px; |
padding-left: 10px; |
padding-right: 10px; |
} |
#content |
{ |
@@ -160,20 +27,16 @@ |
#footer-main |
{ |
position: absolute; |
left: 0; |
right: auto; |
bottom: 0; |
width: 100%; |
height: 220px; |
- |
juliandoucette
2017/10/06 16:28:56
I didn't need to do this.
ire
2017/10/11 08:08:58
Acknowledged.
|
- /* Disable the sticky footer in IE6/7 */ |
- .position: relative; |
- .bottom: 220px; |
} |
html[dir="rtl"] #footer-main |
{ |
right: 0; |
left: auto; |
} |