Skip to content

Commit f375d71

Browse files
committed
Conflicts: Gemfile Gemfile.lock Rakefile _config.yml plugins/date.rb plugins/image_tag.rb plugins/octopress_filters.rb plugins/pullquote.rb plugins/titlecase.rb
2 parents 5dc914d + ce0d251 commit f375d71

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+1198
-498
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ source.old
99
source/_stash
1010
source/stylesheets/screen.css
1111
vendor
12+
node_modules

.rbenv-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1.9.2-p290

.rvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
rvm 1.9.2
1+
rvm use 1.9.2

.slugignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
plugins
2+
sass
3+
source

.themes/classic/sass/base/_layout.scss

+32-8
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ $sidebar-width-wide: 300px !default;
1414

1515
$indented-lists: false !default;
1616

17+
$header-font-size: 1em !default;
18+
$header-padding-top: 1.5em !default;
19+
$header-padding-bottom: 1.5em !default;
20+
1721
.group { @include pie-clearfix; }
1822

1923
@mixin collapse-sidebar {
@@ -32,7 +36,10 @@ $indented-lists: false !default;
3236
&.thirds section {
3337
width: 30%;
3438
margin-left: 5%;
35-
&.first { margin-left: 0; }
39+
&.first {
40+
margin-left: 0;
41+
clear: both;
42+
}
3643
}
3744
}
3845

@@ -41,7 +48,7 @@ body {
4148
max-width: $max-width;
4249
position: relative;
4350
margin: 0 auto;
44-
> header, > nav, > footer, #content > article, #content > div > article, #content > div > section, nav.pagination {
51+
> header, > nav, > footer, #content > article, #content > div > article, #content > div > section {
4552
@extend .group;
4653
padding-left: $pad-min;
4754
padding-right: $pad-min;
@@ -58,10 +65,27 @@ body {
5865
padding-right: $pad-wide;
5966
}
6067
}
68+
div.pagination {
69+
@extend .group;
70+
margin-left: $pad-min;
71+
margin-right: $pad-min;
72+
@media only screen and (min-width: 480px) {
73+
margin-left: $pad-narrow;
74+
margin-right: $pad-narrow;
75+
}
76+
@media only screen and (min-width: 768px) {
77+
margin-left: $pad-medium;
78+
margin-right: $pad-medium;
79+
}
80+
@media only screen and (min-width: 992px) {
81+
margin-left: $pad-wide;
82+
margin-right: $pad-wide;
83+
}
84+
}
6185
> header {
62-
font-size: 1em;
63-
padding-top: 1.5em;
64-
padding-bottom: 1.5em;
86+
font-size: $header-font-size;
87+
padding-top: $header-padding-top;
88+
padding-bottom: $header-padding-bottom;
6589
}
6690
}
6791

@@ -95,14 +119,14 @@ body.sidebar-footer {
95119
}
96120

