From 728615eaa862e4d19cfec53107769e1fe2c7c421 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Tue, 25 Feb 2014 18:32:41 -0800 Subject: [PATCH 1/2] add docs footer links refs #267 --- docs/_includes/footer.html | 10 ++++++++++ docs/assets/css/docs.css | 4 ++++ sass/docs.scss | 3 +++ 3 files changed, 17 insertions(+) diff --git a/docs/_includes/footer.html b/docs/_includes/footer.html index d3987fc..8e59dcf 100644 --- a/docs/_includes/footer.html +++ b/docs/_includes/footer.html @@ -15,4 +15,14 @@ + + diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index e2b1564..61a75d2 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -343,6 +343,10 @@ body { color: rgba(255, 255, 255, 0.8); } +.docs-footer-links li { + display: inline; +} + .docs-component-toolbar { padding-top: 8px; padding-bottom: 8px; diff --git a/sass/docs.scss b/sass/docs.scss index 4132276..5f6b8a7 100644 --- a/sass/docs.scss +++ b/sass/docs.scss @@ -335,6 +335,9 @@ body { } } } +.docs-footer-links li { + display: inline; +} // Platform toggle From 1097799cae7e9ca295336700b95dc6b9bdcf9e34 Mon Sep 17 00:00:00 2001 From: connors Date: Thu, 27 Feb 2014 21:44:46 -0800 Subject: [PATCH 2/2] makin dem links look good. --- docs/_includes/footer.html | 6 +++--- docs/assets/css/docs.css | 41 +++++++++++++++++++++++++------------- sass/docs.scss | 39 +++++++++++++++++++++++++----------- 3 files changed, 57 insertions(+), 29 deletions(-) diff --git a/docs/_includes/footer.html b/docs/_includes/footer.html index 8e59dcf..e99a1a7 100644 --- a/docs/_includes/footer.html +++ b/docs/_includes/footer.html @@ -14,14 +14,14 @@ - + diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index 61a75d2..ab2a019 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -305,6 +305,8 @@ body { margin-top: 50px; padding-top: 30px; padding-bottom: 30px; + color: #777; + font-size: 14px; text-align: center; } .docs-footer .social { @@ -321,10 +323,24 @@ body { margin-top: 5px; } -.docs-footer-content { - margin: 0; - color: #777; - font-size: 12px; +.docs-footer-text { + margin-top: 0; + margin-bottom: 0; +} + +@media screen and (min-width: 768px) { + .docs-footer-text { + width: 550px; + margin: 0 auto; + } +} +.docs-footer-links { + padding-left: 0; +} +.docs-footer-links li { + display: inline; + padding-left: 3px; + padding-right: 3px; } .docs-header .docs-footer { @@ -335,18 +351,15 @@ body { margin-top: 0; border-top: 1px solid rgba(255, 255, 255, 0.1); } -.docs-header .docs-footer .docs-footer-content { +.docs-header .docs-footer .docs-footer-text, +.docs-header .docs-footer .docs-footer-links { color: rgba(255, 255, 255, 0.5); } -.docs-header .docs-footer .docs-footer-content a { - font-weight: bold; +.docs-header .docs-footer .docs-footer-text a, +.docs-header .docs-footer .docs-footer-links a { color: rgba(255, 255, 255, 0.8); } -.docs-footer-links li { - display: inline; -} - .docs-component-toolbar { padding-top: 8px; padding-bottom: 8px; @@ -643,10 +656,10 @@ hr { @media screen and (min-width: 768px) { .docs-header { - min-height: 830px; + min-height: 870px; } .docs-header .carbonad { - bottom: 180px !important; + bottom: 259px !important; left: 50% !important; margin-left: -165px !important; } @@ -675,7 +688,7 @@ hr { } .docs-header-content { - top: 32%; + top: 30%; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%); diff --git a/sass/docs.scss b/sass/docs.scss index 5f6b8a7..ff9fb3a 100644 --- a/sass/docs.scss +++ b/sass/docs.scss @@ -296,6 +296,8 @@ body { margin-top: 50px; padding-top: 30px; padding-bottom: 30px; + color: #777; + font-size: 14px; text-align: center; .social { @@ -313,11 +315,27 @@ body { } } } -.docs-footer-content { - margin: 0; - color: #777; - font-size: 12px; +.docs-footer-text { + margin-top: 0; + margin-bottom: 0; } +@media screen and (min-width: 768px) { + .docs-footer-text { + width: 550px; + margin: 0 auto; + } +} +.docs-footer-links { + padding-left: 0; + + li { + display: inline; + padding-left: 3px; + padding-right: 3px; + } +} + +// Overrides for the homepage's footer .docs-header .docs-footer { position: absolute; bottom: 0; @@ -326,18 +344,15 @@ body { margin-top: 0; border-top: 1px solid rgba(255,255,255,.1); - .docs-footer-content { + .docs-footer-text, + .docs-footer-links { color: rgba(255,255,255,.5); a { - font-weight: bold; color: rgba(255,255,255,.8); } } } -.docs-footer-links li { - display: inline; -} // Platform toggle @@ -655,11 +670,11 @@ hr { // Tablet to desktop @media screen and (min-width: 768px) { .docs-header { - min-height: 830px; + min-height: 870px; // Ads on the homepage .carbonad { - bottom: 180px !important; + bottom: 259px !important; left: 50% !important; margin-left: -165px !important; } @@ -681,7 +696,7 @@ hr { @include transform(translateX(0)); } .docs-header-content { - top: 32%; + top: 30%; @include transform(translateY(-50%)); .btn {