From 797ecec75fb75679b5c0a5d3cc18f93c437d68a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 3 Jun 2012 13:40:57 +0200 Subject: [PATCH] switch to stash theme --- .gitmodules | 3 + sass/_base.scss | 5 + sass/_partials.scss | 8 + sass/_parts.scss | 9 + sass/_plugins.scss | 1 + sass/base/_color.scss | 7 + sass/base/_font.scss | 2 + sass/base/_layout.scss | 49 + sass/base/_solarized.scss | 46 + sass/base/_theme.scss | 86 + sass/base/_typography.scss | 26 + sass/base/_utilities.scss | 24 + sass/custom/_colors.scss | 43 + sass/custom/_fonts.scss | 10 + sass/custom/_layout.scss | 21 + sass/custom/_styles.scss | 2 + sass/partials/_archive.scss | 72 + sass/partials/_blog.scss | 141 ++ sass/partials/_footer.scss | 19 + sass/partials/_header.scss | 18 + sass/partials/_navigation.scss | 137 ++ sass/partials/_sharing.scss | 8 + sass/partials/_sidebar.scss | 5 + sass/partials/_syntax.scss | 253 +++ sass/partials/sidebar/_base.scss | 106 ++ sass/partials/sidebar/_delicious.scss | 4 + sass/partials/sidebar/_googleplus.scss | 26 + sass/partials/sidebar/_pinboard.scss | 12 + sass/partials/sidebar/_twitter.scss | 34 + sass/parts/_archive.scss | 73 + sass/parts/_article.scss | 125 ++ sass/parts/_comment.scss | 10 + sass/parts/_footer.scss | 6 + sass/parts/_header.scss | 245 +++ sass/parts/_index.scss | 30 + sass/parts/_post.scss | 41 + sass/parts/_syntax.scss | 387 +++++ sass/parts/_twitter.scss | 49 + sass/plugins/_fancybox.scss | 228 +++ sass/screen.scss | 5 + source/_includes/after_footer.html | 5 + source/_includes/archive_post.html | 19 + source/_includes/article.html | 19 + source/_includes/asides/delicious.html | 8 + source/_includes/asides/github.html | 30 + source/_includes/asides/googleplus.html | 11 + source/_includes/asides/pinboard.html | 19 + source/_includes/asides/recent_posts.html | 10 + source/_includes/asides/twitter.html | 19 + source/_includes/banner.html | 15 + source/_includes/custom/after_footer.html | 0 source/_includes/custom/asides/about.html | 4 + source/_includes/custom/category_feed.xml | 27 + source/_includes/custom/footer.html | 6 + source/_includes/custom/head.html | 0 source/_includes/custom/header.html | 0 source/_includes/custom/navigation.html | 4 + source/_includes/disqus.html | 21 + source/_includes/facebook_like.html | 10 + source/_includes/fancybox.html | 6 + source/_includes/footer.html | 1 + source/_includes/google_analytics.html | 13 + source/_includes/google_plus_one.html | 9 + source/_includes/head.html | 20 + source/_includes/header.html | 32 + source/_includes/navigation.html | 1 + source/_includes/post/author.html | 8 + source/_includes/post/categories.html | 8 + source/_includes/post/date.html | 15 + source/_includes/post/disqus_thread.html | 1 + source/_includes/post/sharing.html | 15 + source/_includes/twitter_sharing.html | 11 + source/_layouts/category_index.html | 7 + source/_layouts/default.html | 11 + source/_layouts/page.html | 19 + source/_layouts/post.html | 13 + .../jwplayer/glow/controlbar/background.png | Bin 0 -> 141 bytes .../jwplayer/glow/controlbar/blankButton.png | Bin 0 -> 82 bytes .../jwplayer/glow/controlbar/divider.png | Bin 0 -> 118 bytes .../glow/controlbar/fullscreenButton.png | Bin 0 -> 203 bytes .../glow/controlbar/fullscreenButtonOver.png | Bin 0 -> 636 bytes .../jwplayer/glow/controlbar/muteButton.png | Bin 0 -> 343 bytes .../glow/controlbar/muteButtonOver.png | Bin 0 -> 835 bytes .../glow/controlbar/normalscreenButton.png | Bin 0 -> 210 bytes .../controlbar/normalscreenButtonOver.png | Bin 0 -> 664 bytes .../jwplayer/glow/controlbar/pauseButton.png | Bin 0 -> 170 bytes .../glow/controlbar/pauseButtonOver.png | Bin 0 -> 442 bytes .../jwplayer/glow/controlbar/playButton.png | Bin 0 -> 251 bytes .../glow/controlbar/playButtonOver.png | Bin 0 -> 553 bytes .../glow/controlbar/timeSliderBuffer.png | Bin 0 -> 112 bytes .../glow/controlbar/timeSliderCapLeft.png | Bin 0 -> 94 bytes .../glow/controlbar/timeSliderCapRight.png | Bin 0 -> 103 bytes .../glow/controlbar/timeSliderProgress.png | Bin 0 -> 114 bytes .../glow/controlbar/timeSliderRail.png | Bin 0 -> 116 bytes .../jwplayer/glow/controlbar/unmuteButton.png | Bin 0 -> 264 bytes .../glow/controlbar/unmuteButtonOver.png | Bin 0 -> 649 bytes .../jwplayer/glow/display/background.png | Bin 0 -> 686 bytes .../jwplayer/glow/display/bufferIcon.png | Bin 0 -> 816 bytes .../assets/jwplayer/glow/display/muteIcon.png | Bin 0 -> 334 bytes .../assets/jwplayer/glow/display/playIcon.png | Bin 0 -> 465 bytes source/assets/jwplayer/glow/dock/button.png | Bin 0 -> 686 bytes source/assets/jwplayer/glow/glow.xml | 115 ++ source/assets/jwplayer/glow/playlist/item.png | Bin 0 -> 172 bytes .../jwplayer/glow/playlist/itemOver.png | Bin 0 -> 171 bytes .../glow/playlist/sliderCapBottom.png | Bin 0 -> 108 bytes .../jwplayer/glow/playlist/sliderCapTop.png | Bin 0 -> 105 bytes .../jwplayer/glow/playlist/sliderRail.png | Bin 0 -> 100 bytes .../jwplayer/glow/playlist/sliderThumb.png | Bin 0 -> 97 bytes .../jwplayer/glow/sharing/embedIcon.png | Bin 0 -> 749 bytes .../jwplayer/glow/sharing/embedScreen.png | Bin 0 -> 2579 bytes .../jwplayer/glow/sharing/shareIcon.png | Bin 0 -> 589 bytes .../jwplayer/glow/sharing/shareScreen.png | Bin 0 -> 4576 bytes source/assets/jwplayer/player.swf | Bin 0 -> 91375 bytes source/atom.xml | 27 + source/blog/archives/index.html | 8 + source/favicon.png | Bin 0 -> 400 bytes source/images/back.png | Bin 0 -> 1420 bytes source/images/bird_32_gray.png | Bin 0 -> 1376 bytes source/images/bird_32_gray_fail.png | Bin 0 -> 615 bytes source/images/caption.png | Bin 0 -> 1266 bytes source/images/code_bg.png | Bin 0 -> 239 bytes source/images/comments.png | Bin 0 -> 1186 bytes source/images/date.png | Bin 0 -> 1327 bytes source/images/detail-sub.png | Bin 0 -> 1053 bytes source/images/detail.png | Bin 0 -> 1135 bytes source/images/dotted-border.png | Bin 0 -> 99 bytes source/images/email.png | Bin 0 -> 301 bytes source/images/fancybox/blank.gif | Bin 0 -> 43 bytes source/images/fancybox/fancybox_loading.gif | Bin 0 -> 3866 bytes source/images/fancybox/fancybox_sprite.png | Bin 0 -> 2277 bytes source/images/line-tile.png | Bin 0 -> 636 bytes source/images/loading_gray.gif | Bin 0 -> 8787 bytes source/images/loading_pacman.gif | Bin 0 -> 1928 bytes source/images/more.png | Bin 0 -> 1416 bytes source/images/noise.png | Bin 0 -> 17742 bytes source/images/rss.png | Bin 0 -> 490 bytes source/images/search.png | Bin 0 -> 1173 bytes source/images/social/delicious.png | Bin 0 -> 1064 bytes source/images/social/facebook.png | Bin 0 -> 1107 bytes source/images/social/github.png | Bin 0 -> 1205 bytes source/images/social/google.png | Bin 0 -> 1223 bytes source/images/social/pinterest.png | Bin 0 -> 1128 bytes source/images/social/rss.png | Bin 0 -> 1250 bytes source/images/social/twitter.png | Bin 0 -> 1073 bytes source/images/tags.png | Bin 0 -> 1194 bytes source/index.html | 18 + source/javascripts/ender.js | 45 + source/javascripts/github.js | 37 + source/javascripts/jquery.fancybox.pack.js | 35 + source/javascripts/libs/ender.js | 1497 +++++++++++++++++ source/javascripts/libs/jXHR.js | 85 + source/javascripts/libs/swfobject-dynamic.js | 298 ++++ source/javascripts/modernizr-2.0.js | 5 + source/javascripts/octopress.js | 161 ++ source/javascripts/pinboard.js | 56 + source/javascripts/slash.js | 71 + source/javascripts/twitter.js | 92 + 157 files changed, 5343 insertions(+) create mode 100644 .gitmodules create mode 100644 sass/_base.scss create mode 100644 sass/_partials.scss create mode 100644 sass/_parts.scss create mode 100644 sass/_plugins.scss create mode 100644 sass/base/_color.scss create mode 100644 sass/base/_font.scss create mode 100644 sass/base/_layout.scss create mode 100644 sass/base/_solarized.scss create mode 100644 sass/base/_theme.scss create mode 100644 sass/base/_typography.scss create mode 100644 sass/base/_utilities.scss create mode 100644 sass/custom/_colors.scss create mode 100644 sass/custom/_fonts.scss create mode 100644 sass/custom/_layout.scss create mode 100644 sass/custom/_styles.scss create mode 100644 sass/partials/_archive.scss create mode 100644 sass/partials/_blog.scss create mode 100644 sass/partials/_footer.scss create mode 100644 sass/partials/_header.scss create mode 100644 sass/partials/_navigation.scss create mode 100644 sass/partials/_sharing.scss create mode 100644 sass/partials/_sidebar.scss create mode 100644 sass/partials/_syntax.scss create mode 100644 sass/partials/sidebar/_base.scss create mode 100644 sass/partials/sidebar/_delicious.scss create mode 100644 sass/partials/sidebar/_googleplus.scss create mode 100644 sass/partials/sidebar/_pinboard.scss create mode 100644 sass/partials/sidebar/_twitter.scss create mode 100644 sass/parts/_archive.scss create mode 100644 sass/parts/_article.scss create mode 100644 sass/parts/_comment.scss create mode 100644 sass/parts/_footer.scss create mode 100644 sass/parts/_header.scss create mode 100644 sass/parts/_index.scss create mode 100644 sass/parts/_post.scss create mode 100644 sass/parts/_syntax.scss create mode 100644 sass/parts/_twitter.scss create mode 100644 sass/plugins/_fancybox.scss create mode 100644 sass/screen.scss create mode 100644 source/_includes/after_footer.html create mode 100644 source/_includes/archive_post.html create mode 100644 source/_includes/article.html create mode 100644 source/_includes/asides/delicious.html create mode 100644 source/_includes/asides/github.html create mode 100644 source/_includes/asides/googleplus.html create mode 100644 source/_includes/asides/pinboard.html create mode 100644 source/_includes/asides/recent_posts.html create mode 100644 source/_includes/asides/twitter.html create mode 100644 source/_includes/banner.html create mode 100644 source/_includes/custom/after_footer.html create mode 100644 source/_includes/custom/asides/about.html create mode 100644 source/_includes/custom/category_feed.xml create mode 100644 source/_includes/custom/footer.html create mode 100644 source/_includes/custom/head.html create mode 100644 source/_includes/custom/header.html create mode 100644 source/_includes/custom/navigation.html create mode 100644 source/_includes/disqus.html create mode 100644 source/_includes/facebook_like.html create mode 100644 source/_includes/fancybox.html create mode 100644 source/_includes/footer.html create mode 100644 source/_includes/google_analytics.html create mode 100644 source/_includes/google_plus_one.html create mode 100644 source/_includes/head.html create mode 100644 source/_includes/header.html create mode 100644 source/_includes/navigation.html create mode 100644 source/_includes/post/author.html create mode 100644 source/_includes/post/categories.html create mode 100644 source/_includes/post/date.html create mode 100644 source/_includes/post/disqus_thread.html create mode 100644 source/_includes/post/sharing.html create mode 100644 source/_includes/twitter_sharing.html create mode 100644 source/_layouts/category_index.html create mode 100644 source/_layouts/default.html create mode 100644 source/_layouts/page.html create mode 100644 source/_layouts/post.html create mode 100644 source/assets/jwplayer/glow/controlbar/background.png create mode 100644 source/assets/jwplayer/glow/controlbar/blankButton.png create mode 100644 source/assets/jwplayer/glow/controlbar/divider.png create mode 100644 source/assets/jwplayer/glow/controlbar/fullscreenButton.png create mode 100644 source/assets/jwplayer/glow/controlbar/fullscreenButtonOver.png create mode 100644 source/assets/jwplayer/glow/controlbar/muteButton.png create mode 100644 source/assets/jwplayer/glow/controlbar/muteButtonOver.png create mode 100644 source/assets/jwplayer/glow/controlbar/normalscreenButton.png create mode 100644 source/assets/jwplayer/glow/controlbar/normalscreenButtonOver.png create mode 100644 source/assets/jwplayer/glow/controlbar/pauseButton.png create mode 100644 source/assets/jwplayer/glow/controlbar/pauseButtonOver.png create mode 100644 source/assets/jwplayer/glow/controlbar/playButton.png create mode 100644 source/assets/jwplayer/glow/controlbar/playButtonOver.png create mode 100644 source/assets/jwplayer/glow/controlbar/timeSliderBuffer.png create mode 100644 source/assets/jwplayer/glow/controlbar/timeSliderCapLeft.png create mode 100644 source/assets/jwplayer/glow/controlbar/timeSliderCapRight.png create mode 100644 source/assets/jwplayer/glow/controlbar/timeSliderProgress.png create mode 100644 source/assets/jwplayer/glow/controlbar/timeSliderRail.png create mode 100644 source/assets/jwplayer/glow/controlbar/unmuteButton.png create mode 100644 source/assets/jwplayer/glow/controlbar/unmuteButtonOver.png create mode 100644 source/assets/jwplayer/glow/display/background.png create mode 100644 source/assets/jwplayer/glow/display/bufferIcon.png create mode 100644 source/assets/jwplayer/glow/display/muteIcon.png create mode 100644 source/assets/jwplayer/glow/display/playIcon.png create mode 100644 source/assets/jwplayer/glow/dock/button.png create mode 100644 source/assets/jwplayer/glow/glow.xml create mode 100644 source/assets/jwplayer/glow/playlist/item.png create mode 100644 source/assets/jwplayer/glow/playlist/itemOver.png create mode 100644 source/assets/jwplayer/glow/playlist/sliderCapBottom.png create mode 100644 source/assets/jwplayer/glow/playlist/sliderCapTop.png create mode 100644 source/assets/jwplayer/glow/playlist/sliderRail.png create mode 100644 source/assets/jwplayer/glow/playlist/sliderThumb.png create mode 100644 source/assets/jwplayer/glow/sharing/embedIcon.png create mode 100644 source/assets/jwplayer/glow/sharing/embedScreen.png create mode 100644 source/assets/jwplayer/glow/sharing/shareIcon.png create mode 100644 source/assets/jwplayer/glow/sharing/shareScreen.png create mode 100644 source/assets/jwplayer/player.swf create mode 100644 source/atom.xml create mode 100644 source/blog/archives/index.html create mode 100644 source/favicon.png create mode 100644 source/images/back.png create mode 100644 source/images/bird_32_gray.png create mode 100644 source/images/bird_32_gray_fail.png create mode 100644 source/images/caption.png create mode 100644 source/images/code_bg.png create mode 100644 source/images/comments.png create mode 100644 source/images/date.png create mode 100644 source/images/detail-sub.png create mode 100644 source/images/detail.png create mode 100644 source/images/dotted-border.png create mode 100644 source/images/email.png create mode 100644 source/images/fancybox/blank.gif create mode 100644 source/images/fancybox/fancybox_loading.gif create mode 100644 source/images/fancybox/fancybox_sprite.png create mode 100644 source/images/line-tile.png create mode 100644 source/images/loading_gray.gif create mode 100644 source/images/loading_pacman.gif create mode 100644 source/images/more.png create mode 100644 source/images/noise.png create mode 100644 source/images/rss.png create mode 100644 source/images/search.png create mode 100644 source/images/social/delicious.png create mode 100644 source/images/social/facebook.png create mode 100644 source/images/social/github.png create mode 100644 source/images/social/google.png create mode 100644 source/images/social/pinterest.png create mode 100644 source/images/social/rss.png create mode 100644 source/images/social/twitter.png create mode 100644 source/images/tags.png create mode 100644 source/index.html create mode 100644 source/javascripts/ender.js create mode 100644 source/javascripts/github.js create mode 100644 source/javascripts/jquery.fancybox.pack.js create mode 100644 source/javascripts/libs/ender.js create mode 100644 source/javascripts/libs/jXHR.js create mode 100644 source/javascripts/libs/swfobject-dynamic.js create mode 100644 source/javascripts/modernizr-2.0.js create mode 100644 source/javascripts/octopress.js create mode 100644 source/javascripts/pinboard.js create mode 100644 source/javascripts/slash.js create mode 100644 source/javascripts/twitter.js diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..b2fe7c8 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule ".themes/slash"] + path = .themes/slash + url = git://github.com/tommy351/Octopress-Theme-Slash.git diff --git a/sass/_base.scss b/sass/_base.scss new file mode 100644 index 0000000..77f309c --- /dev/null +++ b/sass/_base.scss @@ -0,0 +1,5 @@ +@import "base/color"; +@import "base/font"; +@import "base/layout"; +@import "base/typography"; +@import "base/utilities"; \ No newline at end of file diff --git a/sass/_partials.scss b/sass/_partials.scss new file mode 100644 index 0000000..99c28b6 --- /dev/null +++ b/sass/_partials.scss @@ -0,0 +1,8 @@ +@import "partials/header"; +@import "partials/navigation"; +@import "partials/blog"; +@import "partials/sharing"; +@import "partials/syntax"; +@import "partials/archive"; +@import "partials/sidebar"; +@import "partials/footer"; diff --git a/sass/_parts.scss b/sass/_parts.scss new file mode 100644 index 0000000..b7ee304 --- /dev/null +++ b/sass/_parts.scss @@ -0,0 +1,9 @@ +@import "parts/header"; +@import "parts/index"; +@import "parts/article"; +@import "parts/post"; +@import "parts/archive"; +@import "parts/comment"; +@import "parts/footer"; +@import "parts/syntax"; +@import "parts/twitter"; \ No newline at end of file diff --git a/sass/_plugins.scss b/sass/_plugins.scss new file mode 100644 index 0000000..cf82d1c --- /dev/null +++ b/sass/_plugins.scss @@ -0,0 +1 @@ +@import "plugins/fancybox"; \ No newline at end of file diff --git a/sass/base/_color.scss b/sass/base/_color.scss new file mode 100644 index 0000000..ec6ed3b --- /dev/null +++ b/sass/base/_color.scss @@ -0,0 +1,7 @@ +$color-background: #eee; +$color-main: #258fb8; +$color-gray01: #666; +$color-gray02: #999; +$color-gray03: #ccc; +$color-gray04: #ddd; +$color-gray05: #fff; \ No newline at end of file diff --git a/sass/base/_font.scss b/sass/base/_font.scss new file mode 100644 index 0000000..ac8b2ae --- /dev/null +++ b/sass/base/_font.scss @@ -0,0 +1,2 @@ +$font-default: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif; +$font-mono: Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace; \ No newline at end of file diff --git a/sass/base/_layout.scss b/sass/base/_layout.scss new file mode 100644 index 0000000..22e5804 --- /dev/null +++ b/sass/base/_layout.scss @@ -0,0 +1,49 @@ +$max-width: 1000px; + +*{ + margin: 0; + padding: 0; +} +body{ + font-family: $font-default; + font-weight: 300; + font-size: 14px; + background: $color-background; + color: $color-gray01; + @media screen and (max-width: 1040px){ + margin: 0 20px; + } + @media screen and (max-width: 600px){ + font-size: 13px; + } +} +h1{ + font-size: 1.8em; +} +h2{ + font-size: 1.5em; +} +h3{ + font-size: 1.3em; +} +a{ + text-decoration: none; + outline-width: 0; + color: $color-main; +} +.alignleft{ + float: left; +} +.alignright{ + float: right; +} +.clearfix{ + @include pie-clearfix; +} +.inner{ + width: $max-width; + margin: 0 auto; + @media screen and (max-width: 1040px){ + width: 100%; + } +} \ No newline at end of file diff --git a/sass/base/_solarized.scss b/sass/base/_solarized.scss new file mode 100644 index 0000000..45d8fc5 --- /dev/null +++ b/sass/base/_solarized.scss @@ -0,0 +1,46 @@ +$base03: #002b36 !default; //darkest blue +$base02: #073642 !default; //dark blue +$base01: #586e75 !default; //darkest gray +$base00: #657b83 !default; //dark gray +$base0: #839496 !default; //medium gray +$base1: #93a1a1 !default; //medium light gray +$base2: #eee8d5 !default; //cream +$base3: #fdf6e3 !default; //white +$solar-yellow: #b58900 !default; +$solar-orange: #cb4b16 !default; +$solar-red: #dc322f !default; +$solar-magenta: #d33682 !default; +$solar-violet: #6c71c4 !default; +$solar-blue: #268bd2 !default; +$solar-cyan: #2aa198 !default; +$solar-green: #859900 !default; + +$solarized: dark !default; + +@if $solarized == light { + + $_base03: $base03; + $_base02: $base02; + $_base01: $base01; + $_base00: $base00; + $_base0: $base0; + $_base1: $base1; + $_base2: $base2; + $_base3: $base3; + + $base03: $_base3; + $base02: $_base2; + $base01: $_base1; + $base00: $_base0; + $base0: $_base00; + $base1: $_base01; + $base2: $_base02; + $base3: $_base03; +} + +/* non highlighted code colors */ +$pre-bg: $base03 !default; +$pre-border: darken($base02, 5) !default; +$pre-color: $base1 !default; + + diff --git a/sass/base/_theme.scss b/sass/base/_theme.scss new file mode 100644 index 0000000..9a50a8b --- /dev/null +++ b/sass/base/_theme.scss @@ -0,0 +1,86 @@ +$noise-bg: image-url('noise.png') top left !default; +$img-border: inline-image('dotted-border.png'); + +// Main Link Colors +$link-color: lighten(#165b94, 3) !default; +$link-color-hover: adjust-color($link-color, $lightness: 10, $saturation: 25) !default; +$link-color-visited: adjust-color($link-color, $hue: 80, $lightness: -4) !default; +$link-color-active: adjust-color($link-color-hover, $lightness: -15) !default; + +// Main Section Colors +$main-bg: #f8f8f8 !default; +$page-bg: #252525 !default; +$article-border: #eeeeee !default; + +$header-bg: #333 !default; +$header-border: lighten($header-bg, 15) !default; +$title-color: #f2f2f2 !default; +$subtitle-color: #aaa !default; + +$text-color: #222 !default; +$text-color-light: #aaa !default; +$type-border: #ddd !default; + +/* Navigation */ +$nav-bg: #ccc !default; +$nav-bg-front: image-url('noise.png') !default; +$nav-bg-back: linear-gradient(lighten($nav-bg, 8), $nav-bg, darken($nav-bg, 11)) !default; +$nav-color: darken($nav-bg, 38) !default; +$nav-color-hover: darken($nav-color, 25) !default; +$nav-placeholder: desaturate(darken($nav-bg, 10), 15) !default; +$nav-border: darken($nav-bg, 10) !default; +$nav-border-top: lighten($nav-bg, 15) !default; +$nav-border-bottom: darken($nav-bg, 25) !default; +$nav-border-left: darken($nav-bg, 11) !default; +$nav-border-right: lighten($nav-bg, 7) !default; + +/* Sidebar colors */ +$sidebar-bg: #f2f2f2 !default; +$sidebar-link-color: $link-color !default; +$sidebar-link-color-hover: $link-color-hover !default; +$sidebar-link-color-active: $link-color-active !default; +$sidebar-color: change-color(mix($text-color, $sidebar-bg, 80), $hue: hue($sidebar-bg), $saturation: saturation($sidebar-bg)/2) !default; +$sidebar-border: desaturate(darken($sidebar-bg, 7), 10) !default; +$sidebar-border-hover: darken($sidebar-bg, 7) !default; +$sidebar-link-color-subdued: lighten($sidebar-color, 20) !default; +$sidebar-link-color-subdued-hover: $sidebar-link-color-hover !default; +$twitter-status-link: lighten($sidebar-link-color-subdued, 15) !default; + +$footer-color: #888 !default; +$footer-bg: #ccc !default; +$footer-bg-front: image-url('noise.png') !default; +$footer-bg-back: linear-gradient(lighten($footer-bg, 8), $footer-bg, darken($footer-bg, 11)) !default; +$footer-color: darken($footer-bg, 38) !default; +$footer-color-hover: darken($footer-color, 10) !default; +$footer-border-top: lighten($footer-bg, 15) !default; +$footer-border-bottom: darken($footer-bg, 15) !default; +$footer-link-color: darken($footer-bg, 38) !default; +$footer-link-color-hover: darken($footer-color, 25) !default; +$page-border-bottom: darken($footer-bg, 5) !default; + + +/* Core theme application */ + +a { + @include link-colors($link-color, $hover: $link-color-hover, $focus: $link-color-hover, $visited: $link-color-visited, $active: $link-color-active); +} +aside.sidebar a { + @include link-colors($sidebar-link-color, $hover: $sidebar-link-color-hover, $focus: $sidebar-link-color-hover, $active: $sidebar-link-color-active); +} +a { + @include transition(color .3s); +} + +html { + background: $page-bg image-url('line-tile.png') top left; +} +body { + > div { + background: $sidebar-bg $noise-bg; + border-bottom: 1px solid $page-border-bottom; + > div { + background: $main-bg $noise-bg; + border-right: 1px solid $sidebar-border; + } + } +} diff --git a/sass/base/_typography.scss b/sass/base/_typography.scss new file mode 100644 index 0000000..57f5e1f --- /dev/null +++ b/sass/base/_typography.scss @@ -0,0 +1,26 @@ +.pullquote-right:before, +.pullquote-left:before { + /* Reset metrics. */ + padding: 0; + border: none; + + /* Content */ + content: attr(data-pullquote); + + /* Pull out to the right, modular scale based margins. */ + float: right; + width: 45%; + margin: .5em 0 1em 1.5em; + + /* Baseline correction */ + position: relative; + top: 7px; + font-size: 1.4em; + line-height: 1.45em; +} + +.pullquote-left:before { + /* Make left pullquotes align properly. */ + float: left; + margin: .5em 1.5em 1em 0; +} \ No newline at end of file diff --git a/sass/base/_utilities.scss b/sass/base/_utilities.scss new file mode 100644 index 0000000..63aae7a --- /dev/null +++ b/sass/base/_utilities.scss @@ -0,0 +1,24 @@ +@mixin square($property){ + width: $property; + height: $property; +} +@mixin user-select($select){ + -moz-user-select: $select; + -khtml-user-select: $select; + -webkit-user-select: $select; + -o-user-select: $select; + user-select: $select; +} +@mixin border-shadow($top: $color-gray05, $bottom: $color-gray04){ + border-top: 1px solid $top; + border-bottom: 1px solid $bottom; +} +@mixin center($width, $height){ + position: absolute; + top: 50%; + left: 50%; + margin-left: $width/(-2); + margin-top: $height/(-2); + width: $width; + height: $height; +} \ No newline at end of file diff --git a/sass/custom/_colors.scss b/sass/custom/_colors.scss new file mode 100644 index 0000000..740266a --- /dev/null +++ b/sass/custom/_colors.scss @@ -0,0 +1,43 @@ +// Here you can easily change your sites's color scheme. +// To give it a try, uncomment some of the lines below rebuild your blog, and see how it works. +// If you need a handy color picker try http://hslpicker.com + +//$header-bg: #263347; +//$subtitle-color: lighten($header-bg, 58); +//$nav-bg: desaturate(lighten(#8fc17a, 18), 5); +//$nav-bg-front: image-url('noise.png'); +//$nav-bg-back: linear-gradient(lighten($nav-bg, 8), $nav-bg, darken($nav-bg, 11)); +//$sidebar-bg: desaturate(#eceff5, 8); +//$sidebar-link-color: saturate(#526f9a, 10); +//$sidebar-link-color-hover: darken(#7ab662, 9); +//$footer-bg: #ccc !default; +//$footer-bg-front: image-url('noise.png'); +//$footer-bg-back: linear-gradient(lighten($footer-bg, 8), $footer-bg, darken($footer-bg, 11)); + + +/* To use the light Solarized highlighting theme uncomment the following line */ +//$solarized: light; + +/* If you want to tweak the Solarized colors you can do that here */ +//$base03: #002b36; //darkest blue +//$base02: #073642; //dark blue +//$base01: #586e75; //darkest gray +//$base00: #657b83; //dark gray +//$base0: #839496; //medium gray +//$base1: #93a1a1; //medium light gray +//$base2: #eee8d5; //cream +//$base3: #fdf6e3; //white +//$solar-yellow: #b58900; +//$solar-orange: #cb4b16; +//$solar-red: #dc322f; +//$solar-magenta: #d33682; +//$solar-violet: #6c71c4; +//$solar-blue: #268bd2; +//$solar-cyan: #2aa198; +//$solar-green: #859900; + + +/* Non highlighted code colors */ +//$pre-bg: $base03; +//$pre-border: darken($base02, 5); +//$pre-color: $base1; diff --git a/sass/custom/_fonts.scss b/sass/custom/_fonts.scss new file mode 100644 index 0000000..1a6b2a0 --- /dev/null +++ b/sass/custom/_fonts.scss @@ -0,0 +1,10 @@ +// Here you can easily change font faces which are used in your site. +// To give it a try, uncomment some of the lines below rebuild your blog, and see how it works. your sites's. +// If you love to use Web Fonts, you also need to add some lines to source/_includes/custom/head.html + +//$sans: "Optima", sans-serif; +//$serif: "Baskerville", serif; +//$mono: "Courier", monospace; +//$heading-font-family: "Verdana", sans-serif; +//$header-title-font-family: "Futura", sans-serif; +//$header-subtitle-font-family: "Futura", sans-serif; diff --git a/sass/custom/_layout.scss b/sass/custom/_layout.scss new file mode 100644 index 0000000..74c7de9 --- /dev/null +++ b/sass/custom/_layout.scss @@ -0,0 +1,21 @@ +// Here you can easily change your sites's layout. +// To give it a try, uncomment some of the lines below, make changes, rebuild your blog, and see how it works. + +//$header-font-size: 1em; +//$header-padding-top: 1.5em; +//$header-padding-bottom: 1.5em; + +//$max-width: 1350px; +//$indented-lists: true; + +// Padding used for layout margins +//$pad-min: 18px; +//$pad-narrow: 25px; +//$pad-medium: 35px; +//$pad-wide: 55px; + +// Sidebar widths used in media queries +//$sidebar-width-medium: 240px; +//$sidebar-pad-medium: 15px; +//$sidebar-pad-wide: 20px; +//$sidebar-width-wide: 300px; diff --git a/sass/custom/_styles.scss b/sass/custom/_styles.scss new file mode 100644 index 0000000..91ffccc --- /dev/null +++ b/sass/custom/_styles.scss @@ -0,0 +1,2 @@ +// This File is imported last, and will override other styles in the cascade +// Add styles here to make changes without digging in too much diff --git a/sass/partials/_archive.scss b/sass/partials/_archive.scss new file mode 100644 index 0000000..9ef1e82 --- /dev/null +++ b/sass/partials/_archive.scss @@ -0,0 +1,72 @@ +#archive { + #content > div { &, > article { padding-top: 0; } } +} +#blog-archives { + article { + padding: 1em 0 1em; + position: relative; + background: $img-border bottom left repeat-x; + &:last-child { + background: none; + } + footer { padding: 0; margin: 0;} + } + h1 { color: $text-color; margin-bottom: .3em; } + h2 { display: none; } + h1 { + font-size: 1.5em; + a { + @include hover-link; + color: inherit; + &:hover { color: $link-color-hover; } + font-weight: normal; + display: inline-block; + } + } + a.category, time { + @extend .sans; + color: $text-color-light; + } + color: $text-color-light; + .entry-content { display: none; } + time { + font-size: .9em; + line-height: 1.2em; + .month, .day { display: inline-block; } + .month { text-transform: uppercase; } + } + p { margin-bottom: 1em; } + &, .entry-content { a { @include link-colors(inherit, $link-color-hover); }} + a:hover { color: $link-color-hover; } + @media only screen and (min-width: 550px) { + article { margin-left: 5em; } + h2 { + margin-bottom: .3em; + font-weight: normal; + display: inline-block; + position: relative; top: -1px; + float: left; + &:first-child { padding-top: .75em; } + } + time { + position: absolute; + text-align: right; + left: 0em; + top: 1.8em; + } + .year { display: none; } + article { + padding:{left: 4.5em; bottom: .7em;} + } + a.category { + line-height: 1.1em; + } + } +} +#content > .category { + article { + margin-left: 0; + padding-left: 6.8em; + } + .year { display: inline; } +} diff --git a/sass/partials/_blog.scss b/sass/partials/_blog.scss new file mode 100644 index 0000000..57fe7a8 --- /dev/null +++ b/sass/partials/_blog.scss @@ -0,0 +1,141 @@ +article { + padding-top: 1em; + a { @extend .force-wrap; } + header { + position: relative; + padding-top: 2em; + padding-bottom: 1em; + margin-bottom: 1em; + background: $img-border bottom left repeat-x; + h1 { + margin: 0; + a { text-decoration: none; + &:hover { text-decoration: underline; } } + } + p { + font-size: .9em; + color: $text-color-light; + margin: 0; + &.meta { + @extend .sans; + text-transform: uppercase; + position: absolute; top: 0; + } + } + @media only screen and (min-width: 768px) { + margin-bottom: 1.5em; + padding-bottom: 1em; + background: $img-border bottom left repeat-x; + } + } + h2 { + padding-top: 0.8em; + background: $img-border top left repeat-x; + } + .entry-content & h2:first-child, header + h2 { padding-top: 0; } + h2:first-child, header + h2 { background: none; } + .feature { + padding-top: .5em; + margin-bottom: 1em; + padding-bottom: 1em; + background: $img-border bottom left repeat-x; + font-size: 2.0em; font-style: italic; + line-height: 1.3em; + } + img, video, .flash-video { + @extend .flex-content; + @extend .basic-alignment; + @include shadow-box; + } + video, .flash-video { margin: 0 auto 1.5em; } + video { display: block; width: 100%; } + .flash-video { + > div { + position: relative; + display: block; + padding-bottom: 56.25%; + padding-top: 1px; + height: 0; + overflow: hidden; + iframe, object, embed { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + } + } + } + > footer { + padding-bottom: 2.5em; + margin-top: 2em; + @extend .sans; + p.meta { + margin-bottom: .8em; + font-size: .85em; + clear: both; + overflow: hidden; + } + .byline + time:before, time +time:before, .comments:before, .byline ~ .categories:before { + @extend .separator; + } + } + +} +article + article { + .blog-index & { + background: $img-border top left repeat-x; + } +} +#content .blog-index { + padding: { top: 0; bottom: 0; } + article { padding-top: 2em; } + article header { background: none; padding-bottom: 0; } + article h1 { + font-size: 2.2em; + a { color: inherit; &:hover { color: $link-color-hover; } } + } + a[rel=full-article] { + background: darken($main-bg, 5); + display: inline-block; + padding: .4em .8em; + margin-right: .5em; + text-decoration: none; + color: mix($text-color, $text-color-light); + @extend .serif; + @include transition(background-color .5s); + &:hover { + background: $link-color-hover; + text-shadow: none; + color: $main-bg; + } + } + footer { + @extend .sans; + margin-top: 1em; + } +} + +.separator { + content: "\2022 "; + padding: 0 .4em 0 .2em; + display: inline-block; +} + +#content div.pagination { + text-align: center; + font-size: .95em; + position: relative; + background: $img-border top left repeat-x; + padding: {top: 1.5em; bottom: 1.5em;} + a { + text-decoration: none; + color: $text-color-light; + &.prev { position: absolute; left: 0; } + &.next { position: absolute; right: 0; } + &:hover { color: $link-color-hover; } + &[href*=archive] { + &:before, &:after { content: '\2014'; padding: 0 .3em; } + } + } +} diff --git a/sass/partials/_footer.scss b/sass/partials/_footer.scss new file mode 100644 index 0000000..3741122 --- /dev/null +++ b/sass/partials/_footer.scss @@ -0,0 +1,19 @@ +body > footer { + @extend .sans; + font-size: .8em; + color: $footer-color; + text-shadow: lighten($footer-bg, 5) 0 1px; + background-color: $footer-bg; + @include background($footer-bg-front, $footer-bg-back); + border-top: 1px solid $footer-border-top; + position: relative; + padding-top: 1em; + padding-bottom: 1em; + margin-bottom: 3em; + @include border-bottom-radius(.4em); + z-index: 1; + a { + @include link-colors($footer-link-color, $footer-link-color-hover, $visited: $footer-link-color); + } + p:last-child { margin-bottom: 0; } +} diff --git a/sass/partials/_header.scss b/sass/partials/_header.scss new file mode 100644 index 0000000..e3c6c02 --- /dev/null +++ b/sass/partials/_header.scss @@ -0,0 +1,18 @@ +body > header { + background: $header-bg; + h1 { + display: inline-block; + margin: 0; + a, a:visited, a:hover { + color: $title_color; + text-decoration: none; + } + } + h2 { + margin: .2em 0 0; + @extend .sans; + font-size: 1em; + color: $subtitle-color; + font-weight: normal; + } +} diff --git a/sass/partials/_navigation.scss b/sass/partials/_navigation.scss new file mode 100644 index 0000000..30fa011 --- /dev/null +++ b/sass/partials/_navigation.scss @@ -0,0 +1,137 @@ +body > nav { + position: relative; + background-color: $nav-bg; + @include background($nav-bg-front, $nav-bg-back); + border: { + top: 1px solid $nav-border-top; + bottom: 1px solid $nav-border-bottom; } + padding-top: .35em; + padding-bottom: .35em; + form { + @include background-clip(padding-box); + margin: 0; padding: 0; + .search { + padding: .3em .5em 0; + font-size: .85em; + font-family: $sans; + line-height: 1.1em; + width: 95%; + @include border-radius(.5em); + @include background-clip(padding-box); + @include box-shadow(lighten($nav-bg, 2) 0 1px); + background-color: lighten($nav-bg, 15); + border: 1px solid $nav-border; + color: #888; + &:focus { + color: #444; + border-color: #80b1df; + @include box-shadow(#80b1df 0 0 4px, #80b1df 0 0 3px inset); + background-color: #fff; + outline: none; + } + } + } + fieldset[role=search]{ float: right; width: 48%; } + fieldset.mobile-nav{ float: left; width: 48%; + select{ width: 100%; font-size: .8em; border: 1px solid #888;} + } + ul { display: none; } + @media only screen and (min-width: 550px) { + font-size: .9em; + ul { + @include horizontal-list(0); + float: left; + display: block; + padding-top: .15em; + } + ul.subscription { + margin-left: .8em; + float: right; + li:last-child a { padding-right: 0; } + } + ul li { + margin: 0; + } + a { + @include link-colors($nav-color, $nav-color-hover, $visited: $nav-color); + font-family: $sans; + text-shadow: lighten($nav-bg, 12) 0 1px; + float: left; + text-decoration: none; + font-size: 1.1em; + padding: .1em 0; + line-height: 1.5em; + } + li + li { + border-left: 1px solid $nav-border-left; + margin-left: .8em; + a { + padding-left: .8em; + border-left: 1px solid $nav-border-right; + } + } + form { + float: right; + text-align: left; + padding-left: .8em; + width: $sidebar-width-medium - $pad-medium*2 - $sidebar-pad-medium + 20px; + .search { + width: 93%; + font-size: .95em; + line-height: 1.2em; + } + } + ul[data-subscription$=email] + form { + width: $sidebar-width-medium - $pad-medium*2 - $sidebar-pad-medium - 58px; + .search { width: 91%; } + } + fieldset.mobile-nav { display: none; } + fieldset[role=search]{ width: 99%; } + } + @media only screen and (min-width: 992px) { + form { + width: $sidebar-width-wide - $pad-wide - $sidebar-pad-wide*2 + 10px; + } + ul[data-subscription$=email] + form { + width: $sidebar-width-wide - $pad-wide - $sidebar-pad-wide*2 - 58px; + } + } +} +.no-placeholder { + body > nav .search { + background: lighten($nav-bg, 15) image-url('search.png') .3em .25em no-repeat; + text-indent: 1.3em; + } +} +@mixin mask-subscription-nav($feed: 'rss.png'){ + position: relative; top: 0px; + text-indent: -999999em; + background-color: $nav-border-right; + border: 0; + padding: 0; + &,&:after { @include mask-image($feed); } + &:after { + content: ""; + position: absolute; top: -1px; left: 0; + background-color: lighten($nav-color, 25); + } + &:hover:after { background-color: lighten($nav-color, 20); } +} +.maskImage { + body > nav { + @media only screen and (min-width: 550px) { + ul[data-subscription$=email] + form { + width: $sidebar-width-medium - $pad-medium*2 - $sidebar-pad-medium - 32px; + } + } + @media only screen and (min-width: 992px) { + ul[data-subscription$=email] + form { + width: $sidebar-width-wide - $pad-wide - $sidebar-pad-wide*2 - 32px; + } + } + } + ul.subscription { position: relative; top: .2em; li, a { border: 0; padding: 0; }} + a[rel=subscribe-rss]{ @include mask-subscription-nav('rss.png'); } + a[rel=subscribe-email]{ @include mask-subscription-nav('email.png'); } +} + diff --git a/sass/partials/_sharing.scss b/sass/partials/_sharing.scss new file mode 100644 index 0000000..3eecb48 --- /dev/null +++ b/sass/partials/_sharing.scss @@ -0,0 +1,8 @@ +.sharing { + p.meta + & { + padding: { top: 1em; left: 0; } + background: $img-border top left repeat-x; + } +} + +#fb-root { display: none; } diff --git a/sass/partials/_sidebar.scss b/sass/partials/_sidebar.scss new file mode 100644 index 0000000..eec540b --- /dev/null +++ b/sass/partials/_sidebar.scss @@ -0,0 +1,5 @@ +@import "sidebar/base"; +@import "sidebar/twitter"; +@import "sidebar/googleplus"; +@import "sidebar/pinboard"; +@import "sidebar/delicious"; diff --git a/sass/partials/_syntax.scss b/sass/partials/_syntax.scss new file mode 100644 index 0000000..77ac8d7 --- /dev/null +++ b/sass/partials/_syntax.scss @@ -0,0 +1,253 @@ +.highlight, html .gist .gist-file .gist-syntax .gist-highlight { + table td.code { width: 100%; } + .line-numbers { + text-align: right; + font-size: 13px; + line-height: 1.45em; + @if $solarized == light { + background: lighten($base03, 1) $noise-bg !important; + border-right: 1px solid darken($base02, 2) !important; + @include box-shadow(lighten($base03, 2) -1px 0 inset); + text-shadow: lighten($base02, 2) 0 -1px; + } @else { + background: $base02 $noise-bg !important; + border-right: 1px solid darken($base03, 2) !important; + @include box-shadow(lighten($base02, 2) -1px 0 inset); + text-shadow: darken($base02, 10) 0 -1px; + } + span { color: $base01 !important; } + padding: .8em !important; + @include border-radius(0); + } + border: 1px solid $pre-border !important; +} +figure.code, .gist-file, pre { + @include box-shadow(rgba(#000, .06) 0 0 10px); + .highlight pre { @include box-shadow(none); } +} + +html .gist .gist-file { + margin-bottom: 1.8em; + position: relative; + border: none; + padding-top: image-height("code_bg.png") !important; + .gist-syntax { + border-bottom: 0 !important; + background: none !important; + .gist-highlight{ + background: $base03 !important; + pre { + @extend .pre-code; + } + } + } + .gist-meta { + padding: .6em 0.8em; + border: 1px solid lighten($base02, 2) !important; + color: $base01; + font-size: .7em !important; + @if $solarized == light { + background: lighten($base03, 2) $noise-bg; + border: 1px solid $pre-border !important; + border-top: 1px solid lighten($base03, 2) !important; + } @else { + background: $base02 $noise-bg; + } + @extend .sans; + line-height: 1.5em; + a { + color: mix($base1, $base01) !important; + @include hover-link; + &:hover { color: $base1 !important; } + } + a[href*='#file'] { + position: absolute; top: 0; left:0; right:-10px; + color: #474747 !important; + @extend .code-title; + &:hover { color: $link-color !important; } + } + a[href*=raw]{ + @extend .download-source; + top: .4em; + } + } +} +pre { + background: $pre-bg $noise-bg; + @include border-radius(.4em); + @extend .mono; + border: 1px solid $pre-border; + line-height: 1.45em; + font-size: 13px; + margin-bottom: 2.1em; + padding: .8em 1em; + color: $pre-color; + overflow: auto; +} +h3.filename { + @extend .code-title; + + pre { @include border-top-radius(0px); } +} + +p, li { + code { + @extend .mono; + display: inline-block; + white-space: no-wrap; + background: #fff; + font-size: .8em; + line-height: 1.5em; + color: #555; + border: 1px solid #ddd; + @include border-radius(.4em); + padding: 0 .3em; + margin: -1px 0; + } + pre code { font-size: 1em !important; background: none; border: none; } +} + +.pre-code { + @include selection(adjust-color($base03, $lightness: 23%, $saturation: -65%), $text-shadow: $base03 0 1px); + font-family: $mono !important; + overflow: scroll; + overflow-y: hidden; + display: block; + padding: .8em !important; + overflow-x: auto; + line-height: 1.45em; + background: $base03 $noise-bg !important; + color: $base1 !important; + span { color: $base1 !important; } + span { font-style: normal !important; font-weight: normal !important; } + + .c { color: $base01 !important; font-style: italic !important; } /* Comment */ + .cm { color: $base01 !important; font-style: italic !important; } /* Comment.Multiline */ + .cp { color: $base01 !important; font-style: italic !important; } /* Comment.Preproc */ + .c1 { color: $base01 !important; font-style: italic !important; } /* Comment.Single */ + .cs { color: $base01 !important; font-weight: bold !important; font-style: italic !important; } /* Comment.Special */ + .err { color: $solar-red !important; background: none !important; } /* Error */ + .k { color: $solar-orange !important; } /* Keyword */ + .o { color: $base1 !important; font-weight: bold !important; } /* Operator */ + .p { color: $base1 !important; } /* Operator */ + .ow { color: $solar-cyan !important; font-weight: bold !important; } /* Operator.Word */ + .gd { color: $base1 !important; background-color: mix($solar-red, $base03, 25%) !important; display: inline-block; } /* Generic.Deleted */ + .gd .x { color: $base1 !important; background-color: mix($solar-red, $base03, 35%) !important; display: inline-block; } /* Generic.Deleted.Specific */ + .ge { color: $base1 !important; font-style: italic !important; } /* Generic.Emph */ + //.gr { color: #aa0000 } /* Generic.Error */ + .gh { color: $base01 !important; } /* Generic.Heading */ + .gi { color: $base1 !important; background-color: mix($solar-green, $base03, 20%) !important; display: inline-block; } /* Generic.Inserted */ + .gi .x { color: $base1 !important; background-color: mix($solar-green, $base03, 40%) !important; display: inline-block; } /* Generic.Inserted.Specific */ + //.go { color: #888888 } /* Generic.Output */ + //.gp { color: #555555 } /* Generic.Prompt */ + .gs { color: $base1 !important; font-weight: bold !important; } /* Generic.Strong */ + .gu { color: $solar-violet !important; } /* Generic.Subheading */ + //.gt { color: #aa0000 } /* Generic.Traceback */ + .kc { color: $solar-green !important; font-weight: bold !important; } /* Keyword.Constant */ + .kd { color: $solar-blue !important; } /* Keyword.Declaration */ + .kp { color: $solar-orange !important; font-weight: bold !important; } /* Keyword.Pseudo */ + .kr { color: $solar-magenta !important; font-weight: bold !important; } /* Keyword.Reserved */ + .kt { color: $solar-cyan !important; } /* Keyword.Type */ + .n { color: $solar-blue !important; } + .na { color: $solar-blue !important; } /* Name.Attribute */ + .nb { color: $solar-green !important; } /* Name.Builtin */ + .nc { color: $solar-magenta !important;} /* Name.Class */ + .no { color: $solar-yellow !important; } /* Name.Constant */ + //.ni { color: #800080 } /* Name.Entity */ + .nl { color: $solar-green !important; } + .ne { color: $solar-blue !important; font-weight: bold !important; } /* Name.Exception */ + .nf { color: $solar-blue !important; font-weight: bold !important; } /* Name.Function */ + .nn { color: $solar-yellow !important; } /* Name.Namespace */ + .nt { color: $solar-blue !important; font-weight: bold !important; } /* Name.Tag */ + .nx { color: $solar-yellow !Important; } + //.bp { color: #999999 } /* Name.Builtin.Pseudo */ + //.vc { color: #008080 } /* Name.Variable.Class */ + .vg { color: $solar-blue !important; } /* Name.Variable.Global */ + .vi { color: $solar-blue !important; } /* Name.Variable.Instance */ + .nv { color: $solar-blue !important; } /* Name.Variable */ + //.w { color: #bbbbbb } /* Text.Whitespace */ + .mf { color: $solar-cyan !important; } /* Literal.Number.Float */ + .m { color: $solar-cyan !important; } /* Literal.Number */ + .mh { color: $solar-cyan !important; } /* Literal.Number.Hex */ + .mi { color: $solar-cyan !important; } /* Literal.Number.Integer */ + //.mo { color: #009999 } /* Literal.Number.Oct */ + .s { color: $solar-cyan !important; } /* Literal.String */ + //.sb { color: #d14 } /* Literal.String.Backtick */ + //.sc { color: #d14 } /* Literal.String.Char */ + .sd { color: $solar-cyan !important; } /* Literal.String.Doc */ + .s2 { color: $solar-cyan !important; } /* Literal.String.Double */ + .se { color: $solar-red !important; } /* Literal.String.Escape */ + //.sh { color: #d14 } /* Literal.String.Heredoc */ + .si { color: $solar-blue !important; } /* Literal.String.Interpol */ + //.sx { color: #d14 } /* Literal.String.Other */ + .sr { color: $solar-cyan !important; } /* Literal.String.Regex */ + .s1 { color: $solar-cyan !important; } /* Literal.String.Single */ + //.ss { color: #990073 } /* Literal.String.Symbol */ + //.il { color: #009999 } /* Literal.Number.Integer.Long */ + div { .gd, .gd .x, .gi, .gi .x { display: inline-block; width: 100%; }} +} + +.highlight, .gist-highlight { + pre { background: none; @include border-radius(none); border: none; padding: 0; margin-bottom: 0; } + margin-bottom: 1.8em; + background: $base03; + overflow-y: hidden; + overflow-x: auto; +} + +$solar-scroll-bg: rgba(#fff, .15); +$solar-scroll-thumb: rgba(#fff, .2); +@if $solarized == light { + $solar-scroll-bg: rgba(#000, .15); + $solar-scroll-thumb: rgba(#000, .15); +} + +pre, .highlight, .gist-highlight { + &::-webkit-scrollbar { height: .5em; background: $solar-scroll-bg; } + &::-webkit-scrollbar-thumb:horizontal { background: $solar-scroll-thumb; -webkit-border-radius: 4px; border-radius: 4px } +} + +.highlight code { @extend .pre-code; background: #000;} +figure.code { + background: none; + padding: 0; + border: 0; + margin-bottom: 1.5em; + pre { margin-bottom: 0; } + figcaption { + position: relative; + @extend .code-title; + a { @extend .download-source; } + } + .highlight { + margin-bottom: 0; + } +} + +.code-title { + text-align: center; + font-size: 13px; + line-height: 2em; + text-shadow: #cbcccc 0 1px 0; + color: #474747; + font-weight: normal; + margin-bottom: 0; + @include border-top-radius(5px); + font-family: "Helvetica Neue", Arial, "Lucida Grande", "Lucida Sans Unicode", Lucida, sans-serif; + background: #aaaaaa image-url("code_bg.png") top repeat-x; + border: 1px solid #565656; + border-top-color: #cbcbcb; + border-left-color: #a5a5a5; + border-right-color: #a5a5a5; + border-bottom: 0; +} + +.download-source { + position: absolute; right: .8em; + @include hover-link; + color: #666 !important; + z-index: 1; + font-size: 13px; + text-shadow: #cbcccc 0 1px 0; + padding-left: 3em; +} + diff --git a/sass/partials/sidebar/_base.scss b/sass/partials/sidebar/_base.scss new file mode 100644 index 0000000..5441304 --- /dev/null +++ b/sass/partials/sidebar/_base.scss @@ -0,0 +1,106 @@ +.side-shadow-border { + @include box-shadow(lighten($sidebar-bg, 5) 0 1px); +} +aside.sidebar { + overflow: hidden; + color: $sidebar-color; + text-shadow: lighten($sidebar-bg, 8) 0 1px; + a { @extend .force-wrap; } + section { + @extend .sans; + font-size: .8em; + line-height: 1.4em; + margin-bottom: 1.5em; + h1 { + margin: 1.5em 0 0; + padding-bottom: .2em; + border-bottom: 1px solid $sidebar-border; + @extend .side-shadow-border; + + p { + padding-top: .4em; + } + } + } + img { + @extend .flex-content; + @extend .basic-alignment; + @include shadow-box($border: #fff .3em solid); + } + ul { + margin-bottom: 0.5em; + margin-left: 0; + } + li { + list-style: none; + padding: .5em 0; + margin: 0; + border-bottom: 1px solid $sidebar-border; + @extend .side-shadow-border; + p:last-child { + margin-bottom: 0; + } + } + a { + color: inherit; + @include transition(color .5s); + } + &:hover a { + color: $sidebar-link-color; + &:hover { color: $sidebar-link-color-hover; } + } +} +.aside-alt-link { + color: $sidebar-link-color-subdued; + &:hover { + color: $sidebar-link-color-subdued-hover; + } +} + +@media only screen and (min-width: 768px) { + .toggle-sidebar { + outline: none; + position: absolute; right: -10px; top: 0; bottom: 0; + display: inline-block; + text-decoration: none; + color: mix($text-color-light, $sidebar-bg); + width: 9px; + cursor: pointer; + &:hover { + background: mix($sidebar-border, $sidebar-bg); + @include background(linear-gradient(left, rgba($sidebar-border, .5), rgba($sidebar-border, 0))); + } + &:after { + position: absolute; right: -11px; top: 0; + width: 20px; + font-size: 1.2em; + line-height: 1.1em; + padding-bottom: .15em; + @include border-bottom-right-radius(.3em); + text-align: center; + background: $main-bg $noise-bg; + border-bottom: 1px solid $sidebar-border; + border-right: 1px solid $sidebar-border; + content: "\00BB"; + text-indent: -1px; + } + .collapse-sidebar & { + text-indent: 0px; + right: -20px; + width: 19px; + &:hover { + background: mix($sidebar-border, $sidebar-bg); + } + &:after { + border-left: 1px solid $sidebar-border; + text-shadow: #fff 0 1px; + content: "\00AB"; + left: 0px; right: 0; + text-align: center; + text-indent: 0; + border: 0; + border-right-width: 0; + background: none; + } + } + } +} diff --git a/sass/partials/sidebar/_delicious.scss b/sass/partials/sidebar/_delicious.scss new file mode 100644 index 0000000..e962702 --- /dev/null +++ b/sass/partials/sidebar/_delicious.scss @@ -0,0 +1,4 @@ +.delicious-posts { + a.delicious-link { margin-bottom: .5em; display: block; } + p { font-size: 1em; } +} diff --git a/sass/partials/sidebar/_googleplus.scss b/sass/partials/sidebar/_googleplus.scss new file mode 100644 index 0000000..c2a693e --- /dev/null +++ b/sass/partials/sidebar/_googleplus.scss @@ -0,0 +1,26 @@ +.googleplus { + h1 { + -moz-box-shadow: none !important; + -webkit-box-shadow: none !important; + -o-box-shadow: none !important; + box-shadow: none !important; + border-bottom: 0px none !important; + } + a { + text-decoration: none; + white-space: normal !important; + line-height: 32px; + + img { + float: left; + margin-right: 0.5em; + border: 0 none; + } + } +} + +.googleplus-hidden { + position: absolute; + top: -1000em; + left: -1000em; +} diff --git a/sass/partials/sidebar/_pinboard.scss b/sass/partials/sidebar/_pinboard.scss new file mode 100644 index 0000000..9f9ab46 --- /dev/null +++ b/sass/partials/sidebar/_pinboard.scss @@ -0,0 +1,12 @@ +#pinboard_linkroll { + .pin-title, .pin-description { + display: block; + margin-bottom: .5em; + } + .pin-tag { + @include hover-link; + @extend .aside-alt-link; + &:after { content: ','; } + &:last-child:after { content: ''; } + } +} diff --git a/sass/partials/sidebar/_twitter.scss b/sass/partials/sidebar/_twitter.scss new file mode 100644 index 0000000..dfd49b5 --- /dev/null +++ b/sass/partials/sidebar/_twitter.scss @@ -0,0 +1,34 @@ +#tweets { + .loading { + background: inline-image('bird_32_gray.png') no-repeat center .5em; + color: darken($sidebar-bg, 18); + text-shadow: $main-bg 0 1px; + text-align: center; + padding: 2.5em 0 .5em; + &.error { + background: inline-image('bird_32_gray_fail.png') no-repeat center .5em; + } + } + p { + position: relative; + padding-right: 1em; + } + a[href*=status]:first-child { + color: $twitter-status-link; + float: right; + padding: 0 0 .1em 1em; + position: relative; right: -1.3em; + text-shadow: #fff 0 1px; + font-size: .7em; + span { font-size: 1.5em; } + text-decoration: none; + &:hover { + color: $sidebar-link-color-subdued-hover; + text-decoration: none; + } + } + a[href*='twitter.com/search']{ + @extend .aside-alt-link; + @include hover-link; + } +} diff --git a/sass/parts/_archive.scss b/sass/parts/_archive.scss new file mode 100644 index 0000000..1a2009c --- /dev/null +++ b/sass/parts/_archive.scss @@ -0,0 +1,73 @@ +.archives{ + position: relative; + &:last-of-type{ + &:before{ + content: ""; + position: absolute; + bottom: 0; + width: 200px; + border-top: 1px solid $color-gray04; + } + } + .year{ + line-height: 35px; + width: 200px; + position: absolute; + top: 0; + padding-top: 30px; + border-top: 1px solid #fff; + &:before{ + content: ""; + position: absolute; + top: -2px; + width: 100%; + border-top: 1px solid $color-gray04; + } + @media screen and (max-width: 600px){ + position: relative; + width: 100%; + } + } + article{ + margin-left: 200px; + @media screen and (max-width: 600px){ + margin-left: 0; + &:first-of-type{ + border-top: none; + padding-top: 30px; + } + } + .title{ + margin-bottom: 0; + } + .meta{ + color: $color-gray02; + line-height: 2; + margin-top: 15px; + @media screen and (max-width: 600px){ + display: none; + } + span{ + margin-right: 30px; + padding-left: 30px; + @include inline-block; + } + a{ + color: $color-gray02; + @include transition(0.3s); + &:hover{ + color: $color-gray01; + } + } + .date{ + background: image-url('date.png') 0 center no-repeat; + } + .tags{ + background: image-url('tags.png') 0 center no-repeat; + } + .comments{ + background: image-url('comments.png') 0 center no-repeat; + } + } + } +} \ No newline at end of file diff --git a/sass/parts/_article.scss b/sass/parts/_article.scss new file mode 100644 index 0000000..91f6273 --- /dev/null +++ b/sass/parts/_article.scss @@ -0,0 +1,125 @@ +article{ + border-bottom: 1px solid $color-gray04; + border-top: 1px solid $color-gray05; + padding: 30px 0; + position: relative; + @media screen and (max-width: 800px){ + padding-bottom: 15px; + } + @media screen and (max-width: 600px){ + padding: 15px 0; + } + h1.title{ + font-weight: 300; + line-height: 35px; + margin-bottom: 20px; + a{ + color: $color-gray01; + } + } + .entry-content{ + line-height: 2; + text-align: justify; + a{ + &:hover{ + text-decoration: underline; + } + } + .more-link{ + display: block; + margin-top: 20px; + padding-left: 30px; + background: image-url('more.png') 0 center no-repeat; + } + p, blockquote, ul, ol, dl, table, iframe, h1, h2, h3, h4, h5, h6, .video-container{ + margin-top: 10px; + } + ul, ol, dl{ + margin-left: 20px; + ul, ol, dl{ + margin-top: 0; + } + } + strong{ + font-weight: bold; + } + em{ + font-style: italic; + } + p{ + margin-top: 10px; + } + h2{ + font-weight: 300; + border-bottom: 1px solid $color-gray04; + position: relative; + &:before{ + content: ""; + position: absolute; + bottom: -2px; + border-bottom: 1px solid $color-gray05; + width: 100%; + } + } + img, video{ + max-width: 100%; + height: auto; + } + blockquote{ + background: $color-gray04; + border-left: 5px solid $color-gray03; + padding: 15px 20px; + margin-top: 10px; + & > p:first-of-type{ + margin-top: 0; + } + } + iframe{ + border: none; + } + table{ + background: $color-gray04; + border: 1px solid $color-gray03; + border-spacing: 0; + margin-top: 10px; + th{ + background: $color-gray03; + padding: 0 15px; + } + td{ + text-align: center; + } + tr{ + &:nth-of-type(2n){ + background: #d5d5d5; + } + } + } + .caption{ + background: image-url('caption.png') 0 4px no-repeat; + display: block; + font-size: 0.9em; + color: $color-gray02; + padding-left: 25px; + } + .video-container{ + position: relative; + padding-bottom: 56.25%; + padding-top: 30px; + height: 0; + overflow: hidden; + iframe, object, embed{ + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + margin-top: 0; + } + } + } +} +.share{ + padding: 15px 0; + @include border-shadow(); +} \ No newline at end of file diff --git a/sass/parts/_comment.scss b/sass/parts/_comment.scss new file mode 100644 index 0000000..ead3ebc --- /dev/null +++ b/sass/parts/_comment.scss @@ -0,0 +1,10 @@ +#comment{ + padding: 30px 0; + @include border-shadow(); + h1.title{ + font-size: 25px; + font-weight: 300; + line-height: 35px; + margin-bottom: 20px; + } +} \ No newline at end of file diff --git a/sass/parts/_footer.scss b/sass/parts/_footer.scss new file mode 100644 index 0000000..6d47846 --- /dev/null +++ b/sass/parts/_footer.scss @@ -0,0 +1,6 @@ +footer{ + padding: 15px 0; + border-top: 1px solid $color-gray05; + text-align: center; + font-size: 0.9em; +} \ No newline at end of file diff --git a/sass/parts/_header.scss b/sass/parts/_header.scss new file mode 100644 index 0000000..41cd977 --- /dev/null +++ b/sass/parts/_header.scss @@ -0,0 +1,245 @@ +$header-height: 30px; + +#header{ + height: $header-height; + padding: 30px 0; + border-bottom: 1px solid $color-gray04; + line-height: $header-height; + @media screen and (max-width: 1040px){ + height: auto; + position: relative; + padding-bottom: 10px; + >.alignright{ + position: absolute; + top: 30px; + right: 0; + } + } + a{ + color: $color-gray01; + @include transition(color 0.3s); + &:hover{ + color: $color-main; + } + } + h1{ + float: left; + font-weight: 300; + font-size: 30px; + @media screen and (max-width: 1040px){ + float: none; + } + } + .menu{ + float: left; + margin-left: 30px; + @media screen and (max-width: 1040px){ + float: none; + margin-left: 0; + margin-top: 15px; + } + >ul{ + @media screen and (max-width: 600px){ + display: none; + } + >li{ + margin-left: 50px; + @include inline-block; + @media screen and (max-width: 1040px){ + margin-left: 0; + margin-right: 50px; + &:last-of-type{ + margin-right: 0; + } + } + &:hover{ + >a{ + color: $color-main; + } + } + >a{ + padding: 38px 30px 38px 0; + margin-top: -38px; + background: image-url('detail.png') right center no-repeat; + @media screen and (max-width: 1040px){ + padding: 18px 30px 18px 0; + &:only-child{ + padding-right: 0; + } + } + &:only-child{ + padding-right: 0; + background: none; + } + } + } + ul{ + position: absolute; + top: 60px; + left: -15px; + z-index: 10; + white-space: nowrap; + background: $color-gray04; + border: 1px solid $color-gray03; + list-style: none; + display: none; + @media screen and (max-width: 1040px){ + top: 40px; + } + @include box-shadow(0 4px 8px rgba(0,0,0,0.1)); + @include border-radius(0 0 5px 5px); + ul{ + @include border-radius(0 5px 5px 5px); + } + li{ + @include border-shadow($color-background, $color-gray03); + &:hover{ + background: #d5d5d5; + } + &:first-of-type{ + border-top: none; + ul{ + @include border-radius(0 0 5px 5px); + } + } + &:last-of-type{ + border-bottom: none; + } + >a{ + background: image-url('detail-sub.png') right center no-repeat; + display: block; + padding: 5px 30px 5px 15px; + &:hover{ + color: $color-gray01; + } + &:only-child{ + background: none; + padding-right: 15px; + } + } + } + ul{ + top: 0; + left: 100%; + } + } + li{ + position: relative; + &:hover{ + >ul{ + display: block; + } + } + } + } + select{ + display: none; + margin-bottom: 10px; + @media screen and (max-width: 600px){ + display: block; + } + } + } + .search{ + float: left; + margin-top: 1px; + @media screen and (max-width: 1040px){ + float: none; + margin-top: 15px; + } + @media screen and (max-width: 600px){ + margin-top: 40px; + } + input[type="text"]{ + background: image-url('search.png') 10px center no-repeat #f2f2f2; + color: $color-gray02; + border: 1px solid $color-gray04; + font: 13px $font-default; + padding: 6px 15px 6px 35px; + width: 100px; + @include transition(0.3s); + @include border-radius(15px); + &:focus, &:active{ + background: image-url('search.png') 10px center no-repeat #fff; + border-top: 1px solid $color-gray03; + color: $color-gray01; + outline: none; + } + } + } + .social{ + float: left; + margin-right: 15px; + @media screen and (max-width: 1040px){ + float: none; + margin-right: 0; + a:last-of-type{ + margin-right: 0; + } + } + @media screen and (max-width: 600px){ + display: none; + } + a{ + @include border-radius(50%); + @include inline-block; + text-indent: -9999px; + margin-right: 15px; + opacity: 0.5; + @include square(28px); + @include transition(0.3s); + &:hover{ + opacity: 1; + } + &.facebook{ + background: image-url('social/facebook.png') center no-repeat #3B5998; + border: 1px solid #3B5998; + &:hover{ + border: 1px solid darken(#3B5998, 10%); + } + } + &.google{ + background: image-url('social/google.png') center no-repeat #C83D20; + border: 1px solid #C83D20; + &:hover{ + border: 1px solid darken(#C83D20, 10%); + } + } + &.twitter{ + background: image-url('social/twitter.png') center no-repeat #55CFF8; + border: 1px solid #55CFF8; + &:hover{ + border: 1px solid darken(#55CFF8, 10%); + } + } + &.github{ + background: image-url('social/github.png') center no-repeat rgb(175,182,202); + border: 1px solid rgb(175,182,202); + &:hover{ + border: 1px solid darken(rgb(175,182,202), 10%); + } + } + &.pinterest{ + background: image-url('social/pinterest.png') center no-repeat rgb(190,64,55); + border: 1px solid rgb(190,64,55); + &:hover{ + border: 1px solid darken(rgb(190,64,55), 10%); + } + } + &.delicious{ + background: image-url('social/delicious.png') center no-repeat rgb(50,113,203); + border: 1px solid rgb(50,113,203); + &:hover{ + border: 1px solid darken(rgb(50,113,203), 10%); + } + } + &.rss{ + background: image-url('social/rss.png') center no-repeat #EF7522; + border: 1px solid #EF7522; + &:hover{ + border: 1px solid darken(#EF7522, 10%); + } + } + } + } +} diff --git a/sass/parts/_index.scss b/sass/parts/_index.scss new file mode 100644 index 0000000..e20323b --- /dev/null +++ b/sass/parts/_index.scss @@ -0,0 +1,30 @@ +#pagenavi{ + padding: 20px 0; + height: 20px; + line-height: 20px; + position: relative; + @include border-shadow(); + a{ + &:hover{ + text-decoration: underline; + } + } + .prev, .next{ + position: absolute; + } + .prev{ + background: image-url('back.png') 0 center no-repeat; + padding-left: 30px; + left: 0; + } + .next{ + background: image-url('more.png') right center no-repeat; + padding-right: 30px; + right: 0; + } + .center{ + text-align: center; + width: 100%; + display: block; + } +} \ No newline at end of file diff --git a/sass/parts/_post.scss b/sass/parts/_post.scss new file mode 100644 index 0000000..fc4bf6d --- /dev/null +++ b/sass/parts/_post.scss @@ -0,0 +1,41 @@ +.post{ + h1.title, .entry-content{ + margin-left: 200px; + @media screen and (max-width: 800px){ + margin-left: 0; + } + } + .meta{ + position: absolute; + top: 85px; + line-height: 2; + font-size: 0.9em; + color: $color-gray02; + width: 170px; + @media screen and (max-width: 800px){ + margin-top: 15px; + position: static; + width: auto; + } + a{ + @include link-colors($color-gray02, $color-gray01); + @include transition(0.3s); + } + .date, .tags, .comments{ + padding-left: 30px; + @media screen and (max-width: 800px){ + @include inline-block; + margin-right: 30px; + } + } + .date{ + background: image-url('date.png') 0 center no-repeat; + } + .tags{ + background: image-url('tags.png') 0 center no-repeat; + } + .comments{ + background: image-url('comments.png') 0 center no-repeat; + } + } +} \ No newline at end of file diff --git a/sass/parts/_syntax.scss b/sass/parts/_syntax.scss new file mode 100644 index 0000000..0a95988 --- /dev/null +++ b/sass/parts/_syntax.scss @@ -0,0 +1,387 @@ +$base03: #002b36 !default; //darkest blue +$base02: #073642 !default; //dark blue +$base01: #586e75 !default; //darkest gray +$base00: #657b83 !default; //dark gray +$base0: #839496 !default; //medium gray +$base1: #93a1a1 !default; //medium light gray +$base2: #eee8d5 !default; //cream +$base3: #fdf6e3 !default; //white +$solar-yellow: #b58900 !default; +$solar-orange: #cb4b16 !default; +$solar-red: #dc322f !default; +$solar-magenta: #d33682 !default; +$solar-violet: #6c71c4 !default; +$solar-blue: #268bd2 !default; +$solar-cyan: #2aa198 !default; +$solar-green: #859900 !default; + +$solarized: light !default; + +@if $solarized == light { + + $_base03: $base03; + $_base02: $base02; + $_base01: $base01; + $_base00: $base00; + $_base0: $base0; + $_base1: $base1; + $_base2: $base2; + $_base3: $base3; + + $base03: $_base3; + $base02: $_base2; + $base01: $_base1; + $base00: $_base0; + $base0: $_base00; + $base1: $_base01; + $base2: $_base02; + $base3: $_base03; +} + +$pre-bg: $color-gray04; +$pre-border: $color-gray03; + +article{ + code, pre{ + background: $pre-bg; + border: 1px solid $pre-border; + font-family: $font-mono; + } + code{ + font-size: 0.9em; + padding: 1px 3px; + margin: 0 3px; + @include border-radius(5px); + } + pre{ + font-size: 1 / 0.9em; + line-height: 1.5; + margin-top: 10px; + padding: 5px 15px; + overflow-x: auto; + @include border-radius(5px); + code{ + background: none; + border: none; + padding: 0; + margin: 0; + @include border-radius(0); + } + } +} + +figure.code{ + background: $pre-bg; + border: 1px solid $pre-border; + margin-top: 10px; + padding: 5px 15px; + @include border-radius(5px); + figcaption{ + font-size: 0.9em; + position: relative; + span{ + margin: -5px -15px 0; + padding: 5px 15px; + display: block; + @include background(linear-gradient(top, $pre-border, $pre-bg)); + &:empty{ + display: none; + } + } + a{ + position: absolute; + top: 5px; + right: 0; + } + } + code, pre{ + background: none; + border: none; + padding: 0; + margin: 0; + @include border-radius(0); + } + .highlight{ + overflow-x: auto; + } + .line-numbers{ + border-right: 1px solid $pre-border; + font-family: $font-mono; + padding-right: 15px; + text-align: right; + } + table{ + border: none; + text-align: left; + margin-top: 0; + td{ + text-align: left; + } + } + td.code{ + width: 100%; + padding-left: 15px; + overflow-x: auto; + } +} +.entry-content .gist{ + background: $pre-bg; + color: $color-gray01; + padding: 30px 15px 5px; + margin-top: 10px; + border: 1px solid $pre-border; + position: relative; + overflow: hidden; + @include border-radius(5px); + .gist-file{ + margin: 0; + .gist-data{ + background: none; + border: none; + pre{ + font: 0.9em $font-mono; + line-height: 1.5; + } + } + .gist-meta{ + font: 300 0.9em $font-default; + line-height: 1.5; + margin: 0 -16px -6px; + padding: 5px 15px; + @include background(linear-gradient(top, $pre-bg, $pre-border)); + a{ + color: $color-main; + &:first-of-type{ + position: absolute; + top: 5px; + right: 15px; + z-index: 1; + } + &:nth-of-type(2){ + position: absolute; + top: 0; + left: 0; + padding: 5px 15px; + width: 100%; + @include background(linear-gradient(top, $pre-border, $pre-bg)); + } + } + } + } +} +figure.code, .gist-highlight{ + .c { + color:$base01 !important; + font-style: italic !important; + } + /* Comment */ + .cm { + color:$base01 !important; + font-style: italic !important; + } + /* Comment.Multiline */ + .cp { + color:$base01 !important; + font-style: italic !important; + } + /* Comment.Preproc */ + .c1 { + color:$base01 !important; + font-style: italic !important; + } + /* Comment.Single */ + .cs { + color:$base01 !important; + font-weight:bold !important; + font-style: italic !important; + } + /* Comment.Special */ + .err { + color:$solar-red !important; + background: none !important; + } + /* Error */ + .k { + color: $solar-orange !important; + } + /* Keyword */ + .o { + color:$base1 !important; + font-weight: bold !important; + } + /* Operator */ + .p { + color: $base1 !important; + } + /* Operator */ + .ow { + color:$solar-cyan !important; + font-weight: bold !important; + } + /* Operator.Word */ + .gd { + color:$base1 !important; + background-color:mix($solar-red,$base03,25%) !important; + display: inline-block; + } + /* Generic.Deleted */ + .gd .x { + color:$base1 !important; + background-color:mix($solar-red,$base03,35%) !important; + display: inline-block; + } + /* Generic.Deleted.Specific */ + .ge { + color:$base1 !important; + font-style: italic !important; + } + /* Generic.Emph */ + .gh { + color: $base01 !important; + } + /* Generic.Heading */ + .gi { + color:$base1 !important; + background-color:mix($solar-green,$base03,20%) !important; + display: inline-block; + } + /* Generic.Inserted */ + .gi .x { + color:$base1 !important; + background-color:mix($solar-green,$base03,40%) !important; + display: inline-block; + } + /* Generic.Inserted.Specific */ + .gs { + color:$base1 !important; + font-weight: bold !important; + } + /* Generic.Strong */ + .gu { + color: $solar-violet !important; + } + /* Generic.Subheading */ + .kc { + color:$solar-green !important; + font-weight: bold !important; + } + /* Keyword.Constant */ + .kd { + color: $solar-blue !important; + } + /* Keyword.Declaration */ + .kp { + color:$solar-orange !important; + font-weight: bold !important; + } + /* Keyword.Pseudo */ + .kr { + color:$solar-magenta !important; + font-weight: bold !important; + } + /* Keyword.Reserved */ + .kt { + color: $solar-cyan !important; + } + /* Keyword.Type */ + .n { + color:$solar-blue !important; + } + .na { + color: $solar-blue !important; + } + /* Name.Attribute */ + .nb { + color: $solar-green !important; + } + /* Name.Builtin */ + .nc { + color: $solar-magenta !important; + } + /* Name.Class */ + .no { + color: $solar-yellow !important; + } + /* Name.Constant */ + .nl { + color:$solar-green !important; + } + .ne { + color:$solar-blue !important; + font-weight: bold !important; + } + /* Name.Exception */ + .nf { + color:$solar-blue !important; + font-weight: bold !important; + } + /* Name.Function */ + .nn { + color: $solar-yellow !important; + } + /* Name.Namespace */ + .nt { + color:$solar-blue !important; + font-weight: bold !important; + } + /* Name.Tag */ + .nx { + color:$solar-yellow !Important; + } + .vg { + color: $solar-blue !important; + } + /* Name.Variable.Global */ + .vi { + color: $solar-blue !important; + } + /* Name.Variable.Instance */ + .nv { + color: $solar-blue !important; + } + /* Name.Variable */ + .mf { + color: $solar-cyan !important; + } + /* Literal.Number.Float */ + .m { + color: $solar-cyan !important; + } + /* Literal.Number */ + .mh { + color: $solar-cyan !important; + } + /* Literal.Number.Hex */ + .mi { + color: $solar-cyan !important; + } + /* Literal.Number.Integer */ + .s { + color: $solar-cyan !important; + } + /* Literal.String */ + .sd { + color: $solar-cyan !important; + } + /* Literal.String.Doc */ + .s2 { + color: $solar-cyan !important; + } + /* Literal.String.Double */ + .se { + color: $solar-red !important; + } + /* Literal.String.Escape */ + .si { + color: $solar-blue !important; + } + /* Literal.String.Interpol */ + .sr { + color: $solar-cyan !important; + } + /* Literal.String.Regex */ + .s1 { + color: $solar-cyan !important; + } + /* Literal.String.Single */ +} diff --git a/sass/parts/_twitter.scss b/sass/parts/_twitter.scss new file mode 100644 index 0000000..6a8e6a1 --- /dev/null +++ b/sass/parts/_twitter.scss @@ -0,0 +1,49 @@ +#banner{ + color: $color-gray02; + padding: 30px 0; + line-height: 30px; + text-align: center; + position: relative; + display: none; + @include border-shadow(); + &:hover{ + a{ + color: $color-main; + } + } + a{ + color: $color-gray02; + @include transition(0.3s); + &:hover{ + text-decoration: underline; + } + } + small{ + position: absolute; + right: 0; + bottom: 0; + } + .loading{ + background: image-url('loading_pacman.gif') center no-repeat; + text-indent: -9999px; + } + .container{ + height: 30px; + overflow: hidden; + position: relative; + display: none; + .feed{ + list-style: none; + position: absolute; + top: 0; + width: 100%; + li{ + position: relative; + small{ + position: absolute; + right: 0; + } + } + } + } +} \ No newline at end of file diff --git a/sass/plugins/_fancybox.scss b/sass/plugins/_fancybox.scss new file mode 100644 index 0000000..20a9437 --- /dev/null +++ b/sass/plugins/_fancybox.scss @@ -0,0 +1,228 @@ +/*! fancyBox v2.0.6 fancyapps.com | fancyapps.com/fancybox/#license */ +.fancybox-tmp iframe, .fancybox-tmp object { + vertical-align: top; + padding: 0; + margin: 0; +} + +.fancybox-wrap { + position: absolute; + top: 0; + left: 0; + z-index: 8020; +} + +.fancybox-skin { + position: relative; + padding: 0; + margin: 0; + background: #f9f9f9; + color: #444; + text-shadow: none; + @include border-radius(4px); +} + +.fancybox-opened { + z-index: 8030; +} + +.fancybox-opened .fancybox-skin { + @include box-shadow(0 10px 25px rgba(0, 0, 0, 0.5)); +} + +.fancybox-outer, .fancybox-inner { + padding: 0; + margin: 0; + position: relative; + outline: none; +} + +.fancybox-inner { + overflow: hidden; +} + +.fancybox-type-iframe .fancybox-inner { + -webkit-overflow-scrolling: touch; +} + +.fancybox-error { + color: #444; + font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif; + margin: 0; + padding: 10px; +} + +.fancybox-image, .fancybox-iframe { + display: block; + width: 100%; + height: 100%; + border: 0; + padding: 0; + margin: 0; + vertical-align: top; +} + +.fancybox-image { + max-width: 100%; + max-height: 100%; +} + +#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span { + background-image: image-url('fancybox/fancybox_sprite.png'); +} + +#fancybox-loading { + position: fixed; + top: 50%; + left: 50%; + margin-top: -22px; + margin-left: -22px; + background-position: 0 -108px; + opacity: 0.8; + cursor: pointer; + z-index: 8020; +} + +#fancybox-loading div { + width: 44px; + height: 44px; + background: image-url('fancybox/fancybox_loading.gif') center center no-repeat; +} + +.fancybox-close { + position: absolute; + top: -18px; + right: -18px; + width: 36px; + height: 36px; + cursor: pointer; + z-index: 8040; +} + +.fancybox-nav { + position: absolute; + top: 0; + width: 40%; + height: 100%; + cursor: pointer; + background: transparent image-url('fancybox/blank.gif'); /* helps IE */ + -webkit-tap-highlight-color: rgba(0,0,0,0); + z-index: 8040; +} + +.fancybox-prev { + left: 0; +} + +.fancybox-next { + right: 0; +} + +.fancybox-nav span { + position: absolute; + top: 50%; + width: 36px; + height: 34px; + margin-top: -18px; + cursor: pointer; + z-index: 8040; + visibility: hidden; +} + +.fancybox-prev span { + left: 20px; + background-position: 0 -36px; +} + +.fancybox-next span { + right: 20px; + background-position: 0 -72px; +} + +.fancybox-nav:hover span { + visibility: visible; +} + +.fancybox-tmp { + position: absolute; + top: -9999px; + left: -9999px; + padding: 0; + overflow: visible; + visibility: hidden; +} + +/* Overlay helper */ + +#fancybox-overlay { + position: absolute; + top: 0; + left: 0; + overflow: hidden; + display: none; + z-index: 8010; + background: #000; +} + +#fancybox-overlay.overlay-fixed { + position: fixed; + bottom: 0; + right: 0; +} + +/* Title helper */ + +.fancybox-title { + visibility: hidden; + font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif; + position: relative; + text-shadow: none; + z-index: 8050; +} + +.fancybox-opened .fancybox-title { + visibility: visible; +} + +.fancybox-title-float-wrap { + position: absolute; + bottom: 0; + right: 50%; + margin-bottom: -35px; + z-index: 8030; + text-align: center; +} + +.fancybox-title-float-wrap .child { + display: inline-block; + margin-right: -100%; + padding: 2px 20px; + background: transparent; /* Fallback for web browsers that doesn't support RGBa */ + background: rgba(0, 0, 0, 0.8); + text-shadow: 0 1px 2px #222; + color: #FFF; + font-weight: bold; + line-height: 24px; + white-space: nowrap; + @include border-radius(15px); +} + +.fancybox-title-outside-wrap { + position: relative; + margin-top: 10px; + color: #fff; +} + +.fancybox-title-inside-wrap { + margin-top: 10px; +} + +.fancybox-title-over-wrap { + position: absolute; + bottom: 0; + left: 0; + color: #fff; + padding: 10px; + background: #000; + background: rgba(0, 0, 0, .8); +} \ No newline at end of file diff --git a/sass/screen.scss b/sass/screen.scss new file mode 100644 index 0000000..96025e3 --- /dev/null +++ b/sass/screen.scss @@ -0,0 +1,5 @@ +@import "compass"; + +@import "base"; +@import "parts"; +@import "plugins"; \ No newline at end of file diff --git a/source/_includes/after_footer.html b/source/_includes/after_footer.html new file mode 100644 index 0000000..09d93b7 --- /dev/null +++ b/source/_includes/after_footer.html @@ -0,0 +1,5 @@ + +{% include fancybox.html %} +{% include disqus.html %} +{% include google_analytics.html %} +{% include custom/after_footer.html %} \ No newline at end of file diff --git a/source/_includes/archive_post.html b/source/_includes/archive_post.html new file mode 100644 index 0000000..2b006f6 --- /dev/null +++ b/source/_includes/archive_post.html @@ -0,0 +1,19 @@ +{% capture date %}{{ post.date }}{% endcapture %} +{% capture this_year %}{{ date | date: "%Y" }}{% endcapture %} +{% unless year == this_year %} + {% assign year = this_year %} + {% unless forloop.first %} + + {% endunless %} +

