working on offline docs.

This commit is contained in:
Taylor Otwell
2012-04-02 09:47:30 -05:00
parent 902e8c7500
commit 686f83ae8e
9 changed files with 1790 additions and 27 deletions

View File

@@ -55,9 +55,10 @@ td { vertical-align: top; }
body
{
font-family: 'Droid Sans', sans-serif;
font-size:11pt;
font-family:'Ubuntu', sans-serif;
font-size:10pt;
color:#555;
line-height: 25px;
}
.wrapper
@@ -77,14 +78,17 @@ body
.wrapper>header h1
{
color:#222;
margin:0;
font-size: 28pt;
font-family: 'Ubuntu';
margin: 0 0 10px 0;
letter-spacing: 2px;
}
.wrapper>header h2
{
margin:0;
color:#888;
letter-spacing: 2px;
}
.slogan
@@ -97,13 +101,6 @@ body
overflow:hidden;
}
.sidebar
{
width:180px;
float:left;
font-size:0.9em;
}
.content
{
width:540px;
@@ -112,6 +109,26 @@ body
padding-left:1.5em;
}
.content>h1 {
font-size: 18pt;
}
.content>h2 {
font-size: 16pt;
}
.content>h3 {
font-size: 14pt;
}
.content>h4 {
font-size: 12pt;
}
.content>h1:not(:first-child) {
margin-top: 30px;
}
a, a:visited
{
color:#2972A3;
@@ -124,21 +141,22 @@ a:hover
text-decoration:underline;
}
.menu
.sidebar
{
list-style-type:none;
margin:0;
padding:0;
width:180px;
float:left;
font-size:0.9em;
}
.menu ul
.sidebar ul
{
list-style-type:none;
padding-left:1em;
margin:0;
padding: 0;
}
.menu ul li:before
.sidebar ul li:before
{
content:"\2013";
text-decoration:none;
@@ -176,27 +194,34 @@ code
.com {
color: #93a1a1;
}
.lit {
color: #195f91;
}
.pun, .opn, .clo {
color: #93a1a1;
}
.fun {
color: #dc322f;
}
.str, .atv {
color: #D14;
}
.kwd, .linenums .tag {
color: #1e347b;
}
.typ,
.atn,
.dec,
.var {
color: teal;
}
.pln {
color: #48484c;
}
@@ -212,7 +237,6 @@ code
color:#ccc;
}
/* end ------------------------ */
@media print {

View File

@@ -1,26 +1,28 @@
@layout('docs::template')
@section('content')
<h3>Learn the terrain.</h3>
<h1>Learn the terrain.</h1>
<p>
You've landed yourself on our <code>default</code> home page. The route that
is generating this page lives at:
You've landed yourself on our default home page. The route that
is generating this page lives in the main routes file. You can
find it here:
</p>
<pre>APP_PATH/routes.php</pre>
<!--
<pre class="prettyprint lang-php linenums">
return array(
'welcome' => 'Welcome to our website!',
);
</pre>
-->
<p>And the view sitting before you can be found at:</p>
<pre>APP_PATH/views/home/index.php</pre>
<h3>Create something beautiful.</h3>
<h1>Create something beautiful.</h1>
<p>
Now that you're up and running, it's time to start creating!

View File

@@ -1,5 +1,5 @@
<h3>Documentation</h3>
<ul class="menu">
<h2>Documentation</h2>
<ul>
<li><a href="#">Menu Item</a></li>
<li><a href="#">Menu Item</a></li>
<li><a href="#">Menu Item</a>
@@ -24,5 +24,4 @@
<li><a href="#">Menu Item</a></li>
<li><a href="#">Menu Item</a></li>
<li><a href="#">Menu Item</a></li>
</ul>