Added a tumblr theme (Se parece, no hay violación de licencia :P)

master
Victor De la Rocha 2008-10-31 23:34:39 +00:00
parent 950a6b1f75
commit 13c4b5c7fb
5 changed files with 635 additions and 73 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 864 B

185
themes/Dreamscape/index.htm Normal file
View File

@ -0,0 +1,185 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en"><head>
{Gelato_includes}
<link rel="stylesheet" type="text/css" href="{URL_Tumble}/themes/{Template_name}/style.css"/>
<script language="javascript" type="text/javascript" src="{URL_Tumble}/admin/scripts/jquery.js"></script>
<script language="javascript" type="text/javascript" src="{URL_Tumble}/admin/scripts/lightbox.js"></script>
<link rel="stylesheet" type="text/css" href="{URL_Tumble}/admin/css/lightbox.css" />
<!-- DEFAULT COLORS -->
<meta name="color:Background" content="#002c43">
<meta name="color:Content Background" content="#005885">
<meta name="color:Content Border" content="#003955">
<meta name="color:Title" content="#fff">
<meta name="color:Description" content="#568">
<meta name="color:Post Title" content="#fff">
<meta name="color:Text" content="#fff">
<meta name="color:Inline Link" content="#ff9900">
<meta name="color:Quote" content="#fff">
<meta name="color:Quote Source" content="#aaa">
<meta name="color:Link Post" content="#ff9900">
<meta name="color:Conversation Background" content="#46a6e9">
<meta name="color:Conversation Border" content="#0070ba">
<meta name="color:Conversation Text" content="#000">
<meta name="color:Photo Border" content="#eee">
<meta name="color:Date 1" content="#888">
<meta name="color:Date 2" content="#4075a2">
<!-- END DEFAULT COLORS -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>{Page_Title}</title>
{rssFeed}
<!--[if lt IE 7]>
<style type="text/css">
#content {
background-image: none;
}
.post .date {
right: 600px;
}
</style>
<![endif]-->
</head>
<body>
<div id="content">
<h1><a href="{URL_Tumble}">Gelato</a></h1>
{if {$error}}
<div class="error">{$error}</div>
{else}
{block {$rows} as {$row}}
<div class="post">
<div class="permalink"><a href="{$row.Permalink}">•</a></div>
<div class="date">
{$row.Date_Added}
</div>
{if {$row.postType}=='post'}
<div class="regular">
<h2><a href="{$row.Permalink}">{$row.Title}</a></h2>
{$row.Body}
</div>
{elseif {$row.postType}=='photo'}
<div class="photo">
<a {$row.Effect}><img src="{$row.PhotoURL}" alt="{$row.PhotoAlt}"></a>
<div class="caption">
{$row.Caption}
</div>
</div>
{elseif {$row.postType}=='quote'}
<div class="quote">
<span class="quote">
<big class="quote">“</big> <a href="{$row.Permalink}">{$row.Quote}</a>
</span>
<span class="source">{$row.Source}</span>
</div>
{elseif {$row.postType}=='url'}
<div class="link">
<a href="{$row.URL}" class="link" >{$row.Name}</a>
<div class="description">{$row.Description}</div>
</div>
{elseif {$row.postType}=='conversation'}
<div class="conversation">
...<h2><a href="{$row.Permalink}">{$row.Title}</a></h2>
{$row.Conversation}
</div>
{elseif {$row.postType}=='video'}
<div class="video">
{$row.Video}
<div class="caption">{$row.Caption}</div>
</div>
{elseif {$row.postType}=='mp3'}
<div class="video">
{$row.Mp3}
<div class="caption">{$row.Caption}</div>
</div>
{/if}
</div>
{if !{$id_post}}
<div class="totalComments">
<h3>{__("Posted by")} {$row.User} {if {$allowComments}}- <a href="{$row.Permalink}#comments">( {$row.Comments_Number} ) {__("comments")}{/if}</a></h3>
</div>
{/if}
{/block}
{if {$id_post}}
{if {$row.Comments_Number}>0}
<div class="containerComments">
<h3 id="comments">{$row.Comments_Number} {__("answers to")} &#8220;{$row.Post_Title}&#8221;</h3>
<ol class="commentlist">
{block {$comments} as {$comment}}
<li class="alt" id="comment-{$comment.Id_Comment}">
<cite>
<a href="#comment-{$comment.Id_Comment}" title="Comment permalink">#</a>&nbsp;&nbsp;
{$comment.Comment_Author} {__("said")}:
</cite>
<br />
<span class="timestampComment"> {__("at")} {$comment.Date}</span><br /><br />
{$comment.Comment}
<br /><br />
</li>
{/block}
</ol>
</div>
{/if}
{if {$allowComments}}
<div class="containerFormComments">
<h3 id="respond">{__("Add your comment")}</h3>
<form action="{Form_Action}" method="post" name="commentForm" id="commentForm">
<p>
<label for="username">
<small>{__("Name:")}</small>
</label>
<input name="username" id="username" value="{whois.User_Cookie}" size="22" tabindex="1" type="text" />
</p>
<p>
<label for="email">
<small>{__("E-mail:")}</small>
</label>
<input name="email" id="email" value="{whois.Email_Cookie}" size="22" tabindex="2" type="text" />
</p>
<p>
<label for="web">
<small>{__("Website:")}</small>
</label>
<input name="web" id="web" value="{whois.Web_Cookie}" size="22" tabindex="3" type="text" />
</p>
<p>
<textarea name="content" id="content" cols=" rows="10" tabindex="4"></textarea>
</p>
<p>
<span style="color: rgb(136, 136, 136); margin-bottom: 10px; font-size: 10px;">
{__("Some HTML allowed:")}<br />
&nbsp;&nbsp;&nbsp;&nbsp;
<code>
&lt;blockquote&gt; &lt;code&gt; &lt;em&gt; &lt;strong&gt; &lt;a&gt;
</code>
</span>
</p>
<p>
<input type="submit" value="Add comment" name="btnAdd" id="btnAdd" tabindex="5" />
</p>
<p>
<input name="id_post" id="id_post" value="{id_post}" type="hidden" />
<input name="comment_date" id="comment_date" value="{Date_Added}" type="hidden" />
</p>
</form>
</div>
{/if}
{else}
{pagination}
{/if}
{/if}
<div id="footer">
<p class="tiny">
{__("subscribe via")} <a href="{URL_Tumble}/rss.php">rss</a> &nbsp;/&nbsp;
{__("powered by")} <a href="http://www.gelatocms.com/">gelato cms</a>
</p>
</div>
</div>
</body>
</html>

