octopress 3.0.0.alpha1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.editorconfig +22 -0
- data/.gitattributes +1 -0
- data/.gitignore +20 -0
- data/.powrc +4 -0
- data/.rspec +5 -0
- data/.rubocop.yml +119 -0
- data/.slugignore +3 -0
- data/.themes/classic/.editorconfig +44 -0
- data/.themes/classic/_config/adn-timeline.yml +10 -0
- data/.themes/classic/_config/delicious-feed.yml +4 -0
- data/.themes/classic/_config/deploy/gh_pages.yml +9 -0
- data/.themes/classic/_config/deploy/rsync.yml +14 -0
- data/.themes/classic/_config/disqus.yml +11 -0
- data/.themes/classic/_config/facebook-like.yml +2 -0
- data/.themes/classic/_config/gauges-analytics.yml +6 -0
- data/.themes/classic/_config/github-repos.yml +24 -0
- data/.themes/classic/_config/google-analytics.yml +6 -0
- data/.themes/classic/_config/google-plus.yml +13 -0
- data/.themes/classic/_config/jekyll.yml +37 -0
- data/.themes/classic/_config/pinboard-feed.yml +4 -0
- data/.themes/classic/_config/require-js.yml +19 -0
- data/.themes/classic/_config/theme.yml +54 -0
- data/.themes/classic/_config/twitter-timeline.yml +9 -0
- data/.themes/classic/assets/javascripts/lib/ios-rotate-scaling-fix.js +18 -0
- data/.themes/classic/assets/javascripts/lib/jquery.cookie.js +92 -0
- data/.themes/classic/assets/javascripts/lib/modernizr.js +447 -0
- data/.themes/classic/assets/javascripts/lib/octopress.js +83 -0
- data/.themes/classic/assets/javascripts/modules/adn-timeline.coffee +68 -0
- data/.themes/classic/assets/javascripts/modules/delicious-feed.coffee +38 -0
- data/.themes/classic/assets/javascripts/modules/github-repos.coffee +60 -0
- data/.themes/classic/assets/javascripts/modules/github.coffee +60 -0
- data/.themes/classic/assets/javascripts/modules/helpers.coffee +96 -0
- data/.themes/classic/assets/javascripts/modules/pinboard-feed.coffee +42 -0
- data/.themes/classic/assets/javascripts/modules/site.coffee +11 -0
- data/.themes/classic/assets/stylesheets/_base.scss +5 -0
- data/.themes/classic/assets/stylesheets/_partials.scss +8 -0
- data/.themes/classic/assets/stylesheets/base/_layout.scss +191 -0
- data/.themes/classic/assets/stylesheets/base/_solarized.scss +75 -0
- data/.themes/classic/assets/stylesheets/base/_theme.scss +92 -0
- data/.themes/classic/assets/stylesheets/base/_typography.scss +168 -0
- data/.themes/classic/assets/stylesheets/base/_utilities.scss +27 -0
- data/.themes/classic/assets/stylesheets/custom/_colors.scss +49 -0
- data/.themes/classic/assets/stylesheets/custom/_fonts.scss +10 -0
- data/.themes/classic/assets/stylesheets/custom/_layout.scss +17 -0
- data/.themes/classic/assets/stylesheets/custom/_styles.scss +2 -0
- data/.themes/classic/assets/stylesheets/partials/_archive.scss +77 -0
- data/.themes/classic/assets/stylesheets/partials/_blog.scss +165 -0
- data/.themes/classic/assets/stylesheets/partials/_footer.scss +19 -0
- data/.themes/classic/assets/stylesheets/partials/_header.scss +18 -0
- data/.themes/classic/assets/stylesheets/partials/_navigation.scss +136 -0
- data/.themes/classic/assets/stylesheets/partials/_sharing.scss +73 -0
- data/.themes/classic/assets/stylesheets/partials/_sidebar.scss +4 -0
- data/.themes/classic/assets/stylesheets/partials/_syntax.scss +234 -0
- data/.themes/classic/assets/stylesheets/partials/sidebar/_base.scss +106 -0
- data/.themes/classic/assets/stylesheets/partials/sidebar/_delicious.scss +4 -0
- data/.themes/classic/assets/stylesheets/partials/sidebar/_googleplus.scss +26 -0
- data/.themes/classic/assets/stylesheets/partials/sidebar/_pinboard.scss +12 -0
- data/.themes/classic/assets/stylesheets/plugins/_plugins.scss +5 -0
- data/.themes/classic/assets/stylesheets/screen.scss +11 -0
- data/.themes/classic/source/404.markdown +9 -0
- data/.themes/classic/source/_includes/after_footer.html +7 -0
- data/.themes/classic/source/_includes/archive_post.html +12 -0
- data/.themes/classic/source/_includes/article.html +23 -0
- data/.themes/classic/source/_includes/comments.html +9 -0
- data/.themes/classic/source/_includes/custom/after_footer.html +3 -0
- data/.themes/classic/source/_includes/custom/after_page.html +1 -0
- data/.themes/classic/source/_includes/custom/after_post.html +0 -0
- data/.themes/classic/source/_includes/custom/comments.html +5 -0
- data/.themes/classic/source/_includes/custom/footer.html +4 -0
- data/.themes/classic/source/_includes/custom/head.html +7 -0
- data/.themes/classic/source/_includes/custom/header.html +6 -0
- data/.themes/classic/source/_includes/custom/navigation.html +4 -0
- data/.themes/classic/source/_includes/custom/page_meta.html +1 -0
- data/.themes/classic/source/_includes/custom/post_meta.html +1 -0
- data/.themes/classic/source/_includes/custom/sharing.html +3 -0
- data/.themes/classic/source/_includes/disqus.html +22 -0
- data/.themes/classic/source/_includes/facebook_like.html +10 -0
- data/.themes/classic/source/_includes/feed_entry.xml +10 -0
- data/.themes/classic/source/_includes/footer.html +1 -0
- data/.themes/classic/source/_includes/gauges_analytics.html +15 -0
- data/.themes/classic/source/_includes/google_analytics.html +13 -0
- data/.themes/classic/source/_includes/google_plus_one.html +9 -0
- data/.themes/classic/source/_includes/head.html +33 -0
- data/.themes/classic/source/_includes/header.html +1 -0
- data/.themes/classic/source/_includes/navigation.html +15 -0
- data/.themes/classic/source/_includes/post/author.html +8 -0
- data/.themes/classic/source/_includes/post/categories.html +10 -0
- data/.themes/classic/source/_includes/post/date.html +15 -0
- data/.themes/classic/source/_includes/post/disqus_thread.html +1 -0
- data/.themes/classic/source/_includes/post/meta.html +3 -0
- data/.themes/classic/source/_includes/post/sharing.html +36 -0
- data/.themes/classic/source/_includes/post/title.html +5 -0
- data/.themes/classic/source/_includes/post/variables.html +14 -0
- data/.themes/classic/source/_includes/sidebars/blog_index_default.html +3 -0
- data/.themes/classic/source/_includes/sidebars/page_default.html +4 -0
- data/.themes/classic/source/_includes/sidebars/post_default.html +4 -0
- data/.themes/classic/source/_includes/sidebars/sections/delicious.html +8 -0
- data/.themes/classic/source/_includes/sidebars/sections/github.html +9 -0
- data/.themes/classic/source/_includes/sidebars/sections/google_plus.html +5 -0
- data/.themes/classic/source/_includes/sidebars/sections/pinboard.html +17 -0
- data/.themes/classic/source/_includes/sidebars/sections/recent_posts.html +10 -0
- data/.themes/classic/source/_includes/twitter_sharing.html +11 -0
- data/.themes/classic/source/_layouts/category_feed.xml +24 -0
- data/.themes/classic/source/_layouts/category_index.html +19 -0
- data/.themes/classic/source/_layouts/default.html +14 -0
- data/.themes/classic/source/_layouts/page.html +34 -0
- data/.themes/classic/source/_layouts/post.html +39 -0
- data/.themes/classic/source/archives/index.html +20 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/background.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/blankButton.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/divider.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/fullscreenButton.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/fullscreenButtonOver.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/muteButton.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/muteButtonOver.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/normalscreenButton.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/normalscreenButtonOver.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/pauseButton.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/pauseButtonOver.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/playButton.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/playButtonOver.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderBuffer.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderCapLeft.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderCapRight.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderProgress.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderRail.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/unmuteButton.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/controlbar/unmuteButtonOver.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/display/background.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/display/bufferIcon.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/display/muteIcon.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/display/playIcon.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/dock/button.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/glow.xml +115 -0
- data/.themes/classic/source/assets/jwplayer/glow/playlist/item.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/playlist/itemOver.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/playlist/sliderCapBottom.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/playlist/sliderCapTop.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/playlist/sliderRail.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/playlist/sliderThumb.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/sharing/embedIcon.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/sharing/embedScreen.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/sharing/shareIcon.png +0 -0
- data/.themes/classic/source/assets/jwplayer/glow/sharing/shareScreen.png +0 -0
- data/.themes/classic/source/assets/jwplayer/player.swf +0 -0
- data/.themes/classic/source/atom.xml +23 -0
- data/.themes/classic/source/images/bird_32_gray.png +0 -0
- data/.themes/classic/source/images/bird_32_gray_fail.png +0 -0
- data/.themes/classic/source/images/code_bg.png +0 -0
- data/.themes/classic/source/images/dotted-border.png +0 -0
- data/.themes/classic/source/images/email.png +0 -0
- data/.themes/classic/source/images/icon/facebook.png +0 -0
- data/.themes/classic/source/images/icon/github.png +0 -0
- data/.themes/classic/source/images/icon/googleplus.png +0 -0
- data/.themes/classic/source/images/icon/twitter-bird.png +0 -0
- data/.themes/classic/source/images/icon/twitter.png +0 -0
- data/.themes/classic/source/images/line-tile.png +0 -0
- data/.themes/classic/source/images/noise.png +0 -0
- data/.themes/classic/source/images/rss.png +0 -0
- data/.themes/classic/source/images/search.png +0 -0
- data/.themes/classic/source/index.html +30 -0
- data/.themes/classic/source/javascripts/jquery.min.js +5 -0
- data/.themes/classic/source/octopress-favicon.png +0 -0
- data/.themes/classic/source/robots.txt +7 -0
- data/.travis.yml +6 -0
- data/CHANGELOG.markdown +46 -0
- data/CONTRIBUTING.markdown +17 -0
- data/Gemfile +2 -0
- data/README.markdown +37 -0
- data/Rakefile +76 -0
- data/bin/octopress +66 -0
- data/lib/console +17 -0
- data/lib/guard/jekyll.rb +33 -0
- data/lib/octopress.rb +89 -0
- data/lib/octopress/command.rb +9 -0
- data/lib/octopress/commands.rb +14 -0
- data/lib/octopress/commands/build.rb +17 -0
- data/lib/octopress/commands/build_javascripts.rb +11 -0
- data/lib/octopress/commands/build_jekyll.rb +25 -0
- data/lib/octopress/commands/build_stylesheets.rb +13 -0
- data/lib/octopress/commands/install.rb +45 -0
- data/lib/octopress/commands/new.rb +21 -0
- data/lib/octopress/commands/scaffold.rb +101 -0
- data/lib/octopress/commands/serve.rb +25 -0
- data/lib/octopress/configuration.rb +231 -0
- data/lib/octopress/core_ext.rb +44 -0
- data/lib/octopress/dependency_installer.rb +287 -0
- data/lib/octopress/errors.rb +3 -0
- data/lib/octopress/filters/content.rb +66 -0
- data/lib/octopress/filters/date.rb +46 -0
- data/lib/octopress/filters/post.rb +175 -0
- data/lib/octopress/filters/url.rb +34 -0
- data/lib/octopress/formatters.rb +9 -0
- data/lib/octopress/formatters/base_formatter.rb +17 -0
- data/lib/octopress/formatters/simple_formatter.rb +9 -0
- data/lib/octopress/formatters/verbose_formatter.rb +9 -0
- data/lib/octopress/generators/category_generator.rb +196 -0
- data/lib/octopress/generators/sitemap_generator.rb +308 -0
- data/lib/octopress/guardfile +43 -0
- data/lib/octopress/helpers/titlecase.rb +37 -0
- data/lib/octopress/ink.rb +12 -0
- data/lib/octopress/inquirable_string.rb +12 -0
- data/lib/octopress/installer.rb +92 -0
- data/lib/octopress/js_asset_manager.rb +98 -0
- data/lib/octopress/liquid_helpers/conditional.rb +36 -0
- data/lib/octopress/liquid_helpers/config.rb +58 -0
- data/lib/octopress/liquid_helpers/include.rb +33 -0
- data/lib/octopress/liquid_helpers/url.rb +29 -0
- data/lib/octopress/liquid_helpers/vars.rb +30 -0
- data/lib/octopress/plugin.rb +33 -0
- data/lib/octopress/rake.rb +16 -0
- data/lib/octopress/scaffold/.gitignore +18 -0
- data/lib/octopress/scaffold/site/Gemfile +3 -0
- data/lib/octopress/scaffold/site/config/compass.rb +27 -0
- data/lib/octopress/scaffold/site/config/rack.rb +25 -0
- data/lib/octopress/scaffold/site/config/site.yml +0 -0
- data/lib/octopress/scaffold/site/javascripts/lib/ios-rotate-scaling-fix.js +19 -0
- data/lib/octopress/scaffold/site/javascripts/lib/jquery-1.9.1.js +9598 -0
- data/lib/octopress/scaffold/site/javascripts/lib/jquery.cookie.js +93 -0
- data/lib/octopress/scaffold/site/stylesheets/_config.scss +1 -0
- data/lib/octopress/scaffold/site/stylesheets/_style.scss +1 -0
- data/lib/octopress/scaffold/site/stylesheets/site.scss +16 -0
- data/lib/octopress/tags/assign.rb +34 -0
- data/lib/octopress/tags/capture.rb +31 -0
- data/lib/octopress/tags/config-tag.rb +23 -0
- data/lib/octopress/tags/include.rb +63 -0
- data/lib/octopress/tags/js-assets.rb +23 -0
- data/lib/octopress/tags/puts.rb +39 -0
- data/lib/octopress/tags/render-partial.rb +89 -0
- data/lib/octopress/tags/return.rb +21 -0
- data/lib/octopress/version.rb +3 -0
- data/lib/rake/clean.rake +8 -0
- data/lib/rake/clobber.rake +5 -0
- data/lib/rake/console.rake +5 -0
- data/lib/rake/deploy.rake +4 -0
- data/lib/rake/gen_deploy.rake +2 -0
- data/lib/rake/generate.rake +4 -0
- data/lib/rake/generate_only.rake +14 -0
- data/lib/rake/hygiene.rake +29 -0
- data/lib/rake/install.rake +8 -0
- data/lib/rake/integrate.rake +4 -0
- data/lib/rake/isolate.rake +13 -0
- data/lib/rake/list_drafts.rake +7 -0
- data/lib/rake/new.rake +7 -0
- data/lib/rake/new_page.rake +49 -0
- data/lib/rake/new_post.rake +32 -0
- data/lib/rake/nuke.rake +4 -0
- data/lib/rake/preview.rake +4 -0
- data/lib/rake/push.rake +37 -0
- data/lib/rake/rsync.rake +20 -0
- data/lib/rake/set_root_dir.rake +35 -0
- data/lib/rake/setup_github_pages.rake +115 -0
- data/lib/rake/watch.rake +11 -0
- data/lib/scaffold/Rakefile +142 -0
- data/lib/scaffold/plugin-name.gemspec +43 -0
- data/lib/spec/fixtures/env/defaults/classic.yml +2 -0
- data/lib/spec/fixtures/no_override/defaults/classic.yml +11 -0
- data/lib/spec/fixtures/override/defaults/classic.yml +11 -0
- data/lib/spec/fixtures/override/site.yml +11 -0
- data/lib/spec/octopress/configuration_spec.rb +67 -0
- data/lib/spec/octopress/dependency_installer_spec.rb +66 -0
- data/lib/spec/octopress/ink_spec.rb +10 -0
- data/lib/spec/octopress/octopress_spec.rb +97 -0
- data/lib/spec/spec_helper.rb +22 -0
- data/lib/spec/support/env.rb +36 -0
- data/lib/spec/support/simplecov.rb +52 -0
- data/octopress.gemspec +52 -0
- metadata +697 -0
@@ -0,0 +1,27 @@
|
|
1
|
+
@mixin mask-image($img, $repeat: no-repeat){
|
2
|
+
@include experimental(mask-image, image-url($img), -webkit, -moz, -o, -ms);
|
3
|
+
@include experimental(mask-repeat, $repeat, -webkit, -moz, -o, -ms);
|
4
|
+
width: image-width($img);
|
5
|
+
height: image-height($img);
|
6
|
+
}
|
7
|
+
|
8
|
+
@mixin shadow-box($border: #fff .5em solid, $shadow: rgba(#000, .15) 0 1px 4px, $border-radius: .3em) {
|
9
|
+
@include border-radius($border-radius);
|
10
|
+
@include box-shadow($shadow);
|
11
|
+
@include box-sizing(border-box);
|
12
|
+
border: $border;
|
13
|
+
}
|
14
|
+
|
15
|
+
@mixin selection($bg, $color: inherit, $text-shadow: none){
|
16
|
+
* {
|
17
|
+
&::-moz-selection { background: $bg; color: $color; text-shadow: $text-shadow; }
|
18
|
+
&::-webkit-selection { background: $bg; color: $color; text-shadow: $text-shadow; }
|
19
|
+
&::selection { background: $bg; color: $color; text-shadow: $text-shadow; }
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
@function text-color($color, $dark: dark, $light: light){
|
24
|
+
$text-color: ( (red($color)*299) + (green($color)*587) + (blue($color)*114) ) / 1000;
|
25
|
+
$text-color: if($text-color >= 150, $dark, $light);
|
26
|
+
@return $text-color;
|
27
|
+
}
|
@@ -0,0 +1,49 @@
|
|
1
|
+
/*
|
2
|
+
Here you can easily change your site's color scheme.
|
3
|
+
To give it a try, uncomment some of the lines below rebuild your blog, and see how it works.
|
4
|
+
Look at sass/base/_theme.scss for more colors you tweak (override them in this file)
|
5
|
+
|
6
|
+
For a handy color picker try http://hslpicker.com */
|
7
|
+
|
8
|
+
//$header-bg: #263347;
|
9
|
+
//$subtitle-color: lighten($header-bg, 58);
|
10
|
+
//$nav-bg: desaturate(lighten(#8fc17a, 18), 5);
|
11
|
+
//$sidebar-bg: desaturate(#eceff5, 8);
|
12
|
+
//$sidebar-link-color: saturate(#526f9a, 10);
|
13
|
+
//$sidebar-link-color-hover: darken(#7ab662, 9);
|
14
|
+
|
15
|
+
|
16
|
+
/* To use the dark code highlighting theme uncomment the following line */
|
17
|
+
|
18
|
+
//$solarized: dark;
|
19
|
+
|
20
|
+
/* To adjust the background color uncomment and edit the following line */
|
21
|
+
/* If you intend to use a dark background, uncomment $solarized: dark; above*/
|
22
|
+
|
23
|
+
//$pre-bg: #252525;
|
24
|
+
|
25
|
+
/* To change the color of the code markers, uncomment and change the following lines */
|
26
|
+
|
27
|
+
//$marker: rgba(#00baff, .5);
|
28
|
+
//$marker-bg: rgba($marker, .03);
|
29
|
+
//$marker-border: rgba($marker, .13);
|
30
|
+
//$marker-border-left: $marker;
|
31
|
+
|
32
|
+
/* For fine control over the syntax highlighting colors edit here */
|
33
|
+
|
34
|
+
//$base03: #002b36; //darkest blue
|
35
|
+
//$base02: #073642; //dark blue
|
36
|
+
//$base01: #586e75; //darkest gray
|
37
|
+
//$base00: #657b83; //dark gray
|
38
|
+
//$base0: #839496; //medium gray
|
39
|
+
//$base1: #93a1a1; //medium light gray
|
40
|
+
//$base2: #eee8d5; //cream
|
41
|
+
//$base3: #fdf6e3; //white
|
42
|
+
//$solar-yellow: #b58900;
|
43
|
+
//$solar-orange: #cb4b16;
|
44
|
+
//$solar-red: #dc322f;
|
45
|
+
//$solar-magenta: #d33682;
|
46
|
+
//$solar-violet: #6c71c4;
|
47
|
+
//$solar-blue: #268bd2;
|
48
|
+
//$solar-cyan: #2aa198;
|
49
|
+
//$solar-green: #859900;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
// Here you can easily change font faces which are used in your site.
|
2
|
+
// To give it a try, uncomment some of the lines below rebuild your blog, and see how it works. your sites's.
|
3
|
+
// If you love to use Web Fonts, you also need to add some lines to source/_includes/custom/head.html
|
4
|
+
|
5
|
+
//$sans: "Optima", sans-serif;
|
6
|
+
//$serif: "Baskerville", serif;
|
7
|
+
//$mono: "Courier", monospace;
|
8
|
+
//$heading-font-family: "Verdana", sans-serif;
|
9
|
+
//$header-title-font-family: "Futura", sans-serif;
|
10
|
+
//$header-subtitle-font-family: "Futura", sans-serif;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
// Here you can easily change your sites's layout.
|
2
|
+
// To give it a try, uncomment some of the lines below, make changes, rebuild your blog, and see how it works.
|
3
|
+
|
4
|
+
$max-width: 1069px;
|
5
|
+
//$indented-lists: true;
|
6
|
+
|
7
|
+
// Padding used for layout margins
|
8
|
+
//$pad-min: 18px;
|
9
|
+
//$pad-narrow: 25px;
|
10
|
+
//$pad-medium: 35px;
|
11
|
+
//$pad-wide: 55px;
|
12
|
+
|
13
|
+
// Sidebar widths used in media queries
|
14
|
+
//$sidebar-width-medium: 240px;
|
15
|
+
//$sidebar-pad-medium: 15px;
|
16
|
+
//$sidebar-pad-wide: 20px;
|
17
|
+
//$sidebar-width-wide: 300px;
|
@@ -0,0 +1,77 @@
|
|
1
|
+
#archive {
|
2
|
+
#content > div { &, > article { padding-top: 0; } }
|
3
|
+
}
|
4
|
+
#blog-archives {
|
5
|
+
color: $text-color-light;
|
6
|
+
article {
|
7
|
+
padding: 1em 0 1em;
|
8
|
+
position: relative;
|
9
|
+
background: $img-border bottom left repeat-x;
|
10
|
+
&:last-child {
|
11
|
+
background: none;
|
12
|
+
}
|
13
|
+
footer {
|
14
|
+
padding: 0; margin: 0;
|
15
|
+
font-size: .85em;
|
16
|
+
line-height: 1em;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
h2 { display: none; }
|
20
|
+
.entry-title {
|
21
|
+
color: $text-color; margin-bottom: .3em;
|
22
|
+
font-size: $h3;
|
23
|
+
a {
|
24
|
+
@include hover-link;
|
25
|
+
&:hover { color: $link-color-hover; }
|
26
|
+
font-weight: normal;
|
27
|
+
display: inline-block;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
article[data-linklog] .entry-title {
|
31
|
+
font-size: $h4;
|
32
|
+
a { text-decoration: underline; }
|
33
|
+
}
|
34
|
+
a.category, time {
|
35
|
+
@extend .sans;
|
36
|
+
color: $text-color-light;
|
37
|
+
}
|
38
|
+
.entry-content { display: none; }
|
39
|
+
time {
|
40
|
+
font-size: .9em;
|
41
|
+
line-height: 1.2em;
|
42
|
+
.month, .day { display: inline-block; }
|
43
|
+
.month { text-transform: uppercase; }
|
44
|
+
}
|
45
|
+
p { margin-bottom: 1em; }
|
46
|
+
a:hover { color: $link-color-hover; }
|
47
|
+
|
48
|
+
@media only screen and (min-width: 550px) {
|
49
|
+
article {
|
50
|
+
padding: { left: 4.5em; bottom: .7em;}
|
51
|
+
margin-left: 5em;
|
52
|
+
}
|
53
|
+
h2 {
|
54
|
+
margin-bottom: .3em;
|
55
|
+
font-weight: normal;
|
56
|
+
display: inline-block;
|
57
|
+
position: relative; top: -1px;
|
58
|
+
float: left;
|
59
|
+
&:first-child { padding-top: .75em; }
|
60
|
+
}
|
61
|
+
time {
|
62
|
+
position: absolute;
|
63
|
+
text-align: right;
|
64
|
+
left: 0em;
|
65
|
+
top: 1.8em;
|
66
|
+
}
|
67
|
+
.year { display: none; }
|
68
|
+
a.category { line-height: 1.1em; }
|
69
|
+
}
|
70
|
+
}
|
71
|
+
#content > .category {
|
72
|
+
article {
|
73
|
+
margin-left: 0;
|
74
|
+
padding-left: 6.8em;
|
75
|
+
}
|
76
|
+
.year { display: inline; }
|
77
|
+
}
|
@@ -0,0 +1,165 @@
|
|
1
|
+
#content .blog-index {
|
2
|
+
padding: { top: 0; bottom: 0; }
|
3
|
+
article { padding-top: 2em; }
|
4
|
+
}
|
5
|
+
|
6
|
+
article {
|
7
|
+
padding-top: 1em;
|
8
|
+
a { @extend .force-wrap; }
|
9
|
+
header {
|
10
|
+
position: relative;
|
11
|
+
padding-top: 2em;
|
12
|
+
padding-bottom: 1em;
|
13
|
+
margin-bottom: 1em;
|
14
|
+
background: $img-border bottom left repeat-x;
|
15
|
+
@media only screen and (min-width: 768px) {
|
16
|
+
margin-bottom: 1.5em;
|
17
|
+
padding-bottom: 1em;
|
18
|
+
background: $img-border bottom left repeat-x;
|
19
|
+
}
|
20
|
+
.blog-index & { background: none; padding-bottom: 0; }
|
21
|
+
p {
|
22
|
+
font-size: .8em;
|
23
|
+
margin: 0;
|
24
|
+
color: $text-color-light;
|
25
|
+
&.meta { @extend .sans; position: absolute; top: 0; }
|
26
|
+
}
|
27
|
+
time { text-transform: uppercase; }
|
28
|
+
}
|
29
|
+
.entry-title {
|
30
|
+
margin: 0;
|
31
|
+
a { text-decoration: none;
|
32
|
+
&:hover { text-decoration: underline; }
|
33
|
+
}
|
34
|
+
.blog-index & {
|
35
|
+
font-size: $h1;
|
36
|
+
a { color: inherit; &:hover { color: $link-color-hover; } }
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
a[rel=bookmark] { text-decoration: none; }
|
41
|
+
|
42
|
+
h2 {
|
43
|
+
padding-top: 0.8em;
|
44
|
+
background: $img-border top left repeat-x;
|
45
|
+
}
|
46
|
+
h2:first-child, header + h2 { background: none; }
|
47
|
+
|
48
|
+
.entry-content & h2:first-child, header + h2 { padding-top: 0; }
|
49
|
+
|
50
|
+
&.linklog {
|
51
|
+
.entry-title {
|
52
|
+
font-size: $h1;
|
53
|
+
a { text-decoration: underline; }
|
54
|
+
}
|
55
|
+
.blog-index & .entry-title { font-size: $h2; }
|
56
|
+
}
|
57
|
+
|
58
|
+
.linklog-marker {
|
59
|
+
color: $text-color-light;
|
60
|
+
font-size: .8em;
|
61
|
+
line-height: 1em;
|
62
|
+
position: relative; top: -.15em;
|
63
|
+
}
|
64
|
+
|
65
|
+
> footer {
|
66
|
+
@extend .sans;
|
67
|
+
padding-bottom: 2.5em;
|
68
|
+
margin-top: 2em;
|
69
|
+
.blog-index & { margin-top: 1em; }
|
70
|
+
}
|
71
|
+
footer {
|
72
|
+
.meta {
|
73
|
+
margin-bottom: .8em;
|
74
|
+
font-size: .85em;
|
75
|
+
clear: both;
|
76
|
+
overflow: hidden;
|
77
|
+
}
|
78
|
+
.byline + time:before, time +time:before, .comments:before, .byline ~ .categories:before {
|
79
|
+
@extend .separator;
|
80
|
+
}
|
81
|
+
p:last-child { margin-bottom: 0; }
|
82
|
+
.comments-link {
|
83
|
+
font-size: .8em;
|
84
|
+
color: inherit;
|
85
|
+
&:hover, &:focus { color: $link-color-hover; }
|
86
|
+
}
|
87
|
+
}
|
88
|
+
|
89
|
+
a[rel=full-article] {
|
90
|
+
background: darken($main-bg, 5);
|
91
|
+
display: inline-block;
|
92
|
+
padding: .4em .8em;
|
93
|
+
margin-right: .5em;
|
94
|
+
text-decoration: none;
|
95
|
+
color: mix($text-color, $text-color-light);
|
96
|
+
@extend .serif;
|
97
|
+
@include transition(background-color .5s);
|
98
|
+
&:hover {
|
99
|
+
background: $link-color-hover;
|
100
|
+
text-shadow: none;
|
101
|
+
color: $main-bg;
|
102
|
+
}
|
103
|
+
}
|
104
|
+
|
105
|
+
.blog-index & + article {
|
106
|
+
background: $img-border top left repeat-x;
|
107
|
+
}
|
108
|
+
|
109
|
+
.feature {
|
110
|
+
padding-top: .5em;
|
111
|
+
margin-bottom: 1em;
|
112
|
+
padding-bottom: 1em;
|
113
|
+
background: $img-border bottom left repeat-x;
|
114
|
+
font-size: 2.0em; font-style: italic;
|
115
|
+
line-height: 1.3em;
|
116
|
+
}
|
117
|
+
|
118
|
+
img, video, .flash-video {
|
119
|
+
@extend .flex-content;
|
120
|
+
@extend .basic-alignment;
|
121
|
+
@include shadow-box;
|
122
|
+
}
|
123
|
+
video, .flash-video { margin: 0 auto 1.5em; }
|
124
|
+
video { display: block; width: 100%; }
|
125
|
+
.flash-video {
|
126
|
+
> div {
|
127
|
+
position: relative;
|
128
|
+
display: block;
|
129
|
+
padding-top: 1px;
|
130
|
+
height: 0;
|
131
|
+
overflow: hidden;
|
132
|
+
iframe, object, embed {
|
133
|
+
position: absolute;
|
134
|
+
top: 0;
|
135
|
+
left: 0;
|
136
|
+
width: 100%;
|
137
|
+
height: 100%;
|
138
|
+
}
|
139
|
+
}
|
140
|
+
}
|
141
|
+
}
|
142
|
+
|
143
|
+
.separator {
|
144
|
+
content: "\2022 ";
|
145
|
+
padding: 0 .4em 0 .2em;
|
146
|
+
display: inline-block;
|
147
|
+
}
|
148
|
+
|
149
|
+
#content div.pagination {
|
150
|
+
text-align: center;
|
151
|
+
font-size: .95em;
|
152
|
+
position: relative;
|
153
|
+
background: $img-border top left repeat-x;
|
154
|
+
padding: {top: 1.5em; bottom: 1.5em;}
|
155
|
+
a {
|
156
|
+
text-decoration: none;
|
157
|
+
color: $text-color-light;
|
158
|
+
&.prev { position: absolute; left: 0; }
|
159
|
+
&.next { position: absolute; right: 0; }
|
160
|
+
&:hover { color: $link-color-hover; }
|
161
|
+
&[href*=archive] {
|
162
|
+
&:before, &:after { content: '\2014'; padding: 0 .3em; }
|
163
|
+
}
|
164
|
+
}
|
165
|
+
}
|
@@ -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,136 @@
|
|
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
|
+
}
|