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: Searched for and removed orphan styles Created Oct. 5, 2017, 5:09 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
@@ -64,17 +64,17 @@
* - .column(s) within [dir=rtl] appear in reverse order respectively
*/
.column,
[dir="rtl"] .reverse .column {
float: left; }
.row,
.column {
- box-sizing: border-box: }
+ box-sizing: border-box; }
.reverse .column,
[dir="rtl"] .column {
float: right; }
@media (min-width: 768px) {
.one-half,
.one-fourth {
@@ -133,34 +133,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;
@@ -264,88 +246,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
@@ -377,8 +294,161 @@
{
border-left: 5px solid #d14841;
}
[dir="rtl"] .alert
{
border-right: 5px solid #d14841;
}
+
+@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