forked from github.com/blag
Added _layouts and _static dirs, with example files.
This commit is contained in:
27
_layouts/default.html
Normal file
27
_layouts/default.html
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>$title</title>
|
||||||
|
<link rel="stylesheet" href="style.css" type="text/css" />
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div id="header">
|
||||||
|
<div id="header_title">
|
||||||
|
<a href="/">Bastian Venthur</a>
|
||||||
|
</div>
|
||||||
|
<div id="header_tagline">
|
||||||
|
Lorem Ipsum
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="content">
|
||||||
|
$content
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="footer">
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
||||||
35
_static/style.css
Normal file
35
_static/style.css
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
body {
|
||||||
|
font-family: "trebuchet ms";
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content {
|
||||||
|
margin-top: 20px;
|
||||||
|
margin-bottom: 30px;
|
||||||
|
position: relative;
|
||||||
|
margin: auto;
|
||||||
|
width: 600px;
|
||||||
|
}
|
||||||
|
|
||||||
|
div#header, div#footer {
|
||||||
|
background: #AD0404;
|
||||||
|
height: 104px;
|
||||||
|
width: 940;
|
||||||
|
color: white;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
div#header_title {
|
||||||
|
color: white;
|
||||||
|
font-size: 34px;
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
div#header_tagline {
|
||||||
|
color: white:
|
||||||
|
font-size: 14px;
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user