{{ date | date: "%Y" }}

+{% endunless %} +
+

{{post.title}}

+
+ {{ date | date: "%b %e" }} + {% include post/categories.html %} + {% if site.disqus_short_name and post.comments == true and site.disqus_show_comment_count == true %} + Comments + {% endif %} +
+
\ No newline at end of file diff --git a/source/_includes/article.html b/source/_includes/article.html new file mode 100644 index 0000000..1e1c835 --- /dev/null +++ b/source/_includes/article.html @@ -0,0 +1,19 @@ +{% if index %} +

{% if site.titlecase %}{{ post.title | titlecase }}{% else %}{{ post.title }}{% endif %}

+
+ {{ content | excerpt }} + {% capture excerpted %}{{ content | has_excerpt }}{% endcapture %} + {% if excerpted == 'true' %}{{ site.excerpt_link }}{% endif %} +
+{% else %} +

{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %}

+
{{ content }}
+{% endif %} + +
+
{% include post/date.html %}{{ time }}
+
{% include post/categories.html %}
+ {% if site.disqus_short_name and site.disqus_show_comment_count == true %} + Comments + {% endif %} +
\ No newline at end of file diff --git a/source/_includes/asides/delicious.html b/source/_includes/asides/delicious.html new file mode 100644 index 0000000..115cdcb --- /dev/null +++ b/source/_includes/asides/delicious.html @@ -0,0 +1,8 @@ +{% if site.delicious_user %} +
+