378
themes/Dreamscape/style.css Normal file
View File

@ -0,0 +1,378 @@
body {
color: #fff;
margin: 0px;
background: #002c43 url('images/bg.gif');
font-family: 'Lucida Grande', Helvetica, sans-serif;
}
#content {
width: 510px;
margin: auto;
padding: 35px;
position: relative;
background: #005885 url('images/content_bg.png');
border-left: solid 10px #003955;
border-right: solid 10px #003955;
}
a {
color: #ff9900;
}
h1 {
padding: 25px 0px 65px 0px;
margin: 0px;
text-align: center;
font: Normal 65px Georgia, serif;
line-height: 60px;
letter-spacing: -1px;
opacity: 0.9;
-moz-opacity: 0.9;
filter: alpha(opacity=90);
}
h1 a {
color: #fff;
text-decoration: none;
}
div#content {
position: relative;
}
div#description {
position: absolute;
left: 605px;
font: Normal 12px Verdana,sans-serif;
line-height: 20px;
width: 150px;
color: #568;
}
div#search {
text-align: right;
}
div#description div a {
color: #568;
}
div#searchresultcount {
text-align: center;
}
.post {
position: relative;
margin-bottom: 50px;
}
.post .permalink {
position: absolute;
top: 8px;
right: 3px;
display: none;
font-weight: bold;
font-size: 24px;
line-height: 0px;
}
.post:hover .permalink {
display: block;
}
.post .permalink a {
text-decoration: none;
}
.post .date {
position: absolute;
right: 565px;
text-align: right;
width: 200px;
white-space: nowrap;
font: Bold 20px Helvetica, sans-serif;
text-align: right;
letter-spacing: -1px;
color: #888;
padding: 5px 5px 5px 5px;
line-height: 20px;
text-transform: uppercase;
}
.post .date em {
font-style: normal;
color: #4075a2;
}
.post .date big {
font-size: 30px;
}
.post h2 {
font: Normal 20px Georgia, serif;
color: #fff;
letter-spacing: -1px;
margin: 0px 0px 10px 0px;
}
.post h2 a {
color: #fff;
text-decoration: none;
}
/* Regular Post */
.post .regular {
font-size: 12px;
line-height: 17px;
}
.post .regular blockquote {
font-style: italic;
}
/* Photo Post */
.post .photo img {
border: solid 5px #eee;
}
.post .photo .caption {
font-size: 11px;
margin-top: 5px;
}
.post .photo .caption a {
color: #fff;
}
/* Quote Post */
.post .quote span.quote {
font: Normal 28px Georgia, serif;
letter-spacing: -1px;
color: #fff;
}
.post .quote span.quote a {
color: #fff;
}
.post .quote span.quote big.quote {
font-weight: bold;
font-size: 60px;
line-height: 8px;
vertical-align: -20px;
}
.post .quote span.source {
font-size: 16px;
color: #aaa;
letter-spacing: -1px;
}
.post .quote span.source a {
color: #aaa;
}
/* Link Post */
.post .link a.link {
font: Bold 30px Helvetica, sans-serif;
letter-spacing: -1px;
color: #ff9900;
text-decoration: none;
border-bottom: dotted 1px #ff9900;
line-height: 33px;
}
.post .link .description {
font-weight: normal;
font-size: 11px;
line-height: 16px;
margin-top: 5px;
}
/* Conversation Post */
.post .conversation ul {
background-color: #46a6e9;
list-style-type: none;
margin: 0px;
padding: 0px;
border-left: solid 5px #0070ba;
}
.post .conversation ul li {
border-bottom: solid 1px #0070ba;
font-size: 12px;
padding: 4px 0px 4px 8px;
color: #000;
}
.post .conversation ul li span.label {
font-weight: bold;
}
/* Audio Post */
.post .audio .caption {
font-size: 11px;
margin-top: 5px;
}
.post .audio .caption a {
color: #fff;
}
/* Video Post */
.post .video {
width: 500px;
margin: auto;
}
.post .video .caption {
font-size: 11px;
margin-top: 5px;
}
.post .video .caption a {
color: #fff;
}
/* Footer */
#footer {
margin: 20px 0px 0px 0px;
text-align: center;
font-size: 22px;
}
#footer a {
text-decoration: none;
color: #fff;
}
#footer a:hover {
text-decoration: underline;
}
#footer p.tiny {
margin: 50px 0px 0px 0px;
font-size: 11px;
font-weight: bold;
}
#footer p.tiny a {
text-decoration: underline;
color: #fff;
}
#footer p.tiny .dim {
filter: alpha(opacity=50);
-moz-opacity: 0.5;
opacity: 0.5;
}
.query {
font-weight: bold;
}
.containerFormComments {
margin: 25px 65px 0px 0px;
font-family: Verdana;
font-size: 0.75em;
}
#commentForm input, #commentForm textarea {
font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
}
#commentForm p {
font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
margin: 5px 0;
}
#commentForm input {
width: 170px;
padding: 2px;
margin: 5px 5px 1px 0;
}
#commentForm textarea {
width: 100%;
padding: 2px;
border:1px solid #fff;
background-color:#fff;
}
#commentForm #btnAdd {
margin: 0;
float: right;
}
.totalComments h3 {
margin: 0 10px 0 0;
font-size: 10pt;
font-weight: normal;
text-align: right;
color: #999;
font-style: italic;
}
.totalComments a {
color: #999;
}
/*
Plugin Name: WP-Digg Style Paginator
Plugin URI: http://www.mis-algoritmos.com/2007/09/09/wp-digg-style-pagination-plugin-v-10/
Author: Victor De la Rocha
Author URI: http://www.mis-algoritmos.com
*/
/*CSS Yahoo new version style pagination*/
div.pagination {
padding: 3px;
margin: 10px 3px 3px 3px;
text-align:center;
font-family:Tahoma,Helvetica,sans-serif;
font-size:.85em;
}
div.pagination a {
background-color:#fff;
border: 1px solid #ccdbe4;
margin-right:3px;
padding:2px 8px;
background-position:bottom;
text-decoration: none;
color: #000;
}
div.pagination a:hover, div.pagination a:active {
border: 1px solid #2b55af;
background-image:none;
background-color:#3666d4;
color: #fff;
}
div.pagination span.current {
margin-right:3px;
padding:2px 6px;
font-weight: bold;
color: #000;
}
div.pagination span.disabled {
display:none;
}
div.pagination a.next{
border:2px solid #ccdbe4;
margin:0 0 0 10px;
}
div.pagination a.next:hover{
border:2px solid #2b55af;
}
div.pagination a.prev{
border:2px solid #ccdbe4;
margin:0 10px 0 0;
}
div.pagination a.prev:hover{
border:2px solid #2b55af;
}

