link-checker 0.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (348) hide show
  1. data/.rvmrc +81 -0
  2. data/Gemfile +12 -0
  3. data/Gemfile.lock +56 -0
  4. data/LICENSE.txt +20 -0
  5. data/README.md +15 -0
  6. data/Rakefile +29 -0
  7. data/VERSION +1 -0
  8. data/bin/check-links +8 -0
  9. data/lib/link_checker.rb +80 -0
  10. data/link-checker.gemspec +404 -0
  11. data/spec/link-checker_spec.rb +92 -0
  12. data/spec/spec_helper.rb +4 -0
  13. data/spec/test-site/.gitignore +12 -0
  14. data/spec/test-site/.powrc +5 -0
  15. data/spec/test-site/.rbenv-version +1 -0
  16. data/spec/test-site/.rvmrc +1 -0
  17. data/spec/test-site/.slugignore +3 -0
  18. data/spec/test-site/.themes/classic/sass/_base.scss +5 -0
  19. data/spec/test-site/.themes/classic/sass/_partials.scss +8 -0
  20. data/spec/test-site/.themes/classic/sass/base/_layout.scss +192 -0
  21. data/spec/test-site/.themes/classic/sass/base/_solarized.scss +46 -0
  22. data/spec/test-site/.themes/classic/sass/base/_theme.scss +86 -0
  23. data/spec/test-site/.themes/classic/sass/base/_typography.scss +161 -0
  24. data/spec/test-site/.themes/classic/sass/base/_utilities.scss +28 -0
  25. data/spec/test-site/.themes/classic/sass/custom/_colors.scss +43 -0
  26. data/spec/test-site/.themes/classic/sass/custom/_fonts.scss +10 -0
  27. data/spec/test-site/.themes/classic/sass/custom/_layout.scss +21 -0
  28. data/spec/test-site/.themes/classic/sass/custom/_styles.scss +2 -0
  29. data/spec/test-site/.themes/classic/sass/partials/_archive.scss +72 -0
  30. data/spec/test-site/.themes/classic/sass/partials/_blog.scss +141 -0
  31. data/spec/test-site/.themes/classic/sass/partials/_footer.scss +19 -0
  32. data/spec/test-site/.themes/classic/sass/partials/_header.scss +18 -0
  33. data/spec/test-site/.themes/classic/sass/partials/_navigation.scss +137 -0
  34. data/spec/test-site/.themes/classic/sass/partials/_sharing.scss +8 -0
  35. data/spec/test-site/.themes/classic/sass/partials/_sidebar.scss +5 -0
  36. data/spec/test-site/.themes/classic/sass/partials/_syntax.scss +253 -0
  37. data/spec/test-site/.themes/classic/sass/partials/sidebar/_base.scss +106 -0
  38. data/spec/test-site/.themes/classic/sass/partials/sidebar/_delicious.scss +4 -0
  39. data/spec/test-site/.themes/classic/sass/partials/sidebar/_googleplus.scss +26 -0
  40. data/spec/test-site/.themes/classic/sass/partials/sidebar/_pinboard.scss +12 -0
  41. data/spec/test-site/.themes/classic/sass/partials/sidebar/_twitter.scss +34 -0
  42. data/spec/test-site/.themes/classic/sass/screen.scss +10 -0
  43. data/spec/test-site/.themes/classic/source/_includes/after_footer.html +5 -0
  44. data/spec/test-site/.themes/classic/source/_includes/archive_post.html +8 -0
  45. data/spec/test-site/.themes/classic/source/_includes/article.html +28 -0
  46. data/spec/test-site/.themes/classic/source/_includes/asides/delicious.html +8 -0
  47. data/spec/test-site/.themes/classic/source/_includes/asides/github.html +30 -0
  48. data/spec/test-site/.themes/classic/source/_includes/asides/googleplus.html +11 -0
  49. data/spec/test-site/.themes/classic/source/_includes/asides/pinboard.html +19 -0
  50. data/spec/test-site/.themes/classic/source/_includes/asides/recent_posts.html +10 -0
  51. data/spec/test-site/.themes/classic/source/_includes/asides/twitter.html +19 -0
  52. data/spec/test-site/.themes/classic/source/_includes/custom/after_footer.html +3 -0
  53. data/spec/test-site/.themes/classic/source/_includes/custom/asides/about.html +4 -0
  54. data/spec/test-site/.themes/classic/source/_includes/custom/category_feed.xml +27 -0
  55. data/spec/test-site/.themes/classic/source/_includes/custom/footer.html +4 -0
  56. data/spec/test-site/.themes/classic/source/_includes/custom/head.html +3 -0
  57. data/spec/test-site/.themes/classic/source/_includes/custom/header.html +6 -0
  58. data/spec/test-site/.themes/classic/source/_includes/custom/navigation.html +4 -0
  59. data/spec/test-site/.themes/classic/source/_includes/disqus.html +21 -0
  60. data/spec/test-site/.themes/classic/source/_includes/facebook_like.html +10 -0
  61. data/spec/test-site/.themes/classic/source/_includes/footer.html +1 -0
  62. data/spec/test-site/.themes/classic/source/_includes/google_analytics.html +13 -0
  63. data/spec/test-site/.themes/classic/source/_includes/google_plus_one.html +9 -0
  64. data/spec/test-site/.themes/classic/source/_includes/head.html +29 -0
  65. data/spec/test-site/.themes/classic/source/_includes/header.html +1 -0
  66. data/spec/test-site/.themes/classic/source/_includes/navigation.html +15 -0
  67. data/spec/test-site/.themes/classic/source/_includes/post/author.html +8 -0
  68. data/spec/test-site/.themes/classic/source/_includes/post/categories.html +10 -0
  69. data/spec/test-site/.themes/classic/source/_includes/post/date.html +15 -0
  70. data/spec/test-site/.themes/classic/source/_includes/post/disqus_thread.html +1 -0
  71. data/spec/test-site/.themes/classic/source/_includes/post/sharing.html +11 -0
  72. data/spec/test-site/.themes/classic/source/_includes/twitter_sharing.html +11 -0
  73. data/spec/test-site/.themes/classic/source/_layouts/category_index.html +17 -0
  74. data/spec/test-site/.themes/classic/source/_layouts/default.html +14 -0
  75. data/spec/test-site/.themes/classic/source/_layouts/page.html +42 -0
  76. data/spec/test-site/.themes/classic/source/_layouts/post.html +43 -0
  77. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/background.png +0 -0
  78. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/blankButton.png +0 -0
  79. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/divider.png +0 -0
  80. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/fullscreenButton.png +0 -0
  81. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/fullscreenButtonOver.png +0 -0
  82. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/muteButton.png +0 -0
  83. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/muteButtonOver.png +0 -0
  84. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/normalscreenButton.png +0 -0
  85. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/normalscreenButtonOver.png +0 -0
  86. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/pauseButton.png +0 -0
  87. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/pauseButtonOver.png +0 -0
  88. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/playButton.png +0 -0
  89. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/playButtonOver.png +0 -0
  90. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderBuffer.png +0 -0
  91. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderCapLeft.png +0 -0
  92. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderCapRight.png +0 -0
  93. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderProgress.png +0 -0
  94. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderRail.png +0 -0
  95. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/unmuteButton.png +0 -0
  96. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/unmuteButtonOver.png +0 -0
  97. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/display/background.png +0 -0
  98. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/display/bufferIcon.png +0 -0
  99. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/display/muteIcon.png +0 -0
  100. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/display/playIcon.png +0 -0
  101. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/dock/button.png +0 -0
  102. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/glow.xml +115 -0
  103. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/playlist/item.png +0 -0
  104. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/playlist/itemOver.png +0 -0
  105. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/playlist/sliderCapBottom.png +0 -0
  106. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/playlist/sliderCapTop.png +0 -0
  107. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/playlist/sliderRail.png +0 -0
  108. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/playlist/sliderThumb.png +0 -0
  109. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/sharing/embedIcon.png +0 -0
  110. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/sharing/embedScreen.png +0 -0
  111. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/sharing/shareIcon.png +0 -0
  112. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/sharing/shareScreen.png +0 -0
  113. data/spec/test-site/.themes/classic/source/assets/jwplayer/player.swf +0 -0
  114. data/spec/test-site/.themes/classic/source/atom.xml +27 -0
  115. data/spec/test-site/.themes/classic/source/blog/archives/index.html +18 -0
  116. data/spec/test-site/.themes/classic/source/favicon.png +0 -0
  117. data/spec/test-site/.themes/classic/source/images/bird_32_gray.png +0 -0
  118. data/spec/test-site/.themes/classic/source/images/bird_32_gray_fail.png +0 -0
  119. data/spec/test-site/.themes/classic/source/images/code_bg.png +0 -0
  120. data/spec/test-site/.themes/classic/source/images/dotted-border.png +0 -0
  121. data/spec/test-site/.themes/classic/source/images/email.png +0 -0
  122. data/spec/test-site/.themes/classic/source/images/line-tile.png +0 -0
  123. data/spec/test-site/.themes/classic/source/images/noise.png +0 -0
  124. data/spec/test-site/.themes/classic/source/images/rss.png +0 -0
  125. data/spec/test-site/.themes/classic/source/images/search.png +0 -0
  126. data/spec/test-site/.themes/classic/source/index.html +29 -0
  127. data/spec/test-site/.themes/classic/source/javascripts/ender.js +45 -0
  128. data/spec/test-site/.themes/classic/source/javascripts/github.js +37 -0
  129. data/spec/test-site/.themes/classic/source/javascripts/libs/ender.js +1497 -0
  130. data/spec/test-site/.themes/classic/source/javascripts/libs/jXHR.js +85 -0
  131. data/spec/test-site/.themes/classic/source/javascripts/libs/swfobject-dynamic.js +298 -0
  132. data/spec/test-site/.themes/classic/source/javascripts/modernizr-2.0.js +5 -0
  133. data/spec/test-site/.themes/classic/source/javascripts/octopress.js +161 -0
  134. data/spec/test-site/.themes/classic/source/javascripts/pinboard.js +56 -0
  135. data/spec/test-site/.themes/classic/source/javascripts/twitter.js +78 -0
  136. data/spec/test-site/CHANGELOG.markdown +29 -0
  137. data/spec/test-site/Gemfile +18 -0
  138. data/spec/test-site/Gemfile.lock +69 -0
  139. data/spec/test-site/README.markdown +36 -0
  140. data/spec/test-site/Rakefile +379 -0
  141. data/spec/test-site/_config.yml +99 -0
  142. data/spec/test-site/config.rb +16 -0
  143. data/spec/test-site/config.ru +25 -0
  144. data/spec/test-site/plugins/backtick_code_block.rb +43 -0
  145. data/spec/test-site/plugins/blockquote.rb +83 -0
  146. data/spec/test-site/plugins/category_generator.rb +174 -0
  147. data/spec/test-site/plugins/code_block.rb +98 -0
  148. data/spec/test-site/plugins/date.rb +98 -0
  149. data/spec/test-site/plugins/gist_tag.rb +100 -0
  150. data/spec/test-site/plugins/haml.rb +24 -0
  151. data/spec/test-site/plugins/image_tag.rb +50 -0
  152. data/spec/test-site/plugins/include_array.rb +58 -0
  153. data/spec/test-site/plugins/include_code.rb +73 -0
  154. data/spec/test-site/plugins/jsfiddle.rb +40 -0
  155. data/spec/test-site/plugins/octopress_filters.rb +135 -0
  156. data/spec/test-site/plugins/pagination.rb +121 -0
  157. data/spec/test-site/plugins/post_filters.rb +176 -0
  158. data/spec/test-site/plugins/preview_unpublished.rb +48 -0
  159. data/spec/test-site/plugins/pullquote.rb +45 -0
  160. data/spec/test-site/plugins/pygments_code.rb +41 -0
  161. data/spec/test-site/plugins/raw.rb +40 -0
  162. data/spec/test-site/plugins/render_partial.rb +69 -0
  163. data/spec/test-site/plugins/rubypants.rb +489 -0
  164. data/spec/test-site/plugins/sitemap_generator.rb +312 -0
  165. data/spec/test-site/plugins/titlecase.rb +36 -0
  166. data/spec/test-site/plugins/video_tag.rb +47 -0
  167. data/spec/test-site/public/assets/jwplayer/glow/controlbar/background.png +0 -0
  168. data/spec/test-site/public/assets/jwplayer/glow/controlbar/blankButton.png +0 -0
  169. data/spec/test-site/public/assets/jwplayer/glow/controlbar/divider.png +0 -0
  170. data/spec/test-site/public/assets/jwplayer/glow/controlbar/fullscreenButton.png +0 -0
  171. data/spec/test-site/public/assets/jwplayer/glow/controlbar/fullscreenButtonOver.png +0 -0
  172. data/spec/test-site/public/assets/jwplayer/glow/controlbar/muteButton.png +0 -0
  173. data/spec/test-site/public/assets/jwplayer/glow/controlbar/muteButtonOver.png +0 -0
  174. data/spec/test-site/public/assets/jwplayer/glow/controlbar/normalscreenButton.png +0 -0
  175. data/spec/test-site/public/assets/jwplayer/glow/controlbar/normalscreenButtonOver.png +0 -0
  176. data/spec/test-site/public/assets/jwplayer/glow/controlbar/pauseButton.png +0 -0
  177. data/spec/test-site/public/assets/jwplayer/glow/controlbar/pauseButtonOver.png +0 -0
  178. data/spec/test-site/public/assets/jwplayer/glow/controlbar/playButton.png +0 -0
  179. data/spec/test-site/public/assets/jwplayer/glow/controlbar/playButtonOver.png +0 -0
  180. data/spec/test-site/public/assets/jwplayer/glow/controlbar/timeSliderBuffer.png +0 -0
  181. data/spec/test-site/public/assets/jwplayer/glow/controlbar/timeSliderCapLeft.png +0 -0
  182. data/spec/test-site/public/assets/jwplayer/glow/controlbar/timeSliderCapRight.png +0 -0
  183. data/spec/test-site/public/assets/jwplayer/glow/controlbar/timeSliderProgress.png +0 -0
  184. data/spec/test-site/public/assets/jwplayer/glow/controlbar/timeSliderRail.png +0 -0
  185. data/spec/test-site/public/assets/jwplayer/glow/controlbar/unmuteButton.png +0 -0
  186. data/spec/test-site/public/assets/jwplayer/glow/controlbar/unmuteButtonOver.png +0 -0
  187. data/spec/test-site/public/assets/jwplayer/glow/display/background.png +0 -0
  188. data/spec/test-site/public/assets/jwplayer/glow/display/bufferIcon.png +0 -0
  189. data/spec/test-site/public/assets/jwplayer/glow/display/muteIcon.png +0 -0
  190. data/spec/test-site/public/assets/jwplayer/glow/display/playIcon.png +0 -0
  191. data/spec/test-site/public/assets/jwplayer/glow/dock/button.png +0 -0
  192. data/spec/test-site/public/assets/jwplayer/glow/glow.xml +115 -0
  193. data/spec/test-site/public/assets/jwplayer/glow/playlist/item.png +0 -0
  194. data/spec/test-site/public/assets/jwplayer/glow/playlist/itemOver.png +0 -0
  195. data/spec/test-site/public/assets/jwplayer/glow/playlist/sliderCapBottom.png +0 -0
  196. data/spec/test-site/public/assets/jwplayer/glow/playlist/sliderCapTop.png +0 -0
  197. data/spec/test-site/public/assets/jwplayer/glow/playlist/sliderRail.png +0 -0
  198. data/spec/test-site/public/assets/jwplayer/glow/playlist/sliderThumb.png +0 -0
  199. data/spec/test-site/public/assets/jwplayer/glow/sharing/embedIcon.png +0 -0
  200. data/spec/test-site/public/assets/jwplayer/glow/sharing/embedScreen.png +0 -0
  201. data/spec/test-site/public/assets/jwplayer/glow/sharing/shareIcon.png +0 -0
  202. data/spec/test-site/public/assets/jwplayer/glow/sharing/shareScreen.png +0 -0
  203. data/spec/test-site/public/assets/jwplayer/player.swf +0 -0
  204. data/spec/test-site/public/atom.xml +27 -0
  205. data/spec/test-site/public/blog/2012/10/02/a-list-of-links/index.html +196 -0
  206. data/spec/test-site/public/blog/archives/index.html +149 -0
  207. data/spec/test-site/public/favicon.png +0 -0
  208. data/spec/test-site/public/images/bird_32_gray.png +0 -0
  209. data/spec/test-site/public/images/bird_32_gray_fail.png +0 -0
  210. data/spec/test-site/public/images/code_bg.png +0 -0
  211. data/spec/test-site/public/images/dotted-border.png +0 -0
  212. data/spec/test-site/public/images/email.png +0 -0
  213. data/spec/test-site/public/images/line-tile.png +0 -0
  214. data/spec/test-site/public/images/noise.png +0 -0
  215. data/spec/test-site/public/images/rss.png +0 -0
  216. data/spec/test-site/public/images/search.png +0 -0
  217. data/spec/test-site/public/index.html +165 -0
  218. data/spec/test-site/public/javascripts/ender.js +45 -0
  219. data/spec/test-site/public/javascripts/github.js +37 -0
  220. data/spec/test-site/public/javascripts/libs/ender.js +1497 -0
  221. data/spec/test-site/public/javascripts/libs/jXHR.js +85 -0
  222. data/spec/test-site/public/javascripts/libs/swfobject-dynamic.js +298 -0
  223. data/spec/test-site/public/javascripts/modernizr-2.0.js +5 -0
  224. data/spec/test-site/public/javascripts/octopress.js +161 -0
  225. data/spec/test-site/public/javascripts/pinboard.js +56 -0
  226. data/spec/test-site/public/javascripts/twitter.js +78 -0
  227. data/spec/test-site/public/sitemap.xml +15 -0
  228. data/spec/test-site/public/stylesheets/screen.css +1 -0
  229. data/spec/test-site/sass/_base.scss +5 -0
  230. data/spec/test-site/sass/_partials.scss +8 -0
  231. data/spec/test-site/sass/base/_layout.scss +192 -0
  232. data/spec/test-site/sass/base/_solarized.scss +46 -0
  233. data/spec/test-site/sass/base/_theme.scss +86 -0
  234. data/spec/test-site/sass/base/_typography.scss +161 -0
  235. data/spec/test-site/sass/base/_utilities.scss +28 -0
  236. data/spec/test-site/sass/custom/_colors.scss +43 -0
  237. data/spec/test-site/sass/custom/_fonts.scss +10 -0
  238. data/spec/test-site/sass/custom/_layout.scss +21 -0
  239. data/spec/test-site/sass/custom/_styles.scss +2 -0
  240. data/spec/test-site/sass/partials/_archive.scss +72 -0
  241. data/spec/test-site/sass/partials/_blog.scss +141 -0
  242. data/spec/test-site/sass/partials/_footer.scss +19 -0
  243. data/spec/test-site/sass/partials/_header.scss +18 -0
  244. data/spec/test-site/sass/partials/_navigation.scss +137 -0
  245. data/spec/test-site/sass/partials/_sharing.scss +8 -0
  246. data/spec/test-site/sass/partials/_sidebar.scss +5 -0
  247. data/spec/test-site/sass/partials/_syntax.scss +253 -0
  248. data/spec/test-site/sass/partials/sidebar/_base.scss +106 -0
  249. data/spec/test-site/sass/partials/sidebar/_delicious.scss +4 -0
  250. data/spec/test-site/sass/partials/sidebar/_googleplus.scss +26 -0
  251. data/spec/test-site/sass/partials/sidebar/_pinboard.scss +12 -0
  252. data/spec/test-site/sass/partials/sidebar/_twitter.scss +34 -0
  253. data/spec/test-site/sass/screen.scss +10 -0
  254. data/spec/test-site/source/_includes/after_footer.html +5 -0
  255. data/spec/test-site/source/_includes/archive_post.html +8 -0
  256. data/spec/test-site/source/_includes/article.html +28 -0
  257. data/spec/test-site/source/_includes/asides/delicious.html +8 -0
  258. data/spec/test-site/source/_includes/asides/github.html +30 -0
  259. data/spec/test-site/source/_includes/asides/googleplus.html +11 -0
  260. data/spec/test-site/source/_includes/asides/pinboard.html +19 -0
  261. data/spec/test-site/source/_includes/asides/recent_posts.html +10 -0
  262. data/spec/test-site/source/_includes/asides/twitter.html +19 -0
  263. data/spec/test-site/source/_includes/custom/after_footer.html +3 -0
  264. data/spec/test-site/source/_includes/custom/asides/about.html +4 -0
  265. data/spec/test-site/source/_includes/custom/category_feed.xml +27 -0
  266. data/spec/test-site/source/_includes/custom/footer.html +4 -0
  267. data/spec/test-site/source/_includes/custom/head.html +3 -0
  268. data/spec/test-site/source/_includes/custom/header.html +6 -0
  269. data/spec/test-site/source/_includes/custom/navigation.html +4 -0
  270. data/spec/test-site/source/_includes/disqus.html +21 -0
  271. data/spec/test-site/source/_includes/facebook_like.html +10 -0
  272. data/spec/test-site/source/_includes/footer.html +1 -0
  273. data/spec/test-site/source/_includes/google_analytics.html +13 -0
  274. data/spec/test-site/source/_includes/google_plus_one.html +9 -0
  275. data/spec/test-site/source/_includes/head.html +29 -0
  276. data/spec/test-site/source/_includes/header.html +1 -0
  277. data/spec/test-site/source/_includes/navigation.html +15 -0
  278. data/spec/test-site/source/_includes/post/author.html +8 -0
  279. data/spec/test-site/source/_includes/post/categories.html +10 -0
  280. data/spec/test-site/source/_includes/post/date.html +15 -0
  281. data/spec/test-site/source/_includes/post/disqus_thread.html +1 -0
  282. data/spec/test-site/source/_includes/post/sharing.html +11 -0
  283. data/spec/test-site/source/_includes/twitter_sharing.html +11 -0
  284. data/spec/test-site/source/_layouts/category_index.html +17 -0
  285. data/spec/test-site/source/_layouts/default.html +14 -0
  286. data/spec/test-site/source/_layouts/page.html +42 -0
  287. data/spec/test-site/source/_layouts/post.html +43 -0
  288. data/spec/test-site/source/_posts/2012-10-02-a-list-of-links.markdown +11 -0
  289. data/spec/test-site/source/assets/jwplayer/glow/controlbar/background.png +0 -0
  290. data/spec/test-site/source/assets/jwplayer/glow/controlbar/blankButton.png +0 -0
  291. data/spec/test-site/source/assets/jwplayer/glow/controlbar/divider.png +0 -0
  292. data/spec/test-site/source/assets/jwplayer/glow/controlbar/fullscreenButton.png +0 -0
  293. data/spec/test-site/source/assets/jwplayer/glow/controlbar/fullscreenButtonOver.png +0 -0
  294. data/spec/test-site/source/assets/jwplayer/glow/controlbar/muteButton.png +0 -0
  295. data/spec/test-site/source/assets/jwplayer/glow/controlbar/muteButtonOver.png +0 -0
  296. data/spec/test-site/source/assets/jwplayer/glow/controlbar/normalscreenButton.png +0 -0
  297. data/spec/test-site/source/assets/jwplayer/glow/controlbar/normalscreenButtonOver.png +0 -0
  298. data/spec/test-site/source/assets/jwplayer/glow/controlbar/pauseButton.png +0 -0
  299. data/spec/test-site/source/assets/jwplayer/glow/controlbar/pauseButtonOver.png +0 -0
  300. data/spec/test-site/source/assets/jwplayer/glow/controlbar/playButton.png +0 -0
  301. data/spec/test-site/source/assets/jwplayer/glow/controlbar/playButtonOver.png +0 -0
  302. data/spec/test-site/source/assets/jwplayer/glow/controlbar/timeSliderBuffer.png +0 -0
  303. data/spec/test-site/source/assets/jwplayer/glow/controlbar/timeSliderCapLeft.png +0 -0
  304. data/spec/test-site/source/assets/jwplayer/glow/controlbar/timeSliderCapRight.png +0 -0
  305. data/spec/test-site/source/assets/jwplayer/glow/controlbar/timeSliderProgress.png +0 -0
  306. data/spec/test-site/source/assets/jwplayer/glow/controlbar/timeSliderRail.png +0 -0
  307. data/spec/test-site/source/assets/jwplayer/glow/controlbar/unmuteButton.png +0 -0
  308. data/spec/test-site/source/assets/jwplayer/glow/controlbar/unmuteButtonOver.png +0 -0
  309. data/spec/test-site/source/assets/jwplayer/glow/display/background.png +0 -0
  310. data/spec/test-site/source/assets/jwplayer/glow/display/bufferIcon.png +0 -0
  311. data/spec/test-site/source/assets/jwplayer/glow/display/muteIcon.png +0 -0
  312. data/spec/test-site/source/assets/jwplayer/glow/display/playIcon.png +0 -0
  313. data/spec/test-site/source/assets/jwplayer/glow/dock/button.png +0 -0
  314. data/spec/test-site/source/assets/jwplayer/glow/glow.xml +115 -0
  315. data/spec/test-site/source/assets/jwplayer/glow/playlist/item.png +0 -0
  316. data/spec/test-site/source/assets/jwplayer/glow/playlist/itemOver.png +0 -0
  317. data/spec/test-site/source/assets/jwplayer/glow/playlist/sliderCapBottom.png +0 -0
  318. data/spec/test-site/source/assets/jwplayer/glow/playlist/sliderCapTop.png +0 -0
  319. data/spec/test-site/source/assets/jwplayer/glow/playlist/sliderRail.png +0 -0
  320. data/spec/test-site/source/assets/jwplayer/glow/playlist/sliderThumb.png +0 -0
  321. data/spec/test-site/source/assets/jwplayer/glow/sharing/embedIcon.png +0 -0
  322. data/spec/test-site/source/assets/jwplayer/glow/sharing/embedScreen.png +0 -0
  323. data/spec/test-site/source/assets/jwplayer/glow/sharing/shareIcon.png +0 -0
  324. data/spec/test-site/source/assets/jwplayer/glow/sharing/shareScreen.png +0 -0
  325. data/spec/test-site/source/assets/jwplayer/player.swf +0 -0
  326. data/spec/test-site/source/atom.xml +27 -0
  327. data/spec/test-site/source/blog/archives/index.html +18 -0
  328. data/spec/test-site/source/favicon.png +0 -0
  329. data/spec/test-site/source/images/bird_32_gray.png +0 -0
  330. data/spec/test-site/source/images/bird_32_gray_fail.png +0 -0
  331. data/spec/test-site/source/images/code_bg.png +0 -0
  332. data/spec/test-site/source/images/dotted-border.png +0 -0
  333. data/spec/test-site/source/images/email.png +0 -0
  334. data/spec/test-site/source/images/line-tile.png +0 -0
  335. data/spec/test-site/source/images/noise.png +0 -0
  336. data/spec/test-site/source/images/rss.png +0 -0
  337. data/spec/test-site/source/images/search.png +0 -0
  338. data/spec/test-site/source/index.html +29 -0
  339. data/spec/test-site/source/javascripts/ender.js +45 -0
  340. data/spec/test-site/source/javascripts/github.js +37 -0
  341. data/spec/test-site/source/javascripts/libs/ender.js +1497 -0
  342. data/spec/test-site/source/javascripts/libs/jXHR.js +85 -0
  343. data/spec/test-site/source/javascripts/libs/swfobject-dynamic.js +298 -0
  344. data/spec/test-site/source/javascripts/modernizr-2.0.js +5 -0
  345. data/spec/test-site/source/javascripts/octopress.js +161 -0
  346. data/spec/test-site/source/javascripts/pinboard.js +56 -0
  347. data/spec/test-site/source/javascripts/twitter.js +78 -0
  348. metadata +475 -0
