Skip to content
Permalink
Browse files

Beginning to get Solutions Log in place.

  • Loading branch information...
trey committed Sep 19, 2011
1 parent 44e4a99 commit 0c938a9453078e278ae683e566804b11f64553e3
Showing with 6,984 additions and 12 deletions.
  1. +29 −0 CHANGELOG
  2. +18 −0 README
  3. +2 −2 Rakefile
  4. +10 −10 _config.yml
  5. +5 −0 sass/_base.scss
  6. +8 −0 sass/_partials.scss
  7. +164 −0 sass/base/_layout.scss
  8. +34 −0 sass/base/_solarized.scss
  9. +82 −0 sass/base/_theme.scss
  10. +144 −0 sass/base/_typography.scss
  11. +28 −0 sass/base/_utilities.scss
  12. +38 −0 sass/custom/_colors.scss
  13. +17 −0 sass/custom/_layout.scss
  14. +2 −0 sass/custom/_styles.scss
  15. +72 −0 sass/partials/_archive.scss
  16. +142 −0 sass/partials/_blog.scss
  17. +19 −0 sass/partials/_footer.scss
  18. +18 −0 sass/partials/_header.scss
  19. +136 −0 sass/partials/_navigation.scss
  20. +6 −0 sass/partials/_sharing.scss
  21. +4 −0 sass/partials/_sidebar.scss
  22. +245 −0 sass/partials/_syntax.scss
  23. +105 −0 sass/partials/sidebar/_base.scss
  24. +4 −0 sass/partials/sidebar/_delicious.scss
  25. +12 −0 sass/partials/sidebar/_pinboard.scss
  26. +34 −0 sass/partials/sidebar/_twitter.scss
  27. +9 −0 sass/screen.scss
  28. +8 −0 source/_includes/archive_post.html
  29. +23 −0 source/_includes/article.html
  30. +7 −0 source/_includes/asides/delicious.html
  31. +30 −0 source/_includes/asides/github.html
  32. +19 −0 source/_includes/asides/pinboard.html
  33. +10 −0 source/_includes/asides/recent_posts.html
  34. +19 −0 source/_includes/asides/twitter.html
  35. +4 −0 source/_includes/custom/asides/about.html
  36. +4 −0 source/_includes/custom/footer.html
  37. +3 −0 source/_includes/custom/head.html
  38. +6 −0 source/_includes/custom/header.html
  39. +4 −0 source/_includes/custom/navigation.html
  40. +1 −0 source/_includes/footer.html
  41. +13 −0 source/_includes/google_analytics.html
  42. +9 −0 source/_includes/google_plus_one.html
  43. +30 −0 source/_includes/head.html
  44. +1 −0 source/_includes/header.html
  45. +13 −0 source/_includes/navigation.html
  46. +8 −0 source/_includes/post/author.html
  47. +10 −0 source/_includes/post/categories.html
  48. +12 −0 source/_includes/post/date.html
  49. +13 −0 source/_includes/post/disqus_thread.html
  50. +8 −0 source/_includes/post/sharing.html
  51. +11 −0 source/_includes/twitter_sharing.html
  52. +17 −0 source/_layouts/category_index.html
  53. +16 −0 source/_layouts/default.html
  54. +42 −0 source/_layouts/page.html
  55. +35 −0 source/_layouts/post.html
  56. +16 −0 source/_pages/about.markdown
  57. +42 −0 source/_posts/2006-09-20-date-formatting-in-ruby.markdown
  58. +7 −0 source/_posts/2006-09-20-functional-wp_shortstat.markdown
  59. +43 −0 source/_posts/2006-09-20-getting-markdown-to-work-with-django.markdown
  60. +28 −0 source/_posts/2006-09-21-ternary-operator.markdown
  61. +7 −0 ...you-hit-the-back-button-and-the-browser-remembers-where-you-were-scrolled-to-on-the-page.markdown
  62. +32 −0 source/_posts/2006-09-22-when-to-use-and-when-not-to-use-not-null-in-mysql.markdown
  63. +7 −0 source/_posts/2006-09-23-gmail-keyboard-shortcuts.markdown
  64. +15 −0 ...fter-a-validation-error-occurs-with-adding-or-editing-an-item-thats-dependent-on-another.markdown
  65. +9 −0 source/_posts/2006-09-25-the-difference-between-render-action-and-redirect_to-action.markdown
  66. +7 −0 source/_posts/2006-09-28-rest.markdown
  67. +14 −0 source/_posts/2006-09-30-image-uploads-in-django.markdown
  68. +27 −0 source/_posts/2006-10-01-image-upload-and-display-in-rails-using-file_column.markdown
  69. +8 −0 source/_posts/2006-10-01-rails-form-helpers.markdown
  70. +15 −0 source/_posts/2006-10-01-using-markdown-in-rails-apps-with-bluecloth.markdown
  71. +9 −0 source/_posts/2006-10-01-xhtml-vs-html.markdown
  72. +19 −0 source/_posts/2006-10-02-change-the-default-folder-for-file_column-to-store-images.markdown
  73. +11 −0 source/_posts/2006-10-02-things-i-want-to-do-with-file_column-or-something-else.markdown
  74. +9 −0 source/_posts/2006-10-05-adding-rel-attribute-to-rails-link_to.markdown
  75. +13 −0 source/_posts/2006-10-05-making-a-post-link-in-rails.markdown
  76. +21 −0 source/_posts/2006-10-08-using-subversion-to-upgrade-wordpress.markdown
  77. +7 −0 source/_posts/2006-10-09-ols-in-ie.markdown
  78. +35 −0 source/_posts/2006-10-11-basic-crud-using-rest-in-rails-incomplete.markdown
  79. +22 −0 source/_posts/2006-10-22-using-sqlite-with-rails.markdown
  80. +27 −0 source/_posts/2006-10-23-restful-form-validation.markdown
  81. +14 −0 source/_posts/2006-10-30-ie-and-absolute-positioning.markdown
  82. +11 −0 source/_posts/2006-11-01-deleting-changes-made-to-default-bundles-in-textmate.markdown
  83. +9 −0 source/_posts/2006-11-03-spellcheck-input-boxes-in-firefox-20.markdown
  84. +76 −0 source/_posts/2006-11-05-basic-crud-for-nested-elements-using-restful-rails.markdown
  85. +16 −0 source/_posts/2006-11-16-design-patterns.markdown
  86. +11 −0 source/_posts/2006-11-17-rails-on-dreamhost.markdown
  87. +15 −0 source/_posts/2006-11-28-changing-the-name-of-an-apps-cookie-in-rails.markdown
  88. +18 −0 source/_posts/2006-11-28-using-mysql-for-storing-rails-sessions.markdown
  89. +9 −0 source/_posts/2006-12-07-delete-photos-inside-an-album-in-iphoto.markdown
  90. +27 −0 source/_posts/2006-12-12-using-sqlite-in-memory-mode-for-rails-testing.markdown
  91. +18 −0 source/_posts/2006-12-17-how-to-set-up-photoshop-for-web.markdown
  92. +13 −0 source/_posts/2006-12-26-creating-a-web-archive-of-a-writeboard-in-yojimbo.markdown
  93. +15 −0 source/_posts/2006-12-27-optional-date-fields-in-django.markdown
  94. +14 −0 source/_posts/2006-12-27-pluralization-of-database-models-in-django.markdown
  95. +26 −0 source/_posts/2007-01-01-has_many-through.markdown
  96. +32 −0 source/_posts/2007-02-28-howto-upload-images-in-django.markdown
  97. +13 −0 source/_posts/2007-03-02-changing-part-of-a-string-in-sql-and-updating-the-table.markdown
  98. +11 −0 source/_posts/2007-05-06-restore-mysql-databases-from-a-hard-drive-backup.markdown
  99. +13 −0 ...osts/2007-05-06-restoring-keychain-passwords-including-transmit-from-a-hard-drive-backup.markdown
  100. +17 −0 source/_posts/2007-05-18-project-specific-self-closing-tags-in-textmate.markdown
  101. +13 −0 source/_posts/2007-05-22-how-to-color-code-headers-in-textmate-using-markdown.markdown
  102. +14 −0 source/_posts/2007-05-23-transfer-a-domain-name.markdown
  103. +80 −0 source/_posts/2007-06-26-setting-up-a-new-rails-project-in-subversion.markdown
  104. +33 −0 source/_posts/2007-07-04-related-select-dropdowns-in-rails-views.markdown
  105. +13 −0 source/_posts/2007-07-04-title-case-in-erb.markdown
  106. +25 −0 source/_posts/2007-09-22-php-frameworks.markdown
  107. +68 −0 source/_posts/2007-09-24-creating-basic-feeds-in-django.markdown
  108. +44 −0 source/_posts/2008-01-11-using-ssh-keys-for-password-free-logins-from-os-x.markdown
  109. +23 −0 source/_posts/2008-01-17-mysql-commands-you-should-have-committed-to-memory-already.markdown
  110. +19 −0 source/_posts/2008-02-15-turning-off-photoshops-automatic-generation-of-an-images-folder.markdown
  111. +9 −0 source/_posts/2008-02-23-regular-expressions-cheat-sheet.markdown
  112. +20 −0 source/_posts/2008-02-25-installing-git-on-os-x-leopard.markdown
  113. +107 −0 source/_posts/2008-02-26-installing-django-on-os-x-leopard.markdown
  114. +43 −0 source/_posts/2008-02-27-things-you-probably-want-to-install-to-get-the-most-out-of-django.markdown
  115. +32 −0 source/_posts/2008-03-06-django-template-system-basics.markdown
  116. +14 −0 source/_posts/2008-03-06-python-datatypes.markdown
  117. +42 −0 source/_posts/2008-03-11-use-djangos-permalink-decorator-with-generic-views.markdown
  118. +49 −0 source/_posts/2008-03-29-using-someone-elses-svn-repository-with-git.markdown
  119. +34 −0 source/_posts/2008-05-19-starting-a-magento-theme.markdown
  120. +104 −0 source/_posts/2008-05-28-installing-wordpress-the-right-way.markdown
  121. +16 −0 source/_posts/2008-06-09-wordpress-posts-page.markdown
  122. +32 −0 source/_posts/2008-06-14-using-wordpress-custom-fields.markdown
  123. +24 −0 source/_posts/2008-06-23-textmate-bundle-on-github.markdown
  124. +44 −0 source/_posts/2008-09-21-using-mod_wsgi-with-django-on-ubuntu.markdown
  125. +19 −0 ..._posts/2008-09-29-use-django-fixtures-to-automatically-load-data-when-you-install-an-app.markdown
  126. +22 −0 source/_posts/2008-10-01-django-project-using-pinax.markdown
  127. +43 −0 source/_posts/2008-12-01-optimizing-a-website-for-iphone.markdown
  128. +29 −0 source/_posts/2008-12-26-serve-django-projects-with-phusion-passenger.markdown
  129. +28 −0 source/_posts/2009-01-08-keep-your-django-applications-in-a-subfolder.markdown
  130. +18 −0 source/_posts/2009-01-09-django-model-class-style-guide.markdown
  131. +33 −0 source/_posts/2009-01-21-one-to-many-or-many-to-many-relationships-in-django-templates.markdown
  132. +16 −0 source/_posts/2009-02-26-installing-getbundles-on-a-fresh-copy-of-textmate.markdown
  133. +48 −0 source/_posts/2009-03-03-virtual-hosts-on-osx-leopard.markdown
  134. +81 −0 source/_posts/2009-03-09-a-happy-git-environment-on-osx-leopard.markdown
  135. +25 −0 source/_posts/2009-03-09-setting-up-a-tracking-branch-in-git.markdown
  136. +20 −0 source/_posts/2009-05-14-dealing-with-the-ie-7-transparency-bug-with-jquery.markdown
  137. +49 −0 source/_posts/2009-07-17-my-git-workflow.markdown
  138. +14 −0 source/_posts/2009-09-15-remove-a-git-submodule.markdown
  139. +13 −0 source/_posts/2009-10-29-display-the-number-of-comments-on-a-blog-post-in-ee-and-wp.markdown
  140. +25 −0 source/_posts/2009-11-09-how-to-log-something.markdown
  141. +25 −0 source/_posts/2009-12-02-smart-url-redirects-in-django.markdown
  142. +79 −0 source/_posts/2009-12-10-using-jquery-autocomplete-with-django.markdown
  143. +29 −0 source/_posts/2010-01-05-django-on-snow-leopard.markdown
  144. +20 −0 source/_posts/2010-01-10-local-django-documentation.markdown
  145. +37 −0 source/_posts/2010-02-22-using-dropbox-to-share-git-repositories.markdown
  146. +13 −0 source/_posts/2010-02-25-the-mate-shell-command-for-textmate.markdown
  147. +35 −0 source/_posts/2010-02-28-installing-mysql-on-snow-leopard-using-homebrew.markdown
  148. +21 −0 source/_posts/2010-06-09-create-a-javascript-object-with-overwrite-able-settings.markdown
  149. +17 −0 source/_posts/2010-06-09-passing-a-javascript-function-as-a-parameter-to-another-function.markdown
  150. +68 −0 source/_posts/2010-08-22-using-sass-with-django.markdown
  151. +46 −0 source/_posts/2010-10-25-jquery-templates.markdown
  152. +23 −0 source/_posts/2010-11-03-optional-parameters-in-javascript-functions.markdown
  153. +16 −0 ...ine-if-a-jquery-click-event-was-triggered-by-a-user-or-a-script-calling-the-click-method.markdown
  154. +85 −0 source/_posts/2010-12-27-install-and-use-django-mysql-and-virtualenv-on-snow-leopard.markdown
  155. +17 −0 source/_posts/2011-01-07-temporarily-ignore-a-file-in-git.markdown
  156. +19 −0 source/_posts/2011-01-11-how-i-deal-with-textmate-projects.markdown
  157. +20 −0 source/_posts/2011-01-12-dont-clutter-your-desktop.markdown
  158. +25 −0 source/_posts/2011-04-28-using-external-files-as-jquery-templates.markdown
  159. +18 −0 source/archives/index.html
  160. BIN source/assets/jwplayer/glow/controlbar/background.png
  161. BIN source/assets/jwplayer/glow/controlbar/blankButton.png
  162. BIN source/assets/jwplayer/glow/controlbar/divider.png
  163. BIN source/assets/jwplayer/glow/controlbar/fullscreenButton.png
  164. BIN source/assets/jwplayer/glow/controlbar/fullscreenButtonOver.png
  165. BIN source/assets/jwplayer/glow/controlbar/muteButton.png
  166. BIN source/assets/jwplayer/glow/controlbar/muteButtonOver.png
  167. BIN source/assets/jwplayer/glow/controlbar/normalscreenButton.png
  168. BIN source/assets/jwplayer/glow/controlbar/normalscreenButtonOver.png
  169. BIN source/assets/jwplayer/glow/controlbar/pauseButton.png
  170. BIN source/assets/jwplayer/glow/controlbar/pauseButtonOver.png
  171. BIN source/assets/jwplayer/glow/controlbar/playButton.png
  172. BIN source/assets/jwplayer/glow/controlbar/playButtonOver.png
  173. BIN source/assets/jwplayer/glow/controlbar/timeSliderBuffer.png
  174. BIN source/assets/jwplayer/glow/controlbar/timeSliderCapLeft.png
  175. BIN source/assets/jwplayer/glow/controlbar/timeSliderCapRight.png
  176. BIN source/assets/jwplayer/glow/controlbar/timeSliderProgress.png
  177. BIN source/assets/jwplayer/glow/controlbar/timeSliderRail.png
  178. BIN source/assets/jwplayer/glow/controlbar/unmuteButton.png
  179. BIN source/assets/jwplayer/glow/controlbar/unmuteButtonOver.png
  180. BIN source/assets/jwplayer/glow/display/background.png
  181. BIN source/assets/jwplayer/glow/display/bufferIcon.png
  182. BIN source/assets/jwplayer/glow/display/muteIcon.png
  183. BIN source/assets/jwplayer/glow/display/playIcon.png
  184. BIN source/assets/jwplayer/glow/dock/button.png
  185. +115 −0 source/assets/jwplayer/glow/glow.xml
  186. BIN source/assets/jwplayer/glow/playlist/item.png
  187. BIN source/assets/jwplayer/glow/playlist/itemOver.png
  188. BIN source/assets/jwplayer/glow/playlist/sliderCapBottom.png
  189. BIN source/assets/jwplayer/glow/playlist/sliderCapTop.png
  190. BIN source/assets/jwplayer/glow/playlist/sliderRail.png
  191. BIN source/assets/jwplayer/glow/playlist/sliderThumb.png
  192. BIN source/assets/jwplayer/glow/sharing/embedIcon.png
  193. BIN source/assets/jwplayer/glow/sharing/embedScreen.png
  194. BIN source/assets/jwplayer/glow/sharing/shareIcon.png
  195. BIN source/assets/jwplayer/glow/sharing/shareScreen.png
  196. BIN source/assets/jwplayer/player.swf
  197. +28 −0 source/atom.xml
  198. BIN source/favicon.png
  199. BIN source/images/bird_32_gray.png
  200. BIN source/images/bird_32_gray_fail.png
  201. BIN source/images/code_bg.png
  202. BIN source/images/dotted-border.png
  203. BIN source/images/email.png
  204. BIN source/images/line-tile.png
  205. BIN source/images/noise.png
  206. BIN source/images/rss.png
  207. BIN source/images/search.png
  208. +42 −0 source/index.html
  209. +2 −0 source/javascripts/ender.js
  210. +43 −0 source/javascripts/github.js
  211. +1,497 −0 source/javascripts/libs/ender.js
  212. +85 −0 source/javascripts/libs/jXHR.js
  213. +298 −0 source/javascripts/libs/swfobject-dynamic.js
  214. +5 −0 source/javascripts/modernizr-2.0.js
  215. +142 −0 source/javascripts/octopress.js
  216. +56 −0 source/javascripts/pinboard.js
  217. +82 −0 source/javascripts/twitter.js
