octopress 3.0.0.alpha1 → 3.0.0.alpha2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (172) hide show
  1. checksums.yaml +8 -8
  2. data/lib/octopress.rb +3 -2
  3. data/lib/octopress/commands/build_jekyll.rb +17 -0
  4. data/lib/octopress/commands/build_stylesheets.rb +1 -1
  5. data/lib/octopress/commands/install.rb +2 -3
  6. data/lib/octopress/commands/new.rb +1 -1
  7. data/lib/octopress/commands/scaffold.rb +3 -2
  8. data/lib/octopress/commands/serve.rb +1 -1
  9. data/lib/octopress/configuration.rb +7 -1
  10. data/lib/octopress/installer.rb +15 -11
  11. data/lib/octopress/{js_asset_manager.rb → js_assets_manager.rb} +0 -1
  12. data/lib/octopress/scaffold/site/config.ru +25 -0
  13. data/lib/octopress/version.rb +1 -1
  14. data/octopress.gemspec +1 -1
  15. metadata +5 -161
  16. data/.themes/classic/.editorconfig +0 -44
  17. data/.themes/classic/_config/adn-timeline.yml +0 -10
  18. data/.themes/classic/_config/delicious-feed.yml +0 -4
  19. data/.themes/classic/_config/deploy/gh_pages.yml +0 -9
  20. data/.themes/classic/_config/deploy/rsync.yml +0 -14
  21. data/.themes/classic/_config/disqus.yml +0 -11
  22. data/.themes/classic/_config/facebook-like.yml +0 -2
  23. data/.themes/classic/_config/gauges-analytics.yml +0 -6
  24. data/.themes/classic/_config/github-repos.yml +0 -24
  25. data/.themes/classic/_config/google-analytics.yml +0 -6
  26. data/.themes/classic/_config/google-plus.yml +0 -13
  27. data/.themes/classic/_config/jekyll.yml +0 -37
  28. data/.themes/classic/_config/pinboard-feed.yml +0 -4
  29. data/.themes/classic/_config/require-js.yml +0 -19
  30. data/.themes/classic/_config/theme.yml +0 -54
  31. data/.themes/classic/_config/twitter-timeline.yml +0 -9
  32. data/.themes/classic/assets/javascripts/lib/ios-rotate-scaling-fix.js +0 -18
  33. data/.themes/classic/assets/javascripts/lib/jquery.cookie.js +0 -92
  34. data/.themes/classic/assets/javascripts/lib/modernizr.js +0 -447
  35. data/.themes/classic/assets/javascripts/lib/octopress.js +0 -83
  36. data/.themes/classic/assets/javascripts/modules/adn-timeline.coffee +0 -68
  37. data/.themes/classic/assets/javascripts/modules/delicious-feed.coffee +0 -38
  38. data/.themes/classic/assets/javascripts/modules/github-repos.coffee +0 -60
  39. data/.themes/classic/assets/javascripts/modules/github.coffee +0 -60
  40. data/.themes/classic/assets/javascripts/modules/helpers.coffee +0 -96
  41. data/.themes/classic/assets/javascripts/modules/pinboard-feed.coffee +0 -42
  42. data/.themes/classic/assets/javascripts/modules/site.coffee +0 -11
  43. data/.themes/classic/assets/stylesheets/_base.scss +0 -5
  44. data/.themes/classic/assets/stylesheets/_partials.scss +0 -8
  45. data/.themes/classic/assets/stylesheets/base/_layout.scss +0 -191
  46. data/.themes/classic/assets/stylesheets/base/_solarized.scss +0 -75
  47. data/.themes/classic/assets/stylesheets/base/_theme.scss +0 -92
  48. data/.themes/classic/assets/stylesheets/base/_typography.scss +0 -168
  49. data/.themes/classic/assets/stylesheets/base/_utilities.scss +0 -27
  50. data/.themes/classic/assets/stylesheets/custom/_colors.scss +0 -49
  51. data/.themes/classic/assets/stylesheets/custom/_fonts.scss +0 -10
  52. data/.themes/classic/assets/stylesheets/custom/_layout.scss +0 -17
  53. data/.themes/classic/assets/stylesheets/custom/_styles.scss +0 -2
  54. data/.themes/classic/assets/stylesheets/partials/_archive.scss +0 -77
  55. data/.themes/classic/assets/stylesheets/partials/_blog.scss +0 -165
  56. data/.themes/classic/assets/stylesheets/partials/_footer.scss +0 -19
  57. data/.themes/classic/assets/stylesheets/partials/_header.scss +0 -18
  58. data/.themes/classic/assets/stylesheets/partials/_navigation.scss +0 -136
  59. data/.themes/classic/assets/stylesheets/partials/_sharing.scss +0 -73
  60. data/.themes/classic/assets/stylesheets/partials/_sidebar.scss +0 -4
  61. data/.themes/classic/assets/stylesheets/partials/_syntax.scss +0 -234
  62. data/.themes/classic/assets/stylesheets/partials/sidebar/_base.scss +0 -106
  63. data/.themes/classic/assets/stylesheets/partials/sidebar/_delicious.scss +0 -4
  64. data/.themes/classic/assets/stylesheets/partials/sidebar/_googleplus.scss +0 -26
  65. data/.themes/classic/assets/stylesheets/partials/sidebar/_pinboard.scss +0 -12
  66. data/.themes/classic/assets/stylesheets/plugins/_plugins.scss +0 -5
  67. data/.themes/classic/assets/stylesheets/screen.scss +0 -11
  68. data/.themes/classic/source/404.markdown +0 -9
  69. data/.themes/classic/source/_includes/after_footer.html +0 -7
  70. data/.themes/classic/source/_includes/archive_post.html +0 -12
  71. data/.themes/classic/source/_includes/article.html +0 -23
  72. data/.themes/classic/source/_includes/comments.html +0 -9
  73. data/.themes/classic/source/_includes/custom/after_footer.html +0 -3
  74. data/.themes/classic/source/_includes/custom/after_page.html +0 -1
  75. data/.themes/classic/source/_includes/custom/after_post.html +0 -0
  76. data/.themes/classic/source/_includes/custom/comments.html +0 -5
  77. data/.themes/classic/source/_includes/custom/footer.html +0 -4
  78. data/.themes/classic/source/_includes/custom/head.html +0 -7
  79. data/.themes/classic/source/_includes/custom/header.html +0 -6
  80. data/.themes/classic/source/_includes/custom/navigation.html +0 -4
  81. data/.themes/classic/source/_includes/custom/page_meta.html +0 -1
  82. data/.themes/classic/source/_includes/custom/post_meta.html +0 -1
  83. data/.themes/classic/source/_includes/custom/sharing.html +0 -3
  84. data/.themes/classic/source/_includes/disqus.html +0 -22
  85. data/.themes/classic/source/_includes/facebook_like.html +0 -10
  86. data/.themes/classic/source/_includes/feed_entry.xml +0 -10
  87. data/.themes/classic/source/_includes/footer.html +0 -1
  88. data/.themes/classic/source/_includes/gauges_analytics.html +0 -15
  89. data/.themes/classic/source/_includes/google_analytics.html +0 -13
  90. data/.themes/classic/source/_includes/google_plus_one.html +0 -9
  91. data/.themes/classic/source/_includes/head.html +0 -33
  92. data/.themes/classic/source/_includes/header.html +0 -1
  93. data/.themes/classic/source/_includes/navigation.html +0 -15
  94. data/.themes/classic/source/_includes/post/author.html +0 -8
  95. data/.themes/classic/source/_includes/post/categories.html +0 -10
  96. data/.themes/classic/source/_includes/post/date.html +0 -15
  97. data/.themes/classic/source/_includes/post/disqus_thread.html +0 -1
  98. data/.themes/classic/source/_includes/post/meta.html +0 -3
  99. data/.themes/classic/source/_includes/post/sharing.html +0 -36
  100. data/.themes/classic/source/_includes/post/title.html +0 -5
  101. data/.themes/classic/source/_includes/post/variables.html +0 -14
  102. data/.themes/classic/source/_includes/sidebars/blog_index_default.html +0 -3
  103. data/.themes/classic/source/_includes/sidebars/page_default.html +0 -4
  104. data/.themes/classic/source/_includes/sidebars/post_default.html +0 -4
  105. data/.themes/classic/source/_includes/sidebars/sections/delicious.html +0 -8
  106. data/.themes/classic/source/_includes/sidebars/sections/github.html +0 -9
  107. data/.themes/classic/source/_includes/sidebars/sections/google_plus.html +0 -5
  108. data/.themes/classic/source/_includes/sidebars/sections/pinboard.html +0 -17
  109. data/.themes/classic/source/_includes/sidebars/sections/recent_posts.html +0 -10
  110. data/.themes/classic/source/_includes/twitter_sharing.html +0 -11
  111. data/.themes/classic/source/_layouts/category_feed.xml +0 -24
  112. data/.themes/classic/source/_layouts/category_index.html +0 -19
  113. data/.themes/classic/source/_layouts/default.html +0 -14
  114. data/.themes/classic/source/_layouts/page.html +0 -34
  115. data/.themes/classic/source/_layouts/post.html +0 -39
  116. data/.themes/classic/source/archives/index.html +0 -20
  117. data/.themes/classic/source/assets/jwplayer/glow/controlbar/background.png +0 -0
  118. data/.themes/classic/source/assets/jwplayer/glow/controlbar/blankButton.png +0 -0
  119. data/.themes/classic/source/assets/jwplayer/glow/controlbar/divider.png +0 -0
  120. data/.themes/classic/source/assets/jwplayer/glow/controlbar/fullscreenButton.png +0 -0
  121. data/.themes/classic/source/assets/jwplayer/glow/controlbar/fullscreenButtonOver.png +0 -0
  122. data/.themes/classic/source/assets/jwplayer/glow/controlbar/muteButton.png +0 -0
  123. data/.themes/classic/source/assets/jwplayer/glow/controlbar/muteButtonOver.png +0 -0
  124. data/.themes/classic/source/assets/jwplayer/glow/controlbar/normalscreenButton.png +0 -0
  125. data/.themes/classic/source/assets/jwplayer/glow/controlbar/normalscreenButtonOver.png +0 -0
  126. data/.themes/classic/source/assets/jwplayer/glow/controlbar/pauseButton.png +0 -0
  127. data/.themes/classic/source/assets/jwplayer/glow/controlbar/pauseButtonOver.png +0 -0
  128. data/.themes/classic/source/assets/jwplayer/glow/controlbar/playButton.png +0 -0
  129. data/.themes/classic/source/assets/jwplayer/glow/controlbar/playButtonOver.png +0 -0
  130. data/.themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderBuffer.png +0 -0
  131. data/.themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderCapLeft.png +0 -0
  132. data/.themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderCapRight.png +0 -0
  133. data/.themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderProgress.png +0 -0
  134. data/.themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderRail.png +0 -0
  135. data/.themes/classic/source/assets/jwplayer/glow/controlbar/unmuteButton.png +0 -0
  136. data/.themes/classic/source/assets/jwplayer/glow/controlbar/unmuteButtonOver.png +0 -0
  137. data/.themes/classic/source/assets/jwplayer/glow/display/background.png +0 -0
  138. data/.themes/classic/source/assets/jwplayer/glow/display/bufferIcon.png +0 -0
  139. data/.themes/classic/source/assets/jwplayer/glow/display/muteIcon.png +0 -0
  140. data/.themes/classic/source/assets/jwplayer/glow/display/playIcon.png +0 -0
  141. data/.themes/classic/source/assets/jwplayer/glow/dock/button.png +0 -0
  142. data/.themes/classic/source/assets/jwplayer/glow/glow.xml +0 -115
  143. data/.themes/classic/source/assets/jwplayer/glow/playlist/item.png +0 -0
  144. data/.themes/classic/source/assets/jwplayer/glow/playlist/itemOver.png +0 -0
  145. data/.themes/classic/source/assets/jwplayer/glow/playlist/sliderCapBottom.png +0 -0
  146. data/.themes/classic/source/assets/jwplayer/glow/playlist/sliderCapTop.png +0 -0
  147. data/.themes/classic/source/assets/jwplayer/glow/playlist/sliderRail.png +0 -0
  148. data/.themes/classic/source/assets/jwplayer/glow/playlist/sliderThumb.png +0 -0
  149. data/.themes/classic/source/assets/jwplayer/glow/sharing/embedIcon.png +0 -0
  150. data/.themes/classic/source/assets/jwplayer/glow/sharing/embedScreen.png +0 -0
  151. data/.themes/classic/source/assets/jwplayer/glow/sharing/shareIcon.png +0 -0
  152. data/.themes/classic/source/assets/jwplayer/glow/sharing/shareScreen.png +0 -0
  153. data/.themes/classic/source/assets/jwplayer/player.swf +0 -0
  154. data/.themes/classic/source/atom.xml +0 -23
  155. data/.themes/classic/source/images/bird_32_gray.png +0 -0
  156. data/.themes/classic/source/images/bird_32_gray_fail.png +0 -0
  157. data/.themes/classic/source/images/code_bg.png +0 -0
  158. data/.themes/classic/source/images/dotted-border.png +0 -0
  159. data/.themes/classic/source/images/email.png +0 -0
  160. data/.themes/classic/source/images/icon/facebook.png +0 -0
  161. data/.themes/classic/source/images/icon/github.png +0 -0
  162. data/.themes/classic/source/images/icon/googleplus.png +0 -0
  163. data/.themes/classic/source/images/icon/twitter-bird.png +0 -0
  164. data/.themes/classic/source/images/icon/twitter.png +0 -0
  165. data/.themes/classic/source/images/line-tile.png +0 -0
  166. data/.themes/classic/source/images/noise.png +0 -0
  167. data/.themes/classic/source/images/rss.png +0 -0
  168. data/.themes/classic/source/images/search.png +0 -0
  169. data/.themes/classic/source/index.html +0 -30
  170. data/.themes/classic/source/javascripts/jquery.min.js +0 -5
  171. data/.themes/classic/source/octopress-favicon.png +0 -0
  172. data/.themes/classic/source/robots.txt +0 -7
@@ -1,27 +0,0 @@
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
- }
@@ -1,49 +0,0 @@
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;
@@ -1,10 +0,0 @@
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;
@@ -1,17 +0,0 @@
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;
@@ -1,2 +0,0 @@
1
- // This File is imported last, and will override other styles in the cascade
2
- // Add styles here to make changes without digging in too much
@@ -1,77 +0,0 @@
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
- }
@@ -1,165 +0,0 @@
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
- }
@@ -1,19 +0,0 @@
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
- }
@@ -1,18 +0,0 @@
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
- }
@@ -1,136 +0,0 @@
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
- }