Skip to content

Commit

Permalink
Update doc styles to better match yuilibrary.com.
Browse files Browse the repository at this point in the history
  • Loading branch information
reid committed Apr 12, 2012
1 parent 7645371 commit 8bfe7a1
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 20 deletions.
16 changes: 10 additions & 6 deletions doc/yeti/index.mustache
@@ -1,11 +1,9 @@
<h1>Yeti</h1> <h1>Yeti</h1>
<h2>Reloading is obsolete.</h2> <h2>The YUI Easy Testing Interface</h2>


<p> <h3>One-Line Install</h3>
<a href="http://travis-ci.org/yui/yeti"> <p>Requires <a href="http://nodejs.org">Node.js</a> v0.6.</p>
<img src="https://secure.travis-ci.org/yui/yeti.png?branch=master"> <p style="font-size: 200%; margin-bottom: 1%"><code>npm install -g http://latest.yeti.cx</code></p>
</a>
</p>


<h3>Documentation for {{yetiVersion}}</h3> <h3>Documentation for {{yetiVersion}}</h3>


Expand All @@ -20,3 +18,9 @@
<h3>Source Code</h3> <h3>Source Code</h3>


<p><a href="https://github.com/yui/yeti">Yeti on GitHub</a></p> <p><a href="https://github.com/yui/yeti">Yeti on GitHub</a></p>

<p>
<a href="http://travis-ci.org/yui/yeti">
<img src="https://secure.travis-ci.org/yui/yeti.png?branch=master">
</a>
</p>
29 changes: 23 additions & 6 deletions doc/yeti/layouts/component.mustache
Expand Up @@ -3,16 +3,28 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>Yeti {{yetiVersion}} - {{htmlTitle}}</title> <title>Yeti {{yetiVersion}} - {{htmlTitle}}</title>
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Maven+Pro:400,700"> <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic,700italic">
<link rel="stylesheet" href="{{yuiGridsUrl}}"> <link rel="stylesheet" href="{{yuiGridsUrl}}">
<link rel="stylesheet" href="{{projectAssets}}/css/main.css"> <link rel="stylesheet" href="{{projectAssets}}/css/main.css">
<link rel="stylesheet" href="{{projectAssets}}/vendor/prettify/prettify-min.css"> <link rel="stylesheet" href="{{projectAssets}}/vendor/prettify/prettify-min.css">
<style> <style>
body, h1, h2, h3, h4, h5, h6 {
font-family: 'PT Sans', 'DejaVu Sans', 'Bitstream Vera Sans', Verdana, sans-serif;
}
body {
font-size: 14px;
}
.sidebox .bd {
font-size: 12px;
}
.toc li {
font-weight: normal;
}
.yeti-hd { .yeti-hd {
border-bottom: 1px solid #ddd; border-bottom: 1px solid #ddd;
} }
.yeti-hd h1 { .yeti-hd h1 {
font: bold 300% "Helvetica Neue", Helvetica, sans-serif; font-size: 300%;
letter-spacing: -1px; letter-spacing: -1px;
margin: 5px 0 0; margin: 5px 0 0;
padding: 0 20px; padding: 0 20px;
Expand All @@ -26,9 +38,14 @@
height: 52px; height: 52px;
width: 117px; width: 117px;
} }
.yeti-hd .product { .yeti-hd .version {
line-height: 52px; font-size: 40%;
vertical-align: 25%; font-weight: normal;
padding: 5px;
background: #30418C;
color: #fff;
vertical-align: 60%;
border-radius: 10px;
} }
.yeti-hd .links { .yeti-hd .links {
text-align: right; text-align: right;
Expand All @@ -45,7 +62,7 @@
<div class="yeti-hd yui3-g"> <div class="yeti-hd yui3-g">
<div class="yui3-u-3-4"> <div class="yui3-u-3-4">
<h1> <h1>
<span class="product"><a href="../index.html">Yeti</a> {{yetiVersion}} Documentation</span> <span class="product"><a href="../index.html">Yeti</a></span> <span class="version">{{yetiVersion}}</span>
</h1> </h1>
</div> </div>
<div class="yui3-u-1-4"> <div class="yui3-u-1-4">
Expand Down
16 changes: 11 additions & 5 deletions doc/yeti/layouts/main.mustache
Expand Up @@ -3,13 +3,19 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>{{htmlTitle}}</title> <title>{{htmlTitle}}</title>
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Maven+Pro:400,700"> <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic,700italic">
<link rel="stylesheet" href="{{yuiGridsUrl}}"> <link rel="stylesheet" href="{{yuiGridsUrl}}">
<link rel="stylesheet" href="{{projectAssets}}/css/main.css"> <link rel="stylesheet" href="{{projectAssets}}/css/main.css">
<link rel="stylesheet" href="{{projectAssets}}/vendor/prettify/prettify-min.css"> <link rel="stylesheet" href="{{projectAssets}}/vendor/prettify/prettify-min.css">
<style> <style>
body, h1, h2, h3, h4, h5, h6 {
font-family: 'PT Sans', 'DejaVu Sans', 'Bitstream Vera Sans', Verdana, sans-serif;
}
body {
font-size: 14px;
}
.yeti-widget, .yeti-widget h1, .yeti-widget h2 { .yeti-widget, .yeti-widget h1, .yeti-widget h2 {
font: 120% "Helvetica Neue", Helvetica, sans-serif; font-size: 120%;
text-align: center; text-align: center;
} }
.yeti-widget h1 { .yeti-widget h1 {
Expand All @@ -19,9 +25,9 @@
margin: 0; margin: 0;
} }
.yeti-widget h2 { .yeti-widget h2 {
font-size: 470%; font-style: italic;
font-weight: 100; font-size: 250%;
margin-top: -2%; margin-top: -1%;
margin-bottom: 3%; margin-bottom: 3%;
} }
.yeti-widget h3 { .yeti-widget h3 {
Expand Down
5 changes: 2 additions & 3 deletions doc/yeti/partials/footer.mustache
@@ -1,7 +1,7 @@
<style> <style>
.ft { .ft {
margin: 100px; margin: 100px;
font-size: 74%; font-size: 13px;
} }
#doc .ft { #doc .ft {
border-top: 1px solid #ddd; border-top: 1px solid #ddd;
Expand All @@ -13,8 +13,7 @@
<a href="http://yeti.cx">Yeti</a> is a product of <a href="http://yuilibrary.com/">YUI Library</a>. <a href="http://yeti.cx">Yeti</a> is a product of <a href="http://yuilibrary.com/">YUI Library</a>.
&bull; <a href="http://yuilibrary.com/security/">Security</a> &bull; <a href="http://yuilibrary.com/security/">Security</a>
&bull; <a href="http://twitter.com/yuilibrary">@yuilibrary</a> &bull; <a href="http://twitter.com/yuilibrary">@yuilibrary</a>
</p> <br>
<p>
Copyright &copy; 2012 Yahoo! Inc. <a href="http://yuilibrary.com/license/">BSD licensed</a>. Copyright &copy; 2012 Yahoo! Inc. <a href="http://yuilibrary.com/license/">BSD licensed</a>.
</p> </p>
</div> </div>

0 comments on commit 8bfe7a1

Please sign in to comment.