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

Side by Side Diff: static/css/main.css

Issue 29794555: Noissue - Fix broken layout from changeset 1940351cdb4c (Closed) Base URL: https://hg.adblockplus.org/web.acceptableads.com
Patch Set: Created May 30, 2018, 10:17 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | static/js/main.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 .m-a-na { 1 .m-a-na {
2 margin: 0 0 !important; } 2 margin: 0 0 !important; }
3 3
4 .m-t-na { 4 .m-t-na {
5 margin-top: 0 !important; } 5 margin-top: 0 !important; }
6 6
7 .m-b-na { 7 .m-b-na {
8 margin-bottom: 0 !important; } 8 margin-bottom: 0 !important; }
9 9
10 .m-x-na { 10 .m-x-na {
(...skipping 1448 matching lines...) Expand 10 before | Expand all | Expand 10 after
1459 width: 100%; 1459 width: 100%;
1460 height: 64px; 1460 height: 64px;
1461 padding: 0 32px; 1461 padding: 0 32px;
1462 background-color: #FFFFFF; 1462 background-color: #FFFFFF;
1463 line-height: 64px; } 1463 line-height: 64px; }
1464 #navbar img { 1464 #navbar img {
1465 height: 16px; 1465 height: 16px;
1466 margin: 0; } 1466 margin: 0; }
1467 1467
1468 .js #navbar { 1468 .js #navbar {
1469 position: fixed; 1469 position: absolute;
1470 top: 0; 1470 z-index: 1;
1471 left: 0; 1471 top: 0; }
1472 z-index: 1; }
1473 1472
1474 .site-title { 1473 .site-title {
1475 margin: 0; 1474 margin: 0;
1476 font-size: 17px; 1475 font-size: 17px;
1477 line-height: 64px; 1476 line-height: 64px;
1478 word-spacing: -2px; } 1477 word-spacing: -2px; }
1479 1478
1480 .site-title a { 1479 .site-title a {
1481 color: #161616; 1480 color: #161616;
1482 text-decoration: none; 1481 text-decoration: none;
1483 font-weight: 300; } 1482 font-weight: 300; }
1484 1483
1485 .site-title a strong { 1484 .site-title a strong {
1486 font-weight: 400; } 1485 font-weight: 400; }
1487 1486
1488 @media (min-width: 1200px) { 1487 @media (min-width: 1200px) {
1489 html[dir="rtl"] .site-title { 1488 html[dir="rtl"] .site-title {
1490 margin-right: 208px; } 1489 margin-right: 208px; }
1491 html[dir="ltr"] .site-title { 1490 html[dir="ltr"] .site-title {
1492 margin-left: 208px; } } 1491 margin-left: 208px; } }
1493 1492
1494 @media (max-width: 1199px) { 1493 @media (max-width: 1199px) {
1495 #navbar { 1494 #navbar {
1496 margin-left: 60px; } 1495 margin-left: 60px; }
1497 .js #navbar { 1496 .js #navbar {
1498 z-index: 2; 1497 z-index: 2;
1499 padding: 0; 1498 padding: 0;
1500 margin-left: 150px; } } 1499 margin-left: 150px;
1500 width: auto; }
1501 html[dir="rtl"].js #navbar {
1502 margin-right: 150px; }
1503 html:not(.open-sidebar).mobile #navbar {
1504 position: fixed;
1505 transition: transform 0.2s ease-in-out; }
1506 html:not(.open-sidebar).mobile.scrollDown #navbar {
1507 transform: translate(0, -96px); } }
1501 1508
1502 #sidebar { 1509 #sidebar {
1503 text-transform: uppercase; 1510 text-transform: uppercase;
1504 color: #FFFFFF; 1511 color: #FFFFFF;
1505 background-color: #161616; 1512 background-color: #161616;
1506 font-size: 16px; 1513 font-size: 16px;
1507 font-weight: 400; 1514 font-weight: 400;
1508 line-height: 100%; } 1515 line-height: 100%; }
1509 #sidebar ul, 1516 #sidebar ul,
1510 #sidebar li { 1517 #sidebar li {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
1554 left: 0; 1561 left: 0;
1555 text-align: right; } 1562 text-align: right; }
1556 html[dir="rtl"] #sidebar { 1563 html[dir="rtl"] #sidebar {
1557 right: 0; 1564 right: 0;
1558 text-align: left; } } 1565 text-align: left; } }
1559 1566
1560 @media (max-width: 1199px) { 1567 @media (max-width: 1199px) {
1561 #sidebar { 1568 #sidebar {
1562 margin-top: -64px; } 1569 margin-top: -64px; }
1563 .js #sidebar { 1570 .js #sidebar {
1564 position: fixed;
1565 margin-top: 0;
1566 z-index: 1; 1571 z-index: 1;
1567 top: 0; 1572 top: 0;
1568 left: 0; 1573 left: 0;
1574 margin-top: 0;
1569 overflow: hidden; 1575 overflow: hidden;
1570 width: 100%; 1576 width: 100%;
1571 height: 64px; } 1577 height: 64px; }
1578 html:not(.open-sidebar).mobile #sidebar {
1579 position: fixed;
1580 transition: transform 0.2s ease-in-out; }
1581 html:not(.open-sidebar).mobile.scrollDown #sidebar {
1582 transform: translate(0, -96px); }
1572 #sidebar-menus { 1583 #sidebar-menus {
1573 margin-top: 30px; } 1584 margin-top: 30px; }
1574 .js #sidebar-menus { 1585 .js #sidebar-menus {
1575 margin-top: 0; } 1586 margin-top: 0; }
1576 .js #sidebar.open { 1587 .js.open-sidebar #sidebar {
1577 height: 100%; } 1588 height: 100%;
1589 position: fixed; }
1578 html[dir="ltr"].js #sidebar { 1590 html[dir="ltr"].js #sidebar {
1579 text-align: left; } 1591 text-align: left; }
1580 html[dir="rtl"].js #sidebar { 1592 html[dir="rtl"].js #sidebar {
1581 text-align: right; } 1593 text-align: right; }
1582 .js #sidebar #sidebar-open { 1594 .js #sidebar #sidebar-open {
1583 display: block; } 1595 display: block; }
1584 .js #sidebar.open #sidebar-open { 1596 .js.open-sidebar #sidebar #sidebar-open {
1585 display: none; } 1597 display: none; }
1586 .js #sidebar.open #sidebar-close { 1598 .js.open-sidebar #sidebar #sidebar-close {
1587 display: block; } 1599 display: block; }
1588 #sidebar .site-title { 1600 #sidebar .site-title {
1589 display: block; } 1601 display: block; }
1590 #sidebar #sidebar-brand { 1602 #sidebar #sidebar-brand {
1591 background-color: #FFFFFF; } 1603 background-color: #FFFFFF; }
1592 #sidebar #sidebar-open, 1604 #sidebar #sidebar-open,
1593 #sidebar #sidebar-close, 1605 #sidebar #sidebar-close,
1594 #sidebar #sidebar-logo, 1606 #sidebar #sidebar-logo,
1595 #sidebar .site-title { 1607 #sidebar .site-title {
1596 padding: 0 16px; } 1608 padding: 0 16px; }
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
1724 text-align: center; 1736 text-align: center;
1725 vertical-align: center; 1737 vertical-align: center;
1726 border-left: 1px solid #161616; } 1738 border-left: 1px solid #161616; }
1727 .js #secondary-navigation { 1739 .js #secondary-navigation {
1728 display: none; } 1740 display: none; }
1729 .js #sidebar.open #secondary-navigation { 1741 .js #sidebar.open #secondary-navigation {
1730 display: block; } } 1742 display: block; } }
1731 1743
1732 #breadcrumbs { 1744 #breadcrumbs {
1733 position: absolute; 1745 position: absolute;
1734 z-index: 1;
1735 top: 64px; 1746 top: 64px;
1736 left: 0; 1747 left: 0;
1737 width: 100%; 1748 width: 100%;
1738 text-transform: uppercase; 1749 text-transform: uppercase;
1739 color: #FFFFFF; 1750 color: #FFFFFF;
1740 background-color: #292929; 1751 background-color: #292929;
1741 font-size: 12px; 1752 font-size: 12px;
1742 font-weight: 400; } 1753 font-weight: 400; }
1743 #breadcrumbs a, 1754 #breadcrumbs a,
1744 #breadcrumbs a:hover, 1755 #breadcrumbs a:hover,
(...skipping 18 matching lines...) Expand all
1763 #breadcrumbs li + li { 1774 #breadcrumbs li + li {
1764 padding-left: 35px; } 1775 padding-left: 35px; }
1765 #breadcrumbs li + li::before { 1776 #breadcrumbs li + li::before {
1766 display: inline-block; 1777 display: inline-block;
1767 width: 32px; 1778 width: 32px;
1768 content: ">"; 1779 content: ">";
1769 color: #FFFFFF; 1780 color: #FFFFFF;
1770 font-weight: 300; } 1781 font-weight: 300; }
1771 1782
1772 .js #breadcrumbs { 1783 .js #breadcrumbs {
1773 position: fixed; } 1784 z-index: 1; }
1774 1785
1775 @media (max-width: 1199px) { 1786 @media (max-width: 1199px) {
1776 #breadcrumbs ol { 1787 #breadcrumbs ol {
1777 padding: 0 16px; } } 1788 padding: 0 16px; }
1789 html:not(.open-sidebar).mobile #breadcrumbs {
1790 position: fixed;
1791 transition: transform 0.2s ease-in-out; }
1792 html:not(.open-sidebar).mobile.scrollDown #breadcrumbs {
1793 transform: translate(0, -96px); } }
1778 1794
1779 @media (min-width: 1200px) { 1795 @media (min-width: 1200px) {
1780 html[dir="ltr"] #breadcrumbs { 1796 html[dir="ltr"] #breadcrumbs {
1781 margin-left: 208px; } 1797 padding-left: 208px; }
1782 html[dir="rtl"] #breadcrumbs { 1798 html[dir="rtl"] #breadcrumbs {
1783 margin-right: 208px; } } 1799 padding-right: 208px; } }
1784 1800
1785 .js .outer { 1801 .outer {
1786 position: absolute;
1787 top: 96px;
1788 margin-top: 0;
1789 bottom: 0px; 1802 bottom: 0px;
1790 height: auto; 1803 height: auto;
1791 width: 100%; 1804 width: 100%;
1792 overflow: auto; } 1805 overflow: auto;
1806 margin-top: 32px; }
1807
1808 .js .outer {
1809 margin-top: 96px; }
1810
1811 @media (max-width: 1199px) {
1812 .outer {
1813 margin-top: auto; }
1814 html:not(.open-sidebar).mobile .outer {
1815 position: static; }
1816 html:not(.open-sidebar).mobile.scrollDown .outer {
1817 margin-top: 32px; }
1818 .mobile.open-sidebar .outer {
1819 position: absolute; } }
1793 1820
1794 @media (min-width: 1200px) { 1821 @media (min-width: 1200px) {
1795 html[dir="ltr"] .outer { 1822 html[dir="ltr"] .outer {
1796 padding-left: 208px; } 1823 padding-left: 208px; }
1797 .outer {
1798 margin-top: 32px; }
1799 .js .outer {
1800 margin-top: 0px; }
1801 html[dir="rtl"] .outer { 1824 html[dir="rtl"] .outer {
1802 padding-right: 208px; } } 1825 padding-right: 208px; } }
1803 1826
1804 #footer { 1827 #footer {
1805 padding-top: 64px; 1828 padding-top: 64px;
1806 padding-bottom: 96px; 1829 padding-bottom: 96px;
1807 font-size: 14px; 1830 font-size: 14px;
1808 background-color: #292929; 1831 background-color: #292929;
1809 color: #FFFFFF; } 1832 color: #FFFFFF; }
1810 @media (max-width: 768px) { 1833 @media (max-width: 768px) {
(...skipping 20 matching lines...) Expand all
1831 height: 0; 1854 height: 0;
1832 content: " "; 1855 content: " ";
1833 border-top: 2px solid #FFFFFF; } 1856 border-top: 2px solid #FFFFFF; }
1834 #footer a { 1857 #footer a {
1835 color: #FFFFFF; } 1858 color: #FFFFFF; }
1836 #footer a:hover { 1859 #footer a:hover {
1837 text-decoration: underline; 1860 text-decoration: underline;
1838 color: #8CC63E !important; } 1861 color: #8CC63E !important; }
1839 #footer p { 1862 #footer p {
1840 color: #E1E1E1; } 1863 color: #E1E1E1; }
OLDNEW
« no previous file with comments | « no previous file | static/js/main.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld