Skip to content

Commit 53cc417

Browse files
committed
first commit
0 parents  commit 53cc417

File tree

484 files changed

+12990
-0
lines changed

Some content is hidden

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

484 files changed

+12990
-0
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto

.gitignore

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.bundle
2+
.DS_Store
3+
.sass-cache
4+
.gist-cache
5+
.pygments-cache
6+
_deploy
7+
public
8+
sass.old
9+
source.old
10+
source/_stash
11+
source/stylesheets/screen.css
12+
vendor
13+
node_modules

.powrc

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
if [ -f "$rvm_path/scripts/rvm" ] && [ -f ".rvmrc" ] ; then
2+
source "$rvm_path/scripts/rvm"
3+
source ".rvmrc"
4+
fi
5+

.slugignore

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

.themes/classic/.editorconfig

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
; This file is for unifying the coding style for different editors and IDEs.
2+
; More information at http://EditorConfig.org
3+
4+
5+
; Use 2 spaces for indentation in SCSS, JavaScript, HTML, and XML
6+
7+
[*.scss]
8+
indent_style = space
9+
indent_size = 2
10+
11+
[*.js]
12+
indent_style = space
13+
indent_size = 2
14+
15+
[*.html]
16+
indent_style = space
17+
indent_size = 2
18+
19+
[*.xml]
20+
indent_style = space
21+
indent_size = 2
22+
23+
24+
; Use 4 spaces for indentation in Markdown files
25+
26+
[*.md]
27+
indent_style = space
28+
indent_size = 4
29+
30+
[*.markdown]
31+
indent_style = space
32+
indent_size = 4
33+
34+
35+
; Override default indentation for some library files
36+
37+
[jwplayer/glow/glow.xml]
38+
indent_style = tab
39+
40+
[libs/jXHR.js]
41+
indent_style = tab
42+
43+
[libs/swfobject-dynamic.js]
44+
indent_style = tab

.themes/classic/sass/_base.scss

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
@import "base/utilities";
2+
@import "base/solarized";
3+
@import "base/theme";
4+
@import "base/typography";
5+
@import "base/layout";

