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: Rebased on header Created Oct. 11, 2017, 12:14 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
Index: static/css/main.css
===================================================================
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -89,88 +89,23 @@
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
-{
- display: inline-block;
- margin: 0px 5px;
-}
-
-.social-entry a
-{
- width: 82px;
- height: 82px;
- -webkit-transition: opacity .5s ease;
- -moz-transition: opacity .5s ease;
- -ms-transition: opacity .5s ease;
- -o-transition: opacity .5s ease;
- transition: opacity .5s ease;
- opacity: .6;
-}
-
-.social-entry a:hover
-{
- opacity: 1.0;
-}
-
-#social-facebook
-{
- background-position: 0px 0px;
-}
-
-#social-twitter
-{
- background-position: 0px -83px;
-}
-
-#social-gplus
-{
- background-position: -83px 0px;
-}
-
div.animation[started="false"]:before
{
content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPBAMAAADJ%2BIh5AAAAFVBMVEUAgAAAgAD%2F%2F%2F%2Fr9uvY7Ni%2B376h0aGeNpcsAAAAAXRSTlNtc%2BXFgwAAADVJREFUeF5dzVEKACAMAlC7QW6t%2F7r%2FIYOBEPr1GOgw2AHiduaHkwKXwBK4BYZdylrpy4K%2BP%2Fu5C1CVKVSzAAAAAElFTkSuQmCC);
padding-left: 0px;
padding-right: 3px;
}
html[dir="rtl"] div.animation[started="false"]:before
@@ -492,10 +427,179 @@
padding: 0.75em 1em;
}
#navbar-menu li a:hover,
#navbar-menu li a:active,
#navbar-menu li a:focus
{
background-color: #434343;
+
+/*******************************************************************************
+ * #site-footer
+ ******************************************************************************/
+
+#site-footer
+{
+ overflow: auto;
+ margin-top: 2em;
+ padding-top: 2em;
+ padding-bottom: 2em;
+ color: #ececec;
+ background-color: #292929;
+ font-size: 0.9em;
+}
+
+/* #site-footer body
+ ******************************************************************************/
+
+#site-footer h5
+{
+ margin-top: 1em;
+ margin-bottom: 1.5em;
+}
+
+#site-footer h5::after
+{
+ content: "";
+ display: block;
+ width: 1.25em;
+ height: 3px;
+ margin-top: 0.5em;
+ border: none;
+ background-color: #ececec;
+}
+
+#site-footer li
+{
+ list-style-type: none;
+}
+
+#site-footer ul
+{
+ padding: 0px;
+}
+
+#site-footer a
+{
+ color: #ececec;
+ text-decoration: none;
+}
+
+#site-footer a:hover,
+#site-footer a:active,
+#site-footer a:focus
+{
+ color: #fff;
+ text-decoration: underline;
+}
+
+/* #site-footer #social-list
+ ******************************************************************************/
+
+#social-list li
+{
+ display: block;
+ float: left;
+}
+
+[dir="rtl"] #social-list li
+{
+ float: right;
+}
+
+#social-list li
+{
+ margin-right: 0.5em;
+}
+
+[dir="rtl"] #social-list li
+{
+ margin-left: 0.5em;
+}
+
+#social-list img
+{
+ height: 3em;
+}
+
+/* smaller on tablet / small desktop only */
+@media(min-width: 768px) and (max-width: 1200px)
+{
+ #social-list img
+ {
+ height: 2em;
}
}
+
+/* #site-footer #footer-legal
+ ******************************************************************************/
+
+#footer-legal
+{
+ overflow: auto;
+ margin-top: 2em;
+}
+
+/* #site-footer #footer-legal #legal-list
+ ******************************************************************************/
+
+#legal-list li
+{
+ display: block;
+ float: left;
+}
+
+[dir="rtl"] #legal-list li
+{
+ float: right;
+}
+
+#legal-list li::after
+{
+ margin-left: 0.25em;
+ margin-right: 0.25em;
+ content: "|"
+}
+
+#legal-list li:last-of-type::after
+{
+ content: none;
+}
+
+/* float copyright and legal links left and right on ~desktop */
+@media(min-width: 1200px)
+{
+ #copyright-notice
+ {
+ float: left;
+ }
+
+ [dir="rtl"] #copyright-notice
+ {
+ float: right;
+ }
+
+ #legal-list
+ {
+ float: right;
+ }
+
+ [dir="rtl"] #legal-list
+ {
+ float: left;
+ }
+}
+
+/* hide all footer links except #social-list on ~mobile */
+@media(max-width: 767px)
+{
+ #site-footer .column
+ {
+ display: none;
+ }
+
+ /* overriding display:none above */
+ #site-footer #social-list
+ {
+ display: block;
+ }
+}

Powered by Google App Engine
This is Rietveld