diff --git a/lib/site_template/.gitignore b/lib/site_template/.gitignore new file mode 100644 index 00000000..c08f9add --- /dev/null +++ b/lib/site_template/.gitignore @@ -0,0 +1 @@ +_site \ No newline at end of file diff --git a/lib/site_template/_config.yml b/lib/site_template/_config.yml index b136b575..362c8bf5 100644 --- a/lib/site_template/_config.yml +++ b/lib/site_template/_config.yml @@ -1 +1,2 @@ +name: Your New Jekyll Site pygments: true diff --git a/lib/site_template/_layouts/default.html b/lib/site_template/_layouts/default.html index 9fc00095..ad1d3b85 100644 --- a/lib/site_template/_layouts/default.html +++ b/lib/site_template/_layouts/default.html @@ -1,38 +1,46 @@ - - - - {{ page.title }} - - - - - - -
-
- Your Name - home -
- - {{ content }} - - -
- Fork me on GitHub - + + + + + {{ page.title }} + + + + + + + + + + + +
+
+ + + {{ content }} + + + +
+ + diff --git a/lib/site_template/_layouts/post.html b/lib/site_template/_layouts/post.html index 0b28e6bd..ca871793 100644 --- a/lib/site_template/_layouts/post.html +++ b/lib/site_template/_layouts/post.html @@ -1,6 +1,9 @@ --- layout: default --- +

{{ page.title }}

+

{{ page.date | date_to_string }}

+
{{ content }}
diff --git a/lib/site_template/css/screen.css b/lib/site_template/css/main.css old mode 100644 new mode 100755 similarity index 50% rename from lib/site_template/css/screen.css rename to lib/site_template/css/main.css index 7a230ede..56b5323d --- a/lib/site_template/css/screen.css +++ b/lib/site_template/css/main.css @@ -3,52 +3,50 @@ /* Common /* /*****************************************************************************/ - /* Global Reset */ - * { - margin: 0; - padding: 0; + margin: 0; + padding: 0; } -html, body { - height: 100%; +html,body { + height: 100%; } body { - background-color: white; - font: 13.34px helvetica, arial, clean, sans-serif; - *font-size: small; - text-align: center; + background-color: #FFF; + font: 13.34px helvetica, arial, clean, sans-serif; + font-size: small; + text-align: center; } -h1, h2, h3, h4, h5, h6 { - font-size: 100%; +h1,h2,h3,h4,h5,h6 { + font-size: 100%; } h1 { - margin-bottom: 1em; + margin-bottom: 1em; } p { - margin: 1em 0; + margin: 1em 0; } a { - color: #00a; + color: #00a; } a:hover { - color: black; + color: #000; } a:visited { - color: #a0a; + color: #a0a; } table { - font-size: inherit; - font: 100%; + font-size: inherit; + font: 100%; } /*****************************************************************************/ @@ -56,134 +54,129 @@ table { /* Home /* /*****************************************************************************/ - ul.posts { - list-style-type: none; - margin-bottom: 2em; + list-style-type: none; + margin-bottom: 2em; } - ul.posts li { +ul.posts li { line-height: 1.75em; - } +} - ul.posts span { +ul.posts span { color: #aaa; font-family: Monaco, "Courier New", monospace; font-size: 80%; - } +} /*****************************************************************************/ /* /* Site /* /*****************************************************************************/ - .site { - font-size: 110%; - text-align: justify; - width: 42em; - margin: 3em auto 2em auto; - line-height: 1.5em; + font-size: 115%; + text-align: justify; + width: 42em; + margin: 3em auto 2em; + line-height: 1.5em; } -.title { - color: #a00; - font-weight: bold; - margin-bottom: 2em; +.site .header a { + font-weight: bold; + text-decoration: none; } - .site .title a { +.site .header h1.title { + display: inline-block; + margin-bottom: 2em; +} + +.site .header h1.title a { color: #a00; - text-decoration: none; - } +} - .site .title a:hover { - color: black; - } +.site .header h1.title a:hover { + color: #000; +} - .site .title a.extra { +.site .header a.extra { color: #aaa; - text-decoration: none; margin-left: 1em; - } +} - .site .title a.extra:hover { - color: black; - } +.site .header a.extra:hover { + color: #000; +} - .site .meta { +.site .meta { color: #aaa; - } +} - .site .footer { +.site .footer { font-size: 80%; color: #666; border-top: 4px solid #eee; margin-top: 2em; overflow: hidden; - } +} - .site .footer .contact { - float: left; - margin-right: 3em; - } +.site .footer .contact { + float: left; + margin-right: 3em; +} - .site .footer .contact a { - color: #8085C1; - } +.site .footer .contact a { + color: #8085C1; +} - .site .footer .rss { - margin-top: 1.1em; - margin-right: -.2em; - float: right; - } +.site .footer .rss { + margin-top: 1.1em; + margin-right: -.2em; + float: right; +} - .site .footer .rss img { - border: 0; - } +.site .footer .rss img { + border: 0; +} /*****************************************************************************/ /* /* Posts /* /*****************************************************************************/ - #post { - } - /* standard */ - - #post pre { +/* standard */ +#post pre { border: 1px solid #ddd; background-color: #eef; padding: 0 .4em; - } +} - #post ul, - #post ol { +#post ul,#post ol { margin-left: 1.35em; - } +} - #post code { +#post code { border: 1px solid #ddd; background-color: #eef; font-size: 85%; padding: 0 .2em; - } +} - #post pre code { - border: none; - } +#post pre code { + border: none; +} - /* terminal */ - - #post pre.terminal { - border: 1px solid black; +/* terminal */ +#post pre.terminal { + border: 1px solid #000; background-color: #333; - color: white; - } + color: #FFF; +} - #post pre.terminal code { +#post pre.terminal code { background-color: #333; - } +} \ No newline at end of file diff --git a/lib/site_template/images/.gitkeep b/lib/site_template/images/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/lib/site_template/images/rss.png b/lib/site_template/images/rss.png deleted file mode 100644 index d6ecb16f..00000000 Binary files a/lib/site_template/images/rss.png and /dev/null differ