Commit 21cee366 authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #482 from daylerees/docs-template

Docs template
parents 6a9cc481 3cb12720
......@@ -731,8 +731,9 @@ class Markdown_Parser {
if (isset($this->urls[$link_id])) {
$url = $this->urls[$link_id];
// dayle convert
$url = URL::to($url);
$url = $this->encodeAttribute($url);
$result = "<a href=\"$url\"";
if ( isset( $this->titles[$link_id] ) ) {
$title = $this->titles[$link_id];
......@@ -754,7 +755,8 @@ class Markdown_Parser {
$link_text = $this->runSpanGamut($matches[2]);
$url = $matches[3] == '' ? $matches[4] : $matches[3];
$title =& $matches[7];
// dayle convert
$url = URL::to($url);
$url = $this->encodeAttribute($url);
$result = "<a href=\"$url\"";
......
......@@ -64,7 +64,7 @@ body
.wrapper
{
width:760px;
margin:2em auto;
margin:0 auto 5em auto;
}
.wrapper>header
......@@ -74,6 +74,7 @@ body
background-repeat:no-repeat;
background-position:right;
text-shadow:1px 1px 0px #fff;
padding-top:2.5em;
}
.wrapper>header h1
......@@ -96,6 +97,11 @@ body
font-size:0.8em;
}
.intro-text
{
width:480px;
}
.main
{
overflow:hidden;
......@@ -109,20 +115,37 @@ body
padding-left:1.5em;
}
.content blockquote p
{
background-color:#f8f8f8;
padding:0.5em 1em;
border-left:3px solid #E3591E;
text-shadow:1px 1px 0 #fff;
font-style:italic;
margin:3em 0;
}
.content p
{
line-height:1.6em;
margin:1.5em 0;
}
.content>h1 {
font-size: 18pt;
}
.content>h2 {
font-size: 16pt;
font-size: 14pt;
margin-top:2.2em;
}
.content>h3 {
font-size: 14pt;
font-size: 12pt;
}
.content>h4 {
font-size: 12pt;
font-size: 10pt;
}
.content>h1:not(:first-child) {
......@@ -163,6 +186,19 @@ a:hover
margin-right:0.2em;
}
.sidebar>ul ul
{
list-style-type:none;
margin:0 0 0 1.5em;
padding:0;
}
.sidebar>ul ul>li:before
{
content:"\2013";
margin-right:0.4em;
}
pre, code
{
font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
......
bundles/docs/public/img/logoback.png

8.28 KB | W: | H:

bundles/docs/public/img/logoback.png

10.6 KB | W: | H:

bundles/docs/public/img/logoback.png
bundles/docs/public/img/logoback.png
bundles/docs/public/img/logoback.png
bundles/docs/public/img/logoback.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -14,7 +14,7 @@
<h1>Laravel</h1>
<h2>A Framework For Web Artisans</h2>
<p>
<p class="intro-text">
You have successfully installed the Laravel framework. Laravel is a simple framework
that helps web artisans create beautiful, creative applications using elegant, expressive
syntax. You'll love using it.
......
......@@ -64,7 +64,7 @@ body
.wrapper
{
width:760px;
margin:2em auto;
margin:0 auto 5em auto;
}
.wrapper>header
......@@ -74,6 +74,7 @@ body
background-repeat:no-repeat;
background-position:right;
text-shadow:1px 1px 0px #fff;
padding-top:2.5em;
}
.wrapper>header h1
......@@ -96,6 +97,11 @@ body
font-size:0.8em;
}
.intro-text
{
width:480px;
}
.main
{
overflow:hidden;
......@@ -109,20 +115,37 @@ body
padding-left:1.5em;
}
.content blockquote p
{
background-color:#f8f8f8;
padding:0.5em 1em;
border-left:3px solid #E3591E;
text-shadow:1px 1px 0 #fff;
font-style:italic;
margin:3em 0;
}
.content p
{
line-height:1.6em;
margin:1.5em 0;
}
.content>h1 {
font-size: 18pt;
}
.content>h2 {
font-size: 16pt;
font-size: 14pt;
margin-top:2.2em;
}
.content>h3 {
font-size: 14pt;
font-size: 12pt;
}
.content>h4 {
font-size: 12pt;
font-size: 10pt;
}
.content>h1:not(:first-child) {
......@@ -163,6 +186,19 @@ a:hover
margin-right:0.2em;
}
.sidebar>ul ul
{
list-style-type:none;
margin:0 0 0 1.5em;
padding:0;
}
.sidebar>ul ul>li:before
{
content:"\2013";
margin-right:0.4em;
}
pre, code
{
font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
......
public/bundles/docs/img/logoback.png

8.28 KB | W: | H:

public/bundles/docs/img/logoback.png

10.6 KB | W: | H:

public/bundles/docs/img/logoback.png
public/bundles/docs/img/logoback.png
public/bundles/docs/img/logoback.png
public/bundles/docs/img/logoback.png
  • 2-up
  • Swipe
  • Onion skin
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
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