View File

@ -82,84 +82,83 @@
</div>
{/if}
</div>
{if !{$id_post}}
<div class="totalComments">
<h3>{__("Posted by")} {$row.User} {if {$allowComments}}- <a href="{$row.Permalink}#comments">( {$row.Comments_Number} ) {__("comments")}{/if}</a></h3>
</div>
{/if}
{if !{$id_post}}
<div class="totalComments">
<h3>{__("Posted by")} {$row.User} {if {$allowComments}}- <a href="{$row.Permalink}#comments">( {$row.Comments_Number} ) {__("comments")}{/if}</a></h3>
</div>
{/if}
{/block}
{/block}
{if {$id_post}}
{if {$row.Comments_Number}>0}
<div class="containerComments">
<h3 id="comments">{$row.Comments_Number} {__("answers to")} &#8220;{$row.Post_Title}&#8221;</h3>
<ol class="commentlist">
{block {$comments} as {$comment}}
<li class="alt" id="comment-{$comment.Id_Comment}">
<cite>
<a href="#comment-{$comment.Id_Comment}" title="Comment permalink">#</a>&nbsp;&nbsp;
{$comment.Comment_Author} {__("said")}:
</cite>
<br />
<span class="timestampComment"> {__("at")} {$comment.Date}</span><br /><br />
{$comment.Comment}
<br /><br />
</li>
{/block}
</ol>
</div>
{/if}
{if {$id_post}}
{if {$row.Comments_Number}>0}
<div class="containerComments">
<h3 id="comments">{$row.Comments_Number} {__("answers to")} &#8220;{$row.Post_Title}&#8221;</h3>
<ol class="commentlist">
{block {$comments} as {$comment}}
<li class="alt" id="comment-{$comment.Id_Comment}">
<cite>
<a href="#comment-{$comment.Id_Comment}" title="Comment permalink">#</a>&nbsp;&nbsp;
{$comment.Comment_Author} {__("said")}:
</cite>
<br />
<span class="timestampComment"> {__("at")} {$comment.Date}</span><br /><br />
{$comment.Comment}
<br /><br />
</li>
{/block}
</ol>
</div>
{/if}
{if {$allowComments}}
<div class="containerFormComments">
<h3 id="respond">{__("Add your comment")}</h3>
{if {$allowComments}}
<div class="containerFormComments">
<h3 id="respond">{__("Add your comment")}</h3>
<form action="{Form_Action}" method="post" name="commentForm" id="commentForm">
<p>
<label for="username">
<small>{__("Name:")}</small>
</label>
<input name="username" id="username" value="{whois.User_Cookie}" size="22" tabindex="1" type="text" />
</p>
<p>
<label for="email">
<small>{__("E-mail:")}</small>
</label>
<input name="email" id="email" value="{whois.Email_Cookie}" size="22" tabindex="2" type="text" />
</p>
<p>
<label for="web">
<small>{__("Website:")}</small>
</label>
<input name="web" id="web" value="{whois.Web_Cookie}" size="22" tabindex="3" type="text" />
</p>
<p>
<textarea name="content" id="content" cols="100" rows="10" tabindex="4"></textarea>
</p>
<p>
<span style="color: rgb(136, 136, 136); margin-bottom: 10px; font-size: 10px;">
{__("Some HTML allowed:")}<br />
&nbsp;&nbsp;&nbsp;&nbsp;
<code>
&lt;blockquote&gt; &lt;code&gt; &lt;em&gt; &lt;strong&gt; &lt;a&gt;
</code>
</span>
</p>
<p>
<input type="submit" value="Add comment" name="btnAdd" id="btnAdd" tabindex="5" />
</p>
<p>
<input name="id_post" id="id_post" value="{id_post}" type="hidden" />
<input name="comment_date" id="comment_date" value="{Date_Added}" type="hidden" />
</p>
</form>
</div>
<form action="{Form_Action}" method="post" name="commentForm" id="commentForm">
<p>
<label for="username">
<small>{__("Name:")}</small>
</label>
<input name="username" id="username" value="{whois.User_Cookie}" size="22" tabindex="1" type="text" />
</p>
<p>
<label for="email">
<small>{__("E-mail:")}</small>
</label>
<input name="email" id="email" value="{whois.Email_Cookie}" size="22" tabindex="2" type="text" />
</p>
<p>
<label for="web">
<small>{__("Website:")}</small>
</label>
<input name="web" id="web" value="{whois.Web_Cookie}" size="22" tabindex="3" type="text" />
</p>
<p>
<textarea name="content" id="content" cols="100" rows="10" tabindex="4"></textarea>
</p>
<p>
<span style="color: rgb(136, 136, 136); margin-bottom: 10px; font-size: 10px;">
{__("Some HTML allowed:")}<br />
&nbsp;&nbsp;&nbsp;&nbsp;
<code>
&lt;blockquote&gt; &lt;code&gt; &lt;em&gt; &lt;strong&gt; &lt;a&gt;
</code>
</span>
</p>
<p>
<input type="submit" value="Add comment" name="btnAdd" id="btnAdd" tabindex="5" />
</p>
<p>
<input name="id_post" id="id_post" value="{id_post}" type="hidden" />
<input name="comment_date" id="comment_date" value="{Date_Added}" type="hidden" />
</p>
</form>
</div>
{/if}
{else}
{pagination}
{/if}
{else}
{pagination}
{/if}
{/if}
</div>
<div id="footer">
{__("subscribe via")} <a href="{URL_Tumble}/rss.php">rss</a> &nbsp;/&nbsp;