Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: static/css/main-desktop.css

Issue 29551738: Issue 5634 - Replaced logo and refactored navbar width and colors (Closed) Base URL: https://hg.adblockplus.org/web.adblockplus.org
Patch Set: Major refactoring & mobile styles Created Sept. 28, 2017, 12:45 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: static/css/main-desktop.css
===================================================================
--- a/static/css/main-desktop.css
+++ b/static/css/main-desktop.css
@@ -1,154 +1,20 @@
html
{
position: relative;
min-height: 100%;
}
-header, #content, #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;
-}
-
#content, #footer-content
{
margin-top: 15px;
padding-left: 10px;
padding-right: 10px;
}
#content

Powered by Google App Engine
This is Rietveld