-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtumblr.html
438 lines (405 loc) · 15.6 KB
/
tumblr.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="shortcut icon" href="{Favicon}" />
{block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
<title>{Title}{block:SearchPage}: {lang:Search results for SearchQuery}{/block:SearchPage}{block:PostSummary}: {PostSummary}{/block:PostSummary}</title>
<!-- Default values -->
<meta name="text:Header slogan" content="is a tumblelog." />
<meta name="color:Background" content="#FFFFFF"/>
<meta name="color:Link" content="#346B9A"/>
<meta name="color:Link hover" content="#9A6934"/>
<meta name="font:Body" content="Georgia, serif"/>
<meta name="font:Date" content="Helvetica, Arial, sans-serif"/>
<meta name="if:Show notes" content="0">
<meta name="if:Show album art on audio posts" content="1" />
<meta name="text:Disqus Shortname" content="" />
<meta name="if:Show comment count on frontpage" content="0" />
<style>
/* General styling */
body {
padding: 0; margin: 0;
background: {color:Background};
font: 14px/20px {font:Body};
}
h1 { width: 540px; margin: 0 auto; }
h1 a, h1 {
color: #000; line-height: 1.2;
text-decoration: none;
font-family: Georgia, serif;
font-size: 19px;
font-weight: normal;
}
h1 a:hover { color: inherit; }
h2 { margin-top: 0; font-size: 16px; }
/* "fake smallcaps" */
h3 { font-size: 12px; text-transform: uppercase; letter-spacing: 2px; }
object { margin-bottom: 1em; margin-top: 0.5em; }
sup { line-height: 1; }
p, pre { margin-top: 0; padding-top: 0; }
img { display: block; margin-bottom: 20px; margin-top: 5px; }
a { color: {color:Link}; text-decoration: none; }
a:hover { color: {color:Link hover}; }
a img { outline: 0; border: none; }
blockquote {
width: 470px;
margin-left: -30px;
padding-left: 30px;
color: #222;
/* This is the quote mark in the left corner (also, the only image
in this theme). Remove if you don't want it. */
background: url(http://static.tumblr.com/sajzoro/2pUkqr1t1/aster.png)
top left no-repeat;
font-style: italic;
margin-top: 0;
}
/* Make nested blockquotes behave. */
blockquote blockquote { margin-left: 0; }
/* ems in blockquotes look like normal text. Could be confusing; should work
fine unless there is a giant em block at the end of the blockquote, or
worse, making up the whole blockquote. Remove if you don't want to take
that risk, but instead suffer from a lack of distinguished emphasis in
blockquotes. */
blockquote em { font-style: normal; }
blockquote ul, blockquote ol { padding-left: 2em; }
ul, ol { padding-left: 0; }
/* Specific elements. */
div#head {
padding: 60px;
}
div#main {
width: 800px;
margin: 0 auto;
}
a#past { float: left; }
a#future { float: right; margin-right: 4px; }
span#page { float: left; width: 300px; text-align: center; color: #666; }
div#last { margin-bottom: 2em; }
ul#bottom {
list-style: none; padding-top: 0; margin-top: 0; padding-left: 0; margin-left: 0;
width: 340px; float: left; margin-bottom: 2em;
}
ul#bottom li {
float: left; margin-right: 40px; padding-left: 0;
}
div#foot {
width: 540px; margin: 0 auto;
margin-bottom: 40px;
}
/* Various repeated elements. */
span.permalink {
float: left; width: 130px;
font-size: 12px;
font-family: {font:Date};
}
span.permalink a {
font-weight: bold;
text-decoration: none;
}
div.realpost {
float: left;
width: 650px;
margin-bottom: 4em; padding-top: 0; margin-top: 0;
}
{block:IfShowNotes}div.realpost { margin-bottom: 6em; }{/block:IfShowNotes}
{block:IfShowCommentCountOnFrontpage}
div.realpost { margin-bottom: 6em; }
{block:IfShowNotes}div.realpost { margin-bottom: 7em; }{/block:IfShowNotes}
{/block:IfShowCommentCountOnFrontpage}
body#permalink-page div.realpost {
margin-bottom: 2em;
}
div.realpost div {
/* sorry, css gods */
width: 500px;
padding-top: 0;
}
div.audio embed { margin-top: .3em; margin-bottom: 1em; }
img.album-art { float: right; padding-left: 2em; height: 100px; width: 100px; }
div.chat ol {
list-style: none; margin-top: 0;
}
span.label { font-weight: bold; }
h2 { margin-top: 0; font-size: 16px; }
div.text h2 a { color: #000; }
/* In case you want to quote in quote post, we need to distinguish
*the* quote from any other blockquotes in the post. (No yo dawgs
here. It might be useful.) */
blockquote.thequote {
font-size: 1.25em; line-height: 1.3; color: #000;
}
div.text img {
max-width: 500px
}
div.text blockquote img {
max-width: 150px
}
ol.notes {
font-size: 12px;
font-family: {font:Date};
list-style-type: none;
margin: 0 0 70px 130px;
}
ol.notes img {
display: none;
}
div.post div.question {
font-weight: bold;
margin-bottom: 1em;
}
{block:IfDisqusShortname}
/* Styling for Disqus comments */
div#disqus_thread {
width: 480px; margin: 0 auto;
padding-right: 60px;
margin-bottom: 2em;
margin-top: -1em;
}
div#disqus_thread h3 {
margin-bottom: 1.5em;
}
div#disqus_thread div#dsq-comments-title { margin-top: 3em; }
body#with-disqus div#it.post {
margin-top: 0;
}
body#with-disqus h1 {
margin-bottom: -2em;
}
body#with-disqus div.realpost {
margin-bottom: 0; padding-bottom: 0;
}
.dsq-comment-header-meta {
font-family: Arial, Helvetica, sans-serif;
}
p#powered-by-disqus {
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
margin-top: 2em;
text-transform: uppercase;
}
div#disqus_thread .dsq-options {
display: none;
}
{/block:IfDisqusShortname}
.search_query { font-weight: bold; }
{CustomCSS}
</style>
</head>
<body id="{block:IfDisqusShortname}{block:PermalinkPage}with-disqus{/block:PermalinkPage}{/block:IfDisqusShortname}
{block:PermalinkPage} permalink-page{/block:PermalinkPage}">
<div id="head">
<h1><a href="/">{Title}</a> <em>{text:Header slogan}</em></h1>
<div style="width: 540px; margin: 10px auto 0 auto; display: none; {block:HasPages}display: block;{/block:HasPages}{block:AskEnabled}display: block;{/block:AskEnabled}{block:SubmissionsEnabled}display: block;{/block:SubmissionsEnabled}">
{block:HasPages}
{block:Pages}<a href="{URL}">{Label}</a> {/block:Pages}
{/block:HasPages}
{block:AskEnabled}<a href="/ask">{AskLabel}</a> {/block:AskEnabled}
{block:SubmissionsEnabled}<a href="/submit">{SubmitLabel}</a>{/block:SubmissionsEnabled}
</div>
</div>
<div id="main">
{block:SearchPage}
<div class="post search">
<span class="permalink">{lang:Search}</span>
<div class="realpost"><div>
{block:SearchResults}
{lang:SearchResultCount results for SearchQuery 2}.
{/block:SearchResults}
{block:NoSearchResults}
{lang:No search results for SearchQuery 2}.
{/block:NoSearchResults}
</div></div></div>
{/block:SearchPage}
{block:Posts}
{block:Link}
<div class="post link">
{block:Date}
<span class="permalink">
<a href="{Permalink}">{ShortMonth} {DayOfMonth}, {Year}</a><br />
{block:IfDisqusShortName}{block:IfShowCommentCountOnFrontpage}<a href="{Permalink}#disqus_thread"></a><br />
{/block:IfShowCommentCountOnFrontpage}{/block:IfDisqusShortName}{block:IfShowNotes}{NoteCountWithLabel}{/block:IfShowNotes}
</span>
{/block:Date}
<div class="realpost"><div>
<h2><a href="{URL}">{Name}</a></h2>
{block:Description}{Description}{/block:Description}
</div></div>
</div>
{/block:Link}
{block:Answer}
<div class="post answer">
{block:Date}
<span class="permalink">
<a href="{Permalink}">{ShortMonth} {DayOfMonth}, {Year}</a><br />
{block:IfDisqusShortName}{block:IfShowCommentCountOnFrontpage}<a href="{Permalink}#disqus_thread"></a><br />
{/block:IfShowCommentCountOnFrontpage}{/block:IfDisqusShortName}{block:IfShowNotes}{NoteCountWithLabel}{/block:IfShowNotes}
</span>
{/block:Date}
<div class="realpost"><div>
<div class="question">{lang:Asker asked}: {Question}</div>
{Answer}
</div>
</div>
{/block:Answer}
{block:Chat}
<div class="post chat">
{block:Date}
<span class="permalink">
<a href="{Permalink}">{ShortMonth} {DayOfMonth}, {Year}</a><br />
{block:IfDisqusShortName}{block:IfShowCommentCountOnFrontpage}<a href="{Permalink}#disqus_thread"></a><br />
{/block:IfShowCommentCountOnFrontpage}{/block:IfDisqusShortName}{block:IfShowNotes}{NoteCountWithLabel}{/block:IfShowNotes}
</span>
{/block:Date}
<div class="realpost"><div>
{block:Title}<h2><a href="{Permalink}">{Title}</a></h2>{/block:Title}
<ol>
{block:Lines}
<li>{block:Label}<span class="label">{Label}</span>{/block:Label}
{Line}</li>
{/block:Lines}
</ol>
</div></div>
</div>
{/block:Chat}
{block:Video}
<div class="post video">
{block:Date}
<span class="permalink">
<a href="{Permalink}">{ShortMonth} {DayOfMonth}, {Year}</a><br />
{block:IfDisqusShortName}{block:IfShowCommentCountOnFrontpage}<a href="{Permalink}#disqus_thread"></a><br />
{/block:IfShowCommentCountOnFrontpage}{/block:IfDisqusShortName}{block:IfShowNotes}{NoteCountWithLabel}{/block:IfShowNotes}
</span>
{/block:Date}
<div class="realpost"><div>
{Video-500}
{block:Caption}{Caption}{/block:Caption}
</div></div>
</div>
{/block:Video}
{block:Audio}
<div class="post audio">
{block:Date}
<span class="permalink">
<a href="{Permalink}">{ShortMonth} {DayOfMonth}, {Year}</a><br />
{block:IfDisqusShortName}{block:IfShowCommentCountOnFrontpage}<a href="{Permalink}#disqus_thread"></a><br />
{/block:IfShowCommentCountOnFrontpage}{/block:IfDisqusShortName}{block:IfShowNotes}{NoteCountWithLabel}{/block:IfShowNotes}
</span>
{/block:Date}
<div class="realpost"><div>
{block:IfShowAlbumArtOnAudioPosts}
{block:AlbumArt}
<img src="{AlbumArtURL}" alt="{block:Artist}{Artist}{/block:Artist}{block:TrackName} - {TrackName}{/block:TrackName}" class="album-art" />
{/block:AlbumArt}{/block:IfShowAlbumArtOnAudioPosts}
{AudioPlayerBlack}
{block:Caption}{Caption}{/block:Caption}
</div></div>
</div>
{/block:Audio}
{block:Photo}
<div class="post photo">
{block:Date}
<span class="permalink">
<a href="{Permalink}">{ShortMonth} {DayOfMonth}, {Year}</a><br />
{block:IfDisqusShortName}{block:IfShowCommentCountOnFrontpage}<a href="{Permalink}#disqus_thread"></a><br />
{/block:IfShowCommentCountOnFrontpage}{/block:IfDisqusShortName}{block:IfShowNotes}{NoteCountWithLabel}{/block:IfShowNotes}
</span>
{/block:Date}
<div class="realpost"><div>
{LinkOpenTag}
<img src="{PhotoUrl-500}" alt="{PhotoAlt}"/>
{LinkCloseTag}
{block:Caption}{Caption}{/block:Caption}
</div></div>
</div>{/block:Photo}
{block:Quote}
<div class="post quote">
{block:Date}
<span class="permalink">
<a href="{Permalink}">{ShortMonth} {DayOfMonth}, {Year}</a><br />
{block:IfDisqusShortName}{block:IfShowCommentCountOnFrontpage}<a href="{Permalink}#disqus_thread"></a><br />
{/block:IfShowCommentCountOnFrontpage}{/block:IfDisqusShortName}{block:IfShowNotes}{NoteCountWithLabel}{/block:IfShowNotes}
</span>
{/block:Date}
<div class="realpost"><div>
<blockquote class="thequote">{Quote}</blockquote>
{block:Source}{Source}{/block:Source}
</div></div>
</div>{/block:Quote}
{block:Text}
<div class="post text">
<span class="permalink">
{block:Date}
<a href="{Permalink}">{ShortMonth} {DayOfMonth}, {Year}</a><br />
{block:IfDisqusShortName}{block:IfShowCommentCountOnFrontpage}<a href="{Permalink}#disqus_thread"></a><br />
{/block:IfShowCommentCountOnFrontpage}{/block:IfDisqusShortName}{block:IfShowNotes}{NoteCountWithLabel}{/block:IfShowNotes}
{/block:Date}
<br />
</span>
<div class="realpost"><div>
{block:Title}<h2><a href="{Permalink}">{Title}</a></h2>{/block:Title}
{Body}
</div></div>
</div>{/block:Text}
{/block:Posts}
{block:IfDisqusShortname}
{block:Permalink}
<div id="disqus_thread">
<script type="text/javascript" src="http://disqus.com/forums/{text:Disqus Shortname}/embed.js"></script>
<noscript><a href="http://{text:Disqus Shortname}.disqus.com/?url=ref">{lang:View the discussion thread}</a></noscript>
<p id="powered-by-disqus">{lang:Blog comments powered by Disqus 2}</p>
</div>
{/block:Permalink}
{/block:IfDisqusShortname}
{block:IfShowNotes}
{PostNotes}
{/block:IfShowNotes}
{block:IndexPage}
{block:Pagination}
<div class="post">
<span class="permalink"><strong>{lang:Navigate}</strong></span>
<div class="realpost"><div>
{block:NextPage}<a href="{NextPage}" id="past">« {lang:To the past}</a>{/block:NextPage}
<span id="page">{lang:Page CurrentPage of TotalPages}</span>
{block:PreviousPage}<a href="{PreviousPage}" id="future">{lang:To the future} »</a>{/block:PreviousPage}
</div></div>
</div>
{/block:Pagination}
{/block:IndexPage}
<div class="post last" id="it">
<span class="permalink"><strong>Acerca de</strong></span>
<div class="realpost" id="last"><div>
{Description}
<a href="{RSS}">{lang:Subscribe}</a>.
</div></div>
</div>
<div id="foot">
<ul id="bottom">
<li><a href="http://www.lozoyavalley.org">Home</a></li>
<li><a href="https://twitter.com/lozoyavalley">Twitter</a></li>
<li><a href="https://github.com/lozoyavalley">Github</a></li>
<li><a href="https://www.reddit.com/r/lozoyavalley">Reddit</a></li>
</ul>
<form action="/search" method="get">
<input type="text" name="q" value="{lang:Search}" onclick="javascript:if (this.value == '{lang:Search}') this.value = '';"/>
</form>
</div>
</div>
{block:IfDisqusShortname}
<script type="text/javascript">
//<![CDATA[
(function() {
var links = document.getElementsByTagName('a');
var query = '?';
for(var i = 0; i < links.length; i++) {
if(links[i].href.indexOf('#disqus_thread') >= 0) {
query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&';
}
}
document.write('<script charset="utf-8" type="text/javascript" src="http://disqus.com/forums/{text:Disqus Shortname}/get_num_replies.js' + query + '"></' + 'script>');
})();
//]]>
</script>
{/block:IfDisqusShortname}
</body>
</html>