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,268 @@
|
|
|
1
|
+
@use "minicompass/hover-link";
|
|
2
|
+
@use "minicompass/border-radius";
|
|
3
|
+
|
|
4
|
+
@use "sass:color";
|
|
5
|
+
|
|
6
|
+
$asset-root: "/assets" !default;
|
|
7
|
+
|
|
8
|
+
.highlight, html .gist .gist-file .gist-syntax .gist-highlight {
|
|
9
|
+
table td.code { width: 100%; }
|
|
10
|
+
border: 1px solid $pre-border !important;
|
|
11
|
+
}
|
|
12
|
+
.highlight .line-numbers, html .gist .gist-file .gist-syntax .highlight .line_numbers {
|
|
13
|
+
text-align: right;
|
|
14
|
+
font-size: 13px;
|
|
15
|
+
line-height: 1.45em;
|
|
16
|
+
@if $solarized == light {
|
|
17
|
+
background: color.adjust($base03, $lightness: 1%) $noise-bg !important;
|
|
18
|
+
border-right: 1px solid color.adjust($base02, $lightness: -2%) !important;
|
|
19
|
+
box-shadow: color.adjust($base03, $lightness: 2%) -1px 0 inset;
|
|
20
|
+
text-shadow: color.adjust($base02, $lightness: 2%) 0 -1px;
|
|
21
|
+
} @else {
|
|
22
|
+
background: $base02 $noise-bg !important;
|
|
23
|
+
border-right: 1px solid color.adjust($base03, $lightness: -2%) !important;
|
|
24
|
+
box-shadow: color.adjust($base02, $lightness: 2%) -1px 0 inset;
|
|
25
|
+
text-shadow: color.adjust($base02, $lightness: -10%) 0 -1px;
|
|
26
|
+
}
|
|
27
|
+
span { color: $base01 !important; }
|
|
28
|
+
padding: .8em !important;
|
|
29
|
+
border-radius: 0;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
figure.code, .gist-file, pre {
|
|
33
|
+
box-shadow: rgba(#000, .06) 0 0 10px;
|
|
34
|
+
.highlight pre { box-shadow: none; }
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.gist .highlight, figure.code .highlight {
|
|
38
|
+
@include selection(color.adjust($base03, $lightness: 23%, $saturation: -65%), $text-shadow: $base03 0 1px);
|
|
39
|
+
}
|
|
40
|
+
html .gist .gist-file {
|
|
41
|
+
margin-bottom: 1.8em;
|
|
42
|
+
position: relative;
|
|
43
|
+
border: none;
|
|
44
|
+
padding-top: image-height("code_bg.png") !important;
|
|
45
|
+
.highlight {
|
|
46
|
+
margin-bottom: 0;
|
|
47
|
+
}
|
|
48
|
+
.gist-syntax {
|
|
49
|
+
border-bottom: 0 !important;
|
|
50
|
+
background: none !important;
|
|
51
|
+
.gist-highlight {
|
|
52
|
+
background: $base03 !important;
|
|
53
|
+
}
|
|
54
|
+
.highlight pre {
|
|
55
|
+
@extend .pre-code;
|
|
56
|
+
padding: 0;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
.gist-meta {
|
|
60
|
+
padding: .6em 0.8em;
|
|
61
|
+
border: 1px solid color.adjust($base02, $lightness: 2%) !important;
|
|
62
|
+
color: $base01;
|
|
63
|
+
font-size: .7em !important;
|
|
64
|
+
@if $solarized == light {
|
|
65
|
+
background: color.adjust($base03, $lightness: 2%) $noise-bg;
|
|
66
|
+
border: 1px solid $pre-border !important;
|
|
67
|
+
border-top: 1px solid color.adjust($base03, $lightness: 2%) !important;
|
|
68
|
+
} @else {
|
|
69
|
+
background: $base02 $noise-bg;
|
|
70
|
+
}
|
|
71
|
+
@extend .sans;
|
|
72
|
+
line-height: 1.5em;
|
|
73
|
+
a {
|
|
74
|
+
color: color.mix($base1, $base01) !important;
|
|
75
|
+
@include hover-link.hover-link;
|
|
76
|
+
&:hover { color: $base1 !important; }
|
|
77
|
+
}
|
|
78
|
+
a[href*='#file'] {
|
|
79
|
+
position: absolute; top: 0; left:0; right:-10px;
|
|
80
|
+
color: #474747 !important;
|
|
81
|
+
@extend .code-title;
|
|
82
|
+
&:hover { color: $link-color !important; }
|
|
83
|
+
}
|
|
84
|
+
a[href*=raw]{
|
|
85
|
+
@extend .download-source;
|
|
86
|
+
top: .4em;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
pre {
|
|
91
|
+
background: $pre-bg $noise-bg;
|
|
92
|
+
border-radius: .4em;
|
|
93
|
+
@extend .mono;
|
|
94
|
+
border: 1px solid $pre-border;
|
|
95
|
+
line-height: 1.45em;
|
|
96
|
+
font-size: 13px;
|
|
97
|
+
margin-bottom: 2.1em;
|
|
98
|
+
padding: .8em 1em;
|
|
99
|
+
color: $pre-color;
|
|
100
|
+
overflow: auto;
|
|
101
|
+
}
|
|
102
|
+
h3.filename {
|
|
103
|
+
@extend .code-title;
|
|
104
|
+
+ pre { @include border-radius.border-top-radius(0px); }
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
p, li {
|
|
108
|
+
code {
|
|
109
|
+
@extend .mono;
|
|
110
|
+
display: inline-block;
|
|
111
|
+
white-space: no-wrap;
|
|
112
|
+
background: #fff;
|
|
113
|
+
font-size: .8em;
|
|
114
|
+
line-height: 1.5em;
|
|
115
|
+
color: #555;
|
|
116
|
+
border: 1px solid #ddd;
|
|
117
|
+
border-radius: .4em;
|
|
118
|
+
padding: 0 .3em;
|
|
119
|
+
margin: -1px 0;
|
|
120
|
+
}
|
|
121
|
+
pre code { font-size: 1em !important; background: none; border: none; }
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.pre-code {
|
|
125
|
+
font-family: $mono !important;
|
|
126
|
+
overflow: scroll;
|
|
127
|
+
overflow-y: hidden;
|
|
128
|
+
display: block;
|
|
129
|
+
padding: .8em;
|
|
130
|
+
overflow-x: auto;
|
|
131
|
+
line-height: 1.45em;
|
|
132
|
+
background: $base03 $noise-bg !important;
|
|
133
|
+
color: $base1 !important;
|
|
134
|
+
span { color: $base1 !important; }
|
|
135
|
+
span { font-style: normal !important; font-weight: normal !important; }
|
|
136
|
+
|
|
137
|
+
.c { color: $base01 !important; font-style: italic !important; } /* Comment */
|
|
138
|
+
.cm { color: $base01 !important; font-style: italic !important; } /* Comment.Multiline */
|
|
139
|
+
.cp { color: $base01 !important; font-style: italic !important; } /* Comment.Preproc */
|
|
140
|
+
.c1 { color: $base01 !important; font-style: italic !important; } /* Comment.Single */
|
|
141
|
+
.cs { color: $base01 !important; font-weight: bold !important; font-style: italic !important; } /* Comment.Special */
|
|
142
|
+
.err { color: $solar-red !important; background: none !important; } /* Error */
|
|
143
|
+
.k { color: $solar-orange !important; } /* Keyword */
|
|
144
|
+
.o { color: $base1 !important; font-weight: bold !important; } /* Operator */
|
|
145
|
+
.p { color: $base1 !important; } /* Operator */
|
|
146
|
+
.ow { color: $solar-cyan !important; font-weight: bold !important; } /* Operator.Word */
|
|
147
|
+
.gd { color: $base1 !important; background-color: color.mix($solar-red, $base03, 25%) !important; display: inline-block; } /* Generic.Deleted */
|
|
148
|
+
.gd .x { color: $base1 !important; background-color: color.mix($solar-red, $base03, 35%) !important; display: inline-block; } /* Generic.Deleted.Specific */
|
|
149
|
+
.ge { color: $base1 !important; font-style: italic !important; } /* Generic.Emph */
|
|
150
|
+
//.gr { color: #aa0000 } /* Generic.Error */
|
|
151
|
+
.gh { color: $base01 !important; } /* Generic.Heading */
|
|
152
|
+
.gi { color: $base1 !important; background-color: color.mix($solar-green, $base03, 20%) !important; display: inline-block; } /* Generic.Inserted */
|
|
153
|
+
.gi .x { color: $base1 !important; background-color: color.mix($solar-green, $base03, 40%) !important; display: inline-block; } /* Generic.Inserted.Specific */
|
|
154
|
+
//.go { color: #888888 } /* Generic.Output */
|
|
155
|
+
//.gp { color: #555555 } /* Generic.Prompt */
|
|
156
|
+
.gs { color: $base1 !important; font-weight: bold !important; } /* Generic.Strong */
|
|
157
|
+
.gu { color: $solar-violet !important; } /* Generic.Subheading */
|
|
158
|
+
//.gt { color: #aa0000 } /* Generic.Traceback */
|
|
159
|
+
.kc { color: $solar-green !important; font-weight: bold !important; } /* Keyword.Constant */
|
|
160
|
+
.kd { color: $solar-blue !important; } /* Keyword.Declaration */
|
|
161
|
+
.kp { color: $solar-orange !important; font-weight: bold !important; } /* Keyword.Pseudo */
|
|
162
|
+
.kr { color: $solar-magenta !important; font-weight: bold !important; } /* Keyword.Reserved */
|
|
163
|
+
.kt { color: $solar-cyan !important; } /* Keyword.Type */
|
|
164
|
+
.n { color: $solar-blue !important; }
|
|
165
|
+
.na { color: $solar-blue !important; } /* Name.Attribute */
|
|
166
|
+
.nb { color: $solar-green !important; } /* Name.Builtin */
|
|
167
|
+
.nc { color: $solar-magenta !important;} /* Name.Class */
|
|
168
|
+
.no { color: $solar-yellow !important; } /* Name.Constant */
|
|
169
|
+
//.ni { color: #800080 } /* Name.Entity */
|
|
170
|
+
.nl { color: $solar-green !important; }
|
|
171
|
+
.ne { color: $solar-blue !important; font-weight: bold !important; } /* Name.Exception */
|
|
172
|
+
.nf { color: $solar-blue !important; font-weight: bold !important; } /* Name.Function */
|
|
173
|
+
.nn { color: $solar-yellow !important; } /* Name.Namespace */
|
|
174
|
+
.nt { color: $solar-blue !important; font-weight: bold !important; } /* Name.Tag */
|
|
175
|
+
.nx { color: $solar-yellow !Important; }
|
|
176
|
+
//.bp { color: #999999 } /* Name.Builtin.Pseudo */
|
|
177
|
+
//.vc { color: #008080 } /* Name.Variable.Class */
|
|
178
|
+
.vg { color: $solar-blue !important; } /* Name.Variable.Global */
|
|
179
|
+
.vi { color: $solar-blue !important; } /* Name.Variable.Instance */
|
|
180
|
+
.nv { color: $solar-blue !important; } /* Name.Variable */
|
|
181
|
+
//.w { color: #bbbbbb } /* Text.Whitespace */
|
|
182
|
+
.mf { color: $solar-cyan !important; } /* Literal.Number.Float */
|
|
183
|
+
.m { color: $solar-cyan !important; } /* Literal.Number */
|
|
184
|
+
.mh { color: $solar-cyan !important; } /* Literal.Number.Hex */
|
|
185
|
+
.mi { color: $solar-cyan !important; } /* Literal.Number.Integer */
|
|
186
|
+
//.mo { color: #009999 } /* Literal.Number.Oct */
|
|
187
|
+
.s { color: $solar-cyan !important; } /* Literal.String */
|
|
188
|
+
//.sb { color: #d14 } /* Literal.String.Backtick */
|
|
189
|
+
//.sc { color: #d14 } /* Literal.String.Char */
|
|
190
|
+
.sd { color: $solar-cyan !important; } /* Literal.String.Doc */
|
|
191
|
+
.s2 { color: $solar-cyan !important; } /* Literal.String.Double */
|
|
192
|
+
.se { color: $solar-red !important; } /* Literal.String.Escape */
|
|
193
|
+
//.sh { color: #d14 } /* Literal.String.Heredoc */
|
|
194
|
+
.si { color: $solar-blue !important; } /* Literal.String.Interpol */
|
|
195
|
+
//.sx { color: #d14 } /* Literal.String.Other */
|
|
196
|
+
.sr { color: $solar-cyan !important; } /* Literal.String.Regex */
|
|
197
|
+
.s1 { color: $solar-cyan !important; } /* Literal.String.Single */
|
|
198
|
+
//.ss { color: #990073 } /* Literal.String.Symbol */
|
|
199
|
+
//.il { color: #009999 } /* Literal.Number.Integer.Long */
|
|
200
|
+
div { .gd, .gd .x, .gi, .gi .x { display: inline-block; width: 100%; }}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.highlight, .gist-highlight {
|
|
204
|
+
pre { background: none; border-radius: 0px; border: none; padding: 0; margin-bottom: 0; }
|
|
205
|
+
margin-bottom: 1.8em;
|
|
206
|
+
background: $base03;
|
|
207
|
+
overflow-y: hidden;
|
|
208
|
+
overflow-x: auto;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
$solar-scroll-bg: rgba(#fff, .15);
|
|
212
|
+
$solar-scroll-thumb: rgba(#fff, .2);
|
|
213
|
+
@if $solarized == light {
|
|
214
|
+
$solar-scroll-bg: rgba(#000, .15);
|
|
215
|
+
$solar-scroll-thumb: rgba(#000, .15);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
pre, .highlight, .gist-highlight {
|
|
219
|
+
&::-webkit-scrollbar { height: .5em; background: $solar-scroll-bg; }
|
|
220
|
+
&::-webkit-scrollbar-thumb:horizontal { background: $solar-scroll-thumb; -webkit-border-radius: 4px; border-radius: 4px }
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.highlight code {
|
|
224
|
+
@extend .pre-code; background: #000;
|
|
225
|
+
}
|
|
226
|
+
figure.code {
|
|
227
|
+
background: none;
|
|
228
|
+
padding: 0;
|
|
229
|
+
border: 0;
|
|
230
|
+
margin-bottom: 1.5em;
|
|
231
|
+
pre { margin-bottom: 0; }
|
|
232
|
+
figcaption {
|
|
233
|
+
position: relative;
|
|
234
|
+
@extend .code-title;
|
|
235
|
+
a { @extend .download-source; }
|
|
236
|
+
}
|
|
237
|
+
.highlight {
|
|
238
|
+
margin-bottom: 0;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.code-title {
|
|
243
|
+
text-align: center;
|
|
244
|
+
font-size: 13px;
|
|
245
|
+
line-height: 2em;
|
|
246
|
+
text-shadow: #cbcccc 0 1px 0;
|
|
247
|
+
color: #474747;
|
|
248
|
+
font-weight: normal;
|
|
249
|
+
margin-bottom: 0;
|
|
250
|
+
@include border-radius.border-top-radius(5px);
|
|
251
|
+
font-family: "Helvetica Neue", Arial, "Lucida Grande", "Lucida Sans Unicode", Lucida, sans-serif;
|
|
252
|
+
background: #aaaaaa url($asset-root + '/images/code_bg.png') top repeat-x;
|
|
253
|
+
border: 1px solid #565656;
|
|
254
|
+
border-top-color: #cbcbcb;
|
|
255
|
+
border-left-color: #a5a5a5;
|
|
256
|
+
border-right-color: #a5a5a5;
|
|
257
|
+
border-bottom: 0;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.download-source {
|
|
261
|
+
position: absolute; right: .8em;
|
|
262
|
+
@include hover-link.hover-link;
|
|
263
|
+
color: #666 !important;
|
|
264
|
+
z-index: 1;
|
|
265
|
+
font-size: 13px;
|
|
266
|
+
text-shadow: #cbcccc 0 1px 0;
|
|
267
|
+
padding-left: 3em;
|
|
268
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
@use "sass:color";
|
|
2
|
+
.side-shadow-border {
|
|
3
|
+
box-shadow: color.adjust($sidebar-bg, $lightness: 5%) 0 1px;
|
|
4
|
+
}
|
|
5
|
+
aside.sidebar {
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
color: $sidebar-color;
|
|
8
|
+
text-shadow: color.adjust($sidebar-bg, $lightness: 8%) 0 1px;
|
|
9
|
+
a { @extend .force-wrap; }
|
|
10
|
+
section {
|
|
11
|
+
@extend .sans;
|
|
12
|
+
font-size: .8em;
|
|
13
|
+
line-height: 1.4em;
|
|
14
|
+
margin-bottom: 1.5em;
|
|
15
|
+
h1 {
|
|
16
|
+
margin: 1.5em 0 0;
|
|
17
|
+
padding-bottom: .2em;
|
|
18
|
+
border-bottom: 1px solid $sidebar-border;
|
|
19
|
+
@extend .side-shadow-border;
|
|
20
|
+
+ p {
|
|
21
|
+
padding-top: .4em;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
img {
|
|
26
|
+
@extend .flex-content;
|
|
27
|
+
@extend .basic-alignment;
|
|
28
|
+
@include shadow-box($border: #fff .3em solid);
|
|
29
|
+
}
|
|
30
|
+
ul {
|
|
31
|
+
margin-bottom: 0.5em;
|
|
32
|
+
margin-left: 0;
|
|
33
|
+
}
|
|
34
|
+
li {
|
|
35
|
+
list-style: none;
|
|
36
|
+
padding: .5em 0;
|
|
37
|
+
margin: 0;
|
|
38
|
+
border-bottom: 1px solid $sidebar-border;
|
|
39
|
+
@extend .side-shadow-border;
|
|
40
|
+
p:last-child {
|
|
41
|
+
margin-bottom: 0;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
a {
|
|
45
|
+
color: inherit;
|
|
46
|
+
transition: color .5s;
|
|
47
|
+
}
|
|
48
|
+
&:hover a {
|
|
49
|
+
color: $sidebar-link-color;
|
|
50
|
+
&:hover { color: $sidebar-link-color-hover; }
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
.aside-alt-link {
|
|
54
|
+
color: $sidebar-link-color-subdued;
|
|
55
|
+
&:hover {
|
|
56
|
+
color: $sidebar-link-color-subdued-hover;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@media only screen and (min-width: 768px) {
|
|
61
|
+
.toggle-sidebar {
|
|
62
|
+
outline: none;
|
|
63
|
+
position: absolute; right: -10px; top: 0; bottom: 0;
|
|
64
|
+
display: inline-block;
|
|
65
|
+
text-decoration: none;
|
|
66
|
+
color: color.mix($text-color-light, $sidebar-bg);
|
|
67
|
+
width: 9px;
|
|
68
|
+
cursor: pointer;
|
|
69
|
+
&:hover {
|
|
70
|
+
background: color.mix($sidebar-border, $sidebar-bg);
|
|
71
|
+
background: linear-gradient(left, rgba($sidebar-border, .5), rgba($sidebar-border, 0));
|
|
72
|
+
}
|
|
73
|
+
&:after {
|
|
74
|
+
position: absolute; right: -11px; top: 0;
|
|
75
|
+
width: 20px;
|
|
76
|
+
font-size: 1.2em;
|
|
77
|
+
line-height: 1.1em;
|
|
78
|
+
padding-bottom: .15em;
|
|
79
|
+
border-bottom-right-radius: .3em;
|
|
80
|
+
text-align: center;
|
|
81
|
+
background: $main-bg $noise-bg;
|
|
82
|
+
border-bottom: 1px solid $sidebar-border;
|
|
83
|
+
border-right: 1px solid $sidebar-border;
|
|
84
|
+
content: "\00BB";
|
|
85
|
+
text-indent: -1px;
|
|
86
|
+
}
|
|
87
|
+
.collapse-sidebar & {
|
|
88
|
+
text-indent: 0px;
|
|
89
|
+
right: -20px;
|
|
90
|
+
width: 19px;
|
|
91
|
+
&:hover {
|
|
92
|
+
background: color.mix($sidebar-border, $sidebar-bg);
|
|
93
|
+
}
|
|
94
|
+
&:after {
|
|
95
|
+
border-left: 1px solid $sidebar-border;
|
|
96
|
+
text-shadow: #fff 0 1px;
|
|
97
|
+
content: "\00AB";
|
|
98
|
+
left: 0px; right: 0;
|
|
99
|
+
text-align: center;
|
|
100
|
+
text-indent: 0;
|
|
101
|
+
border: 0;
|
|
102
|
+
border-right-width: 0;
|
|
103
|
+
background: none;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
.googleplus {
|
|
2
|
+
h1 {
|
|
3
|
+
-moz-box-shadow: none !important;
|
|
4
|
+
-webkit-box-shadow: none !important;
|
|
5
|
+
-o-box-shadow: none !important;
|
|
6
|
+
box-shadow: none !important;
|
|
7
|
+
border-bottom: 0px none !important;
|
|
8
|
+
}
|
|
9
|
+
a {
|
|
10
|
+
text-decoration: none;
|
|
11
|
+
white-space: normal !important;
|
|
12
|
+
line-height: 32px;
|
|
13
|
+
|
|
14
|
+
img {
|
|
15
|
+
float: left;
|
|
16
|
+
margin-right: 0.5em;
|
|
17
|
+
border: 0 none;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.googleplus-hidden {
|
|
23
|
+
position: absolute;
|
|
24
|
+
top: -1000em;
|
|
25
|
+
left: -1000em;
|
|
26
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
@use "minicompass/hover-link";
|
|
2
|
+
|
|
3
|
+
#pinboard_linkroll {
|
|
4
|
+
.pin-title, .pin-description {
|
|
5
|
+
display: block;
|
|
6
|
+
margin-bottom: .5em;
|
|
7
|
+
}
|
|
8
|
+
.pin-tag {
|
|
9
|
+
@include hover-link.hover-link;
|
|
10
|
+
@extend .aside-alt-link;
|
|
11
|
+
&:after { content: ','; }
|
|
12
|
+
&:last-child:after { content: ''; }
|
|
13
|
+
}
|
|
14
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
var github = (function(){
|
|
2
|
+
function escapeHtml(str) {
|
|
3
|
+
return $('<div/>').text(str).html();
|
|
4
|
+
}
|
|
5
|
+
function render(target, repos){
|
|
6
|
+
var i = 0, fragment = '', t = $(target)[0];
|
|
7
|
+
|
|
8
|
+
for(i = 0; i < repos.length; i++) {
|
|
9
|
+
fragment += '<li><a href="'+repos[i].html_url+'">'+repos[i].name+'</a><p>'+escapeHtml(repos[i].description||'')+'</p></li>';
|
|
10
|
+
}
|
|
11
|
+
t.innerHTML = fragment;
|
|
12
|
+
}
|
|
13
|
+
return {
|
|
14
|
+
showRepos: function(options){
|
|
15
|
+
$.ajax({
|
|
16
|
+
url: "https://api.github.com/users/"+options.user+"/repos?sort=pushed&callback=?"
|
|
17
|
+
, dataType: 'jsonp'
|
|
18
|
+
, error: function (err) { $(options.target + ' li.loading').addClass('error').text("Error loading feed"); }
|
|
19
|
+
, success: function(data) {
|
|
20
|
+
var repos = [];
|
|
21
|
+
if (!data || !data.data) { return; }
|
|
22
|
+
for (var i = 0; i < data.data.length; i++) {
|
|
23
|
+
if (options.skip_forks && data.data[i].fork) { continue; }
|
|
24
|
+
repos.push(data.data[i]);
|
|
25
|
+
}
|
|
26
|
+
if (options.count) { repos.splice(options.count); }
|
|
27
|
+
render(options.target, repos);
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
})();
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
// jXHR.js (JSON-P XHR)
|
|
2
|
+
// v0.1 (c) Kyle Simpson
|
|
3
|
+
// MIT License
|
|
4
|
+
|
|
5
|
+
(function(global){
|
|
6
|
+
var SETTIMEOUT = global.setTimeout, // for better compression
|
|
7
|
+
doc = global.document,
|
|
8
|
+
callback_counter = 0;
|
|
9
|
+
|
|
10
|
+
global.jXHR = function() {
|
|
11
|
+
var script_url,
|
|
12
|
+
script_loaded,
|
|
13
|
+
jsonp_callback,
|
|
14
|
+
scriptElem,
|
|
15
|
+
publicAPI = null;
|
|
16
|
+
|
|
17
|
+
function removeScript() { try { scriptElem.parentNode.removeChild(scriptElem); } catch (err) { } }
|
|
18
|
+
|
|
19
|
+
function reset() {
|
|
20
|
+
script_loaded = false;
|
|
21
|
+
script_url = "";
|
|
22
|
+
removeScript();
|
|
23
|
+
scriptElem = null;
|
|
24
|
+
fireReadyStateChange(0);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
function ThrowError(msg) {
|
|
28
|
+
try { publicAPI.onerror.call(publicAPI,msg,script_url); } catch (err) { throw new Error(msg); }
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function handleScriptLoad() {
|
|
32
|
+
if ((this.readyState && this.readyState!=="complete" && this.readyState!=="loaded") || script_loaded) { return; }
|
|
33
|
+
this.onload = this.onreadystatechange = null; // prevent memory leak
|
|
34
|
+
script_loaded = true;
|
|
35
|
+
if (publicAPI.readyState !== 4) ThrowError("Script failed to load ["+script_url+"].");
|
|
36
|
+
removeScript();
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
function fireReadyStateChange(rs,args) {
|
|
40
|
+
args = args || [];
|
|
41
|
+
publicAPI.readyState = rs;
|
|
42
|
+
if (typeof publicAPI.onreadystatechange === "function") publicAPI.onreadystatechange.apply(publicAPI,args);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
publicAPI = {
|
|
46
|
+
onerror:null,
|
|
47
|
+
onreadystatechange:null,
|
|
48
|
+
readyState:0,
|
|
49
|
+
open:function(method,url){
|
|
50
|
+
reset();
|
|
51
|
+
internal_callback = "cb"+(callback_counter++);
|
|
52
|
+
(function(icb){
|
|
53
|
+
global.jXHR[icb] = function() {
|
|
54
|
+
try { fireReadyStateChange.call(publicAPI,4,arguments); }
|
|
55
|
+
catch(err) {
|
|
56
|
+
publicAPI.readyState = -1;
|
|
57
|
+
ThrowError("Script failed to run ["+script_url+"].");
|
|
58
|
+
}
|
|
59
|
+
global.jXHR[icb] = null;
|
|
60
|
+
};
|
|
61
|
+
})(internal_callback);
|
|
62
|
+
script_url = url.replace(/=\?/,"=jXHR."+internal_callback);
|
|
63
|
+
fireReadyStateChange(1);
|
|
64
|
+
},
|
|
65
|
+
send:function(){
|
|
66
|
+
SETTIMEOUT(function(){
|
|
67
|
+
scriptElem = doc.createElement("script");
|
|
68
|
+
scriptElem.setAttribute("type","text/javascript");
|
|
69
|
+
scriptElem.onload = scriptElem.onreadystatechange = function(){handleScriptLoad.call(scriptElem);};
|
|
70
|
+
scriptElem.setAttribute("src",script_url);
|
|
71
|
+
doc.getElementsByTagName("head")[0].appendChild(scriptElem);
|
|
72
|
+
},0);
|
|
73
|
+
fireReadyStateChange(2);
|
|
74
|
+
},
|
|
75
|
+
setRequestHeader:function(){}, // noop
|
|
76
|
+
getResponseHeader:function(){return "";}, // basically noop
|
|
77
|
+
getAllResponseHeaders:function(){return [];} // ditto
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
reset();
|
|
81
|
+
|
|
82
|
+
return publicAPI;
|
|
83
|
+
};
|
|
84
|
+
})(window);
|
|
85
|
+
|