Commit 686f83ae authored by Taylor Otwell's avatar Taylor Otwell

working on offline docs.

parent 902e8c75
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
Route::get('/', function() Route::get('/', function()
{ {
return Redirect::to('docs'); return View::make('home.index');
}); });
/* /*
......
...@@ -55,9 +55,10 @@ td { vertical-align: top; } ...@@ -55,9 +55,10 @@ td { vertical-align: top; }
body body
{ {
font-family: 'Droid Sans', sans-serif; font-family:'Ubuntu', sans-serif;
font-size:11pt; font-size:10pt;
color:#555; color:#555;
line-height: 25px;
} }
.wrapper .wrapper
...@@ -77,14 +78,17 @@ body ...@@ -77,14 +78,17 @@ body
.wrapper>header h1 .wrapper>header h1
{ {
color:#222; font-size: 28pt;
margin:0; font-family: 'Ubuntu';
margin: 0 0 10px 0;
letter-spacing: 2px;
} }
.wrapper>header h2 .wrapper>header h2
{ {
margin:0; margin:0;
color:#888; color:#888;
letter-spacing: 2px;
} }
.slogan .slogan
...@@ -97,13 +101,6 @@ body ...@@ -97,13 +101,6 @@ body
overflow:hidden; overflow:hidden;
} }
.sidebar
{
width:180px;
float:left;
font-size:0.9em;
}
.content .content
{ {
width:540px; width:540px;
...@@ -112,6 +109,26 @@ body ...@@ -112,6 +109,26 @@ body
padding-left:1.5em; 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 a, a:visited
{ {
color:#2972A3; color:#2972A3;
...@@ -124,21 +141,22 @@ a:hover ...@@ -124,21 +141,22 @@ a:hover
text-decoration:underline; text-decoration:underline;
} }
.menu .sidebar
{ {
list-style-type:none; width:180px;
margin:0; float:left;
padding:0; font-size:0.9em;
} }
.menu ul .sidebar ul
{ {
list-style-type:none; list-style-type:none;
padding-left:1em; padding-left:1em;
margin:0; margin:0;
padding: 0;
} }
.menu ul li:before .sidebar ul li:before
{ {
content:"\2013"; content:"\2013";
text-decoration:none; text-decoration:none;
...@@ -176,27 +194,34 @@ code ...@@ -176,27 +194,34 @@ code
.com { .com {
color: #93a1a1; color: #93a1a1;
} }
.lit { .lit {
color: #195f91; color: #195f91;
} }
.pun, .opn, .clo { .pun, .opn, .clo {
color: #93a1a1; color: #93a1a1;
} }
.fun { .fun {
color: #dc322f; color: #dc322f;
} }
.str, .atv { .str, .atv {
color: #D14; color: #D14;
} }
.kwd, .linenums .tag { .kwd, .linenums .tag {
color: #1e347b; color: #1e347b;
} }
.typ, .typ,
.atn, .atn,
.dec, .dec,
.var { .var {
color: teal; color: teal;
} }
.pln { .pln {
color: #48484c; color: #48484c;
} }
...@@ -212,7 +237,6 @@ code ...@@ -212,7 +237,6 @@ code
color:#ccc; color:#ccc;
} }
/* end ------------------------ */ /* end ------------------------ */
@media print { @media print {
......
@layout('docs::template') @layout('docs::template')
@section('content') @section('content')
<h3>Learn the terrain.</h3> <h1>Learn the terrain.</h1>
<p> <p>
You've landed yourself on our <code>default</code> home page. The route that You've landed yourself on our default home page. The route that
is generating this page lives at: is generating this page lives in the main routes file. You can
find it here:
</p> </p>
<pre>APP_PATH/routes.php</pre> <pre>APP_PATH/routes.php</pre>
<!--
<pre class="prettyprint lang-php linenums"> <pre class="prettyprint lang-php linenums">
return array( return array(
'welcome' => 'Welcome to our website!', 'welcome' => 'Welcome to our website!',
); );
</pre> </pre>
-->
<p>And the view sitting before you can be found at:</p> <p>And the view sitting before you can be found at:</p>
<pre>APP_PATH/views/home/index.php</pre> <pre>APP_PATH/views/home/index.php</pre>
<h3>Create something beautiful.</h3> <h1>Create something beautiful.</h1>
<p> <p>
Now that you're up and running, it's time to start creating! Now that you're up and running, it's time to start creating!
......
<h3>Documentation</h3> <h2>Documentation</h2>
<ul class="menu"> <ul>
<li><a href="#">Menu Item</a></li> <li><a href="#">Menu Item</a></li>
<li><a href="#">Menu Item</a></li> <li><a href="#">Menu Item</a></li>
<li><a href="#">Menu Item</a> <li><a href="#">Menu Item</a>
...@@ -24,5 +24,4 @@ ...@@ -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> <li><a href="#">Menu Item</a></li>
<li><a href="#">Menu Item</a></li> <li><a href="#">Menu Item</a></li>
</ul> </ul>
\ No newline at end of file
@import url(http://fonts.googleapis.com/css?family=Droid+Sans);
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
html, button, input, select, textarea { font-family: sans-serif; color: #222; }
body { margin: 0; font-size: 1em; line-height: 1.4; }
::-moz-selection { background: #E37B52; color: #fff; text-shadow: none; }
::selection { background: #E37B52; color: #fff; text-shadow: none; }
a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }
abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }
form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid { }
input:invalid, textarea:invalid { background-color: #f0dddd; }
table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }
body
{
font-family:'Ubuntu', sans-serif;
font-size:10pt;
color:#555;
line-height: 25px;
}
.wrapper
{
width:760px;
margin:2em auto;
}
.wrapper>header
{
border-bottom:1px solid #eee;
background-image:url(../img/logoback.png);
background-repeat:no-repeat;
background-position:right;
text-shadow:1px 1px 0px #fff;
}
.wrapper>header h1
{
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
{
font-size:0.8em;
}
.main
{
overflow:hidden;
}
.content
{
width:540px;
float:right;
border-left:1px solid #eee;
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;
text-decoration:none;
}
a:hover
{
color:#72ADD4;
text-decoration:underline;
}
.sidebar
{
width:180px;
float:left;
font-size:0.9em;
}
.sidebar ul
{
list-style-type:none;
padding-left:1em;
margin:0;
padding: 0;
}
.sidebar ul li:before
{
content:"\2013";
text-decoration:none;
color:#777;
margin-right:0.2em;
}
pre, code
{
font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
}
pre
{
border:1px solid #eee;
padding:0.5em 1em;
font-size:0.8em;
background-color:#f5f5f5;
text-shadow:1px 1px 0 #fff;
line-height:1.7em;
}
code
{
background-color:#FFE5DB;
font-size:0.8em;
display:inline-block;
padding:0.2em 0.4em;
text-shadow:1px 1px 0 #fff;
}
/* Prettify Styles -------------- */
.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;
}
.prettyprint
{
padding:0;
text-shadow:1px 1px 0 #fff;
}
.prettyprint ol
{
color:#ccc;
}
/* end ------------------------ */
@media print {
* { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; }
a, a:visited { text-decoration: underline; }
a[href]:after { content: " (" attr(href) ")"; }
abbr[title]:after { content: " (" attr(title) ")"; }
.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
thead { display: table-header-group; }
tr, img { page-break-inside: avoid; }
img { max-width: 100% !important; }
@page { margin: 0.5cm; }
p, h2, h3 { orphans: 3; widows: 3; }
h2, h3 { page-break-after: avoid; }
}
This diff is collapsed.
This diff is collapsed.
*
!.gitignore
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment