Browse Source

home pattern

pull/253/head
connors 11 years ago
parent
commit
c490832cb1
  1. 42
      docs/assets/css/docs.css
  2. BIN
      docs/assets/img/pattern.png
  3. 76
      docs/index.html
  4. 43
      sass/docs.scss

42
docs/assets/css/docs.css

@ -24,7 +24,20 @@ body {
}
.docs-header {
background-image: linear-gradient(45deg, #317ca6 0%, #254456 100%);
min-height: 700px;
height: 100vh;
background-image: linear-gradient(45deg, #0a1855 0%, #f11651 100%);
}
.docs-header:before {
position: fixed;
top: 0;
bottom: 0;
right: 0;
left: 0;
background-image: url(../img/pattern.png);
background-size: 50%;
opacity: .5;
content: '';
}
.docs-nav {
@ -69,15 +82,15 @@ body {
padding: 15px 30px 16px;
margin: 0 10px 10px;
font-size: 18px;
color: #00d1fe;
border-color: #00d1fe;
color: rgba(255, 255, 255, 0.7);
border-color: rgba(255, 255, 255, 0.7);
-webkit-transition: all 0.2s linear;
-moz-transition: all 0.2s linear;
transition: all 0.2s linear;
}
.docs-header-content .btn:hover {
color: #63e3ff;
border-color: #63e3ff;
color: #fff;
border-color: #fff;
}
.docs-header-content .btn:active {
opacity: .5;
@ -85,17 +98,17 @@ body {
}
.docs-header-content .btn-primary {
margin-bottom: 0;
color: #fff;
border-color: #00d1fe;
background-color: #00d1fe;
color: #0a1855;
border-color: rgba(255, 255, 255, 0.85);
background-color: rgba(255, 255, 255, 0.85);
}
.docs-header-content .btn-primary:hover {
color: #fff;
border-color: #63e3ff;
background-color: #63e3ff;
color: #0a1855;
border-color: #fff;
background-color: #fff;
}
.docs-header-content .btn-primary:active {
background-color: #63e3ff;
opacity: .5;
}
.docs-title,
@ -476,7 +489,10 @@ hr {
@media screen and (min-width: 768px) {
.docs-header-content {
padding: 170px 0 200px;
position: relative;
top: 50%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
}
.docs-subtitle {

BIN
docs/assets/img/pattern.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 KiB

76
docs/index.html

@ -4,15 +4,13 @@ title: Ratchet
---
<div class="docs-header">
<div class="container column-group">
<!-- <div class="container column-group">
<div class="column units-2">
<header class="docs-nav">
<h1 class="docs-title">Ratchet</h1>
<a class="icon icon-bars" href="/components" data-ignore="push"></a>
<a class="version" href="https://github.com/maker/ratchet" data-ignore="push">v2.0.0</a>
</header>
</div>
</div>
</div> -->
<div class="docs-header-content">
<p class="docs-subtitle">Build mobile apps with simple HTML, CSS, and JS components.</p>
@ -22,7 +20,7 @@ title: Ratchet
</div>
<!-- Social links -->
<ul class="social">
<!--<ul class="social">
<li>
<iframe src="http://ghbtns.com/github-btn.html?user=maker&repo=ratchet&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="100px" height="20px"></iframe>
</li>
@ -34,74 +32,12 @@ title: Ratchet
Follow @GoRatchet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</li>
</ul>
<!-- Benefits -->
<section class="docs-benefits docs-section">
<div class="container column-group">
<div class="section-header column units-2">
<h2 class="section-heading">The mobile framework built for you</h2>
<p class="section-lead">Here's why we think you're going to love it.</p>
</div>
<div class="column-group">
<div class="column units-2 lg-units-6">
<div class="benefit-icon">
<span class="icon icon-code"></span>
</div>
<h3 class="benefit-heading">Simple web technology</h3>
<p class="benefit-text">Ratchet is built simple HTML, CSS, and JS. We used the power of SASS to make Ratchet extremely capable at quickly building mobile applications you can start playing with right away.</p>
</div>
<div class="column units-2 lg-units-6">
<div class="benefit-icon">
<span class="icon icon-list"></span>
</div>
<h3 class="benefit-heading">Tons of UI patterns</h3>
<p class="benefit-text">All the UI patterns that you'd expect in one simple framework. We've included our buttons, controls, forms, and behaviors that are optimized for performance in your app.</p>
</div>
</div>
<div class="column-group">
<div class="column units-2 lg-units-6">
<div class="benefit-icon">
<span class="icon icon-pages"></span>
</div>
<h3 class="benefit-heading">Native platform themes</h3>
<p class="benefit-text">Building an application for iOS or Android? Look no further. Ratchet provides platform specific themes that work on top of our standard components.</p>
</div>
<div class="column units-2 lg-units-6">
<div class="benefit-icon">
<span class="icon icon-download"></span>
</div>
<h3 class="benefit-heading">Fast and easy</h3>
<p class="benefit-text">It's super fast to get set up with Ratchet. Once you've downloaded the code, take a look at one of our starter templates or example applications.</p>
</div>
</div>
</div>
</section>
<section class="docs-contribute docs-section">
<div class="container column-group">
<div class="column units-2 lg-units-4">
<h3 class="contribute-heading">Contribute code</h3>
<p class="contribute-text">Have an feature or component you want to build? Open a pull request on our GitHub project. Our contributors make Ratchet better every day.</p>
<a class="link" href="#">GitHub project</a>
</div>
<div class="column units-2 lg-units-4">
<h3 class="contribute-heading">Submit an issue</h3>
<p class="contribute-text">See something that doesn't look right? Let use know and open an issue. We or one of our awesome contributors will get it fixed quickly.</p>
<a class="link" href="#">GitHub issues</a>
</div>
<div class="column units-2 lg-units-4">
<h3 class="contribute-heading">Ask a question</h3>
<p class="contribute-text">Wondering how to get a certain aspect of Ratchet to work the way you want. You're probably not the only one. Ask a question on our Google Group.</p>
<a class="link" href="#">Google group</a>
</div>
</div>
</section>
</ul>-->
<footer class="docs-footer docs-section">
<!-- <footer class="docs-footer docs-section">
<div class="container column-group">
<div class="column units-2">
<p class="footer-content">Code licensed under the MIT license. Ratchet version 2.0.0 was lovingly crafted by <a href="https://twitter.com/connors">Connor Sears</a>.</p>
</div>
</div>
</footer>
</footer> -->

43
sass/docs.scss

@ -24,7 +24,21 @@ body {
// --------------------------------------------------
.docs-header {
background-image: linear-gradient(45deg, #317ca6 0%, #254456 100%);
min-height: 700px;
height: 100vh;
background-image: linear-gradient(45deg, #0a1855 0%,#f11651 100%);
&:before {
position: fixed;
top: 0;
bottom: 0;
right: 0;
left: 0;
background-image: url(../img/pattern.png);
background-size: 30%;
opacity: .035;
content: '';
}
}
.docs-nav {
position: relative;
@ -65,13 +79,13 @@ body {
padding: 15px 30px 16px;
margin: 0 10px 10px;
font-size: 18px;
color: #00d1fe;
border-color: #00d1fe;
color: rgba(255,255,255,.7);
border-color: rgba(255,255,255,.7);
@include transition(all .2s linear);
&:hover {
color: #63e3ff;
border-color: #63e3ff;
color: #fff;
border-color: #fff;
}
&:active {
opacity: .5;
@ -80,17 +94,17 @@ body {
}
.btn-primary {
margin-bottom: 0;
color: #fff;
border-color: #00d1fe;
background-color: #00d1fe;
color: #0a1855;
border-color: rgba(255,255,255,.85);
background-color: rgba(255,255,255,.85);
&:hover {
color: #fff;
border-color: #63e3ff;
background-color: #63e3ff;
color: #0a1855;
border-color: #fff;
background-color: #fff;
}
&:active {
background-color: #63e3ff;
opacity: .5;
}
}
}
@ -512,7 +526,10 @@ hr {
@media screen and (min-width: 768px) {
// Jumbotron
.docs-header-content {
padding: 170px 0 200px;
position: relative;
top: 50%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
}
.docs-subtitle {
margin-bottom: 30px;

Loading…
Cancel
Save