.themes/classic/sass/_partials.scss

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@import "partials/header";
2+
@import "partials/navigation";
3+
@import "partials/blog";
4+
@import "partials/sharing";
5+
@import "partials/syntax";
6+
@import "partials/archive";
7+
@import "partials/sidebar";
8+
@import "partials/footer";
+192
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,192 @@
1+
$max-width: 1200px !default;
2+
3+
// Padding used for layout margins
4+
$pad-min: 18px !default;
5+
$pad-narrow: 25px !default;
6+
$pad-medium: 35px !default;
7+
$pad-wide: 55px !default;
8+
9+
// Sidebar widths used in media queries
10+
$sidebar-width-medium: 240px !default;
11+
$sidebar-pad-medium: 15px !default;
12+
$sidebar-pad-wide: 20px !default;
13+
$sidebar-width-wide: 300px !default;
14+
15+
$indented-lists: false !default;
16+
17+
$header-font-size: 1em !default;
18+
$header-padding-top: 1.5em !default;
19+
$header-padding-bottom: 1.5em !default;
20+
21+
.group { @include pie-clearfix; }
22+
23+
@mixin collapse-sidebar {
24+
float: none;
25+
width: auto;
26+
clear: left;
27+
margin: 0;
28+
padding: 0 $pad-medium 1px;
29+
background-color: lighten($sidebar-bg, 2);
30+
border-top: 1px solid lighten($sidebar-border, 4);
31+
section {
32+
&.odd, &.even { float: left; width: 48%; }
33+
&.odd { margin-left: 0; }
34+
&.even { margin-left: 4%; }
35+
}
36+
&.thirds section {
37+
width: 30%;
38+
margin-left: 5%;
39+
&.first {
40+
margin-left: 0;
41+
clear: both;
42+
}
43+
}
44+
}
45+
46+
body {
47+
-webkit-text-size-adjust: none;
48+
max-width: $max-width;
49+
position: relative;
50+
margin: 0 auto;
51+
> header, > nav, > footer, #content > article, #content > div > article, #content > div > section {
52+
@extend .group;
53+
padding-left: $pad-min;
54+
padding-right: $pad-min;
55+
@media only screen and (min-width: 480px) {
56+
padding-left: $pad-narrow;
57+
padding-right: $pad-narrow;
58+
}
59+
@media only screen and (min-width: 768px) {
60+
padding-left: $pad-medium;
61+
padding-right: $pad-medium;
62+
}
63+
@media only screen and (min-width: 992px) {
64+
padding-left: $pad-wide;
65+
padding-right: $pad-wide;
66+
}
67+
}
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+
}
85+
> header {
86+
font-size: $header-font-size;
87+
padding-top: $header-padding-top;
88+
padding-bottom: $header-padding-bottom;
89+
}
90+
}
91+
92+
#content {
93+
overflow: hidden;
94+
> div, > article { width: 100%; }
95+
}
96+
97+
aside.sidebar {
98+
float: none;
99+
padding: 0 $pad-min 1px;
100+
background-color: lighten($sidebar-bg, 2);
101+
border-top: 1px solid $sidebar-border;
102+
@extend .group;
103+
}
104+
105+
.flex-content { max-width: 100%; height: auto; }
106+
107+
.basic-alignment {
108+
&.left { float: left; margin-right: 1.5em; }
109+
&.right { float: right; margin-left: 1.5em; }
110+
&.center { display:block; margin: 0 auto 1.5em; }
111+
&.left, &.right { margin-bottom: .8em; }
112+
}
113+
114+
.toggle-sidebar { &, .no-sidebar & { display: none; }}
115+
116+
body.sidebar-footer {
117+
@media only screen and (min-width: 750px) {
118+
aside.sidebar{ @include collapse-sidebar; }
119+
}
120+
#content { margin-right: 0px; }
121+
.toggle-sidebar { display: none; }
122+
}
123+
124+
@media only screen and (min-width: 550px) {
125+
body > header { font-size: $header-font-size; }
126+
}
127+
@media only screen and (min-width: 750px) {
128+
aside.sidebar { @include collapse-sidebar; }
129+
}
130+
#main, #content, .sidebar {
131+
@extend .group;
132+
}
133+
@media only screen and (min-width: 768px) {
134+
body { -webkit-text-size-adjust: auto; }
135+
body > header { font-size: $header-font-size * 1.2; }
136+
#main {
137+
padding: 0;
138+
margin: 0 auto;
139+
}
140+
#content {
141+
overflow: visible;
142+
margin-right: $sidebar-width-medium;
143+
position: relative;
144+
.no-sidebar & { margin-right: 0; border-right: 0; }
145+
.collapse-sidebar & { margin-right: 20px; }
146+
> div, > article {
147+
padding-top: $pad-medium/2;
148+
padding-bottom: $pad-medium/2;
149+
float: left;
150+
}
151+
}
152+
aside.sidebar {
153+
width: $sidebar-width-medium - $sidebar-pad-medium*2;
154+
padding: 0 $sidebar-pad-medium $sidebar-pad-medium;
155+
background: none;
156+
clear: none;
157+
float: left;
158+
margin: 0 -100% 0 0;
159+
section {
160+
width: auto; margin-left: 0;
161+
&.odd, &.even { float: none; width: auto; margin-left: 0; }
162+
}
163+
.collapse-sidebar & {
164+
@include collapse-sidebar;
165+
}
166+
}
167+
}
168+
169+
@media only screen and (min-width: 992px) {
170+
body > header { font-size: $header-font-size * 1.3; }
171+
#content { margin-right: $sidebar-width-wide; }
172+
#content {
173+
> div, > article {
174+
padding-top: $pad-wide/2;
175+
padding-bottom: $pad-wide/2;
176+
}
177+
}
178+
aside.sidebar {
179+
width: $sidebar-width-wide - $sidebar-pad-wide*2;
180+
padding: 1.2em $sidebar-pad-wide $sidebar-pad-wide;
181+
.collapse-sidebar & {
182+
padding: { left: $pad-wide; right: $pad-wide; }
183+
}
184+
}
185+
}
186+
187+
@if $indented-lists == false {
188+
@media only screen and (min-width: 768px) {
189+
ul, ol { margin-left: 0; }
190+
}
191+
}
192+
+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
$base03: #002b36 !default; //darkest blue
2+
$base02: #073642 !default; //dark blue
3+
$base01: #586e75 !default; //darkest gray
4+
$base00: #657b83 !default; //dark gray
5+
$base0: #839496 !default; //medium gray
6+
$base1: #93a1a1 !default; //medium light gray
7+
$base2: #eee8d5 !default; //cream
8+
$base3: #fdf6e3 !default; //white
9+
$solar-yellow: #b58900 !default;
10+
$solar-orange: #cb4b16 !default;
11+
$solar-red: #dc322f !default;
12+
$solar-magenta: #d33682 !default;
13+
$solar-violet: #6c71c4 !default;
14+
$solar-blue: #268bd2 !default;
15+
$solar-cyan: #2aa198 !default;
16+
$solar-green: #859900 !default;
17+
18+
$solarized: dark !default;
19+
20+
@if $solarized == light {
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;
39+
}
40+
41+
/* non highlighted code colors */
42+
$pre-bg: $base03 !default;
43+
$pre-border: darken($base02, 5) !default;
44+
$pre-color: $base1 !default;
45+
46+

0 commit comments

Comments
 (0)