97121
@media only screen and (min-width: 550px) {
98-
body > header { font-size: 1em; }
122+
body > header { font-size: $header-font-size; }
99123
}
100124
@media only screen and (min-width: 750px) {
101125
aside.sidebar { @include collapse-sidebar; }
102126
}
103127
@media only screen and (min-width: 768px) {
104128
body { -webkit-text-size-adjust: auto; }
105-
body > header { font-size: 1.2em; }
129+
body > header { font-size: $header-font-size * 1.2; }
106130
#main {
107131
@extend .group;
108132
padding: 0;
@@ -139,7 +163,7 @@ body.sidebar-footer {
139163
}
140164

141165
@media only screen and (min-width: 992px) {
142-
body > header { font-size: 1.3em; }
166+
body > header { font-size: $header-font-size * 1.3; }
143167
#content { margin-right: $sidebar-width-wide; }
144168
#content {
145169
> div, > article {

.themes/classic/sass/base/_solarized.scss

+21-9
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,29 @@ $solar-green: #859900 !default;
1818
$solarized: dark !default;
1919

2020
@if $solarized == light {
21-
$base03: #fdf6e3;
22-
$base02: #eee8d5;
23-
$base01: #93a1a1;
24-
$base00: #839496;
25-
$base0: #657b83;
26-
$base1: #586e75;
27-
$base2: #073642;
28-
$base3: #002b36;
21+
22+
$_base03: $base03;
23+
$_base02: $base02;
24+
$_base01: $base01;
25+
$_base00: $base00;
26+
$_base0: $base0;
27+
$_base1: $base1;
28+
$_base2: $base2;
29+
$_base3: $base3;
30+
31+
$base03: $_base3;
32+
$base02: $_base2;
33+
$base01: $_base1;
34+
$base00: $_base0;
35+
$base0: $_base00;
36+
$base1: $_base01;
37+
$base2: $_base02;
38+
$base3: $_base03;
2939
}
3040

3141
/* non highlighted code colors */
3242
$pre-bg: $base03 !default;
33-
$pre-border: $base02 !default;
43+
$pre-border: darken($base02, 5) !default;
3444
$pre-color: $base1 !default;
45+
46+

.themes/classic/sass/base/_theme.scss

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$noise-bg: image-url('noise.png') top left;
1+
$noise-bg: image-url('noise.png') top left !default;
22
$img-border: inline-image('dotted-border.png');
33

44
// Main Link Colors
@@ -23,6 +23,8 @@ $type-border: #ddd !default;
2323

2424
/* Navigation */
2525
$nav-bg: #ccc !default;
26+
$nav-bg-front: image-url('noise.png') !default;
27+
$nav-bg-back: linear-gradient(lighten($nav-bg, 8), $nav-bg, darken($nav-bg, 11)) !default;
2628
$nav-color: darken($nav-bg, 38) !default;
2729
$nav-color-hover: darken($nav-color, 25) !default;
2830
$nav-placeholder: desaturate(darken($nav-bg, 10), 15) !default;
@@ -39,13 +41,15 @@ $sidebar-link-color-hover: $link-color-hover !default;
3941
$sidebar-link-color-active: $link-color-active !default;
4042
$sidebar-color: change-color(mix($text-color, $sidebar-bg, 80), $hue: hue($sidebar-bg), $saturation: saturation($sidebar-bg)/2) !default;
4143
$sidebar-border: desaturate(darken($sidebar-bg, 7), 10) !default;
42-
$sidebar-border: darken($sidebar-bg, 7) !default;
44+
$sidebar-border-hover: darken($sidebar-bg, 7) !default;
4345
$sidebar-link-color-subdued: lighten($sidebar-color, 20) !default;
4446
$sidebar-link-color-subdued-hover: $sidebar-link-color-hover !default;
4547
$twitter-status-link: lighten($sidebar-link-color-subdued, 15) !default;
4648

4749
$footer-color: #888 !default;
4850
$footer-bg: #ccc !default;
51+
$footer-bg-front: image-url('noise.png') !default;
52+
$footer-bg-back: linear-gradient(lighten($footer-bg, 8), $footer-bg, darken($footer-bg, 11)) !default;
4953
$footer-color: darken($footer-bg, 38) !default;
5054
$footer-color-hover: darken($footer-color, 10) !default;
5155
$footer-border-top: lighten($footer-bg, 15) !default;

.themes/classic/sass/base/_typography.scss

+26-9
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,30 @@
11
$blockquote: $type-border !default;
2-
$mono: Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace;
2+
$sans: "PT Sans", "Helvetica Neue", Arial, sans-serif !default;
3+
$serif: "PT Serif", Georgia, Times, "Times New Roman", serif !default;
4+
$mono: Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace !default;
5+
$heading-font-family: "PT Serif", "Georgia", "Helvetica Neue", Arial, sans-serif !default;
6+
$header-title-font-family: $heading-font-family !default;
7+
$header-subtitle-font-family: $heading-font-family !default;
38

49
// Fonts
510
.heading {
6-
font-family: "PT Serif", "Georgia", "Helvetica Neue", Arial, sans-serif;
11+
font-family: $heading-font-family;
712
}
8-
.sans { font-family: "PT Sans", "Helvetica Neue", Arial, sans-serif; }
9-
.serif { font-family: "PT Serif", Georgia, Times, "Times New Roman", serif; }
13+
.sans { font-family: $sans; }
14+
.serif { font-family: $serif; }
1015
.mono { font-family: $mono; }
1116

1217
body > header h1 {
1318
font-size: 2.2em;
1419
@extend .heading;
20+
font-family: $header-title-font-family;
1521
font-weight: normal;
1622
line-height: 1.2em;
1723
margin-bottom: 0.6667em;
1824
}
25+
body > header h2 {
26+
font-family: $header-subtitle-font-family;
27+
}
1928

2029
body {
2130
line-height: 1.5em;
@@ -56,12 +65,12 @@ h6, section h5, section section h4, section section section h3 {
5665
p, blockquote, ul, ol { margin-bottom: 1.5em; }
5766

5867
ul { list-style-type: disc;
59-
ul { list-style-type: circle;
60-
ul { list-style-type: square; }}}
68+
ul { list-style-type: circle; margin-bottom: 0px;
69+
ul { list-style-type: square; margin-bottom: 0px; }}}
6170

6271
ol { list-style-type: decimal;
63-
ol { list-style-type: lower-alpha;
64-
ol { list-style-type: lower-roman; }}}
72+
ol { list-style-type: lower-alpha; margin-bottom: 0px;
73+
ol { list-style-type: lower-roman; margin-bottom: 0px; }}}
6574

6675
ul, ol { &, ul, ol { margin-left: 1.3em; }}
6776

@@ -115,7 +124,8 @@ blockquote {
115124
}
116125
}
117126

118-
.has-pullquote:before {
127+
.pullquote-right:before,
128+
.pullquote-left:before {
119129
/* Reset metrics. */
120130
padding: 0;
121131
border: none;
@@ -134,6 +144,13 @@ blockquote {
134144
font-size: 1.4em;
135145
line-height: 1.45em;
136146
}
147+
148+
.pullquote-left:before {
149+
/* Make left pullquotes align properly. */
150+
float: left;
151+
margin: .5em 1.5em 1em 0;
152+
}
153+
137154
/* @extend this to force long lines of continuous text to wrap */
138155
.force-wrap {
139156
white-space: -moz-pre-wrap;

.themes/classic/sass/custom/_colors.scss

+7-2
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,18 @@
55
//$header-bg: #263347;
66
//$subtitle-color: lighten($header-bg, 58);
77
//$nav-bg: desaturate(lighten(#8fc17a, 18), 5);
8+
//$nav-bg-front: image-url('noise.png');
9+
//$nav-bg-back: linear-gradient(lighten($nav-bg, 8), $nav-bg, darken($nav-bg, 11));
810
//$sidebar-bg: desaturate(#eceff5, 8);
911
//$sidebar-link-color: saturate(#526f9a, 10);
1012
//$sidebar-link-color-hover: darken(#7ab662, 9);
13+
//$footer-bg: #ccc !default;
14+
//$footer-bg-front: image-url('noise.png');
15+
//$footer-bg-back: linear-gradient(lighten($footer-bg, 8), $footer-bg, darken($footer-bg, 11));
1116

1217

1318
/* To use the light Solarized highlighting theme uncomment the following line */
14-
//$solarized: light
19+
//$solarized: light;
1520

1621
/* If you want to tweak the Solarized colors you can do that here */
1722
//$base03: #002b36; //darkest blue
@@ -34,5 +39,5 @@
3439

3540
/* Non highlighted code colors */
3641
//$pre-bg: $base03;
37-
//$pre-border: $base02;
42+
//$pre-border: darken($base02, 5);
3843
//$pre-color: $base1;
+10
Original file line numberDiff line numberDiff line change
@@ -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;

.themes/classic/sass/custom/_layout.scss

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
// Here you can easily change your sites's layout.
22
// To give it a try, uncomment some of the lines below, make changes, rebuild your blog, and see how it works.
33

4+
//$header-font-size: 1em;
5+
//$header-padding-top: 1.5em;
6+
//$header-padding-bottom: 1.5em;
7+
48
//$max-width: 1350px;
59
//$indented-lists: true;
610

.themes/classic/sass/partials/_blog.scss

+6-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
article {
2-
overflow: hidden;
32
padding-top: 1em;
43
a { @extend .force-wrap; }
54
header {
@@ -74,6 +73,8 @@ article {
7473
p.meta {
7574
margin-bottom: .8em;
7675
font-size: .85em;
76+
clear: both;
77+
overflow: hidden;
7778
}
7879
.byline + time:before, time +time:before, .comments:before, .byline ~ .categories:before {
7980
@extend .separator;
@@ -121,14 +122,12 @@ article + article {
121122
display: inline-block;
122123
}
123124

124-
#content nav.pagination {
125+
#content div.pagination {
125126
text-align: center;
126127
font-size: .95em;
127-
div {
128-
position: relative;
129-
background: $img-border top left repeat-x;
130-
padding: {top: 1.5em; bottom: 1.5em;}
131-
}
128+
position: relative;
129+
background: $img-border top left repeat-x;
130+
padding: {top: 1.5em; bottom: 1.5em;}
132131
a {
133132
text-decoration: none;
134133
color: $text-color-light;

.themes/classic/sass/partials/_footer.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ body > footer {
44
color: $footer-color;
55
text-shadow: lighten($footer-bg, 5) 0 1px;
66
background-color: $footer-bg;
7-
@include background(image-url('noise.png'), linear-gradient(lighten($footer-bg, 8), $footer-bg, darken($footer-bg, 11)));
7+
@include background($footer-bg-front, $footer-bg-back);
88
border-top: 1px solid $footer-border-top;
99
position: relative;
1010
padding-top: 1em;

.themes/classic/sass/partials/_navigation.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
body > nav {
22
position: relative;
33
background-color: $nav-bg;
4-
@include background(image-url('noise.png'), linear-gradient(lighten($nav-bg, 8), $nav-bg, darken($nav-bg, 11)));
4+
@include background($nav-bg-front, $nav-bg-back);
55
border: {
66
top: 1px solid $nav-border-top;
77
bottom: 1px solid $nav-border-bottom; }
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@import "sidebar/base";
22
@import "sidebar/twitter";
3+
@import "sidebar/googleplus";
34
@import "sidebar/pinboard";
45
@import "sidebar/delicious";

0 commit comments

Comments
 (0)