@@ -0,0 +1,29 @@
# Octopress Changelog

## 2.0

- Now based on [mojombo/jekyll](http://github.com/mojombo/jekyll)
- Sports a semantic HTML5 template
- Easy theming with Compass and Sass
- A Mobile friendly responsive (320 and up) layout
- Built in 3rd party support for Twitter, Google Plus One, Disqus Comments, Pinboard, Delicious, and Google Analytics
- Deploy to Github pages or use Rsync
- Built in support for POW and Rack servers
- Beautiful [Solarized](http://ethanschoonover.com/solarized) syntax highlighting
- Super easy setup and configuration

**New Plugins, Filters, & Generators**

- **Gist Tag** for easily embedding gists in your posts
- **Pygments Cache** makes subsequent compiling much faster
- **Include Code Tag** lets you embed external code snippets from your file system and adds a download link
- **Pullquote Tag** Generate beautiful semantic pullquotes (no double data) based on Maykel Loomans's [technique](http://miekd.com/articles/pull-quotes-with-html5-and-css/)
- **Blockquote Tag** makes it easy to semantically format blockquotes
- **Category Generator** gives you archive pages for each category
- **Sitemap.xml Generator** for search engines

## 1.0

- **No longer supported.**
- Jekyll Matured, but Henrik's Jekyll fork did not.
- Thanks for all your pull requests, I learned a lot.
18 README
@@ -0,0 +1,18 @@
## What is Octopress?

Octopress is [Jekyll](https://github.com/mojombo/jekyll) blogging at its finest.

1. **Octopress sports a clean responsive theme** written in semantic HTML5, focused on readability and friendliness toward mobile devices.
2. **Code blogging is easy and beautiful.** Embed code (with [Solarized](http://ethanschoonover.com/solarized) styling) in your posts from gists or from your filesystem.
3. **Third party integration is simple** with built-in support for Twitter, Pinboard, Delicious, Disqus Comments, and Google Analytics.
4. **It's easy to use.** A collection of rake tasks simplifies development and makes deploying a cinch.
5. **Ships with great plugins** some original and others from the Jekyll community — tested and improved.

## Documentation

Check out [Octopress.org](http://octopress.org/docs) for guides and documentation.

## License
(The MIT License)

Copyright
@@ -4,8 +4,8 @@ require "stringex"

## -- Rsync Deploy config -- ##
# Be sure your public key is listed in your server's ~/.ssh/authorized_keys file
ssh_user = "user@domain.com"
document_root = "~/website.com/"
ssh_user = "trey@trey.webfactional.com"
document_root = "~/webapps/solutions_static/"
deploy_default = "rsync"

# This will be configured for you when you run config_deploy
@@ -2,10 +2,10 @@
# Main Configs #
# ----------------------- #

url: http://yoursite.com
title: My Octopress Blog
subtitle: A blogging framework for hackers.
author: Your Name
url: http://solutions.trey.cc
title: Solutions Log
subtitle: What.
author: Trey Piepmeier
simple_search: http://google.com/search

# RSS / Email (optional) subscription links (change if using something like Feedburner)
@@ -20,17 +20,17 @@ email:

# If publishing to a subdirectory as in http://site.com/project set 'root: /project'
root: /
permalink: /blog/:year/:month/:day/:title/
permalink: /:year/:month/:day/:title/
source: source
destination: public
plugins: plugins
code_dir: downloads/code
category_dir: blog/categories
category_dir: categories
markdown: rdiscount
pygments: false # default python pygments have been replaced by pygments.rb

paginate: 10 # Posts per page on the blog index
pagination_dir: blog # Directory base for pagination URLs eg. /blog/page/2/
pagination_dir: / # Directory base for pagination URLs eg. /blog/page/2/
recent_posts: 5 # Posts in the sidebar Recent Posts section
excerpt_link: "Read on →" # "Continue reading" link text at the bottom of excerpted articles

@@ -60,10 +60,10 @@ twitter_tweet_count: 4
twitter_show_replies: false
twitter_follow_button: true
twitter_show_follower_count: false
twitter_tweet_button: true
twitter_tweet_button: false

# Google Plus
google_plus_one: true
google_plus_one: false
google_plus_one_size: medium

# Pinboard
@@ -75,7 +75,7 @@ delicious_user:
delicious_count: 3

# Disqus Comments
disqus_short_name:
disqus_short_name: trey-solutions

# Google Analytics
google_analytics_tracking_id:
@@ -0,0 +1,5 @@
@import "base/utilities";
@import "base/solarized";
@import "base/theme";
@import "base/typography";
@import "base/layout";
@@ -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";
@@ -0,0 +1,164 @@
$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;

.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; }
}
}

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, nav[role=pagination] {
@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;
}
}
> header {
font-size: 1em;
padding-top: 1.5em;
padding-bottom: 1.5em;
}
}

#content { > div, > article { width: 100%; }}

aside[role=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[role=sidebar]{ @include collapse-sidebar; }
}
#content { margin-right: 0px; }
.toggle-sidebar { display: none; }
}

