Permalink
Browse files

first octopressd website

  • Loading branch information...
1 parent 7d4ee42 commit dfe2ec99c28849e4acd56bd122b425fe54d4beb9 @akollegger akollegger committed Jun 13, 2012
Showing with 4,359 additions and 1 deletion.
  1. +1 −1 Gemfile.lock
  2. +5 −0 sass/_base.scss
  3. +8 −0 sass/_partials.scss
  4. +192 −0 sass/base/_layout.scss
  5. +46 −0 sass/base/_solarized.scss
  6. +86 −0 sass/base/_theme.scss
  7. +161 −0 sass/base/_typography.scss
  8. +28 −0 sass/base/_utilities.scss
  9. +43 −0 sass/custom/_colors.scss
  10. +10 −0 sass/custom/_fonts.scss
  11. +21 −0 sass/custom/_layout.scss
  12. +2 −0 sass/custom/_styles.scss
  13. +72 −0 sass/partials/_archive.scss
  14. +141 −0 sass/partials/_blog.scss
  15. +19 −0 sass/partials/_footer.scss
  16. +18 −0 sass/partials/_header.scss
  17. +137 −0 sass/partials/_navigation.scss
  18. +8 −0 sass/partials/_sharing.scss
  19. +5 −0 sass/partials/_sidebar.scss
  20. +253 −0 sass/partials/_syntax.scss
  21. +106 −0 sass/partials/sidebar/_base.scss
  22. +4 −0 sass/partials/sidebar/_delicious.scss
  23. +26 −0 sass/partials/sidebar/_googleplus.scss
  24. +12 −0 sass/partials/sidebar/_pinboard.scss
  25. +34 −0 sass/partials/sidebar/_twitter.scss
  26. +10 −0 sass/screen.scss
  27. +5 −0 source/_includes/after_footer.html
  28. +8 −0 source/_includes/archive_post.html
  29. +28 −0 source/_includes/article.html
  30. +8 −0 source/_includes/asides/delicious.html
  31. +30 −0 source/_includes/asides/github.html
  32. +11 −0 source/_includes/asides/googleplus.html
  33. +19 −0 source/_includes/asides/pinboard.html
  34. +10 −0 source/_includes/asides/recent_posts.html
  35. +19 −0 source/_includes/asides/twitter.html
  36. +3 −0 source/_includes/custom/after_footer.html
  37. +4 −0 source/_includes/custom/asides/about.html
  38. +27 −0 source/_includes/custom/category_feed.xml
  39. +4 −0 source/_includes/custom/footer.html
  40. +3 −0 source/_includes/custom/head.html
  41. +6 −0 source/_includes/custom/header.html
  42. +4 −0 source/_includes/custom/navigation.html
  43. +21 −0 source/_includes/disqus.html
  44. +10 −0 source/_includes/facebook_like.html
  45. +1 −0 source/_includes/footer.html
  46. +13 −0 source/_includes/google_analytics.html
  47. +9 −0 source/_includes/google_plus_one.html
  48. +29 −0 source/_includes/head.html
  49. +1 −0 source/_includes/header.html
  50. +15 −0 source/_includes/navigation.html
  51. +8 −0 source/_includes/post/author.html
  52. +10 −0 source/_includes/post/categories.html
  53. +15 −0 source/_includes/post/date.html
  54. +1 −0 source/_includes/post/disqus_thread.html
  55. +11 −0 source/_includes/post/sharing.html
  56. +11 −0 source/_includes/twitter_sharing.html
  57. +17 −0 source/_layouts/category_index.html
  58. +14 −0 source/_layouts/default.html
  59. +42 −0 source/_layouts/page.html
  60. +43 −0 source/_layouts/post.html
  61. BIN source/assets/jwplayer/glow/controlbar/background.png
  62. BIN source/assets/jwplayer/glow/controlbar/blankButton.png
  63. BIN source/assets/jwplayer/glow/controlbar/divider.png
  64. BIN source/assets/jwplayer/glow/controlbar/fullscreenButton.png
  65. BIN source/assets/jwplayer/glow/controlbar/fullscreenButtonOver.png
  66. BIN source/assets/jwplayer/glow/controlbar/muteButton.png
  67. BIN source/assets/jwplayer/glow/controlbar/muteButtonOver.png
  68. BIN source/assets/jwplayer/glow/controlbar/normalscreenButton.png
  69. BIN source/assets/jwplayer/glow/controlbar/normalscreenButtonOver.png
  70. BIN source/assets/jwplayer/glow/controlbar/pauseButton.png
  71. BIN source/assets/jwplayer/glow/controlbar/pauseButtonOver.png
  72. BIN source/assets/jwplayer/glow/controlbar/playButton.png
  73. BIN source/assets/jwplayer/glow/controlbar/playButtonOver.png
  74. BIN source/assets/jwplayer/glow/controlbar/timeSliderBuffer.png
  75. BIN source/assets/jwplayer/glow/controlbar/timeSliderCapLeft.png
  76. BIN source/assets/jwplayer/glow/controlbar/timeSliderCapRight.png
  77. BIN source/assets/jwplayer/glow/controlbar/timeSliderProgress.png
  78. BIN source/assets/jwplayer/glow/controlbar/timeSliderRail.png
  79. BIN source/assets/jwplayer/glow/controlbar/unmuteButton.png
  80. BIN source/assets/jwplayer/glow/controlbar/unmuteButtonOver.png
  81. BIN source/assets/jwplayer/glow/display/background.png
  82. BIN source/assets/jwplayer/glow/display/bufferIcon.png
  83. BIN source/assets/jwplayer/glow/display/muteIcon.png
  84. BIN source/assets/jwplayer/glow/display/playIcon.png
  85. BIN source/assets/jwplayer/glow/dock/button.png
  86. +115 −0 source/assets/jwplayer/glow/glow.xml
  87. BIN source/assets/jwplayer/glow/playlist/item.png
  88. BIN source/assets/jwplayer/glow/playlist/itemOver.png
  89. BIN source/assets/jwplayer/glow/playlist/sliderCapBottom.png
  90. BIN source/assets/jwplayer/glow/playlist/sliderCapTop.png
  91. BIN source/assets/jwplayer/glow/playlist/sliderRail.png
  92. BIN source/assets/jwplayer/glow/playlist/sliderThumb.png
  93. BIN source/assets/jwplayer/glow/sharing/embedIcon.png
  94. BIN source/assets/jwplayer/glow/sharing/embedScreen.png
  95. BIN source/assets/jwplayer/glow/sharing/shareIcon.png
  96. BIN source/assets/jwplayer/glow/sharing/shareScreen.png
  97. BIN source/assets/jwplayer/player.swf
  98. +27 −0 source/atom.xml
  99. +18 −0 source/blog/archives/index.html
  100. BIN source/favicon.png
  101. BIN source/images/bird_32_gray.png
  102. BIN source/images/bird_32_gray_fail.png
  103. BIN source/images/code_bg.png
  104. BIN source/images/dotted-border.png
  105. BIN source/images/email.png
  106. BIN source/images/line-tile.png
  107. BIN source/images/noise.png
  108. BIN source/images/rss.png
  109. BIN source/images/search.png
  110. +29 −0 source/index.html
  111. +45 −0 source/javascripts/ender.js
  112. +37 −0 source/javascripts/github.js
  113. +1,497 −0 source/javascripts/libs/ender.js
  114. +85 −0 source/javascripts/libs/jXHR.js
  115. +298 −0 source/javascripts/libs/swfobject-dynamic.js
  116. +5 −0 source/javascripts/modernizr-2.0.js
  117. +161 −0 source/javascripts/octopress.js
  118. +56 −0 source/javascripts/pinboard.js
  119. +78 −0 source/javascripts/twitter.js
