squidpress 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE +8 -0
- data/README.markdown +32 -0
- data/_includes/after_footer.html +5 -0
- data/_includes/archive_post.html +8 -0
- data/_includes/article.html +29 -0
- data/_includes/asides/delicious.html +8 -0
- data/_includes/asides/github.html +30 -0
- data/_includes/asides/googleplus.html +11 -0
- data/_includes/asides/pinboard.html +19 -0
- data/_includes/asides/recent_posts.html +10 -0
- data/_includes/custom/after_footer.html +3 -0
- data/_includes/custom/asides/about.html +4 -0
- data/_includes/custom/category_feed.xml +27 -0
- data/_includes/custom/footer.html +4 -0
- data/_includes/custom/head.html +3 -0
- data/_includes/custom/header.html +6 -0
- data/_includes/custom/navigation.html +4 -0
- data/_includes/disqus.html +21 -0
- data/_includes/facebook_like.html +10 -0
- data/_includes/footer.html +1 -0
- data/_includes/google_analytics.html +13 -0
- data/_includes/google_plus_one.html +9 -0
- data/_includes/head.html +30 -0
- data/_includes/header.html +1 -0
- data/_includes/navigation.html +15 -0
- data/_includes/post/author.html +8 -0
- data/_includes/post/categories.html +10 -0
- data/_includes/post/date.html +5 -0
- data/_includes/post/disqus_thread.html +1 -0
- data/_includes/post/sharing.html +11 -0
- data/_includes/twitter_sharing.html +11 -0
- data/_layouts/category_index.html +17 -0
- data/_layouts/default.html +14 -0
- data/_layouts/page.html +42 -0
- data/_layouts/post.html +43 -0
- data/_sass/_base.scss +5 -0
- data/_sass/_minicompass.scss +38 -0
- data/_sass/_partials.scss +8 -0
- data/_sass/base/_layout.scss +198 -0
- data/_sass/base/_solarized.scss +47 -0
- data/_sass/base/_theme.scss +92 -0
- data/_sass/base/_typography.scss +166 -0
- data/_sass/base/_utilities.scss +32 -0
- data/_sass/custom/_colors.scss +43 -0
- data/_sass/custom/_fonts.scss +10 -0
- data/_sass/custom/_layout.scss +21 -0
- data/_sass/custom/_styles.scss +2 -0
- data/_sass/minicompass/border-radius.scss +14 -0
- data/_sass/minicompass/bullets.scss +36 -0
- data/_sass/minicompass/clearfix.scss +20 -0
- data/_sass/minicompass/horizontal-list.scss +58 -0
- data/_sass/minicompass/hover-link.scss +5 -0
- data/_sass/minicompass/link-colors.scss +28 -0
- data/_sass/minicompass/reset.scss +117 -0
- data/_sass/partials/_archive.scss +75 -0
- data/_sass/partials/_blog.scss +141 -0
- data/_sass/partials/_footer.scss +23 -0
- data/_sass/partials/_header.scss +18 -0
- data/_sass/partials/_navigation.scss +141 -0
- data/_sass/partials/_sharing.scss +8 -0
- data/_sass/partials/_sidebar.scss +4 -0
- data/_sass/partials/_syntax.scss +268 -0
- data/_sass/partials/sidebar/_base.scss +107 -0
- data/_sass/partials/sidebar/_delicious.scss +4 -0
- data/_sass/partials/sidebar/_googleplus.scss +26 -0
- data/_sass/partials/sidebar/_pinboard.scss +14 -0
- data/_sass/plugins/_plugins.scss +6 -0
- data/assets/images/bird_32_gray.png +0 -0
- data/assets/images/bird_32_gray_fail.png +0 -0
- data/assets/images/code_bg.png +0 -0
- data/assets/images/dotted-border.png +0 -0
- data/assets/images/email.png +0 -0
- data/assets/images/line-tile.png +0 -0
- data/assets/images/noise.png +0 -0
- data/assets/images/rss.png +0 -0
- data/assets/images/search.png +0 -0
- data/assets/javascripts/github.js +32 -0
- data/assets/javascripts/libs/jXHR.js +85 -0
- data/assets/javascripts/libs/jquery.min.js +5 -0
- data/assets/javascripts/libs/swfobject-dynamic.js +298 -0
- data/assets/javascripts/modernizr-2.0.js +5 -0
- data/assets/javascripts/octopress.js +151 -0
- data/assets/javascripts/pinboard.js +56 -0
- data/assets/javascripts/twitter.js +78 -0
- data/assets/jwplayer/glow/controlbar/background.png +0 -0
- data/assets/jwplayer/glow/controlbar/blankButton.png +0 -0
- data/assets/jwplayer/glow/controlbar/divider.png +0 -0
- data/assets/jwplayer/glow/controlbar/fullscreenButton.png +0 -0
- data/assets/jwplayer/glow/controlbar/fullscreenButtonOver.png +0 -0
- data/assets/jwplayer/glow/controlbar/muteButton.png +0 -0
- data/assets/jwplayer/glow/controlbar/muteButtonOver.png +0 -0
- data/assets/jwplayer/glow/controlbar/normalscreenButton.png +0 -0
- data/assets/jwplayer/glow/controlbar/normalscreenButtonOver.png +0 -0
- data/assets/jwplayer/glow/controlbar/pauseButton.png +0 -0
- data/assets/jwplayer/glow/controlbar/pauseButtonOver.png +0 -0
- data/assets/jwplayer/glow/controlbar/playButton.png +0 -0
- data/assets/jwplayer/glow/controlbar/playButtonOver.png +0 -0
- data/assets/jwplayer/glow/controlbar/timeSliderBuffer.png +0 -0
- data/assets/jwplayer/glow/controlbar/timeSliderCapLeft.png +0 -0
- data/assets/jwplayer/glow/controlbar/timeSliderCapRight.png +0 -0
- data/assets/jwplayer/glow/controlbar/timeSliderProgress.png +0 -0
- data/assets/jwplayer/glow/controlbar/timeSliderRail.png +0 -0
- data/assets/jwplayer/glow/controlbar/unmuteButton.png +0 -0
- data/assets/jwplayer/glow/controlbar/unmuteButtonOver.png +0 -0
- data/assets/jwplayer/glow/display/background.png +0 -0
- data/assets/jwplayer/glow/display/bufferIcon.png +0 -0
- data/assets/jwplayer/glow/display/muteIcon.png +0 -0
- data/assets/jwplayer/glow/display/playIcon.png +0 -0
- data/assets/jwplayer/glow/dock/button.png +0 -0
- data/assets/jwplayer/glow/glow.xml +115 -0
- data/assets/jwplayer/glow/playlist/item.png +0 -0
- data/assets/jwplayer/glow/playlist/itemOver.png +0 -0
- data/assets/jwplayer/glow/playlist/sliderCapBottom.png +0 -0
- data/assets/jwplayer/glow/playlist/sliderCapTop.png +0 -0
- data/assets/jwplayer/glow/playlist/sliderRail.png +0 -0
- data/assets/jwplayer/glow/playlist/sliderThumb.png +0 -0
- data/assets/jwplayer/glow/sharing/embedIcon.png +0 -0
- data/assets/jwplayer/glow/sharing/embedScreen.png +0 -0
- data/assets/jwplayer/glow/sharing/shareIcon.png +0 -0
- data/assets/jwplayer/glow/sharing/shareScreen.png +0 -0
- data/assets/jwplayer/player.swf +0 -0
- data/assets/stylesheets/screen.scss +14 -0
- data/atom.xml +27 -0
- data/favicon.png +0 -0
- data/index.html +29 -0
- data/robots.txt +7 -0
- metadata +211 -0
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
@use "theme";
|
|
2
|
+
|
|
3
|
+
@use "minicompass/clearfix";
|
|
4
|
+
@use "sass:color";
|
|
5
|
+
@use 'sass:math';
|
|
6
|
+
|
|
7
|
+
$max-width: 1200px !default;
|
|
8
|
+
|
|
9
|
+
// Padding used for layout margins
|
|
10
|
+
$pad-min: 18px !default;
|
|
11
|
+
$pad-narrow: 25px !default;
|
|
12
|
+
$pad-medium: 35px !default;
|
|
13
|
+
$pad-wide: 55px !default;
|
|
14
|
+
|
|
15
|
+
// Sidebar widths used in media queries
|
|
16
|
+
$sidebar-width-medium: 240px !default;
|
|
17
|
+
$sidebar-pad-medium: 15px !default;
|
|
18
|
+
$sidebar-pad-wide: 20px !default;
|
|
19
|
+
$sidebar-width-wide: 300px !default;
|
|
20
|
+
|
|
21
|
+
$indented-lists: false !default;
|
|
22
|
+
|
|
23
|
+
$header-font-size: 1em !default;
|
|
24
|
+
$header-padding-top: 1.5em !default;
|
|
25
|
+
$header-padding-bottom: 1.5em !default;
|
|
26
|
+
|
|
27
|
+
.group { @include clearfix.pie-clearfix; }
|
|
28
|
+
|
|
29
|
+
@mixin collapse-sidebar {
|
|
30
|
+
float: none;
|
|
31
|
+
width: auto;
|
|
32
|
+
clear: left;
|
|
33
|
+
margin: 0;
|
|
34
|
+
padding: 0 $pad-medium 1px;
|
|
35
|
+
background-color: color.adjust(theme.$sidebar-bg, $lightness: 2%);
|
|
36
|
+
border-top: 1px solid color.adjust(theme.$sidebar-border, $lightness: 4%);
|
|
37
|
+
section {
|
|
38
|
+
&.odd, &.even { float: left; width: 48%; }
|
|
39
|
+
&.odd { margin-left: 0; }
|
|
40
|
+
&.even { margin-left: 4%; }
|
|
41
|
+
}
|
|
42
|
+
&.thirds section {
|
|
43
|
+
width: 30%;
|
|
44
|
+
margin-left: 5%;
|
|
45
|
+
&.first {
|
|
46
|
+
margin-left: 0;
|
|
47
|
+
clear: both;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
body {
|
|
53
|
+
-webkit-text-size-adjust: none;
|
|
54
|
+
max-width: $max-width;
|
|
55
|
+
position: relative;
|
|
56
|
+
margin: 0 auto;
|
|
57
|
+
> header, > nav, > footer, #content > article, #content > div > article, #content > div > section {
|
|
58
|
+
@extend .group;
|
|
59
|
+
padding-left: $pad-min;
|
|
60
|
+
padding-right: $pad-min;
|
|
61
|
+
@media only screen and (min-width: 480px) {
|
|
62
|
+
padding-left: $pad-narrow;
|
|
63
|
+
padding-right: $pad-narrow;
|
|
64
|
+
}
|
|
65
|
+
@media only screen and (min-width: 768px) {
|
|
66
|
+
padding-left: $pad-medium;
|
|
67
|
+
padding-right: $pad-medium;
|
|
68
|
+
}
|
|
69
|
+
@media only screen and (min-width: 992px) {
|
|
70
|
+
padding-left: $pad-wide;
|
|
71
|
+
padding-right: $pad-wide;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
div.pagination {
|
|
75
|
+
@extend .group;
|
|
76
|
+
margin-left: $pad-min;
|
|
77
|
+
margin-right: $pad-min;
|
|
78
|
+
@media only screen and (min-width: 480px) {
|
|
79
|
+
margin-left: $pad-narrow;
|
|
80
|
+
margin-right: $pad-narrow;
|
|
81
|
+
}
|
|
82
|
+
@media only screen and (min-width: 768px) {
|
|
83
|
+
margin-left: $pad-medium;
|
|
84
|
+
margin-right: $pad-medium;
|
|
85
|
+
}
|
|
86
|
+
@media only screen and (min-width: 992px) {
|
|
87
|
+
margin-left: $pad-wide;
|
|
88
|
+
margin-right: $pad-wide;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
> header {
|
|
92
|
+
font-size: $header-font-size;
|
|
93
|
+
padding-top: $header-padding-top;
|
|
94
|
+
padding-bottom: $header-padding-bottom;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
#content {
|
|
99
|
+
overflow: hidden;
|
|
100
|
+
> div, > article { width: 100%; }
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
aside.sidebar {
|
|
104
|
+
float: none;
|
|
105
|
+
padding: 0 $pad-min 1px;
|
|
106
|
+
background-color: color.adjust(theme.$sidebar-bg, $lightness: 2%);
|
|
107
|
+
border-top: 1px solid theme.$sidebar-border;
|
|
108
|
+
@extend .group;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.flex-content { max-width: 100%; height: auto; }
|
|
112
|
+
|
|
113
|
+
.basic-alignment {
|
|
114
|
+
&.left { float: left; margin-right: 1.5em; }
|
|
115
|
+
&.right { float: right; margin-left: 1.5em; }
|
|
116
|
+
&.center { display:block; margin: 0 auto 1.5em; }
|
|
117
|
+
&.left, &.right { margin-bottom: .8em; }
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.toggle-sidebar { &, .no-sidebar & { display: none; }}
|
|
121
|
+
|
|
122
|
+
body.sidebar-footer {
|
|
123
|
+
@media only screen and (min-width: 750px) {
|
|
124
|
+
aside.sidebar{ @include collapse-sidebar; }
|
|
125
|
+
}
|
|
126
|
+
#content { margin-right: 0px; }
|
|
127
|
+
.toggle-sidebar { display: none; }
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
@media only screen and (min-width: 550px) {
|
|
131
|
+
body > header { font-size: $header-font-size; }
|
|
132
|
+
}
|
|
133
|
+
@media only screen and (min-width: 750px) {
|
|
134
|
+
aside.sidebar { @include collapse-sidebar; }
|
|
135
|
+
}
|
|
136
|
+
#main, #content, .sidebar {
|
|
137
|
+
@extend .group;
|
|
138
|
+
}
|
|
139
|
+
@media only screen and (min-width: 768px) {
|
|
140
|
+
body { -webkit-text-size-adjust: auto; }
|
|
141
|
+
body > header { font-size: $header-font-size * 1.2; }
|
|
142
|
+
#main {
|
|
143
|
+
padding: 0;
|
|
144
|
+
margin: 0 auto;
|
|
145
|
+
}
|
|
146
|
+
#content {
|
|
147
|
+
overflow: visible;
|
|
148
|
+
margin-right: $sidebar-width-medium;
|
|
149
|
+
position: relative;
|
|
150
|
+
.no-sidebar & { margin-right: 0; border-right: 0; }
|
|
151
|
+
.collapse-sidebar & { margin-right: 20px; }
|
|
152
|
+
> div, > article {
|
|
153
|
+
padding-top: math.div($pad-medium, 2);
|
|
154
|
+
padding-bottom: math.div($pad-medium, 2);
|
|
155
|
+
float: left;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
aside.sidebar {
|
|
159
|
+
width: $sidebar-width-medium - $sidebar-pad-medium*2;
|
|
160
|
+
padding: 0 $sidebar-pad-medium $sidebar-pad-medium;
|
|
161
|
+
background: none;
|
|
162
|
+
clear: none;
|
|
163
|
+
float: left;
|
|
164
|
+
margin: 0 -100% 0 0;
|
|
165
|
+
section {
|
|
166
|
+
width: auto; margin-left: 0;
|
|
167
|
+
&.odd, &.even { float: none; width: auto; margin-left: 0; }
|
|
168
|
+
}
|
|
169
|
+
.collapse-sidebar & {
|
|
170
|
+
@include collapse-sidebar;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
@media only screen and (min-width: 992px) {
|
|
176
|
+
body > header { font-size: $header-font-size * 1.3; }
|
|
177
|
+
#content { margin-right: $sidebar-width-wide; }
|
|
178
|
+
#content {
|
|
179
|
+
> div, > article {
|
|
180
|
+
padding-top: math.div($pad-wide, 2);
|
|
181
|
+
padding-bottom: math.div($pad-wide, 2);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
aside.sidebar {
|
|
185
|
+
width: $sidebar-width-wide - $sidebar-pad-wide*2;
|
|
186
|
+
padding: 1.2em $sidebar-pad-wide $sidebar-pad-wide;
|
|
187
|
+
.collapse-sidebar & {
|
|
188
|
+
padding: { left: $pad-wide; right: $pad-wide; }
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
@if $indented-lists == false {
|
|
194
|
+
@media only screen and (min-width: 768px) {
|
|
195
|
+
ul, ol { margin-left: 0; }
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
@use "sass:color";
|
|
2
|
+
$base03: #002b36 !default; //darkest blue
|
|
3
|
+
$base02: #073642 !default; //dark blue
|
|
4
|
+
$base01: #586e75 !default; //darkest gray
|
|
5
|
+
$base00: #657b83 !default; //dark gray
|
|
6
|
+
$base0: #839496 !default; //medium gray
|
|
7
|
+
$base1: #93a1a1 !default; //medium light gray
|
|
8
|
+
$base2: #eee8d5 !default; //cream
|
|
9
|
+
$base3: #fdf6e3 !default; //white
|
|
10
|
+
$solar-yellow: #b58900 !default;
|
|
11
|
+
$solar-orange: #cb4b16 !default;
|
|
12
|
+
$solar-red: #dc322f !default;
|
|
13
|
+
$solar-magenta: #d33682 !default;
|
|
14
|
+
$solar-violet: #6c71c4 !default;
|
|
15
|
+
$solar-blue: #268bd2 !default;
|
|
16
|
+
$solar-cyan: #2aa198 !default;
|
|
17
|
+
$solar-green: #859900 !default;
|
|
18
|
+
|
|
19
|
+
$solarized: dark !default;
|
|
20
|
+
|
|
21
|
+
@if $solarized == light {
|
|
22
|
+
|
|
23
|
+
$_base03: $base03;
|
|
24
|
+
$_base02: $base02;
|
|
25
|
+
$_base01: $base01;
|
|
26
|
+
$_base00: $base00;
|
|
27
|
+
$_base0: $base0;
|
|
28
|
+
$_base1: $base1;
|
|
29
|
+
$_base2: $base2;
|
|
30
|
+
$_base3: $base3;
|
|
31
|
+
|
|
32
|
+
$base03: $_base3;
|
|
33
|
+
$base02: $_base2;
|
|
34
|
+
$base01: $_base1;
|
|
35
|
+
$base00: $_base0;
|
|
36
|
+
$base0: $_base00;
|
|
37
|
+
$base1: $_base01;
|
|
38
|
+
$base2: $_base02;
|
|
39
|
+
$base3: $_base03;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/* non highlighted code colors */
|
|
43
|
+
$pre-bg: $base03 !default;
|
|
44
|
+
$pre-border: color.adjust($base02, $lightness: -5%) !default;
|
|
45
|
+
$pre-color: $base1 !default;
|
|
46
|
+
|
|
47
|
+
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
@use "minicompass/link-colors";
|
|
2
|
+
|
|
3
|
+
@use "sass:color";
|
|
4
|
+
@use 'sass:math';
|
|
5
|
+
|
|
6
|
+
$asset-root: "/assets" !default;
|
|
7
|
+
|
|
8
|
+
$noise-bg: url($asset-root + '/images/noise.png') top left !default;
|
|
9
|
+
$img-border: inline-image('dotted-border.png') !default;
|
|
10
|
+
|
|
11
|
+
// Main Link Colors
|
|
12
|
+
$link-color: color.adjust(#165b94, $lightness: 3%) !default;
|
|
13
|
+
$link-color-hover: color.adjust($link-color, $lightness: 10%, $saturation: 25%) !default;
|
|
14
|
+
$link-color-visited: color.adjust($link-color, $hue: 80, $lightness: -4%) !default;
|
|
15
|
+
$link-color-active: color.adjust($link-color-hover, $lightness: -15%) !default;
|
|
16
|
+
|
|
17
|
+
// Main Section Colors
|
|
18
|
+
$main-bg: #f8f8f8 !default;
|
|
19
|
+
$page-bg: #252525 !default;
|
|
20
|
+
$article-border: #eeeeee !default;
|
|
21
|
+
|
|
22
|
+
$header-bg: #333 !default;
|
|
23
|
+
$header-border: color.adjust($header-bg, $lightness: 15%) !default;
|
|
24
|
+
$title-color: #f2f2f2 !default;
|
|
25
|
+
$subtitle-color: #aaa !default;
|
|
26
|
+
|
|
27
|
+
$text-color: #222 !default;
|
|
28
|
+
$text-color-light: #aaa !default;
|
|
29
|
+
$type-border: #ddd !default;
|
|
30
|
+
|
|
31
|
+
/* Navigation */
|
|
32
|
+
$nav-bg: #ccc !default;
|
|
33
|
+
$nav-bg-front: url($asset-root + '/images/noise.png') !default;
|
|
34
|
+
$nav-bg-back: linear-gradient(color.adjust($nav-bg, $lightness: 8%), $nav-bg, color.adjust($nav-bg, $lightness: -11%)) !default;
|
|
35
|
+
$nav-color: color.adjust($nav-bg, $lightness: -38%) !default;
|
|
36
|
+
$nav-color-hover: color.adjust($nav-color, $lightness: -25%) !default;
|
|
37
|
+
$nav-placeholder: color.adjust(color.adjust($nav-bg, $lightness: -10%), $saturation: -15%) !default;
|
|
38
|
+
$nav-border: color.adjust($nav-bg, $lightness: -10%) !default;
|
|
39
|
+
$nav-border-top: color.adjust($nav-bg, $lightness: 15%) !default;
|
|
40
|
+
$nav-border-bottom: color.adjust($nav-bg, $lightness: -25%) !default;
|
|
41
|
+
$nav-border-left: color.adjust($nav-bg, $lightness: -11%) !default;
|
|
42
|
+
$nav-border-right: color.adjust($nav-bg, $lightness: 7%) !default;
|
|
43
|
+
|
|
44
|
+
/* Sidebar colors */
|
|
45
|
+
$sidebar-bg: #f2f2f2 !default;
|
|
46
|
+
$sidebar-link-color: $text-color !default;
|
|
47
|
+
$sidebar-link-color-hover: $link-color-hover !default;
|
|
48
|
+
$sidebar-link-color-active: $link-color-active !default;
|
|
49
|
+
$sidebar-color: color.change(color.mix($text-color, $sidebar-bg, 80%), $hue: color.channel($sidebar-bg, "hue", $space: hsl), $saturation: math.div(color.channel($sidebar-bg, "saturation", $space: hsl), 2)) !default;
|
|
50
|
+
$sidebar-border: color.adjust(color.adjust($sidebar-bg, $lightness: -7%), $saturation: -10%) !default;
|
|
51
|
+
$sidebar-border-hover: color.adjust($sidebar-bg, $lightness: -7%) !default;
|
|
52
|
+
$sidebar-link-color-subdued: color.adjust($sidebar-color, $lightness: 20%) !default;
|
|
53
|
+
$sidebar-link-color-subdued-hover: $sidebar-link-color-hover !default;
|
|
54
|
+
|
|
55
|
+
$footer-color: #888 !default;
|
|
56
|
+
$footer-bg: #ccc !default;
|
|
57
|
+
$footer-bg-front: url($asset-root + '/images/noise.png') !default;
|
|
58
|
+
$footer-bg-back: linear-gradient(color.adjust($footer-bg, $lightness: 8%), $footer-bg, color.adjust($footer-bg, $lightness: -11%)) !default;
|
|
59
|
+
$footer-color: color.adjust($footer-bg, $lightness: -38%) !default;
|
|
60
|
+
$footer-color-hover: color.adjust($footer-color, $lightness: -10%) !default;
|
|
61
|
+
$footer-border-top: color.adjust($footer-bg, $lightness: 15%) !default;
|
|
62
|
+
$footer-border-bottom: color.adjust($footer-bg, $lightness: -15%) !default;
|
|
63
|
+
$footer-link-color: color.adjust($footer-bg, $lightness: -38%) !default;
|
|
64
|
+
$footer-link-color-hover: color.adjust($footer-color, $lightness: -25%) !default;
|
|
65
|
+
$page-border-bottom: color.adjust($footer-bg, $lightness: -5%) !default;
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
/* Core theme application */
|
|
69
|
+
|
|
70
|
+
a {
|
|
71
|
+
@include link-colors.link-colors($link-color, $hover: $link-color-hover, $focus: $link-color-hover, $visited: $link-color-visited, $active: $link-color-active);
|
|
72
|
+
}
|
|
73
|
+
aside.sidebar a {
|
|
74
|
+
@include link-colors.link-colors($sidebar-link-color, $hover: $sidebar-link-color-hover, $focus: $sidebar-link-color-hover, $active: $sidebar-link-color-active);
|
|
75
|
+
}
|
|
76
|
+
a {
|
|
77
|
+
transition: color .3s;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
html {
|
|
81
|
+
background: $page-bg url($asset-root + '/images/line-tile.png') top left;
|
|
82
|
+
}
|
|
83
|
+
body {
|
|
84
|
+
> div {
|
|
85
|
+
background: $sidebar-bg $noise-bg;
|
|
86
|
+
border-bottom: 1px solid $page-border-bottom;
|
|
87
|
+
> div {
|
|
88
|
+
background: $main-bg $noise-bg;
|
|
89
|
+
border-right: 1px solid $sidebar-border;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
@use "theme";
|
|
2
|
+
|
|
3
|
+
$blockquote: theme.$type-border !default;
|
|
4
|
+
$sans: "PT Sans", "Helvetica Neue", Arial, sans-serif !default;
|
|
5
|
+
$serif: "PT Serif", Georgia, Times, "Times New Roman", serif !default;
|
|
6
|
+
$mono: Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace !default;
|
|
7
|
+
$heading-font-family: "PT Serif", "Georgia", "Helvetica Neue", Arial, sans-serif !default;
|
|
8
|
+
$header-title-font-family: $heading-font-family !default;
|
|
9
|
+
$header-subtitle-font-family: $heading-font-family !default;
|
|
10
|
+
|
|
11
|
+
// Fonts
|
|
12
|
+
.heading {
|
|
13
|
+
font-family: $heading-font-family;
|
|
14
|
+
}
|
|
15
|
+
.sans { font-family: $sans; }
|
|
16
|
+
.serif { font-family: $serif; }
|
|
17
|
+
.mono { font-family: $mono; }
|
|
18
|
+
|
|
19
|
+
body > header h1 {
|
|
20
|
+
font-size: 2.2em;
|
|
21
|
+
@extend .heading;
|
|
22
|
+
font-family: $header-title-font-family;
|
|
23
|
+
font-weight: normal;
|
|
24
|
+
line-height: 1.2em;
|
|
25
|
+
margin-bottom: 0.6667em;
|
|
26
|
+
}
|
|
27
|
+
body > header h2 {
|
|
28
|
+
font-family: $header-subtitle-font-family;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
body {
|
|
32
|
+
line-height: 1.5em;
|
|
33
|
+
color: theme.$text-color;
|
|
34
|
+
@extend .serif;
|
|
35
|
+
}
|
|
36
|
+
h1 {
|
|
37
|
+
font-size: 2.2em;
|
|
38
|
+
line-height: 1.2em;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@media only screen and (min-width: 992px) {
|
|
42
|
+
body { font-size: 1.15em; }
|
|
43
|
+
h1 { font-size: 2.6em; line-height: 1.2em; }
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
h1, h2, h3, h4, h5, h6 {
|
|
47
|
+
@extend .heading;
|
|
48
|
+
text-rendering: optimizelegibility;
|
|
49
|
+
margin-bottom: 1em;
|
|
50
|
+
font-weight: bold;
|
|
51
|
+
}
|
|
52
|
+
h2, section h1 {
|
|
53
|
+
font-size: 1.5em;
|
|
54
|
+
}
|
|
55
|
+
h3, section h2, section section h1 {
|
|
56
|
+
font-size: 1.3em;
|
|
57
|
+
}
|
|
58
|
+
h4, section h3, section section h2, section section section h1 {
|
|
59
|
+
font-size: 1em;
|
|
60
|
+
}
|
|
61
|
+
h5, section h4, section section h3 {
|
|
62
|
+
font-size: .9em;
|
|
63
|
+
}
|
|
64
|
+
h6, section h5, section section h4, section section section h3 {
|
|
65
|
+
font-size: .8em;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
p, article blockquote, ul, ol { margin-bottom: 1.5em; }
|
|
69
|
+
|
|
70
|
+
ul { list-style-type: disc;
|
|
71
|
+
ul { list-style-type: circle; margin-bottom: 0px;
|
|
72
|
+
ul { list-style-type: square; margin-bottom: 0px; }}}
|
|
73
|
+
|
|
74
|
+
ol { list-style-type: decimal;
|
|
75
|
+
ol { list-style-type: lower-alpha; margin-bottom: 0px;
|
|
76
|
+
ol { list-style-type: lower-roman; margin-bottom: 0px; }}}
|
|
77
|
+
|
|
78
|
+
ul, ol { &, ul, ol { margin-left: 1.3em; }}
|
|
79
|
+
ul, ol { ul, ol { margin-bottom: 0em; }}
|
|
80
|
+
|
|
81
|
+
strong { font-weight: bold; }
|
|
82
|
+
|
|
83
|
+
em { font-style: italic; }
|
|
84
|
+
|
|
85
|
+
sup, sub { font-size: 0.75em; position: relative; display: inline-block; padding: 0 .2em; line-height: .8em;}
|
|
86
|
+
sup { top: -.5em; }
|
|
87
|
+
sub { bottom: -.5em; }
|
|
88
|
+
|
|
89
|
+
a[rev='footnote']{ font-size: .75em; padding: 0 .3em; line-height: 1; }
|
|
90
|
+
|
|
91
|
+
q { font-style: italic;
|
|
92
|
+
&:before { content: "\201C"; }
|
|
93
|
+
&:after { content: "\201D"; }
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
em, dfn { font-style: italic; }
|
|
97
|
+
|
|
98
|
+
strong, dfn { font-weight: bold; }
|
|
99
|
+
|
|
100
|
+
del, s { text-decoration: line-through; }
|
|
101
|
+
|
|
102
|
+
abbr, acronym { border-bottom: 1px dotted; cursor: help; }
|
|
103
|
+
|
|
104
|
+
pre, code, tt { @extend .mono; }
|
|
105
|
+
|
|
106
|
+
hr { margin-bottom: 0.2em; }
|
|
107
|
+
|
|
108
|
+
small { font-size: .8em; }
|
|
109
|
+
|
|
110
|
+
big { font-size: 1.2em; }
|
|
111
|
+
|
|
112
|
+
article blockquote {
|
|
113
|
+
$bq-margin: 1.2em;
|
|
114
|
+
font-style: italic;
|
|
115
|
+
position: relative;
|
|
116
|
+
font-size: 1.2em;
|
|
117
|
+
line-height: 1.5em;
|
|
118
|
+
padding-left: 1em;
|
|
119
|
+
border-left: 4px solid rgba(theme.$text-color-light, .5);
|
|
120
|
+
cite {
|
|
121
|
+
font-style: italic;
|
|
122
|
+
a { color: theme.$text-color-light !important; word-wrap: break-word; }
|
|
123
|
+
&:before { content: '\2014'; padding:{right: .3em; left: .3em;} color: theme.$text-color-light; }
|
|
124
|
+
}
|
|
125
|
+
@media only screen and (min-width: 992px) {
|
|
126
|
+
padding-left: 1.5em;
|
|
127
|
+
border-left-width: 4px;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.pullquote-right:before,
|
|
132
|
+
.pullquote-left:before {
|
|
133
|
+
/* Reset metrics. */
|
|
134
|
+
padding: 0;
|
|
135
|
+
border: none;
|
|
136
|
+
|
|
137
|
+
/* Content */
|
|
138
|
+
content: attr(data-pullquote);
|
|
139
|
+
|
|
140
|
+
/* Pull out to the right, modular scale based margins. */
|
|
141
|
+
float: right;
|
|
142
|
+
width: 45%;
|
|
143
|
+
margin: .5em 0 1em 1.5em;
|
|
144
|
+
|
|
145
|
+
/* Baseline correction */
|
|
146
|
+
position: relative;
|
|
147
|
+
top: 7px;
|
|
148
|
+
font-size: 1.4em;
|
|
149
|
+
line-height: 1.45em;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.pullquote-left:before {
|
|
153
|
+
/* Make left pullquotes align properly. */
|
|
154
|
+
float: left;
|
|
155
|
+
margin: .5em 1.5em 1em 0;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
/* @extend this to force long lines of continuous text to wrap */
|
|
159
|
+
.force-wrap {
|
|
160
|
+
white-space: -moz-pre-wrap;
|
|
161
|
+
white-space: -pre-wrap;
|
|
162
|
+
white-space: -o-pre-wrap;
|
|
163
|
+
white-space: pre-wrap;
|
|
164
|
+
word-wrap: break-word;
|
|
165
|
+
}
|
|
166
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
@use "sass:color";
|
|
2
|
+
|
|
3
|
+
$asset-root: "/assets" !default;
|
|
4
|
+
|
|
5
|
+
@mixin mask-image($img, $width, $height, $repeat: no-repeat){
|
|
6
|
+
mask-image: url($asset-root + "/images/" + $img);
|
|
7
|
+
mask-repeat: $repeat;
|
|
8
|
+
width: $width;
|
|
9
|
+
height: $height;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@mixin shadow-box($border: #fff .5em solid, $shadow: rgba(#000, .15) 0 1px 4px, $border-radius: .3em) {
|
|
13
|
+
border-radius: $border-radius;
|
|
14
|
+
box-shadow: $shadow;
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
border: $border;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@mixin selection($bg, $color: inherit, $text-shadow: none){
|
|
20
|
+
* {
|
|
21
|
+
&::-moz-selection { background: $bg; color: $color; text-shadow: $text-shadow; }
|
|
22
|
+
&::-webkit-selection { background: $bg; color: $color; text-shadow: $text-shadow; }
|
|
23
|
+
&::selection { background: $bg; color: $color; text-shadow: $text-shadow; }
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@function text-color($color, $dark: dark, $light: light){
|
|
28
|
+
$text-color: ( (color.red($color)*299) + (color.green($color)*587) + (color.blue($color)*114) ) / 1000;
|
|
29
|
+
$text-color: if(sass($text-color >= 150): $dark; else: $light);
|
|
30
|
+
@return $text-color;
|
|
31
|
+
}
|
|
32
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
// Here you can easily change your sites's color scheme.
|
|
2
|
+
// To give it a try, uncomment some of the lines below rebuild your blog, and see how it works.
|
|
3
|
+
// If you need a handy color picker try http://hslpicker.com
|
|
4
|
+
|
|
5
|
+
//$header-bg: #263347;
|
|
6
|
+
//$subtitle-color: lighten($header-bg, 58);
|
|
7
|
+
//$nav-bg: desaturate(lighten(#8fc17a, 18), 5);
|
|
8
|
+
//$nav-bg-front: url('/assets/images/noise.png');
|
|
9
|
+
//$nav-bg-back: linear-gradient(lighten($nav-bg, 8), $nav-bg, darken($nav-bg, 11));
|
|
10
|
+
//$sidebar-bg: desaturate(#eceff5, 8);
|
|
11
|
+
//$sidebar-link-color: saturate(#526f9a, 10);
|
|
12
|
+
//$sidebar-link-color-hover: darken(#7ab662, 9);
|
|
13
|
+
//$footer-bg: #ccc !default;
|
|
14
|
+
//$footer-bg-front: url('/assets/images/noise.png');
|
|
15
|
+
//$footer-bg-back: linear-gradient(lighten($footer-bg, 8), $footer-bg, darken($footer-bg, 11));
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
/* To use the light Solarized highlighting theme uncomment the following line */
|
|
19
|
+
//$solarized: light;
|
|
20
|
+
|
|
21
|
+
/* If you want to tweak the Solarized colors you can do that here */
|
|
22
|
+
//$base03: #002b36; //darkest blue
|
|
23
|
+
//$base02: #073642; //dark blue
|
|
24
|
+
//$base01: #586e75; //darkest gray
|
|
25
|
+
//$base00: #657b83; //dark gray
|
|
26
|
+
//$base0: #839496; //medium gray
|
|
27
|
+
//$base1: #93a1a1; //medium light gray
|
|
28
|
+
//$base2: #eee8d5; //cream
|
|
29
|
+
//$base3: #fdf6e3; //white
|
|
30
|
+
//$solar-yellow: #b58900;
|
|
31
|
+
//$solar-orange: #cb4b16;
|
|
32
|
+
//$solar-red: #dc322f;
|
|
33
|
+
//$solar-magenta: #d33682;
|
|
34
|
+
//$solar-violet: #6c71c4;
|
|
35
|
+
//$solar-blue: #268bd2;
|
|
36
|
+
//$solar-cyan: #2aa198;
|
|
37
|
+
//$solar-green: #859900;
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
/* Non highlighted code colors */
|
|
41
|
+
//$pre-bg: $base03;
|
|
42
|
+
//$pre-border: darken($base02, 5);
|
|
43
|
+
//$pre-color: $base1;
|
|
@@ -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,21 @@
|
|
|
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
|
+
//$header-font-size: 1em;
|
|
5
|
+
//$header-padding-top: 1.5em;
|
|
6
|
+
//$header-padding-bottom: 1.5em;
|
|
7
|
+
|
|
8
|
+
//$max-width: 1350px;
|
|
9
|
+
//$indented-lists: true;
|
|
10
|
+
|
|
11
|
+
// Padding used for layout margins
|
|
12
|
+
//$pad-min: 18px;
|
|
13
|
+
//$pad-narrow: 25px;
|
|
14
|
+
//$pad-medium: 35px;
|
|
15
|
+
//$pad-wide: 55px;
|
|
16
|
+
|
|
17
|
+
// Sidebar widths used in media queries
|
|
18
|
+
//$sidebar-width-medium: 240px;
|
|
19
|
+
//$sidebar-pad-medium: 15px;
|
|
20
|
+
//$sidebar-pad-wide: 20px;
|
|
21
|
+
//$sidebar-width-wide: 300px;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Border Radius
|
|
2
|
+
|
|
3
|
+
// The length of a border-radius to be used by default.
|
|
4
|
+
$default-border-radius: 5px !default;
|
|
5
|
+
|
|
6
|
+
// Round both top corners by amount
|
|
7
|
+
@mixin border-top-radius($radius: $default-border-radius) {
|
|
8
|
+
border-top-left-radius: $radius;
|
|
9
|
+
border-top-right-radius: $radius; }
|
|
10
|
+
|
|
11
|
+
// Round both bottom corners by amount
|
|
12
|
+
@mixin border-bottom-radius($radius: $default-border-radius) {
|
|
13
|
+
border-bottom-left-radius: $radius;
|
|
14
|
+
border-bottom-right-radius: $radius; }
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
$asset-root: "/assets" !default;
|
|
2
|
+
|
|
3
|
+
// Turn off the bullet for an element of a list
|
|
4
|
+
@mixin no-bullet {
|
|
5
|
+
list-style-image : none;
|
|
6
|
+
list-style-type : none;
|
|
7
|
+
margin-left : 0;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
// turns off the bullets for an entire list
|
|
11
|
+
@mixin no-bullets {
|
|
12
|
+
list-style: none;
|
|
13
|
+
li { @include no-bullet; }
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
// Make a list(ul/ol) have an image bullet.
|
|
17
|
+
//
|
|
18
|
+
// The mixin should be used like this for an icon that is 5x7:
|
|
19
|
+
//
|
|
20
|
+
// ul.pretty
|
|
21
|
+
// +pretty-bullets("my-icon.png", 5px, 7px)
|
|
22
|
+
//
|
|
23
|
+
// Additionally, if the image dimensions are not provided,
|
|
24
|
+
// The image dimensions will be extracted from the image itself.
|
|
25
|
+
//
|
|
26
|
+
// ul.pretty
|
|
27
|
+
// +pretty-bullets("my-icon.png")
|
|
28
|
+
//
|
|
29
|
+
@mixin pretty-bullets($bullet-icon, $width: image-width($bullet-icon), $height: image-height($bullet-icon), $line-height: 18px, $padding: 14px) {
|
|
30
|
+
margin-left: 0;
|
|
31
|
+
li {
|
|
32
|
+
padding-left: $padding;
|
|
33
|
+
background: url($asset-root + "/images/" + $bullet-icon) no-repeat ($padding - $width) / 2 ($line-height - $height) / 2;
|
|
34
|
+
list-style-type: none;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// This basic method is preferred for the usual case, when positioned
|
|
2
|
+
// content will not show outside the bounds of the container.
|
|
3
|
+
//
|
|
4
|
+
// Recommendations include using this in conjunction with a width.
|
|
5
|
+
// Credit: [quirksmode.org](http://www.quirksmode.org/blog/archives/2005/03/clearing_floats.html)
|
|
6
|
+
@mixin clearfix {
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
// This is an updated version of the PIE clearfix method that reduces the amount of CSS output.
|
|
11
|
+
// If you need to support Firefox before 3.5 you need to use `legacy-pie-clearfix` instead.
|
|
12
|
+
//
|
|
13
|
+
// Adapted from: [A new micro clearfix hack](http://nicolasgallagher.com/micro-clearfix-hack/)
|
|
14
|
+
@mixin pie-clearfix {
|
|
15
|
+
&:after {
|
|
16
|
+
content: "";
|
|
17
|
+
display: table;
|
|
18
|
+
clear: both;
|
|
19
|
+
}
|
|
20
|
+
}
|