mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
working on offline docs.
This commit is contained in:
parent
902e8c7500
commit
686f83ae8e
@ -35,7 +35,7 @@
|
||||
|
||||
Route::get('/', function()
|
||||
{
|
||||
return Redirect::to('docs');
|
||||
return View::make('home.index');
|
||||
});
|
||||
|
||||
/*
|
||||
|
@ -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 {
|
||||
|
@ -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!
|
||||
|
@ -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>
|
255
public/bundles/docs/css/style.css
Normal file
255
public/bundles/docs/css/style.css
Normal file
@ -0,0 +1,255 @@
|
||||
@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; }
|
||||
}
|
BIN
public/bundles/docs/img/logoback.png
Normal file
BIN
public/bundles/docs/img/logoback.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.3 KiB |
4
public/bundles/docs/js/modernizr-2.5.3.min.js
vendored
Normal file
4
public/bundles/docs/js/modernizr-2.5.3.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1477
public/bundles/docs/js/prettify.js
Normal file
1477
public/bundles/docs/js/prettify.js
Normal file
File diff suppressed because it is too large
Load Diff
2
storage/views/.gitignore
vendored
2
storage/views/.gitignore
vendored
@ -0,0 +1,2 @@
|
||||
*
|
||||
!.gitignore
|
Loading…
x
Reference in New Issue
Block a user