some error pages; aws build script; optionally disable comments; environment
This commit is contained in:
29
static/dev/content/header-simple.html
Normal file
29
static/dev/content/header-simple.html
Normal file
@@ -0,0 +1,29 @@
|
||||
<html>
|
||||
<head>
|
||||
<script>
|
||||
function dynvar() {
|
||||
var vars = {};
|
||||
var x = document.location.search.substring(1).split('&');
|
||||
|
||||
for (var i in x) {
|
||||
var z = x[i].split('=',2);
|
||||
|
||||
if (!vars[z[0]]) {
|
||||
vars[z[0]] = unescape(z[1]);
|
||||
}
|
||||
}
|
||||
|
||||
document.getElementById('doctitle').innerHTML = vars.doctitle;
|
||||
document.getElementById('paginate').innerHTML = 'page ' + vars.page + ' of ' + vars.topage;
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body style="margin:0;" onload="dynvar();">
|
||||
<div style="border-bottom:#CCCCCC solid 1px;color:#333;font-family:Lato,sans-serif;font-size:12px;height:36px;position:relative;">
|
||||
<div style="float:left;padding:0 5px 0 4px;"><img alt="DPB" src="http://www.gravatar.com/avatar/5544fe6a05400da5a8957ff29dd6718c.png?s=128" style="border-radius:3px;width:32px;" /></div>
|
||||
<div style="float:right;list-style:none;margin:3px 3px 0;text-align:right;"><strong id="doctitle">{doctitle}</strong><br /><span id="paginate" style="color:#666666;display:inline-block;font-size:11px;font-weight:300;padding-right:1px;">page {page} of {topage}</span></div>
|
||||
<div class="site-title" style="font-size:15px;margin:0;"><strong>Danny Berger</strong><br /><a href="http://dpb587.me/" style="color:#666666;font-size:11px;font-weight:300;text-decoration:none;">http://dpb587.me</a></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
BIN
static/dev/icon/code.png
Normal file
BIN
static/dev/icon/code.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.2 KiB |
323
static/dev/style/default-common.css
Normal file
323
static/dev/style/default-common.css
Normal file
@@ -0,0 +1,323 @@
|
||||
body {
|
||||
color: #333333;
|
||||
font-family: Lato, sans-serif;
|
||||
font-size: 16px;
|
||||
margin: 2px 10px 10px 44px;
|
||||
}
|
||||
|
||||
body > header, article > section {
|
||||
border-bottom: #F0F0F0 solid 1px;
|
||||
border-left: #E9E9E9 solid 1px;
|
||||
margin-bottom: 2px;
|
||||
padding: 24px 34px;
|
||||
position: relative;
|
||||
width: 640px;
|
||||
}
|
||||
|
||||
body > footer {
|
||||
color: #999999;
|
||||
font-size: 11px;
|
||||
font-weight: 400;
|
||||
padding: 36px 6px 28px 36px;
|
||||
position: relative;
|
||||
width: 668px;
|
||||
}
|
||||
|
||||
body > footer a {
|
||||
color: #999999;
|
||||
}
|
||||
|
||||
body > footer:hover {
|
||||
color: #666666;
|
||||
}
|
||||
|
||||
body > footer:hover a {
|
||||
color: #666666;
|
||||
}
|
||||
|
||||
body.no-footer > footer {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body > header {
|
||||
padding-right: 20px;
|
||||
width: 654px;
|
||||
}
|
||||
|
||||
body > header .meta {
|
||||
margin-bottom: 0;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
header ul {
|
||||
float: right;
|
||||
list-style: none;
|
||||
margin: 7px 0 0;
|
||||
}
|
||||
|
||||
header ul li {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
header ul li a {
|
||||
border-radius: 2px;
|
||||
color: #CF5406;
|
||||
display: block;
|
||||
margin-left: 6px;
|
||||
padding: 1px 5px 2px 5px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
header ul li a:hover {
|
||||
background-color: #CF5406;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.meta {
|
||||
color: #333333;
|
||||
font-size: 12px;
|
||||
font-weight: 300;
|
||||
padding-left: 1px;
|
||||
margin-bottom: 12px;
|
||||
margin-top: 24px;
|
||||
}
|
||||
|
||||
.meta a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.meta a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #CF5406;
|
||||
}
|
||||
|
||||
small {
|
||||
color: #666666;
|
||||
}
|
||||
|
||||
div.site-title {
|
||||
font-size: 20px;
|
||||
font-weight: 400;
|
||||
margin: 4px 0 0;
|
||||
}
|
||||
|
||||
div.site-title strong {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
div.site-title strong a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
div.site-title small {
|
||||
color: #999999;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: #333333;
|
||||
font-size: 18px;
|
||||
font-weight: 700;
|
||||
margin: 0;
|
||||
padding: 1px 0;
|
||||
}
|
||||
|
||||
h1 small {
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
h2 {
|
||||
border-bottom: #DEDEDE solid 1px;
|
||||
color: #393939;
|
||||
font-size: 17px;
|
||||
margin: 32px -4px 10px;
|
||||
padding: 0 4px 2px;
|
||||
}
|
||||
|
||||
h3 {
|
||||
border-bottom: #DEDEDE dotted 1px;
|
||||
font-size: 14px;
|
||||
margin: 22px -4px 10px;
|
||||
padding: 0 4px;
|
||||
}
|
||||
|
||||
hr {
|
||||
margin: 0 -4px;
|
||||
}
|
||||
|
||||
article > section .timeline {
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
section .timeline > * {
|
||||
display: block;
|
||||
opacity: 0.6;
|
||||
line-height: 0;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
body.layout-post section .timeline > *,
|
||||
section:hover .timeline > * {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
article.layout-post section {
|
||||
padding-bottom: 12px;
|
||||
}
|
||||
|
||||
.timeline {
|
||||
background-color: #FFFFFF;
|
||||
font-size: 11px;
|
||||
line-height: 0;
|
||||
padding-top: 2px;
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
left: -24px;
|
||||
width: 49px;
|
||||
}
|
||||
|
||||
.timeline img {
|
||||
border-radius: 4px;
|
||||
width: 49px;
|
||||
}
|
||||
|
||||
.timeline time {
|
||||
line-height: 11px;
|
||||
}
|
||||
|
||||
pre {
|
||||
background-color: #F9F9F9;
|
||||
border: #D8D8D8 solid 1px;
|
||||
font-family: monaco;
|
||||
font-size: 12px;
|
||||
line-height: 17px;
|
||||
margin: 14px -2px 24px;
|
||||
max-height: 398px;
|
||||
overflow: auto;
|
||||
padding: 2px 4px;
|
||||
}
|
||||
|
||||
pre > code {
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: monaco;
|
||||
font-size: 13px;
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
p, ul, ol, dl {
|
||||
line-height: 24px;
|
||||
margin: 12px 0;
|
||||
}
|
||||
|
||||
dl dt {
|
||||
clear: left;
|
||||
color: #666666;
|
||||
float: left;
|
||||
padding-top: 2px;
|
||||
text-align: right;
|
||||
width: 140px;
|
||||
}
|
||||
|
||||
dl dd {
|
||||
margin-left: 0;
|
||||
padding: 2px 0 0 146px;
|
||||
}
|
||||
|
||||
.meta-properties {
|
||||
border-top: #F0F0F0 solid 1px;
|
||||
margin-left: -8px;
|
||||
margin-right: -8px;
|
||||
padding: 10px 8px;
|
||||
}
|
||||
|
||||
.meta-social {
|
||||
border-top: #F0F0F0 solid 1px;
|
||||
margin-left: -8px;
|
||||
margin-right: -8px;
|
||||
padding: 32px 6px 0;
|
||||
}
|
||||
|
||||
.meta-navigate {
|
||||
border-top: #F0F0F0 solid 1px;
|
||||
font-size: 15px;
|
||||
font-weight: 400;
|
||||
margin-left: -8px;
|
||||
margin-right: -8px;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.disqus {
|
||||
border-top: #F0F0F0 solid 1px;
|
||||
margin: 28px -8px 0;
|
||||
padding: 27px 8px 0;
|
||||
}
|
||||
|
||||
article.layout-post .meta.meta-social {
|
||||
display: none;
|
||||
}
|
||||
|
||||
section.post-content img {
|
||||
background-color: #F3F3F3;
|
||||
border: #D8D8D8 solid 1px;
|
||||
border-radius: 1px;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
a img {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.print-only {
|
||||
display: none;
|
||||
}
|
||||
|
||||
a.subtle {
|
||||
color: inherit;
|
||||
text-decoration: inherit;
|
||||
}
|
||||
|
||||
body.no-footer article > section {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
body.alt-printarticle > header {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body.alt-printarticle > article > section {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
body.alt-printarticle > footer {
|
||||
display: none;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
border-left: #F0F0F0 solid 4px;
|
||||
border-right: #F0F0F0 solid 4px;
|
||||
margin: 14px 16px;
|
||||
padding: 1px 18px;
|
||||
}
|
||||
|
||||
.list-gallery {
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
.list-gallery img {
|
||||
padding: 2px !important;
|
||||
margin: 8px 7px 0 0;
|
||||
}
|
||||
|
||||
.list-gallery img:hover {
|
||||
border: #999999 solid 1px !important;
|
||||
}
|
||||
70
static/dev/style/default-print.css
Normal file
70
static/dev/style/default-print.css
Normal file
@@ -0,0 +1,70 @@
|
||||
.print-only {
|
||||
display: block;
|
||||
}
|
||||
|
||||
span.print-only {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
body.layout-default {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
body.layout-content,
|
||||
body.layout-post {
|
||||
font-size: 12px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
body > footer {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
body > header, article > section {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
body > header {
|
||||
margin-bottom: 0;
|
||||
margin-left: 24px;
|
||||
padding-bottom: 12px;
|
||||
padding-top: 6px;
|
||||
}
|
||||
|
||||
body.layout-content article > section,
|
||||
body.layout-post article > section {
|
||||
border-left: 0;
|
||||
margin: 0 12px;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
body.layout-default article > section {
|
||||
margin-left: 25px;
|
||||
}
|
||||
|
||||
body.layout-post section header .timeline {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.screen-only {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: inherit;
|
||||
}
|
||||
|
||||
p, ul, ol, dl {
|
||||
line-height: 18px;
|
||||
margin: 7px 0;
|
||||
}
|
||||
|
||||
div.site-title {
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin-top: 24px;
|
||||
}
|
||||
60
static/dev/style/pygments.css
Normal file
60
static/dev/style/pygments.css
Normal file
@@ -0,0 +1,60 @@
|
||||
/* https://github.com/mojombo/mojombo.github.com/blob/master/css/syntax.css */
|
||||
.highlight .c { color: #999988; font-style: italic } /* Comment */
|
||||
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
|
||||
.highlight .k { font-weight: bold } /* Keyword */
|
||||
.highlight .o { font-weight: bold } /* Operator */
|
||||
.highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */
|
||||
.highlight .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
|
||||
.highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */
|
||||
.highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
|
||||
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
|
||||
.highlight .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */
|
||||
.highlight .ge { font-style: italic } /* Generic.Emph */
|
||||
.highlight .gr { color: #aa0000 } /* Generic.Error */
|
||||
.highlight .gh { color: #999999 } /* Generic.Heading */
|
||||
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
|
||||
.highlight .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */
|
||||
.highlight .go { color: #888888 } /* Generic.Output */
|
||||
.highlight .gp { color: #555555 } /* Generic.Prompt */
|
||||
.highlight .gs { font-weight: bold } /* Generic.Strong */
|
||||
.highlight .gu { color: #aaaaaa } /* Generic.Subheading */
|
||||
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
|
||||
.highlight .kc { font-weight: bold } /* Keyword.Constant */
|
||||
.highlight .kd { font-weight: bold } /* Keyword.Declaration */
|
||||
.highlight .kp { font-weight: bold } /* Keyword.Pseudo */
|
||||
.highlight .kr { font-weight: bold } /* Keyword.Reserved */
|
||||
.highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
|
||||
.highlight .m { color: #009999 } /* Literal.Number */
|
||||
.highlight .s { color: #d14 } /* Literal.String */
|
||||
.highlight .na { color: #008080 } /* Name.Attribute */
|
||||
.highlight .nb { color: #0086B3 } /* Name.Builtin */
|
||||
.highlight .nc { color: #445588; font-weight: bold } /* Name.Class */
|
||||
.highlight .no { color: #008080 } /* Name.Constant */
|
||||
.highlight .ni { color: #800080 } /* Name.Entity */
|
||||
.highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */
|
||||
.highlight .nf { color: #990000; font-weight: bold } /* Name.Function */
|
||||
.highlight .nn { color: #555555 } /* Name.Namespace */
|
||||
.highlight .nt { color: #000080 } /* Name.Tag */
|
||||
.highlight .nv { color: #008080 } /* Name.Variable */
|
||||
.highlight .ow { font-weight: bold } /* Operator.Word */
|
||||
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
|
||||
.highlight .mf { color: #009999 } /* Literal.Number.Float */
|
||||
.highlight .mh { color: #009999 } /* Literal.Number.Hex */
|
||||
.highlight .mi { color: #009999 } /* Literal.Number.Integer */
|
||||
.highlight .mo { color: #009999 } /* Literal.Number.Oct */
|
||||
.highlight .sb { color: #d14 } /* Literal.String.Backtick */
|
||||
.highlight .sc { color: #d14 } /* Literal.String.Char */
|
||||
.highlight .sd { color: #d14 } /* Literal.String.Doc */
|
||||
.highlight .s2 { color: #d14 } /* Literal.String.Double */
|
||||
.highlight .se { color: #d14 } /* Literal.String.Escape */
|
||||
.highlight .sh { color: #d14 } /* Literal.String.Heredoc */
|
||||
.highlight .si { color: #d14 } /* Literal.String.Interpol */
|
||||
.highlight .sx { color: #d14 } /* Literal.String.Other */
|
||||
.highlight .sr { color: #009926 } /* Literal.String.Regex */
|
||||
.highlight .s1 { color: #d14 } /* Literal.String.Single */
|
||||
.highlight .ss { color: #990073 } /* Literal.String.Symbol */
|
||||
.highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
|
||||
.highlight .vc { color: #008080 } /* Name.Variable.Class */
|
||||
.highlight .vg { color: #008080 } /* Name.Variable.Global */
|
||||
.highlight .vi { color: #008080 } /* Name.Variable.Instance */
|
||||
.highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
|
||||
Reference in New Issue
Block a user