On Delicious

+
+ +

My Delicious Bookmarks »

+
+{% endif %} \ No newline at end of file diff --git a/source/_includes/asides/github.html b/source/_includes/asides/github.html new file mode 100644 index 0000000..cb267f0 --- /dev/null +++ b/source/_includes/asides/github.html @@ -0,0 +1,30 @@ +{% if site.github_user %} +
+

GitHub Repos

+
    +
  • Status updating...
  • +
+ {% if site.github_show_profile_link %} + @{{site.github_user}} on GitHub + {% endif %} + + +
+{% endif %} diff --git a/source/_includes/asides/googleplus.html b/source/_includes/asides/googleplus.html new file mode 100644 index 0000000..00a0aa8 --- /dev/null +++ b/source/_includes/asides/googleplus.html @@ -0,0 +1,11 @@ +{% if site.googleplus_user %} +
+

+ + + Google+ + +

+
+{% endif %} + diff --git a/source/_includes/asides/pinboard.html b/source/_includes/asides/pinboard.html new file mode 100644 index 0000000..c89c3e7 --- /dev/null +++ b/source/_includes/asides/pinboard.html @@ -0,0 +1,19 @@ +{% if site.pinboard_user %} +
+

My Pinboard

+
    Fetching linkroll...
+

My Pinboard Bookmarks »