@@ -0,0 +1,19 @@
1
+ body > footer {
2
+ @extend .sans;
3
+ font-size: .8em;
4
+ color: $footer-color;
5
+ text-shadow: lighten($footer-bg, 5) 0 1px;
6
+ background-color: $footer-bg;
7
+ @include background($footer-bg-front, $footer-bg-back);
8
+ border-top: 1px solid $footer-border-top;
9
+ position: relative;
10
+ padding-top: 1em;
11
+ padding-bottom: 1em;
12
+ margin-bottom: 3em;
13
+ @include border-bottom-radius(.4em);
14
+ z-index: 1;
15
+ a {
16
+ @include link-colors($footer-link-color, $footer-link-color-hover, $visited: $footer-link-color);
17
+ }
18
+ p:last-child { margin-bottom: 0; }
19
+ }
@@ -0,0 +1,18 @@
1
+ body > header {
2
+ background: $header-bg;
3
+ h1 {
4
+ display: inline-block;
5
+ margin: 0;
6
+ a, a:visited, a:hover {
7
+ color: $title_color;
8
+ text-decoration: none;
9
+ }
10
+ }
11
+ h2 {
12
+ margin: .2em 0 0;
13
+ @extend .sans;
14
+ font-size: 1em;
15
+ color: $subtitle-color;
16
+ font-weight: normal;
17
+ }
18
+ }
@@ -0,0 +1,137 @@
1
+ body > nav {
2
+ position: relative;
3
+ background-color: $nav-bg;
4
+ @include background($nav-bg-front, $nav-bg-back);
5
+ border: {
6
+ top: 1px solid $nav-border-top;
7
+ bottom: 1px solid $nav-border-bottom; }
8
+ padding-top: .35em;
9
+ padding-bottom: .35em;
10
+ form {
11
+ @include background-clip(padding-box);
12
+ margin: 0; padding: 0;
13
+ .search {
14
+ padding: .3em .5em 0;
15
+ font-size: .85em;
16
+ font-family: $sans;
17
+ line-height: 1.1em;
18
+ width: 95%;
19
+ @include border-radius(.5em);
20
+ @include background-clip(padding-box);
21
+ @include box-shadow(lighten($nav-bg, 2) 0 1px);
22
+ background-color: lighten($nav-bg, 15);
23
+ border: 1px solid $nav-border;
24
+ color: #888;
25
+ &:focus {
26
+ color: #444;
27
+ border-color: #80b1df;
28
+ @include box-shadow(#80b1df 0 0 4px, #80b1df 0 0 3px inset);
29
+ background-color: #fff;
30
+ outline: none;
31
+ }
32
+ }
33
+ }
34
+ fieldset[role=search]{ float: right; width: 48%; }
35
+ fieldset.mobile-nav{ float: left; width: 48%;
36
+ select{ width: 100%; font-size: .8em; border: 1px solid #888;}
37
+ }
38
+ ul { display: none; }
39
+ @media only screen and (min-width: 550px) {
40
+ font-size: .9em;
41
+ ul {
42
+ @include horizontal-list(0);
43
+ float: left;
44
+ display: block;
45
+ padding-top: .15em;
46
+ }
47
+ ul.subscription {
48
+ margin-left: .8em;
49
+ float: right;
50
+ li:last-child a { padding-right: 0; }
51
+ }
52
+ ul li {
53
+ margin: 0;
54
+ }
55
+ a {
56
+ @include link-colors($nav-color, $nav-color-hover, $visited: $nav-color);
57
+ font-family: $sans;
58
+ text-shadow: lighten($nav-bg, 12) 0 1px;
59
+ float: left;
60
+ text-decoration: none;
61
+ font-size: 1.1em;
62
+ padding: .1em 0;
63
+ line-height: 1.5em;
64
+ }
65
+ li + li {
66
+ border-left: 1px solid $nav-border-left;
67
+ margin-left: .8em;
68
+ a {
69
+ padding-left: .8em;
70
+ border-left: 1px solid $nav-border-right;
71
+ }
72
+ }
73
+ form {
74
+ float: right;
75
+ text-align: left;
76
+ padding-left: .8em;
77
+ width: $sidebar-width-medium - $pad-medium*2 - $sidebar-pad-medium + 20px;
78
+ .search {
79
+ width: 93%;
80
+ font-size: .95em;
81
+ line-height: 1.2em;
82
+ }
83
+ }
84
+ ul[data-subscription$=email] + form {
85
+ width: $sidebar-width-medium - $pad-medium*2 - $sidebar-pad-medium - 58px;
86
+ .search { width: 91%; }
87
+ }
88
+ fieldset.mobile-nav { display: none; }
89
+ fieldset[role=search]{ width: 99%; }
90
+ }
91
+ @media only screen and (min-width: 992px) {
92
+ form {
93
+ width: $sidebar-width-wide - $pad-wide - $sidebar-pad-wide*2 + 10px;
94
+ }
95
+ ul[data-subscription$=email] + form {
96
+ width: $sidebar-width-wide - $pad-wide - $sidebar-pad-wide*2 - 58px;
97
+ }
98
+ }
99
+ }
100
+ .no-placeholder {
101
+ body > nav .search {
102
+ background: lighten($nav-bg, 15) image-url('search.png') .3em .25em no-repeat;
103
+ text-indent: 1.3em;
104
+ }
105
+ }
106
+ @mixin mask-subscription-nav($feed: 'rss.png'){
107
+ position: relative; top: 0px;
108
+ text-indent: -999999em;
109
+ background-color: $nav-border-right;
110
+ border: 0;
111
+ padding: 0;
112
+ &,&:after { @include mask-image($feed); }
113
+ &:after {
114
+ content: "";
115
+ position: absolute; top: -1px; left: 0;
116
+ background-color: lighten($nav-color, 25);
117
+ }
118
+ &:hover:after { background-color: lighten($nav-color, 20); }
119
+ }
120
+ .maskImage {
121
+ body > nav {
122
+ @media only screen and (min-width: 550px) {
123
+ ul[data-subscription$=email] + form {
124
+ width: $sidebar-width-medium - $pad-medium*2 - $sidebar-pad-medium - 32px;
125
+ }
126
+ }
127
+ @media only screen and (min-width: 992px) {
128
+ ul[data-subscription$=email] + form {
129
+ width: $sidebar-width-wide - $pad-wide - $sidebar-pad-wide*2 - 32px;
130
+ }
131
+ }
132
+ }
133
+ ul.subscription { position: relative; top: .2em; li, a { border: 0; padding: 0; }}
134
+ a[rel=subscribe-rss]{ @include mask-subscription-nav('rss.png'); }
135
+ a[rel=subscribe-email]{ @include mask-subscription-nav('email.png'); }
136
+ }
137
+
@@ -0,0 +1,8 @@
1
+ .sharing {
2
+ p.meta + & {
3
+ padding: { top: 1em; left: 0; }
4
+ background: $img-border top left repeat-x;
5
+ }
6
+ }
7
+
8
+ #fb-root { display: none; }
@@ -0,0 +1,5 @@
1
+ @import "sidebar/base";
2
+ @import "sidebar/twitter";
3
+ @import "sidebar/googleplus";
4
+ @import "sidebar/pinboard";
5
+ @import "sidebar/delicious";
@@ -0,0 +1,253 @@
1
+ .highlight, html .gist .gist-file .gist-syntax .gist-highlight {
2
+ table td.code { width: 100%; }
3
+ .line-numbers {
4
+ text-align: right;
5
+ font-size: 13px;
6
+ line-height: 1.45em;
7
+ @if $solarized == light {
8
+ background: lighten($base03, 1) $noise-bg !important;
9
+ border-right: 1px solid darken($base02, 2) !important;
10
+ @include box-shadow(lighten($base03, 2) -1px 0 inset);
11
+ text-shadow: lighten($base02, 2) 0 -1px;
12
+ } @else {
13
+ background: $base02 $noise-bg !important;
14
+ border-right: 1px solid darken($base03, 2) !important;
15
+ @include box-shadow(lighten($base02, 2) -1px 0 inset);
16
+ text-shadow: darken($base02, 10) 0 -1px;
17
+ }
18
+ span { color: $base01 !important; }
19
+ padding: .8em !important;
20
+ @include border-radius(0);
21
+ }
22
+ border: 1px solid $pre-border !important;
23
+ }
24
+ figure.code, .gist-file, pre {
25
+ @include box-shadow(rgba(#000, .06) 0 0 10px);
26
+ .highlight pre { @include box-shadow(none); }
27
+ }
28
+
29
+ html .gist .gist-file {
30
+ margin-bottom: 1.8em;
31
+ position: relative;
32
+ border: none;
33
+ padding-top: image-height("code_bg.png") !important;
34
+ .gist-syntax {
35
+ border-bottom: 0 !important;
36
+ background: none !important;
37
+ .gist-highlight{
38
+ background: $base03 !important;
39
+ pre {
40
+ @extend .pre-code;
41
+ }
42
+ }
43
+ }
44
+ .gist-meta {
45
+ padding: .6em 0.8em;
46
+ border: 1px solid lighten($base02, 2) !important;
47
+ color: $base01;
48
+ font-size: .7em !important;
49
+ @if $solarized == light {
50
+ background: lighten($base03, 2) $noise-bg;
51
+ border: 1px solid $pre-border !important;
52
+ border-top: 1px solid lighten($base03, 2) !important;
53
+ } @else {
54
+ background: $base02 $noise-bg;
55
+ }
56
+ @extend .sans;
57
+ line-height: 1.5em;
58
+ a {
59
+ color: mix($base1, $base01) !important;
60
+ @include hover-link;
61
+ &:hover { color: $base1 !important; }
62
+ }
63
+ a[href*='#file'] {
64
+ position: absolute; top: 0; left:0; right:-10px;
65
+ color: #474747 !important;
66
+ @extend .code-title;
67
+ &:hover { color: $link-color !important; }
68
+ }
69
+ a[href*=raw]{
70
+ @extend .download-source;
71
+ top: .4em;
72
+ }
73
+ }
74
+ }
75
+ pre {
76
+ background: $pre-bg $noise-bg;
77
+ @include border-radius(.4em);
78
+ @extend .mono;
79
+ border: 1px solid $pre-border;
80
+ line-height: 1.45em;
81
+ font-size: 13px;
82
+ margin-bottom: 2.1em;
83
+ padding: .8em 1em;
84
+ color: $pre-color;
85
+ overflow: auto;
86
+ }
87
+ h3.filename {
88
+ @extend .code-title;
89
+ + pre { @include border-top-radius(0px); }
90
+ }
91
+
92
+ p, li {
93
+ code {
94
+ @extend .mono;
95
+ display: inline-block;
96
+ white-space: no-wrap;
97
+ background: #fff;
98
+ font-size: .8em;
99
+ line-height: 1.5em;
100
+ color: #555;
101
+ border: 1px solid #ddd;
102
+ @include border-radius(.4em);
103
+ padding: 0 .3em;
104
+ margin: -1px 0;
105
+ }
106
+ pre code { font-size: 1em !important; background: none; border: none; }
107
+ }
108
+
109
+ .pre-code {
110
+ @include selection(adjust-color($base03, $lightness: 23%, $saturation: -65%), $text-shadow: $base03 0 1px);
111
+ font-family: $mono !important;
112
+ overflow: scroll;
113
+ overflow-y: hidden;
114
+ display: block;
115
+ padding: .8em !important;
116
+ overflow-x: auto;
117
+ line-height: 1.45em;
118
+ background: $base03 $noise-bg !important;
119
+ color: $base1 !important;
120
+ span { color: $base1 !important; }
121
+ span { font-style: normal !important; font-weight: normal !important; }
122
+
123
+ .c { color: $base01 !important; font-style: italic !important; } /* Comment */
124
+ .cm { color: $base01 !important; font-style: italic !important; } /* Comment.Multiline */
125
+ .cp { color: $base01 !important; font-style: italic !important; } /* Comment.Preproc */
126
+ .c1 { color: $base01 !important; font-style: italic !important; } /* Comment.Single */
127
+ .cs { color: $base01 !important; font-weight: bold !important; font-style: italic !important; } /* Comment.Special */
128
+ .err { color: $solar-red !important; background: none !important; } /* Error */
129
+ .k { color: $solar-orange !important; } /* Keyword */
130
+ .o { color: $base1 !important; font-weight: bold !important; } /* Operator */
131
+ .p { color: $base1 !important; } /* Operator */
132
+ .ow { color: $solar-cyan !important; font-weight: bold !important; } /* Operator.Word */
133
+ .gd { color: $base1 !important; background-color: mix($solar-red, $base03, 25%) !important; display: inline-block; } /* Generic.Deleted */
134
+ .gd .x { color: $base1 !important; background-color: mix($solar-red, $base03, 35%) !important; display: inline-block; } /* Generic.Deleted.Specific */
135
+ .ge { color: $base1 !important; font-style: italic !important; } /* Generic.Emph */
136
+ //.gr { color: #aa0000 } /* Generic.Error */
137
+ .gh { color: $base01 !important; } /* Generic.Heading */
138
+ .gi { color: $base1 !important; background-color: mix($solar-green, $base03, 20%) !important; display: inline-block; } /* Generic.Inserted */
139
+ .gi .x { color: $base1 !important; background-color: mix($solar-green, $base03, 40%) !important; display: inline-block; } /* Generic.Inserted.Specific */
140
+ //.go { color: #888888 } /* Generic.Output */
141
+ //.gp { color: #555555 } /* Generic.Prompt */
142
+ .gs { color: $base1 !important; font-weight: bold !important; } /* Generic.Strong */
143
+ .gu { color: $solar-violet !important; } /* Generic.Subheading */
144
+ //.gt { color: #aa0000 } /* Generic.Traceback */
145
+ .kc { color: $solar-green !important; font-weight: bold !important; } /* Keyword.Constant */
146
+ .kd { color: $solar-blue !important; } /* Keyword.Declaration */
147
+ .kp { color: $solar-orange !important; font-weight: bold !important; } /* Keyword.Pseudo */
148
+ .kr { color: $solar-magenta !important; font-weight: bold !important; } /* Keyword.Reserved */
149
+ .kt { color: $solar-cyan !important; } /* Keyword.Type */
150
+ .n { color: $solar-blue !important; }
151
+ .na { color: $solar-blue !important; } /* Name.Attribute */
152
+ .nb { color: $solar-green !important; } /* Name.Builtin */
153
+ .nc { color: $solar-magenta !important;} /* Name.Class */
154
+ .no { color: $solar-yellow !important; } /* Name.Constant */
155
+ //.ni { color: #800080 } /* Name.Entity */
156
+ .nl { color: $solar-green !important; }
157
+ .ne { color: $solar-blue !important; font-weight: bold !important; } /* Name.Exception */
158
+ .nf { color: $solar-blue !important; font-weight: bold !important; } /* Name.Function */
159
+ .nn { color: $solar-yellow !important; } /* Name.Namespace */
160
+ .nt { color: $solar-blue !important; font-weight: bold !important; } /* Name.Tag */
161
+ .nx { color: $solar-yellow !Important; }
162
+ //.bp { color: #999999 } /* Name.Builtin.Pseudo */
163
+ //.vc { color: #008080 } /* Name.Variable.Class */
164
+ .vg { color: $solar-blue !important; } /* Name.Variable.Global */
165
+ .vi { color: $solar-blue !important; } /* Name.Variable.Instance */
166
+ .nv { color: $solar-blue !important; } /* Name.Variable */
167
+ //.w { color: #bbbbbb } /* Text.Whitespace */
168
+ .mf { color: $solar-cyan !important; } /* Literal.Number.Float */
169
+ .m { color: $solar-cyan !important; } /* Literal.Number */
170
+ .mh { color: $solar-cyan !important; } /* Literal.Number.Hex */
171
+ .mi { color: $solar-cyan !important; } /* Literal.Number.Integer */
172
+ //.mo { color: #009999 } /* Literal.Number.Oct */
173
+ .s { color: $solar-cyan !important; } /* Literal.String */
174
+ //.sb { color: #d14 } /* Literal.String.Backtick */
175
+ //.sc { color: #d14 } /* Literal.String.Char */
176
+ .sd { color: $solar-cyan !important; } /* Literal.String.Doc */
177
+ .s2 { color: $solar-cyan !important; } /* Literal.String.Double */
178
+ .se { color: $solar-red !important; } /* Literal.String.Escape */
179
+ //.sh { color: #d14 } /* Literal.String.Heredoc */
180
+ .si { color: $solar-blue !important; } /* Literal.String.Interpol */
181
+ //.sx { color: #d14 } /* Literal.String.Other */
182
+ .sr { color: $solar-cyan !important; } /* Literal.String.Regex */
183
+ .s1 { color: $solar-cyan !important; } /* Literal.String.Single */
184
+ //.ss { color: #990073 } /* Literal.String.Symbol */
185
+ //.il { color: #009999 } /* Literal.Number.Integer.Long */
186
+ div { .gd, .gd .x, .gi, .gi .x { display: inline-block; width: 100%; }}
187
+ }
188
+
189
+ .highlight, .gist-highlight {
190
+ pre { background: none; @include border-radius(none); border: none; padding: 0; margin-bottom: 0; }
191
+ margin-bottom: 1.8em;
192
+ background: $base03;
193
+ overflow-y: hidden;
194
+ overflow-x: auto;
195
+ }
196
+
197
+ $solar-scroll-bg: rgba(#fff, .15);
198
+ $solar-scroll-thumb: rgba(#fff, .2);
199
+ @if $solarized == light {
200
+ $solar-scroll-bg: rgba(#000, .15);
201
+ $solar-scroll-thumb: rgba(#000, .15);
202
+ }
203
+
204
+ pre, .highlight, .gist-highlight {
205
+ &::-webkit-scrollbar { height: .5em; background: $solar-scroll-bg; }
206
+ &::-webkit-scrollbar-thumb:horizontal { background: $solar-scroll-thumb; -webkit-border-radius: 4px; border-radius: 4px }
207
+ }
208
+
209
+ .highlight code { @extend .pre-code; background: #000;}
210
+ figure.code {
211
+ background: none;
212
+ padding: 0;
213
+ border: 0;
214
+ margin-bottom: 1.5em;
215
+ pre { margin-bottom: 0; }
216
+ figcaption {
217
+ position: relative;
218
+ @extend .code-title;
219
+ a { @extend .download-source; }
220
+ }
221
+ .highlight {
222
+ margin-bottom: 0;
223
+ }
224
+ }
225
+
226
+ .code-title {
227
+ text-align: center;
228
+ font-size: 13px;
229
+ line-height: 2em;
230
+ text-shadow: #cbcccc 0 1px 0;
231
+ color: #474747;
232
+ font-weight: normal;
233
+ margin-bottom: 0;
234
+ @include border-top-radius(5px);
235
+ font-family: "Helvetica Neue", Arial, "Lucida Grande", "Lucida Sans Unicode", Lucida, sans-serif;
236
+ background: #aaaaaa image-url("code_bg.png") top repeat-x;
237
+ border: 1px solid #565656;
238
+ border-top-color: #cbcbcb;
239
+ border-left-color: #a5a5a5;
240
+ border-right-color: #a5a5a5;
241
+ border-bottom: 0;
242
+ }
243
+
244
+ .download-source {
245
+ position: absolute; right: .8em;
246
+ @include hover-link;
247
+ color: #666 !important;
248
+ z-index: 1;
249
+ font-size: 13px;
250
+ text-shadow: #cbcccc 0 1px 0;
251
+ padding-left: 3em;
252
+ }
253
+
@@ -0,0 +1,106 @@
1
+ .side-shadow-border {
2
+ @include box-shadow(lighten($sidebar-bg, 5) 0 1px);
3
+ }
4
+ aside.sidebar {
5
+ overflow: hidden;
6
+ color: $sidebar-color;
7
+ text-shadow: lighten($sidebar-bg, 8) 0 1px;
8
+ a { @extend .force-wrap; }
9
+ section {
10
+ @extend .sans;
11
+ font-size: .8em;
12
+ line-height: 1.4em;
13
+ margin-bottom: 1.5em;
14
+ h1 {
15
+ margin: 1.5em 0 0;
16
+ padding-bottom: .2em;
17
+ border-bottom: 1px solid $sidebar-border;
18
+ @extend .side-shadow-border;
19
+ + p {
20
+ padding-top: .4em;
21
+ }
22
+ }
23
+ }
24
+ img {
25
+ @extend .flex-content;
26
+ @extend .basic-alignment;
27
+ @include shadow-box($border: #fff .3em solid);
28
+ }
29
+ ul {
30
+ margin-bottom: 0.5em;
31
+ margin-left: 0;
32
+ }
33
+ li {
34
+ list-style: none;
35
+ padding: .5em 0;
36
+ margin: 0;
37
+ border-bottom: 1px solid $sidebar-border;
38
+ @extend .side-shadow-border;
39
+ p:last-child {
40
+ margin-bottom: 0;
41
+ }
42
+ }
43
+ a {
44
+ color: inherit;
45
+ @include transition(color .5s);
46
+ }
47
+ &:hover a {
48
+ color: $sidebar-link-color;
49
+ &:hover { color: $sidebar-link-color-hover; }
50
+ }
51
+ }
52
+ .aside-alt-link {
53
+ color: $sidebar-link-color-subdued;
54
+ &:hover {
55
+ color: $sidebar-link-color-subdued-hover;
56
+ }
57
+ }
58
+
59
+ @media only screen and (min-width: 768px) {
60
+ .toggle-sidebar {
61
+ outline: none;
62
+ position: absolute; right: -10px; top: 0; bottom: 0;
63
+ display: inline-block;
64
+ text-decoration: none;
65
+ color: mix($text-color-light, $sidebar-bg);
66
+ width: 9px;
67
+ cursor: pointer;
68
+ &:hover {
69
+ background: mix($sidebar-border, $sidebar-bg);
70
+ @include background(linear-gradient(left, rgba($sidebar-border, .5), rgba($sidebar-border, 0)));
71
+ }
72
+ &:after {
73
+ position: absolute; right: -11px; top: 0;
74
+ width: 20px;
75
+ font-size: 1.2em;
76
+ line-height: 1.1em;
77
+ padding-bottom: .15em;
78
+ @include border-bottom-right-radius(.3em);
79
+ text-align: center;
80
+ background: $main-bg $noise-bg;
81
+ border-bottom: 1px solid $sidebar-border;
82
+ border-right: 1px solid $sidebar-border;
83
+ content: "\00BB";
84
+ text-indent: -1px;
85
+ }
86
+ .collapse-sidebar & {
87
+ text-indent: 0px;
88
+ right: -20px;
89
+ width: 19px;
90
+ &:hover {
91
+ background: mix($sidebar-border, $sidebar-bg);
92
+ }
93
+ &:after {
94
+ border-left: 1px solid $sidebar-border;
95
+ text-shadow: #fff 0 1px;
96
+ content: "\00AB";
97
+ left: 0px; right: 0;
98
+ text-align: center;
99
+ text-indent: 0;
100
+ border: 0;
101
+ border-right-width: 0;
102
+ background: none;
103
+ }
104
+ }
105
+ }
106
+ }