Browse Source

makin dem links look good.

pull/292/head
connors 11 years ago
parent
commit
1097799cae
  1. 6
      docs/_includes/footer.html
  2. 41
      docs/assets/css/docs.css
  3. 39
      sass/docs.scss

6
docs/_includes/footer.html

@ -14,14 +14,14 @@
</li>
</ul>
<p class="docs-footer-content">Code licensed under the MIT license and the docs are licensed under CC BY 3.0. Ratchet version 2.0.0 was lovingly crafted by <a href="https://twitter.com/connors" data-ignore="push">Connor Sears</a>.</p>
<p class="docs-footer-text">Code licensed under the MIT license and the docs are licensed under CC BY 3.0. Ratchet version 2.0.0 was lovingly crafted by <a href="https://twitter.com/connors" data-ignore="push">Connor Sears</a>.</p>
<ul class="docs-footer-links">
<li>Currently v2.0.0</li>
<li>&middot;</li>
<li><a href="https://github.com/twbs/ratchet/issues" data-ignore="push"></a>Issues</li>
<li><a href="https://github.com/twbs/ratchet/issues" data-ignore="push">Issues</a></li>
<li>&middot;</li>
<li><a href="https://github.com/twbs/ratchet/releases" data-ignore="push"></a>Releases</li>
<li><a href="https://github.com/twbs/ratchet/releases" data-ignore="push">Releases</a></li>
<li>&middot;</li>
<li><a href="http://goratchet.com/1.0.2/" data-ignore="push">Legacy v1.0.2 Docs</a></li>
</ul>

41
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%);

39
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 {

Loading…
Cancel
Save