+
+ +{% endif %} diff --git a/source/_includes/asides/recent_posts.html b/source/_includes/asides/recent_posts.html new file mode 100644 index 0000000..cc62814 --- /dev/null +++ b/source/_includes/asides/recent_posts.html @@ -0,0 +1,10 @@ +
+

Recent Posts

+
    + {% for post in site.posts limit: site.recent_posts %} +
  • + {{ post.title }} +
  • + {% endfor %} +
+
diff --git a/source/_includes/asides/twitter.html b/source/_includes/asides/twitter.html new file mode 100644 index 0000000..bab5de4 --- /dev/null +++ b/source/_includes/asides/twitter.html @@ -0,0 +1,19 @@ +{% if site.twitter_user %} +
+

Latest Tweets

+
    +
  • Status updating...
  • +
+ + + {% if site.twitter_follow_button %} + + {% else %} +

Follow @{{ site.twitter_user }}

+ {% endif %} +
+{% endif %} diff --git a/source/_includes/banner.html b/source/_includes/banner.html new file mode 100644 index 0000000..f91ce3b --- /dev/null +++ b/source/_includes/banner.html @@ -0,0 +1,15 @@ +{% if site.twitter_user %} + + + +{% endif %} \ No newline at end of file diff --git a/source/_includes/custom/after_footer.html b/source/_includes/custom/after_footer.html new file mode 100644 index 0000000..e69de29 diff --git a/source/_includes/custom/asides/about.html b/source/_includes/custom/asides/about.html new file mode 100644 index 0000000..59d309e --- /dev/null +++ b/source/_includes/custom/asides/about.html @@ -0,0 +1,4 @@ +
+

