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 body styles Created Oct. 10, 2017, 11:54 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
« 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;
@@ -156,88 +138,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
@@ -290,8 +207,179 @@
margin: 2rem 0rem;
}
.content h1 { font-size: 2.4em; }
.content h2 { font-size: 1.6em; }
.content h3 { font-size: 1.3em; }
.content h4 { font-size: 1.2em; }
.content h5 { font-size: 1.1em; }
+
+/*******************************************************************************
+ * #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;
+ }
+}
« 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