From bb0a4f4e126c05fc73d566986fd1612468f5be67 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 30 Oct 2013 00:18:56 -0400 Subject: initial commit --- tozt/layouts/_root.html | 5 + tozt/layouts/default.html | 40 +++ tozt/layouts/paginator.html | 27 ++ tozt/layouts/posts.html | 40 +++ tozt/media/rss.png | Bin 0 -> 689 bytes .../google_prettify/sons-of-obsidian.css | 134 +++++++++ tozt/stylesheets/style.css | 317 +++++++++++++++++++++ 7 files changed, 563 insertions(+) create mode 100644 tozt/layouts/_root.html create mode 100644 tozt/layouts/default.html create mode 100644 tozt/layouts/paginator.html create mode 100644 tozt/layouts/posts.html create mode 100644 tozt/media/rss.png create mode 100644 tozt/stylesheets/google_prettify/sons-of-obsidian.css create mode 100644 tozt/stylesheets/style.css (limited to 'tozt') diff --git a/tozt/layouts/_root.html b/tozt/layouts/_root.html new file mode 100644 index 0000000..8d62675 --- /dev/null +++ b/tozt/layouts/_root.html @@ -0,0 +1,5 @@ +--- +layout : default +--- +

{{ page.title }}

+{{{ page.content }}} diff --git a/tozt/layouts/default.html b/tozt/layouts/default.html new file mode 100644 index 0000000..8f1eecb --- /dev/null +++ b/tozt/layouts/default.html @@ -0,0 +1,40 @@ + + + + + {{page.title}} + + {{# stylesheets.load }} + style.css + google_prettify/sons-of-obsidian.css + {{/ stylesheets.load }} + + + + +
+
+ + gravatar +
+
+
+ +
+ {{{ content }}} +
+ + +{{{ widgets.google_prettify }}} + + + diff --git a/tozt/layouts/paginator.html b/tozt/layouts/paginator.html new file mode 100644 index 0000000..68a9013 --- /dev/null +++ b/tozt/layouts/paginator.html @@ -0,0 +1,27 @@ +--- +layout : default +--- + +{{#collection.paginator}} +
+

{{title}} {{ date }}

+ {{{ summary }}} + +
+{{/collection.paginator}} + diff --git a/tozt/layouts/posts.html b/tozt/layouts/posts.html new file mode 100644 index 0000000..6bb7b4b --- /dev/null +++ b/tozt/layouts/posts.html @@ -0,0 +1,40 @@ +--- +layout : default +--- +

{{ page.date }}{{page.title}}

+
+ {{{ page.content }}} +
+ +
+ Tags: + +
+
+ +
+{{{ widgets.comments }}} diff --git a/tozt/media/rss.png b/tozt/media/rss.png new file mode 100644 index 0000000..b3c949d Binary files /dev/null and b/tozt/media/rss.png differ diff --git a/tozt/stylesheets/google_prettify/sons-of-obsidian.css b/tozt/stylesheets/google_prettify/sons-of-obsidian.css new file mode 100644 index 0000000..bba4cf5 --- /dev/null +++ b/tozt/stylesheets/google_prettify/sons-of-obsidian.css @@ -0,0 +1,134 @@ +/* + * Derived from einaros's Sons of Obsidian theme at + * http://studiostyl.es/schemes/son-of-obsidian by + * Alex Ford of CodeTunnel: + * http://CodeTunnel.com/blog/post/71/google-code-prettify-obsidian-theme + */ + +.str +{ + color: #EC7600; +} +.kwd +{ + color: #93C763; +} +.com +{ + color: #66747B; +} +.typ +{ + color: #678CB1; +} +.lit +{ + color: #FACD22; +} +.pun +{ + color: #F1F2F3; +} +.pln +{ + color: #F1F2F3; +} +.tag +{ + color: #8AC763; +} +.atn +{ + color: #E0E2E4; +} +.atv +{ + color: #EC7600; +} +.dec +{ + color: purple; +} +pre.prettyprint +{ + border: 0px solid #888; +} +ol.linenums +{ + margin-top: 0; + margin-bottom: 0; +} +.prettyprint { + background: #000; +} +li.L0, li.L1, li.L2, li.L3, li.L4, li.L5, li.L6, li.L7, li.L8, li.L9 +{ + color: #555; +} +li.L1, li.L3, li.L5, li.L7, li.L9 { + background: #111; +} +@media print +{ + .str + { + color: #060; + } + .kwd + { + color: #006; + font-weight: bold; + } + .com + { + color: #600; + font-style: italic; + } + .typ + { + color: #404; + font-weight: bold; + } + .lit + { + color: #044; + } + .pun + { + color: #440; + } + .pln + { + color: #000; + } + .tag + { + color: #006; + font-weight: bold; + } + .atn + { + color: #404; + } + .atv + { + color: #060; + } +} + + +.prettyprint.linenums { + -webkit-box-shadow: inset 40px 0 0 #333, inset 41px 0 0 #222; + -moz-box-shadow: inset 40px 0 0 #333, inset 41px 0 0 #222; + box-shadow: inset 40px 0 0 #333, inset 41px 0 0 #222; +} + +/* Specify class=linenums on a pre to get line numbering */ +ol.linenums { + margin: 0 0 0 33px; /* IE indents via margin-left */ +} +ol.linenums li { + padding-left: 12px; + color: #888; + line-height: 18px; +} \ No newline at end of file diff --git a/tozt/stylesheets/style.css b/tozt/stylesheets/style.css new file mode 100644 index 0000000..25c6915 --- /dev/null +++ b/tozt/stylesheets/style.css @@ -0,0 +1,317 @@ +body { + background-color : #345; + font-family : sans; + margin : 0 auto; + margin-bottom : 16px; + width : 600px; +} + +a:link { + color : #123; +} + +a:visited { + color : #153; +} + +.name a:link { + color : #000; + text-decoration : none; +} + +.name a:visited { + color : #000; + text-decoration : none; +} + +.header { + border-bottom : 1px solid; + position : relative; +} + +.header .name { + bottom : 0px; + float : left; + left : 0px; + margin-top : 0px; + position : absolute; +} + +.header .name h1 { + margin-bottom : 0px; + padding-bottom : 0px; +} + +.gravatar { + float : right; + vertical-align : bottom; +} + +.clear { + clear : both; +} + +.nav { + text-align : center; +} + +.nav ul { + font-size : small; + font-weight : bold; + margin-bottom : 0px; + padding-left : 0px; +} + +.nav li { + background-color : #8c8; + border : 1px solid black; + bottom : -4px; + display : inline; + padding : 2px; + padding-bottom : 0px; + position : relative; + z-index : 1; +} + +.nav li a:link { + color : black; + text-decoration : none; +} + +.nav li a:visited { + color : black; + text-decoration : none; +} + +.nav li.active { + background-color : #58a; +} + +.main_content { + background-color : #8c8; + border : 1px solid; + padding : 16px; + position : relative; +} + +.main_content h4 { + background-color : #58a; + border : 1px solid; + margin : 0px; + padding : 2px; +} + +.date { + float : right; + font-size : small; + font-weight : normal; +} + +li .date { + float : none; +} + +h3 a:link { + color : #000; +} + +h3 a:visited { + color : #000; +} + +.main_content table { + border-collapse : collapse; + font-size : small; + width : 100%; +} + +.main_content thead { + background-color : #58a; + border-style : solid; + border-width : 1px; + font-weight : bold; +} + +.main_content th { + border-style : solid solid none none; + border-width : 1px; +} + +.main_content td { + border-style : solid none none solid; + border-width : 1px; +} + +.sidebar { + width : 250px; + font-size : x-small; + background-color : #8c8; + border-style : solid; + border-width : 1px; + padding : 8px; + position : absolute; + margin-top : 8px; +} + +.sidebar h4 { + background-color : #58a; + border : 1px solid; + margin : 0px; + padding : 2px; + font-size : medium; + text-align : center; +} + +.sidebar h5 { + background-color : #58a; + border : 1px solid; + margin : 8px 16px; + padding : 2px; + font-size : x-small; + text-align : center; +} + +.sidebar .actions { + border : 1px solid; + float : left; + width : 100%; +} + +.sidebar ul { + padding : 0px; + list-style-type : none; +} + +.sidebar-activity { + padding : 0px; + margin : 0px; +} + +.sidebar li { + float : left; + width : 100%; +} + +.sidebar .action.odd { + background-color : #fff; +} + +.sidebar .action { + background-color : #ddd; + margin : 0px; + padding : 4px; + float : left; +} + +.sidebar .date ul { + margin-right : 8px; + clear : left; +} + +.sidebar dl { + margin : 4px 0px; +} + +.sidebar dt { + padding : 0px 8px; + float : left; + clear : left; + margin : 0px; + width : 3em; +} + +.sidebar dd { + float : left; + padding : 0px; + padding-left : 4px; + margin : 0px; + width : 176px; +} + +.github { + left : -274px; +} + +.pinboard { + left : 604px; +} + +.pin-title { + text-decoration: none; + font-size: 1.2em; +} + +.pin-tag { + font-size: 0.9em; +} + +.tags { + font-size : x-small; +} + +.tags ul { + display : inline; + list-style-type: none; + padding-left : 0px; +} + +.tags li { + display : inline; + padding-right : 1em; + font-size : x-small; +} + +.tags span { + display : none; +} + +.footer { + text-align : center; + font-weight : bold; + font-size : small; +} + +.footer a:link { + color : #000; +} + +.footer a:visited { + color : #000; +} + +.dsq-brlink { + font-size : x-small; +} + +.permalink { + float : right; + font-size : x-small; +} + +.more { + font-size : x-small; +} + +.pagination ul { + display : inline; + list-style-type: none; + padding-left : 0px; +} + +.pagination li { + display : inline; + padding : 2px; + font-size : small; +} + +.pagination li.active { + font-weight : bold; +} + +.pagination li.active a:link { + text-decoration : none; +} + +.pagination li.active a:visited { + text-decoration : none; +} -- cgit v1.2.3-54-g00ecf