Browse Source

fixed menu, added base styles, trying new header

Dayle Rees 13 years ago
parent
commit
3cb1272028

+ 4 - 2
bundles/docs/libraries/markdown.php

@@ -731,8 +731,9 @@ class Markdown_Parser {
 
 
 		if (isset($this->urls[$link_id])) {
 		if (isset($this->urls[$link_id])) {
 			$url = $this->urls[$link_id];
 			$url = $this->urls[$link_id];
+			// dayle convert
+			$url = URL::to($url);			
 			$url = $this->encodeAttribute($url);
 			$url = $this->encodeAttribute($url);
-			
 			$result = "<a href=\"$url\"";
 			$result = "<a href=\"$url\"";
 			if ( isset( $this->titles[$link_id] ) ) {
 			if ( isset( $this->titles[$link_id] ) ) {
 				$title = $this->titles[$link_id];
 				$title = $this->titles[$link_id];
@@ -754,7 +755,8 @@ class Markdown_Parser {
 		$link_text		=  $this->runSpanGamut($matches[2]);
 		$link_text		=  $this->runSpanGamut($matches[2]);
 		$url			=  $matches[3] == '' ? $matches[4] : $matches[3];
 		$url			=  $matches[3] == '' ? $matches[4] : $matches[3];
 		$title			=& $matches[7];
 		$title			=& $matches[7];
-
+			// dayle convert
+			$url = URL::to($url);
 		$url = $this->encodeAttribute($url);
 		$url = $this->encodeAttribute($url);
 
 
 		$result = "<a href=\"$url\"";
 		$result = "<a href=\"$url\"";

+ 40 - 4
bundles/docs/public/css/style.css

@@ -64,7 +64,7 @@ body
 .wrapper
 .wrapper
 {
 {
 	width:760px;
 	width:760px;
-	margin:2em auto;
+	margin:0 auto 5em auto;
 }
 }
 
 
 .wrapper>header
 .wrapper>header
@@ -74,6 +74,7 @@ body
 	background-repeat:no-repeat;
 	background-repeat:no-repeat;
 	background-position:right;
 	background-position:right;
 	text-shadow:1px 1px 0px #fff;
 	text-shadow:1px 1px 0px #fff;
+	padding-top:2.5em;
 }
 }
 
 
 .wrapper>header h1
 .wrapper>header h1
@@ -96,6 +97,11 @@ body
 	font-size:0.8em;
 	font-size:0.8em;
 }
 }
 
 
+.intro-text
+{
+	width:480px;
+}
+
 .main
 .main
 {
 {
 	overflow:hidden;
 	overflow:hidden;
@@ -109,20 +115,37 @@ body
 	padding-left:1.5em;
 	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 {
 .content>h1 {
 	font-size: 18pt;
 	font-size: 18pt;
 }
 }
 
 
 .content>h2 {
 .content>h2 {
-	font-size: 16pt;
+	font-size: 14pt;
+	margin-top:2.2em;
 }
 }
 
 
 .content>h3 {
 .content>h3 {
-	font-size: 14pt;
+	font-size: 12pt;
 }
 }
 
 
 .content>h4 {
 .content>h4 {
-	font-size: 12pt;
+	font-size: 10pt;
 }
 }
 
 
 .content>h1:not(:first-child) {
 .content>h1:not(:first-child) {
@@ -163,6 +186,19 @@ a:hover
 	margin-right:0.2em;
 	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
 pre, code
 {
 {
 	font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
 	font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;

BIN
bundles/docs/public/img/logoback.png


+ 1 - 1
bundles/docs/views/template.blade.php

@@ -14,7 +14,7 @@
 			<h1>Laravel</h1>
 			<h1>Laravel</h1>
 			<h2>A Framework For Web Artisans</h2>
 			<h2>A Framework For Web Artisans</h2>
 
 
-			<p>
+			<p class="intro-text">
 				You have successfully installed the Laravel framework. Laravel is a simple framework
 				You have successfully installed the Laravel framework. Laravel is a simple framework
 				that helps web artisans create beautiful, creative applications using elegant, expressive
 				that helps web artisans create beautiful, creative applications using elegant, expressive
 				syntax. You'll love using it.
 				syntax. You'll love using it.

+ 40 - 4
public/bundles/docs/css/style.css

@@ -64,7 +64,7 @@ body
 .wrapper
 .wrapper
 {
 {
 	width:760px;
 	width:760px;
-	margin:2em auto;
+	margin:0 auto 5em auto;
 }
 }
 
 
 .wrapper>header
 .wrapper>header
@@ -74,6 +74,7 @@ body
 	background-repeat:no-repeat;
 	background-repeat:no-repeat;
 	background-position:right;
 	background-position:right;
 	text-shadow:1px 1px 0px #fff;
 	text-shadow:1px 1px 0px #fff;
+	padding-top:2.5em;
 }
 }
 
 
 .wrapper>header h1
 .wrapper>header h1
@@ -96,6 +97,11 @@ body
 	font-size:0.8em;
 	font-size:0.8em;
 }
 }
 
 
+.intro-text
+{
+	width:480px;
+}
+
 .main
 .main
 {
 {
 	overflow:hidden;
 	overflow:hidden;
@@ -109,20 +115,37 @@ body
 	padding-left:1.5em;
 	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 {
 .content>h1 {
 	font-size: 18pt;
 	font-size: 18pt;
 }
 }
 
 
 .content>h2 {
 .content>h2 {
-	font-size: 16pt;
+	font-size: 14pt;
+	margin-top:2.2em;
 }
 }
 
 
 .content>h3 {
 .content>h3 {
-	font-size: 14pt;
+	font-size: 12pt;
 }
 }
 
 
 .content>h4 {
 .content>h4 {
-	font-size: 12pt;
+	font-size: 10pt;
 }
 }
 
 
 .content>h1:not(:first-child) {
 .content>h1:not(:first-child) {
@@ -163,6 +186,19 @@ a:hover
 	margin-right:0.2em;
 	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
 pre, code
 {
 {
 	font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
 	font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;

BIN
public/bundles/docs/img/logoback.png


+ 0 - 0
public/bundles/docs/js/modernizr-2.5.3.min.js