View
@@ -74,7 +74,7 @@ DEPENDENCIES
RedCloth (~> 4.2.9)
compass (~> 0.12.1)
haml (~> 3.1.6)
- heroku
+ heroku (~> 2.26.7)
jekyll (~> 0.11.2)
liquid (~> 2.3.0)
pygments.rb (~> 0.2.12)
View
@@ -0,0 +1,5 @@
+@import "base/utilities";
+@import "base/solarized";
+@import "base/theme";
+@import "base/typography";
+@import "base/layout";
View
@@ -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";
View
@@ -0,0 +1,192 @@
+$max-width: 1200px !default;
+
+// Padding used for layout margins
+$pad-min: 18px !default;
+$pad-narrow: 25px !default;
+$pad-medium: 35px !default;
+$pad-wide: 55px !default;
+
+// Sidebar widths used in media queries
+$sidebar-width-medium: 240px !default;
+$sidebar-pad-medium: 15px !default;
+$sidebar-pad-wide: 20px !default;
+$sidebar-width-wide: 300px !default;
+
+$indented-lists: false !default;
+
+$header-font-size: 1em !default;
+$header-padding-top: 1.5em !default;
+$header-padding-bottom: 1.5em !default;
+
+.group { @include pie-clearfix; }
+
+@mixin collapse-sidebar {
+ float: none;
+ width: auto;
+ clear: left;
+ margin: 0;
+ padding: 0 $pad-medium 1px;
+ background-color: lighten($sidebar-bg, 2);
+ border-top: 1px solid lighten($sidebar-border, 4);
+ section {
+ &.odd, &.even { float: left; width: 48%; }
+ &.odd { margin-left: 0; }
+ &.even { margin-left: 4%; }
+ }
+ &.thirds section {
+ width: 30%;
+ margin-left: 5%;
+ &.first {
+ margin-left: 0;
+ clear: both;
+ }
+ }
+}
+
+body {
+ -webkit-text-size-adjust: none;
+ max-width: $max-width;
+ position: relative;
+ margin: 0 auto;
+ > header, > nav, > footer, #content > article, #content > div > article, #content > div > section {
+ @extend .group;
+ padding-left: $pad-min;
+ padding-right: $pad-min;
+ @media only screen and (min-width: 480px) {
+ padding-left: $pad-narrow;
+ padding-right: $pad-narrow;
+ }
+ @media only screen and (min-width: 768px) {
+ padding-left: $pad-medium;
+ padding-right: $pad-medium;
+ }
+ @media only screen and (min-width: 992px) {
+ padding-left: $pad-wide;
+ padding-right: $pad-wide;
+ }
+ }
+ div.pagination {
+ @extend .group;
+ margin-left: $pad-min;
+ margin-right: $pad-min;
+ @media only screen and (min-width: 480px) {
+ margin-left: $pad-narrow;
+ margin-right: $pad-narrow;
+ }
+ @media only screen and (min-width: 768px) {
+ margin-left: $pad-medium;
+ margin-right: $pad-medium;
+ }
+ @media only screen and (min-width: 992px) {
+ margin-left: $pad-wide;
+ margin-right: $pad-wide;
+ }
+ }
+ > header {
+ font-size: $header-font-size;
+ padding-top: $header-padding-top;
+ padding-bottom: $header-padding-bottom;
+ }
+}
+
+#content {
+ overflow: hidden;
+ > div, > article { width: 100%; }
+}
+
+aside.sidebar {
+ float: none;
+ padding: 0 $pad-min 1px;
+ background-color: lighten($sidebar-bg, 2);
+ border-top: 1px solid $sidebar-border;
+ @extend .group;
+}
+
+.flex-content { max-width: 100%; height: auto; }
+
+.basic-alignment {
+ &.left { float: left; margin-right: 1.5em; }
+ &.right { float: right; margin-left: 1.5em; }
+ &.center { display:block; margin: 0 auto 1.5em; }
+ &.left, &.right { margin-bottom: .8em; }
+}
+
+.toggle-sidebar { &, .no-sidebar & { display: none; }}
+
+body.sidebar-footer {
+ @media only screen and (min-width: 750px) {
+ aside.sidebar{ @include collapse-sidebar; }
+ }
+ #content { margin-right: 0px; }
+ .toggle-sidebar { display: none; }
+}
+
+@media only screen and (min-width: 550px) {
+ body > header { font-size: $header-font-size; }
+}
+@media only screen and (min-width: 750px) {
+ aside.sidebar { @include collapse-sidebar; }
+}
+#main, #content, .sidebar {
+ @extend .group;
+}
+@media only screen and (min-width: 768px) {
+ body { -webkit-text-size-adjust: auto; }
+ body > header { font-size: $header-font-size * 1.2; }
+ #main {
+ padding: 0;
+ margin: 0 auto;
+ }
+ #content {
+ overflow: visible;
+ margin-right: $sidebar-width-medium;
+ position: relative;
+ .no-sidebar & { margin-right: 0; border-right: 0; }
+ .collapse-sidebar & { margin-right: 20px; }
+ > div, > article {
+ padding-top: $pad-medium/2;
+ padding-bottom: $pad-medium/2;
+ float: left;
+ }
+ }
+ aside.sidebar {
+ width: $sidebar-width-medium - $sidebar-pad-medium*2;
+ padding: 0 $sidebar-pad-medium $sidebar-pad-medium;
+ background: none;
+ clear: none;
+ float: left;
+ margin: 0 -100% 0 0;
+ section {
+ width: auto; margin-left: 0;
+ &.odd, &.even { float: none; width: auto; margin-left: 0; }
+ }
+ .collapse-sidebar & {
+ @include collapse-sidebar;
+ }
+ }
+}
+
+@media only screen and (min-width: 992px) {
+ body > header { font-size: $header-font-size * 1.3; }
+ #content { margin-right: $sidebar-width-wide; }
+ #content {
+ > div, > article {
+ padding-top: $pad-wide/2;
+ padding-bottom: $pad-wide/2;
+ }
+ }
+ aside.sidebar {
+ width: $sidebar-width-wide - $sidebar-pad-wide*2;
+ padding: 1.2em $sidebar-pad-wide $sidebar-pad-wide;
+ .collapse-sidebar & {
+ padding: { left: $pad-wide; right: $pad-wide; }
+ }
+ }
+}
+
+@if $indented-lists == false {
+ @media only screen and (min-width: 768px) {
+ ul, ol { margin-left: 0; }
+ }
+}
+
View
@@ -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;
+
+
View
@@ -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;
+ }
+ }
+}
Oops, something went wrong.

0 comments on commit dfe2ec9

Please sign in to comment.