About Me

+

A little something about me.

+
diff --git a/source/_includes/custom/category_feed.xml b/source/_includes/custom/category_feed.xml new file mode 100644 index 0000000..f47c553 --- /dev/null +++ b/source/_includes/custom/category_feed.xml @@ -0,0 +1,27 @@ +--- +layout: nil +--- + + + + <![CDATA[{{ page.title }} | {{ site.title }}]]> + + + {{ site.time | date_to_xmlschema }} + {{ site.url }}/ + + + {% if site.email %}{% endif %} + + Octopress + + {% for post in site.categories[page.category] limit: 5 %} + + <![CDATA[{{ post.title | cdata_escape }}]]> + + {{ post.date | date_to_xmlschema }} + {{ site.url }}{{ post.id }} + + + {% endfor %} + diff --git a/source/_includes/custom/footer.html b/source/_includes/custom/footer.html new file mode 100644 index 0000000..d6b4a36 --- /dev/null +++ b/source/_includes/custom/footer.html @@ -0,0 +1,6 @@ +Copyright © {{ site.time | date: "%Y" }} +{% if site.author %} + {{ site.author }} +{% else %} + {{ site.title }} +{% endif %} diff --git a/source/_includes/custom/head.html b/source/_includes/custom/head.html new file mode 100644 index 0000000..e69de29 diff --git a/source/_includes/custom/header.html b/source/_includes/custom/header.html new file mode 100644 index 0000000..e69de29 diff --git a/source/_includes/custom/navigation.html b/source/_includes/custom/navigation.html new file mode 100644 index 0000000..eae9f81 --- /dev/null +++ b/source/_includes/custom/navigation.html @@ -0,0 +1,4 @@ + diff --git a/source/_includes/disqus.html b/source/_includes/disqus.html new file mode 100644 index 0000000..eb30877 --- /dev/null +++ b/source/_includes/disqus.html @@ -0,0 +1,21 @@ +{% comment %} Load script if disquss comments are enabled and `page.comments` is either empty (index) or set to true {% endcomment %} +{% if site.disqus_short_name and page.comments != false %} + +{% endif %} diff --git a/source/_includes/facebook_like.html b/source/_includes/facebook_like.html new file mode 100644 index 0000000..74f9130 --- /dev/null +++ b/source/_includes/facebook_like.html @@ -0,0 +1,10 @@ +{% if site.facebook_like %} +
+ +{% endif %} diff --git a/source/_includes/fancybox.html b/source/_includes/fancybox.html new file mode 100644 index 0000000..fd5bcfd --- /dev/null +++ b/source/_includes/fancybox.html @@ -0,0 +1,6 @@ + + \ No newline at end of file diff --git a/source/_includes/footer.html b/source/_includes/footer.html new file mode 100644 index 0000000..aa81074 --- /dev/null +++ b/source/_includes/footer.html @@ -0,0 +1 @@ +{% include custom/footer.html %} \ No newline at end of file diff --git a/source/_includes/google_analytics.html b/source/_includes/google_analytics.html new file mode 100644 index 0000000..2950c76 --- /dev/null +++ b/source/_includes/google_analytics.html @@ -0,0 +1,13 @@ +{% if site.google_analytics_tracking_id %} + +{% endif %} diff --git a/source/_includes/google_plus_one.html b/source/_includes/google_plus_one.html new file mode 100644 index 0000000..b69ddae --- /dev/null +++ b/source/_includes/google_plus_one.html @@ -0,0 +1,9 @@ +{% if site.google_plus_one %} + +{% endif %} diff --git a/source/_includes/head.html b/source/_includes/head.html new file mode 100644 index 0000000..29d99b5 --- /dev/null +++ b/source/_includes/head.html @@ -0,0 +1,20 @@ + + + + + {% if page.title %}{{ page.title }} - {% endif %}{{ site.title }} + + + {% capture description %}{% if page.description %}{{ page.description }}{% else %}{{ content | raw_content }}{% endif %}{% endcapture %} + + {% if page.keywords %}{% endif %} + + + + + + + + + {% include custom/head.html %} + \ No newline at end of file diff --git a/source/_includes/header.html b/source/_includes/header.html new file mode 100644 index 0000000..fa076d1 --- /dev/null +++ b/source/_includes/header.html @@ -0,0 +1,32 @@ +

