Commit 2c459547 authored by Dayle Rees's avatar Dayle Rees

styling, prettyprint and layout

parent bf32b6f6
......@@ -101,6 +101,7 @@ body
{
width:180px;
float:left;
font-size:0.9em;
}
.content
......@@ -128,7 +129,6 @@ a:hover
list-style-type:none;
margin:0;
padding:0;
font-size:0.9em;
}
.menu ul
......@@ -138,6 +138,14 @@ a:hover
margin:0;
}
.menu 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;
......@@ -150,6 +158,7 @@ pre
font-size:0.8em;
background-color:#f5f5f5;
text-shadow:1px 1px 0 #fff;
line-height:1.7em;
}
code
......@@ -162,6 +171,50 @@ code
}
/* 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; }
......
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
This diff is collapsed.
......@@ -4,6 +4,7 @@ View::composer('docs::template', function($view)
{
Asset::add('stylesheet', 'css/style.css');
Asset::add('modernizr', 'js/modernizr-2.5.3.min.js');
Asset::container('footer')->add('prettify', 'js/prettify.js');
});
......
......@@ -10,6 +10,12 @@
<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>
......
......@@ -3,12 +3,12 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title></title>
<title>Laravel: A Framework For Web Artisans</title>
<meta name="viewport" content="width=device-width">
{{ Asset::bundle('docs')->styles(); }}
{{ Asset::bundle('docs')->scripts(); }}
</head>
<body>
<body onload="prettyPrint()">
<div class="wrapper">
<header>
<h1>Laravel</h1>
......@@ -29,5 +29,6 @@
</div>
</div>
</div>
{{ Asset::container('footer')->bundle('docs')->scripts(); }}
</body>
</html>
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