@media only screen and (min-width: 550px) {
body > header { font-size: 1em; }
}
@media only screen and (min-width: 750px) {
aside[role=sidebar] { @include collapse-sidebar; }
}
@media only screen and (min-width: 768px) {
body { -webkit-text-size-adjust: auto; }
body > header { font-size: 1.2em; }
#main {
@extend .group;
padding: 0;
margin: 0 auto;
}
#content {
@extend .group;
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[role=sidebar] {
@extend .group;
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: 1.3em; }
#content { margin-right: $sidebar-width-wide; }
#content {
> div, > article {
padding-top: $pad-wide/2;
padding-bottom: $pad-wide/2;
}
}
aside[role=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; }
@extend .group;
}
}
}

@if $indented-lists == false {
@media only screen and (min-width: 768px) {
ul, ol { margin-left: 0; }
}
}
@@ -0,0 +1,34 @@
$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: #fdf6e3;
$base02: #eee8d5;
$base01: #93a1a1;
$base00: #839496;
$base0: #657b83;
$base1: #586e75;
$base2: #073642;
$base3: #002b36;
}

/* non highlighted code colors */
$pre-bg: $base03 !default;
$pre-border: $base02 !default;
$pre-color: $base1 !default;

0 comments on commit 0c938a9

Please sign in to comment.
You can’t perform that action at this time.