{{ site.title }}

+ +
+ + +
+{% include custom/header.html %} diff --git a/source/_includes/navigation.html b/source/_includes/navigation.html new file mode 100644 index 0000000..888042e --- /dev/null +++ b/source/_includes/navigation.html @@ -0,0 +1 @@ +{% include custom/navigation.html %} \ No newline at end of file diff --git a/source/_includes/post/author.html b/source/_includes/post/author.html new file mode 100644 index 0000000..83dd6a8 --- /dev/null +++ b/source/_includes/post/author.html @@ -0,0 +1,8 @@ +{% if post.author %} + {% assign author = post.author %} +{% elsif page.author %} + {% assign author = page.author %} +{% else %} + {% assign author = site.author %} +{% endif %} +{% if author %}{% endif %} diff --git a/source/_includes/post/categories.html b/source/_includes/post/categories.html new file mode 100644 index 0000000..8c1c81f --- /dev/null +++ b/source/_includes/post/categories.html @@ -0,0 +1,8 @@ +{% capture category %}{% if post %}{{ post.categories | category_links | size }}{% else %}{{ page.categories | category_links | size }}{% endif %}{% endcapture %} +{% unless category == '0' %} +{% if post %} + {{ post.categories | category_links }} +{% else %} + {{ page.categories | category_links }} +{% endif %} +{% endunless %} diff --git a/source/_includes/post/date.html b/source/_includes/post/date.html new file mode 100644 index 0000000..ecf1ad7 --- /dev/null +++ b/source/_includes/post/date.html @@ -0,0 +1,15 @@ +{% capture date %}{{ page.date }}{{ post.date }}{% endcapture %} +{% capture date_formatted %}{{ page.date_formatted }}{{ post.date_formatted }}{% endcapture %} +{% capture has_date %}{{ date | size }}{% endcapture %} + +{% capture updated %}{{ page.updated }}{{ post.updated }}{% endcapture %} +{% capture updated_formatted %}{{ page.updated_formatted }}{{ post.updated_formatted }}{% endcapture %} +{% capture was_updated %}{{ updated | size }}{% endcapture %} + +{% if has_date != '0' %} + {% capture time %}{% endcapture %} +{% endif %} + +{% if was_updated != '0' %} + {% capture updated %}{% endcapture %} +{% else %}{% assign updated = false %}{% endif %} \ No newline at end of file diff --git a/source/_includes/post/disqus_thread.html b/source/_includes/post/disqus_thread.html new file mode 100644 index 0000000..b1acd8c --- /dev/null +++ b/source/_includes/post/disqus_thread.html @@ -0,0 +1 @@ + diff --git a/source/_includes/post/sharing.html b/source/_includes/post/sharing.html new file mode 100644 index 0000000..735c992 --- /dev/null +++ b/source/_includes/post/sharing.html @@ -0,0 +1,15 @@ + diff --git a/source/_includes/twitter_sharing.html b/source/_includes/twitter_sharing.html new file mode 100644 index 0000000..687e77d --- /dev/null +++ b/source/_includes/twitter_sharing.html @@ -0,0 +1,11 @@ +{% if site.twitter_follow_button or site.twitter_tweet_button %} + +{% endif %} diff --git a/source/_layouts/category_index.html b/source/_layouts/category_index.html new file mode 100644 index 0000000..0c16ef3 --- /dev/null +++ b/source/_layouts/category_index.html @@ -0,0 +1,7 @@ +--- +layout: default +--- + +{% for post in site.posts reverse %} + {% include archive_post.html %} +{% endfor %} \ No newline at end of file diff --git a/source/_layouts/default.html b/source/_layouts/default.html new file mode 100644 index 0000000..70d04d1 --- /dev/null +++ b/source/_layouts/default.html @@ -0,0 +1,11 @@ +{% capture root_url %}{{ site.root | strip_slash }}{% endcapture %} +{% include head.html %} + + + + {% include banner.html %} +
{{ content | expand_urls: root_url }}
+
{% include footer.html %}
+ {% include after_footer.html %} + + \ No newline at end of file diff --git a/source/_layouts/page.html b/source/_layouts/page.html new file mode 100644 index 0000000..03c94e8 --- /dev/null +++ b/source/_layouts/page.html @@ -0,0 +1,19 @@ +--- +layout: default +--- + +
+ {% if page.title %} +

{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %}

+ {% endif %} +
{{ content }}
+
+{% unless page.footer == false %} + {% include post/sharing.html %} +{% endunless %} +{% if site.disqus_short_name and page.comments == true %} +
+

Comments

+
{% include post/disqus_thread.html %}
+
+{% endif %} \ No newline at end of file diff --git a/source/_layouts/post.html b/source/_layouts/post.html new file mode 100644 index 0000000..bab0f87 --- /dev/null +++ b/source/_layouts/post.html @@ -0,0 +1,13 @@ +--- +layout: default +single: true +--- + +
{% include article.html %}
+{% include post/sharing.html %} +{% if site.disqus_short_name and page.comments == true %} +
+

Comments

+
{% include post/disqus_thread.html %}
+
+{% endif %} \ No newline at end of file diff --git a/source/assets/jwplayer/glow/controlbar/background.png b/source/assets/jwplayer/glow/controlbar/background.png new file mode 100644 index 0000000000000000000000000000000000000000..c2824cc432cdd71f8fdb98238c1ae77a1104628e GIT binary patch literal 141 zcmeAS@N?(olHy`uVBq!ia0vp^Ahs+A8<3p*@b5ezC0XJcQ4*Y=R#Ki=l*-_klAn~S z;F+74o*I;zm{M7IGSvpCNZ-@NF~s6@a$-V)#bF1QgqfDbYRsjg|9*eZ4|%xaP~w^o m|NsAAe6Tq>F)K?ekc&|;E}+;`V{ZgdD}$%2pUXO@geCwoOD@L% literal 0 HcmV?d00001 diff --git a/source/assets/jwplayer/glow/controlbar/blankButton.png b/source/assets/jwplayer/glow/controlbar/blankButton.png new file mode 100644 index 0000000000000000000000000000000000000000..010159f3eb743d6e22d5c54b91c09ca40d8aaa39 GIT binary patch literal 82 zcmeAS@N?(olHy`uVBq!ia0vp^Qa~)r!3HF^_}7#HDM?Qk$B>F!Zx1r^0(plNelM@% eXXjyH_#wpol!0;1`W@*&VFpiEKbLh*2~7a7)DzqQ literal 0 HcmV?d00001 diff --git a/source/assets/jwplayer/glow/controlbar/divider.png b/source/assets/jwplayer/glow/controlbar/divider.png new file mode 100644 index 0000000000000000000000000000000000000000..77cd829a4b5ef36bbc68a9182d397e04db6e4792 GIT binary patch literal 118 zcmeAS@N?(olHy`uVBq!ia0vp^j6f{Q!2%=?a-4evq$EpRBT9nv(@M${i&7aJQ}UBi z6+Ckj(^G>|6H_V+Po~-c6-juyIEHY@CMQ}PHk!=X@^516zvRnPPcblT{wuv)<<&_x Ppc)2GS3j3^P66?0001zNkl6?0006*Nkl264`4BoI2aRR!sNov zz`(}8!N9=6z`(#jfB_N)^7V;%VlFpua^R$I@<~adee!{2)Pd9 z>^C6D5DiY?6}*O*puxSQYw|CTrLY<|AuA45!{CxaFtE;Td%V}Y29@=falq4R_gWox5;Gk zz1QnWp-_-aCL>q|Tls{6HyOw_a%T?LQ3Q5aeG4PQ8@NK8l5fZGA@Q$w!`S}R=oOZ=9@p0y1Ht`O}WDJMHukChQ z?2^f(U_IanRp41U-@Vrv7~n|m!71bhgTaqht0h*v#`ZZ0|D2$?y9>b%cXb9In$4zI z8HOROeRSTAoX$;U_2Zy78V#{aBoe~+H{IQySbdH##yTITQYkS_^Vd#vT^CK$gcotp z-3`}1LY9MVJb*ojTkaIfDxOz9UMCT@Ys>Ob47v+(Zlk*NW8S%q?!UM!|5fatTt5L! Wu9z}q${(fg`vovQBD>vg^sSfI>s5DMm$hv>`<1w^YhuvS<#I8A)ijO7&aSE| zey>c^BxbkUy- z=n$|-1|iTXG?k=HNSdbP@8$0NzVf^98m^@kaq5FF@7>*dpWp9(@BMy{vFrA~n{<`Q zrfEtxYt7*cNiwel7l4wDEVx0vDH@P236%vogfVYAX+TB{%YbwNRD@Y_LJH)foLieh#$%9&W{GkB@H^i^UtVEHfBJ&L%3BN29#;dU@*9r$z)hIn>_>XcDwB0 z;NU(sk~N!64X1>K!(mn^6!@GLWvg!08Ab4#f8Z19*re|qfIcuaHRT2HCC|8{qazjw z1b*c6`9!r^os7j|JOSDE_BQi+y;*Y3sxia*V8MAR*SYmnDwUx`8i!Y9z}}Y2Wqw+A zv7ui8d!r}{2bbV^U}qnng zE}GPKt6%o`K|?o>N{_|0_Z4686?0007CNkl(kA%!W?Vx-)PQ9>AMkulK#xYKbZs3<}E2 z8D8Mb?0mm*QjmeGvUA{f;RSqdHk+afg+hXQ1&`qtJK%t2HEh!Hw!wL>_DQ{7mr;>O zL{K4k2hYF*mtj*qAmf76Icade-EM!0#bT05r6iqBOD2<%TCMhr;j?V{Dpr$J;%q#pK`g}Q9hqf7K_Cn)oN8#(P&hBKA)hjvK!Wuw$IFdJ7AY{@N#A!E0v0< z!r`!Fv)QlwU~hBICNNBU6*=Jw9Kh>xxh$hlFX0|f;fg+|@j(pZ!&V;oEw;v6DwQN2 zk4rL{l;LX~YF`O5GiZE`d|fOtY=?K=VIU9?%%CY@3JV z4m^azL?ZFt?RJZ%X~GNHI(|lz=Vsv{+2HOp*yG*kn9%pJb)&(=@Upndd3z`JDt0000Z>Q|#Vo=~<6R!C$9;PA1)G71p_B*xT0r{JN zM*B^in^wMlaaicdO+0re&Wx-n>s+%*ev^rF8_&(3{6c)?^VUzdW_%#X`}vKdWcU(R QVW7DTp00i_>zopr0QFBdL;wH) literal 0 HcmV?d00001 diff --git a/source/assets/jwplayer/glow/controlbar/pauseButtonOver.png b/source/assets/jwplayer/glow/controlbar/pauseButtonOver.png new file mode 100644 index 0000000000000000000000000000000000000000..409d89d29a33e6bb6d80355102cc8cbf30980bde GIT binary patch literal 442 zcmV;r0Y(0aP)At56op&03B^|Ephbj&EoA9dQnDm-_ADXfSL82b&X9lR;^LAei;Ihki*S2{^TMOi zq6sP#4}84G&AlAGxp~RmP5)maa=(vr78Euw~?u4WPm;xfR_Ud zm}4lzCPpTB1|#qW-oXdgYR_vU=9(uN@*X_!*S-P^*uVuISAA~-i@AN)c8>a2G&9+v zDR8#ittg;y$FGY*sM=%7Rz~5{(qDYcNphS=PzAwxjvbKAyS&!`)gD()Q z*K1LvX(~{v$ATab=8jq0JJoCgzCpBFtwfP!nLwEyi=s%FJ85F}#6kze%jHrOd7cZD z>#;bFg}D>fHa9EFQb=W{#cF1)+E^5YkgAPZtW6v11F~2wgj55f#o7!=ee~z^xsYn~ zwOE_cuRqkY*-R8+7zz~XF~@Oa-$UK_xN==rJkOKes*bDO-nMPAEK6#~)g=$&E4^Z_ k|MG1AS#bUjo|`VEAFXAB6%Vs^kpKVy07*qoM6N<$f}~T*6aWAK literal 0 HcmV?d00001 diff --git a/source/assets/jwplayer/glow/controlbar/playButton.png b/source/assets/jwplayer/glow/controlbar/playButton.png new file mode 100644 index 0000000000000000000000000000000000000000..f8d9a0079af73379b28623ec23b89a45760675c7 GIT binary patch literal 251 zcmVW5*tlL}qe;Y)GbwpWs=X&M|= z*R{`?BtunIILh-p5RuQFA1sOjp9;eemSt^2V(h#;&#^B_61c7_Mq=(lvSe8XQ4j<$ z3}YMVxf{urrYWK*f^FO4&4V*ZA#f$7>j7*~O3eRsh#VB4 z0yR_docu>ZB|&N!f)N;JBRr=8rL@vsgN9)m7GRYv!7NOGp087g&`!e!LCH6ofpyph zGaSGk7-5w|M?nY5j#?|(3~CsIW!P;r8U*jnW;1}_b~u53*n~xx6jh4APFkpiDcFF+ zYPCv2tyX(M=r!gq;23sbjk_@1b|8l-V2E3^1*he5nWQR}$|r)K@ZS~KxV7uNzIy4# zX*X;ROmJ2x6sVO_sq~6UZ@8@{Zt0k)uH7&_hwZ|7KA)%W6pO`&dcA(g?KFV4>#$rd zN8bqsgXC~H?xWGDk&lE1HI# zI@F0of?}~4`FuXI+wJ6XxgOK$^bsHG1u$?oRAQ}qdR&>!X0li;Z-GGIvc=;{D?M9% rco6sh71R66v+th;y?^lhkA99XpkgF1bCqS*00000NkvXXu0mjf9wPgo literal 0 HcmV?d00001 diff --git a/source/assets/jwplayer/glow/controlbar/timeSliderBuffer.png b/source/assets/jwplayer/glow/controlbar/timeSliderBuffer.png new file mode 100644 index 0000000000000000000000000000000000000000..73b371abbcac1512d073d3c540884b39853a5170 GIT binary patch literal 112 zcmeAS@N?(olHy`uVBq!ia0vp^Ahs+A8<3p*@b5ezW$x+X7-DfcIYENeS;oN1+WNkl zn_~BzId{w#iF9>z{895#l$Mqb%u7j3PfuU4t}|qNl?YE514EV*%Sy#VQ;dN|FnGH9 KxvX*mdyE3=gzFY}%KuYcKYM-B#61JM-V{-K`g{VK?Jd}k#Rrjz(R@$YqR9RV?I-Sl5s2+ z%RjL1JH1l8Z5zQ)gui25SGwf#WmyC!=O@hbOd3&)DUhdWQV=;!Q)yg236v-( O0000I*v2b^k*2QCaQ`4kWEBH1!V+-L=Z#ZMi6EpSc_TACKnNi5VexPhKHFF zx^W?G1a}Wtt_3%4Tx1&;u0&8l6gho&I5%GMZVXe4pgHj4J}&Qm-+AZUd*94a{AWQ# zv(x-dQ4Jh3p&i;pE@UA)aDaK>wJOa6 zNg|O5A$G>&@oS7>uss@$USRaH!77)?W)^pFjW2`8olb|Wh{xju;XUy@7z~R2e*dd@ zu2!pW_zTv!2X>&%@FzIgbpvd*+ikKUl}Zs}52A*gGYsQfFc_p#spKc33$irR;%;uB zztw7y6`4$CU%cDx8gee1&C(|XH`^qx$h_HXk`;+WLNrzv&*gIYdoGvTpDz>&39GWG zYW`l=b;{@S)Mzw*5{*U)v0Ja#KZL_!N~hDGA^g$n^-?mK+?;Btdbbpd#dnoTMTgNB zh>;)^3K7B&o+9(0+=@cjYAdStxrYzWGY~-I-qvb0^7(v(xCb`miB%sW^$B%>br!h` z?#E)WmmZJsq>J4AmERwK_1&_-3tgPqc^=(7zj%O)OMNTyLMQiP*_5F}b>$xBCt+t4 j8UE?-Z92oF_-Eq>i1mB;XZF-300000NkvXXu0mjfvtTD6 literal 0 HcmV?d00001 diff --git a/source/assets/jwplayer/glow/display/background.png b/source/assets/jwplayer/glow/display/background.png new file mode 100644 index 0000000000000000000000000000000000000000..391152f5e2f24e413f03ecef69ed2e88030a1f42 GIT binary patch literal 686 zcmV;f0#W^mP)40?p67Wi=Xpjj(7-?hr8gmN!O+;qM2uX(UB}(Pp+ST~a5L?f2=*_{4co78 z!5dk@d1^Q&_5XNr{JeL%r`|dkVEN0DxcA|3IDXCN^V?>#xgHJ&{T;*FVSoiD*j`~j zQ>oNtyWQUQ`~7*nUf*W3*>yA;>F*TQjJ3l63rw*6iT=P3yWQ@Jt23EQ^nSmu-Z>ax zfeAJkAMY$~J+1~$7!HS*UazMZf(0hnV1yOm6P|ZG0^{*m$B9hA1RIR70<3TqR;$&m z+wCgGV1p4>fE9MO>2!MSbUKPL*kF8skH_O>Fc|3Vc3Uw98;lR|>2$)CIJa6Y#TaZb zK7pIfCUpYbXf&9U;Cj8zoCMcuHRdF^TCFlC!IesdISDS8%gjk|sZ?U_8?1`OB6AX4 zC={5J;Cw#MoCN1`Ip!o-(=_HJIGfEfC&8IahB*mNr_;CQPJ*3ICvy_)a5$KgV7uMUoCMo!Hs)Tw!)L42 zsu+U}#-~pY?_0NSu~-yiu)+BBajB+hSF_oy7=sN)SRbDcFPF=k$z)QD!3HC&j}OFm zyWKey3h8WEm|%ku)~6AG^?H51?`RjJ(Wn@Ll?YB8EI( zjq%_SSS%J8fx#WeV}Aa}hqAC6U$9oJ8Ec0@jPZPBPz&2R{=?p(uMBGaccXZ}0X2s+ UFwXxpS^xk507*qoM6N<$f{ThjaR2}S literal 0 HcmV?d00001 diff --git a/source/assets/jwplayer/glow/display/bufferIcon.png b/source/assets/jwplayer/glow/display/bufferIcon.png new file mode 100644 index 0000000000000000000000000000000000000000..a3819c1ef199e6a2d583e777e3d2cc9d7411c7dd GIT binary patch literal 816 zcmV-01JC@4P)?y;sBd%rVy^WSc}4ZkOKv9mlWvp*~b#1RTk?~R2kGj12jp4zB2o` zN{Xgn6F3x7p}_ax7@U%0`kL&M;}}yl!3O80&$rhCpFtap0vgZTY-_Qv&#{I|Z#Ttc zlw-(#ps-oiW}h0z*u2M31=8_ifIf?C1Mh!qEqR^H{G_N1xC!!LkL2mgh$@Ik7Y{KE zf$&|mSf2tbpbnmqI=D|UyA*AaWy{03P*aTO(YzAjk?JQyv5&z4I07f+BX|Rza6R4O zgQk}K1K^TrB}+>iWI>73q{d^3ep}pk)w`!X ziaDXkDaPaRceK9(Wrm_9E117^8{F%3I)A|5;c)meyr$n>8^H+cbF{x!Q?PtU|K^6G z$?(gl71Hua>l@nMfk)sDa3nHnQb|jGS;D-%!0{6^bRCq$zF79bWR|5QHy+QyQ}BS< zc{jc!@jeT`I>>E2lHXe1Vp}@)aMJ|`ua^@}=v%|$fr9wJu`xD@^qnt+ZEIN`8u7Op zi3*PyHb=7brG;oEzXr~k_XV&Is$`!&UjfllncbtXhoA)xNsGQhbg5DOV_F(y`8Hql zdc7arZZ`-C&qE*Evg|vR#8mwPQ3Z!WtRVEoD=RHnhqO*w$=bDDmV{{8jfeVzf#lXw ueUm62Hp-^ULv7l$Y15`nn>KA5V*dc!CLt7N=?h^10000^XU=;OqaSX}0_x6TwSF-_w!^4yr zd!@r4MX?C3H?fVZQe6Kq&e7%1?39Z}!E5x=g0er^apZDtsdc#&p$Ies2og@3_@0`5 zBT?dtMPGN_tGbf=-@W>e^876-wA%LCYU%MJ>Gd4{Y_zuJMw_1he0{b3_X!V{W%6~J zF6lL2`?~7uC7vdScW0u1`-O!^tiQKeQ&`LV+4)M(_pE|7-x6xGeqG*Et{oG4_0=*l z*NG)Y75SHo^(^|5Ghbi%dT#c#FS;}4t2W(NweXyD*4Ldq{_9~ybAI`0`99a$JT8A( z#4jIS%<$9loZKGG)0?^@Gm9(lw_QHyHt+fVMRWPhx)$wluU@L-ts3)R_+K^9yMbkPQfSuE1Jt1w|22L~um#h3JU*Kzy9s zDK0pWs4+vBdvkv9ZwF2>A2UxxL_|bHL_|b%4*;g<{of2epU<#6olZ5;oA!f`$0IH~ z91ca%tG0vp`#ruXD|*px@NT!mwYJ->A$rzk@Mg2Yt=8+cB{H-ayjrdBgG`ay7k#;0 z;(=zOXS^) zJ{%6=X028Wi9`b8(cTm{{A@c5f-0Su5 zXt`Vtkw`=i&5FE#sk_}Sep;zix*S>*sq+!i>2z>!g+c+bSWFHz40?p67Wi=Xpjj(7-?hr8gmN!O+;qM2uX(UB}(Pp+ST~a5L?f2=*_{4co78 z!5dk@d1^Q&_5XNr{JeL%r`|dkVEN0DxcA|3IDXCN^V?>#xgHJ&{T;*FVSoiD*j`~j zQ>oNtyWQUQ`~7*nUf*W3*>yA;>F*TQjJ3l63rw*6iT=P3yWQ@Jt23EQ^nSmu-Z>ax zfeAJkAMY$~J+1~$7!HS*UazMZf(0hnV1yOm6P|ZG0^{*m$B9hA1RIR70<3TqR;$&m z+wCgGV1p4>fE9MO>2!MSbUKPL*kF8skH_O>Fc|3Vc3Uw98;lR|>2$)CIJa6Y#TaZb zK7pIfCUpYbXf&9U;Cj8zoCMcuHRdF^TCFlC!IesdISDS8%gjk|sZ?U_8?1`OB6AX4 zC={5J;Cw#MoCN1`Ip!o-(=_HJIGfEfC&8IahB*mNr_;CQPJ*3ICvy_)a5$KgV7uMUoCMo!Hs)Tw!)L42 zsu+U}#-~pY?_0NSu~-yiu)+BBajB+hSF_oy7=sN)SRbDcFPF=k$z)QD!3HC&j}OFm zyWKey3h8WEm|%ku)~6AG^?H51?`RjJ(Wn@Ll?YB8EI( zjq%_SSS%J8fx#WeV}Aa}hqAC6U$9oJ8Ec0@jPZPBPz&2R{=?p(uMBGaccXZ}0X2s+ UFwXxpS^xk507*qoM6N<$f{ThjaR2}S literal 0 HcmV?d00001 diff --git a/source/assets/jwplayer/glow/glow.xml b/source/assets/jwplayer/glow/glow.xml new file mode 100644 index 0000000..71bdced --- /dev/null +++ b/source/assets/jwplayer/glow/glow.xml @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + +