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

Unified Diff: static/css/main.css

Issue 29558641: Issue 5740 - Implemented new abp.org footer styles (Closed) Base URL: https://bitbucket.org/adblockplus/adblockplus.org
Patch Set: Created Sept. 28, 2017, 4:32 p.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
« no previous file with comments | « static/css/index-desktop.css ('k') | static/css/main-desktop.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: static/css/main.css
===================================================================
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -41,34 +41,16 @@
.sprite
{
display: inline-block;
font-size: 0px; /* fix for IE6 height bug */
background-image: url(../img/sprite-main.png);
background-repeat: no-repeat;
}
-nav ul
-{
- list-style: none;
- margin: 0;
- padding: 0;
-}
-
-nav a:link, nav a:visited
-{
- color: #7d7d7d;
- text-decoration: none;
-}
-
-nav a:hover
-{
- text-decoration: underline;
-}
-
header
{
display: block;
position: relative;
background: white;
border: 1px solid #d9d9d9;
border-top: none;
box-shadow: 1px 1px 0 0 #d9d9d9;
@@ -303,44 +285,17 @@
padding-left: 40px;
}
.toc li
{
margin: 4px 0;
}
-#footer-main
-{
- display: block;
- background: white;
- box-shadow: 0 -1px 0 0 #b5b4b0, 0 -2px 0 0 #e4e1dc;
- padding: 0;
- line-height: 1;
-}
-
-#footer-main nav h1, #footer-main nav li
-{
- color: #444444;
- border-bottom: 1px solid #dedede;
-}
-
-#footer-main h1
-{
- font-size: 16px;
- margin-top: 0;
- margin-bottom: 15px;
-}
-
-#footer-main nav li
-{
- margin-bottom: 5px;
-}
-
-#social-list
+#social-list ul
{
list-style: none;
padding: 0;
margin: 0;
}
.social-entry
{
@@ -416,8 +371,234 @@
{
border-left: 5px solid #d14841;
}
[dir="rtl"] .alert
{
border-right: 5px solid #d14841;
}
+
+.container
+{
+ width: auto;
+ max-width: 100%;
+ margin: 0px auto;
+ padding: 0px 1em;
+}
+
+@media (min-width: 1200px)
+{
+ .container
+ {
+ width: 1170px;
+ }
+}
+
+.row,
+.column
+{
+ box-sizing: border-box;
+}
+
+.row
+{
+ margin: 0px -1em;
+}
+
+.row:after
+{
+ display: block;
+ clear: both;
+ content: "";
+}
+
+.column
+{
+ position: relative;
+ width: 100%;
+ min-height: 1px;
+ padding: 0px 1em;
+}
+
+.column
+{
+ float: left;
+}
+
+[dir="rtl"] .column
+{
+ float: right;
+}
+
+@media (min-width: 768px)
+{
+ .one-fourth
+ {
+ width: 50%;
+ }
+
+ #site-footer .column
+ {
+ min-height: 230px;
+ }
+}
+
+@media (min-width: 1024px)
+{
+ .one-fourth
+ {
+ width: 25%;
+ }
+}
+
+@media(max-width: 767px)
+{
+ #site-footer .column
+ {
+ display: none;
+ }
+
+ #site-footer #social-list
+ {
+ display: block;
+ }
+
+ #site-footer #social-list ul
+ {
+ margin: 0em 1em;
+ }
+}
+
+#site-footer
+{
+ margin-top: 2em;
+ padding: 2em 0em;
+ color: #ececec;
+ background-color: #292929;
+ overflow: auto;
+}
+
+#site-footer h5
+{
+ color: #ececec;
+ font-size: 22px;
+ margin: 16px 0px 40px 0px;
+}
+
+#site-footer h5::after
+{
+ content: "";
+ display: block;
+ width: 30px;
+ height: 3px;
+ margin: 16px 0px 0px 0px;
+ border: none;
+ background-color: #ececec;
+}
+
+#site-footer p
+{
+ font-size: 18px;
+}
+
+#site-footer li
+{
+ list-style-type: none;
+}
+
+#site-footer ul
+{
+ padding: 0px;
+}
+
+#site-footer a
+{
+ font-size: 18px;
+ color: #ececec;
+ text-decoration: none;
+}
+
+#site-footer a:hover,
+#site-footer a:active,
+#site-footer a:focus
+{
+ color: #fff;
+ text-decoration: underline;
+}
+
+#footer-legal
+{
+ margin-top: 3em;
+}
+
+#site-footer #copyright-notice,
+#site-footer #copyright-notice a,
+#legal-list a
+{
+ font-size: 14px;
+}
+
+@media(min-width: 768px)
+{
+ #site-footer #copyright-notice,
+ #site-footer #copyright-notice a,
+ #legal-list a
+ {
+ font-size: 16px;
+ }
+}
+
+#social-list li,
+#legal-list li
+{
+ display: block;
+ float: left;
+}
+
+#social-list li
+{
+ margin-right: 10px;
+}
+
+[dir="rtl"] #social-list li
+{
+ margin-left: 10px;
+}
+
+#social-list img
+{
+ height: 40px;
+}
+
+#legal-list li::after
+{
+ margin: 0px 5px;
+ content: "|"
+}
+
+#legal-list li:last-of-type::after
+{
+ content: none;
+}
+
+@media(min-width: 1024px)
+{
+ #copyright-notice
+ {
+ float: left;
+ }
+
+ [dir="rtl"] #copyright-notice
+ {
+ float: right;
+ }
+
+ #legal-list
+ {
+ float: right;
+ }
+
+ [dir="rtl"] #legal-list
+ {
+ float: left;
+ }
+}
« no previous file with comments | « static/css/index-desktop.css ('k') | static/css/main-desktop.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld