1
0

Also support "last X" REST interface

This commit is contained in:
Garvin Hicking
2006-08-02 10:07:34 +00:00
commit 80e14346a5
1775 changed files with 195589 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 496 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 B

View File

@ -0,0 +1,304 @@
body {
font-size: 9.5pt;
margin: 0;
padding:0;
font-size: 10px;
font-family: "trebuchet ms", "bitstream vera sans", arial, sans-serif;
background-color: #f1f6fb;
direction: {LANG_DIRECTION}; }
#serendipity_admin_page {
text-align: center; }
h3, h2 {
}
#serendipityAdminBodyImageSelector {
background: #FFF; }
#serendipityAdminFrame {
text-align: left;
width: 90%;
margin: auto;
background: #FFF;
border-top: 0;
border-right:1px solid #235587;
border-left:1px solid #235587;
border-bottom:1px solid #235587; }
#serendipityAdminBanner {
margin: auto;
width: 100%;
height: 72px;
background-image: url({TEMPLATE_PATH}img/background.png); }
#serendipityAdminInfopane {
background: #F8F9FA url({TEMPLATE_PATH}img/infobar_background.png);
font-size: 10px;
padding: 5px;
vertical-align: middle;
text-align: right;
color: #5E5E5E;
height: 27px; }
#serendipityAdminMainpane {
background: #FFF; }
.serendipityAdminContent {
font-size: 9.5pt;
padding: 10px 30px 20px 30px;
width:100%; }
#serendipityAdminBanner h1 {
color: #fff;
font-size : 20px;
padding-left:15px;
padding-top: 10px;
margin: 0px;
text-decoration: none; }
#serendipityAdminBanner h2 {
color: #fff;
font-size: 14px;
margin: 0px;
text-decoration: none;
text-transform:none;
text-align:left;
line-height:0.85em;
border:none;
padding: 0 0 0 15px; }
#serendipitySideBar {
width: 170px;
padding-top: 10px; }
#serendipityAdminFooter {
padding:0;
margin:0; }
.serendipitySideBarTitle {
padding-left: 2px;
font-weight: bold;
font-size: 0.9em; }
.serendipitySideBarContent {
padding-left: 10px;
font-size: 0.8em; }
.serendipitySideBarItem {
margin-bottom: 10px; }
.serendipity_admin_title {
font-size: 2em;
margin-bottom: 5px; }
.serendipity_admin_list_item.serendipity_admin_list_item_uneven {
border: 1px solid #294366;
background: #F8F9FA;
margin-bottom: 5px; }
.serendipity_admin_list_item.serendipity_admin_list_item_even {
border: 1px solid #294366;
background: #F2F3F2;
margin: 0 0 5px 0; }
.serendipityAdminMsgError {
color: #F00;
text-align: center;
font-weight: bold;
margin: 10px; }
.serendipityAdminMsgSuccess {
color: #0B0;
text-align: center;
font-weight: bold;
margin: 10px; }
.serendipityAdminMsgNote {
background: #FFFF9D;
border: 1px solid #F70;
padding: 3px;
text-align: center;
margin: 10px; }
td, th {
font-size: 0.8em; }
a:link, a:visited, a:active {
color: #235587;
text-decoration: none; }
a:hover {
color: #5f90ba;
text-decoration: underline; }
input, select, textarea {
background: #F8F9FA;
font-family: Verdana;
font-size: 0.9em;
border: 1px solid #294366; }
#serendipity_iframe {
border: 1px solid #294366;
text-align: center;
margin: auto; }
ul.serendipitySideBarMenu {
padding: 0;
margin: 0; }
ul.serendipitySideBarMenu {
font-size: 0.85em;
list-style: none;
width:170px;
font-weight: bold;
padding-top: 0.3em;
padding-bottom: 0.3em;
padding-left: 3px; }
.serendipitySideBarMenuHead {
line-height:0.85em;
color: #999;
margin:10px 0 4px 0;
text-transform:lowercase;
font-size:0.9em;
border-bottom: 1px solid #ddd;
padding: 10px 0 0 10px; }
ul.serendipitySideBarMenu li {
line-height:1.1em;
font-size: 1.0em;
font-weight: normal;
padding-top: 0.3em;
padding-bottom: 0.3em;
padding-left: 5px;
list-style:none;
margin:0; }
ul.serendipitySideBarMenu a {
text-decoration: none;
font-weight: bold; }
ul.serendipitySideBarMenu a:hover {
text-decoration: underline; }
.serendipityImageButton {
cursor: pointer; }
a:link.serendipityIconLink,
a:visited.serendipityIconLink {
border: 0;
font-weight: bold;
text-decoration: none;
margin-right: 4px; }
.serendipityIconLink a:hover {
color: #e37235; }
.serendipityIconLink img {
margin-right: 2px;
vertical-align: bottom;
border: 0; }
a:link.serendipityIconLinkRight,
a:visited.serendipityIconLinkRight {
border: 0;
font-weight: bold;
text-decoration: none;
margin-left: 4px; }
.serendipityIconLinkRight img {
margin-left: 2px;
vertical-align: bottom;
border: 0; }
a:link.serendipityPrettyButton,
a:visited.serendipityPrettyButton,
a:hover.serendipityPrettyButton {
text-decoration: none;
color: #1D2E3F; }
.serendipityPrettyButton {
padding: 1px;
background: url({TEMPLATE_PATH}img/button_background.png) repeat-x top;
background-color: #95accc;
color: #1D2E3F;
height: 20px;
font-weight: bold;
font-size: 0.9em;
border: 1px outset #000;
margin: 2px; }
/* Special class if the button is a <a> tag */
a.serendipityPrettyButton {
padding: 2px 4px 2px 4px;
cursor: default; }
.direction_ltr {
direction: ltr; }
.direction_rtl {
direction: rtl; }
.serendipity_pluginlist_header {
height: 30px;
background-color: white;
color: black;
vertical-align: middle;
padding: 10px 0px 5px 10px; }
.serendipity_pluginlist_section {
margin:20px 0 20px 0;
padding:10px;
border:1px solid #c0c0c0;
background-color:#fafbfc;
color:#505050;
line-height:1.5em; }
table#serendipity_customfields {
width: 100%; }
table#serendipity_customfields .customfield_name {
background-color: #FAFAFA;
width: 25%;
padding-left: 5px; }
table#serendipity_customfields .customfield_value {
background-color: #FFFFFF;
width: 75%; }
table#serendipity_customfields .customfield_value textarea {
width: 100%;
height: 100px; }
.serendipityAdminContent .further_links {
float: right;
font-size: 0.8em;
border: 1px solid black;
}
.further_links p {
text-align: center;
font-weight: bold;
}
.further_links ul {
padding: 0px;
list-style-type: none;
}
.further_links li {
margin: 5px;
padding: 0px;
}
#serendipityAdminBodyImageSelectorTree .serendipityAdminContent {
width: auto;
}
#serendipityAdminBodyImageSelector .serendipityAdminContent {
width: auto;
margin: 0px;
}

View File

@ -0,0 +1,211 @@
<!-- ENTRIES START -->
{serendipity_hookPlugin hook="entries_header" addData="$entry_id"}
{foreach from=$entries item="dategroup"}
{foreach from=$dategroup.entries item="entry"}
<div class="serendipity_Entry_Date">
{if $dategroup.is_sticky}
<h3 class="serendipity_date">{$CONST.STICKY_POSTINGS}</h3>
{else}
<h3 class="serendipity_date">{$dategroup.date|@formatTime:DATE_FORMAT_ENTRY}</h3>
{/if}
</div>
<div class="serendipity_entry serendipity_entry_author_{$entry.author|@makeFilename} {if $entry.is_entry_owner}serendipity_entry_author_self{/if} ">
<div class='serendipity_entryFooter'>
{if $entry.categories}
<span class="serendipity_entryIcon">
{foreach from=$entry.categories item="entry_category"}
{if $entry_category.category_icon}
<a href="{$entry_category.category_link}"><img class="serendipity_entryIcon" title="{$entry_category.category_name|@escape}{$entry_category.category_description|@emptyPrefix}" alt="{$entry_category.category_name|@escape}" src="{$entry_category.category_icon}" /></a>
{/if}
{/foreach}
</span>
{/if}
{if $is_single_entry}
{$CONST.POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a>
{if $entry.categories}
{$CONST.IN} {foreach from=$entry.categories item="entry_category" name="categories"}<a href="{$entry_category.category_link}"> {$entry_category.category_name|@escape}</a>{if not $smarty.foreach.categories.last}, {/if}{/foreach}
{/if}
<br />
{else}<a href="{$entry.link}">{$entry.title|@default:$entry.body|truncate:40:" ..."}</a> {$CONST.POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a>
{if $entry.categories}
{$CONST.IN} {foreach from=$entry.categories item="entry_category" name="categories"}<a href="{$entry_category.category_link}">{$entry_category.category_name|@escape}</a>{if not $smarty.foreach.categories.last}, {/if}{/foreach}
{/if}
{if $dategroup.is_sticky}
{$CONST.ON}
{else}
{$CONST.AT}
{/if} {if $dategroup.is_sticky}{$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY}{else} {$entry.timestamp|@formatTime:'%H:%M'}{/if}<br />
{/if}
{if $entry.is_entry_owner and not $is_preview}
<br /><a href="{$entry.link_edit}">{$CONST.EDIT_ENTRY}</a>
{/if}
{if $entry.has_comments}
{if $use_popups}
<br /><a href="{$entry.link_popup_comments}" onclick="window.open(this.href, 'comments', 'width=480,height=480,scrollbars=yes'); return false;">{$entry.label_comments} ({$entry.comments})</a>
{else}
<br /><a href="{$entry.link}#comments">{$entry.label_comments} ({$entry.comments})</a>
{/if}
{/if}
{if $entry.has_trackbacks}
{if $use_popups}
<br /><a href="{$entry.link_popup_trackbacks}" onclick="window.open(this.href, 'comments', 'width=480,height=480,scrollbars=yes'); return false;">{$entry.label_trackbacks} ({$entry.trackbacks})</a><br />
{else}
<br /><a href="{$entry.link}#trackbacks">{$entry.label_trackbacks} ({$entry.trackbacks})</a><br />
{/if}
{/if}
{$entry.add_footer}
</div>
<h4 class="serendipity_title"><a href="{$entry.link}">{$entry.title|@default:$entry.body|truncate:200:" ..."}</a></h4>
<div class="serendipity_entry_body">
{$entry.body}
{if $entry.has_extended and not $is_single_entry and not $entry.is_extended}
<span class="continue_reading"><a href="{$entry.link}#extended">{$CONST.VIEW_EXTENDED_ENTRY|@sprintf:$entry.title}</a></span></div>
{/if}
{if $entry.is_extended}
<div class="serendipity_entry_extended"><a id="extended"></a>{$entry.extended}</div>
{/if}
</div>
<!--
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<rdf:Description
rdf:about="{$entry.link_rdf}"
trackback:ping="{$entry.link_trackback}"
dc:title="{$entry.title_rdf|@default:$entry.title}"
dc:identifier="{$entry.rdf_ident}" />
</rdf:RDF>
-->
{$entry.plugin_display_dat}
{if $is_single_entry and not $use_popups and not $is_preview}
{if $CONST.DATA_UNSUBSCRIBED}
<br /><div class="serendipity_center serendipity_msg_notice">{$CONST.DATA_UNSUBSCRIBED|@sprintf:$CONST.UNSUBSCRIBE_OK}</div><br />
{/if}
{if $CONST.DATA_TRACKBACK_DELETED}
<br /><div class="serendipity_center serendipity_msg_notice">{$CONST.DATA_TRACKBACK_DELETED|@sprintf:$CONST.TRACKBACK_DELETED}</div><br />
{/if}
{if $CONST.DATA_TRACKBACK_APPROVED}
<br /><div class="serendipity_center serendipity_msg_notice">{$CONST.DATA_TRACKBACK_APPROVED|@sprintf:$CONST.TRACKBACK_APPROVED}</div><br />
{/if}
{if $CONST.DATA_COMMENT_DELETED}
<br /><div class="serendipity_center serendipity_msg_notice">{$CONST.DATA_COMMENT_DELETED|@sprintf:$CONST.COMMENT_DELETED}</div><br />
{/if}
{if $CONST.DATA_COMMENT_APPROVED}
<br /><div class="serendipity_center serendipity_msg_notice">{$CONST.DATA_COMMENT_APPROVED|@sprintf:$CONST.COMMENT_APPROVED}</div><br />
{/if}
<div class="serendipity_comments serendipity_section_trackbacks">
<br />
<a id="trackbacks"></a>
<div class="serendipity_commentsTitle">{$CONST.TRACKBACKS}</div>
<div class="serendipity_center">
<a rel="nofollow" style="font-weight: normal" href="{$entry.link_trackback}" onclick="alert('{$CONST.TRACKBACK_SPECIFIC_ON_CLICK|@escape:htmlall}'); return false;" title="{$CONST.TRACKBACK_SPECIFIC_ON_CLICK|@escape}">{$CONST.TRACKBACK_SPECIFIC}</a>
</div>
<br />
{serendipity_printTrackbacks entry=$entry.id}
</div>
{/if}
{if $is_single_entry and not $is_preview}
<div class="serendipity_comments serendipity_section_comments">
<br />
<a id="comments"></a>
<div class="serendipity_commentsTitle">{$CONST.COMMENTS}</div>
<div class="serendipity_center">{$CONST.DISPLAY_COMMENTS_AS}
{if $entry.viewmode eq $CONST.VIEWMODE_LINEAR}
({$CONST.COMMENTS_VIEWMODE_LINEAR} | <a rel="nofollow" href="{$entry.link_viewmode_threaded}#comments">{$CONST.COMMENTS_VIEWMODE_THREADED}</a>)
{else}
(<a rel="nofollow" href="{$entry.link_viewmode_linear}#comments">{$CONST.COMMENTS_VIEWMODE_LINEAR}</a> | {$CONST.COMMENTS_VIEWMODE_THREADED})
{/if}
</div>
<br />
{serendipity_printComments entry=$entry.id mode=$entry.viewmode}
{if $entry.is_entry_owner}
{if $entry.allow_comments}
<div class="serendipity_center">(<a href="{$entry.link_deny_comments}">{$CONST.COMMENTS_DISABLE}</a>)</div>
{else}
<div class="serendipity_center">(<a href="{$entry.link_allow_comments}">{$CONST.COMMENTS_ENABLE}</a>)</div>
{/if}
{/if}
<a id="feedback"></a>
{foreach from=$comments_messagestack item="message"}
<div class="serendipity_center serendipity_msg_important">{$message}</div>
{/foreach}
{if $is_comment_added}
<br />
<div class="serendipity_center serendipity_msg_notice">{$CONST.COMMENT_ADDED}</div>
{elseif $is_comment_moderate}
<br />
<div class="serendipity_center serendipity_msg_notice">{$CONST.COMMENT_ADDED}<br />{$CONST.THIS_COMMENT_NEEDS_REVIEW}</div>
{elseif not $entry.allow_comments}
<br />
<div class="serendipity_center serendipity_msg_important">{$CONST.COMMENTS_CLOSED}</div>
{else}
<br />
<div class="serendipity_section_commentform">
<div class="serendipity_commentsTitle">{$CONST.ADD_COMMENT}</div>
{$COMMENTFORM}
</div>
{/if}
</div>
{/if}
{$entry.backend_preview}
{/foreach}
</div>
{foreachelse}
{if not $plugin_clean_page}
<h3 class="serendipity_date">{$CONST.ADMIN_FRONTPAGE}</h3>
<div class="serendipity_overview_noentries">{$CONST.NO_ENTRIES_TO_PRINT}</div>
{/if}
{/foreach}
<div class='serendipity_pageFooter' style="text-align: center">
{if $footer_info}
{if $footer_prev_page}
<a href="{$footer_prev_page}">&laquo; {$CONST.PREVIOUS_PAGE}</a>&#160;&#160;
{else}
<span class="grey">&laquo; {$CONST.PREVIOUS_PAGE}</span>&#160;&#160;
{/if}
{else}
{/if}
{if $footer_info}
({$footer_info})
{/if}
{if $footer_info}
{if $footer_next_page}
&#160;&#160;<a href="{$footer_next_page}">{$CONST.NEXT_PAGE} &raquo;</a>
{else}
&#160;&#160;<span class="grey">{$CONST.NEXT_PAGE} &raquo;</span>
{/if}
{else}
{/if}
<br />{if not $startpage}<a href="{$serendipityBaseURL}">{$CONST.ADMIN_FRONTPAGE}</a>{/if}{if not $footer_info} - <a href="#topofpage">{$CONST.TOP_LEVEL}</a>{/if}
{serendipity_hookPlugin hook="entries_footer"}
</div>
<!-- ENTRIES END -->

View File

@ -0,0 +1,13 @@
{serendipity_hookPlugin hook="entries_header"}
<div class='serendipity_date'>{$CONST.TOPICS_OF} {$dateRange.0|@formatTime:"%B, %Y"}</div>
<div class="serendipity_entry">
{foreach from=$entries item="entries"}
{foreach from=$entries.entries item="entry"}
<div class="archive_summary"><h4 class="archive_summary_title">{$entry.id} - <a href="{$entry.link}">{$entry.title|truncate:80:" ..."}</a></h4>
{$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY}. {$CONST.POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a> {if $entry.categories} {$CONST.IN} {foreach from=$entry.categories item="entry_category" name="categories"}<a href="{$entry_category.category_link}">{$entry_category.category_name|@escape}</a>{/foreach}{/if}</div>
{/foreach}
{/foreach}
<div class='serendipity_pageFooter' style="text-align: center">
{serendipity_hookPlugin hook="entries_footer"}</div>

Binary file not shown.

After

Width:  |  Height:  |  Size: 188 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 496 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 585 B

View File

@ -0,0 +1,58 @@
{if $is_embedded != true}
{if $is_xhtml}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
{else}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
{/if}
<html>
<head>
<title>{$head_title|@default:$blogTitle} {if $head_subtitle} - {$head_subtitle}{/if}</title>
<meta http-equiv="Content-Type" content="text/html; charset={$head_charset}" />
<meta name="Powered-By" content="Serendipity v.{$head_version}" />
<link rel="stylesheet" type="text/css" href="{$head_link_stylesheet}" />
<link rel="alternate" type="application/rss+xml" title="{$blogTitle} RSS feed" href="{$serendipityBaseURL}{$serendipityRewritePrefix}feeds/index.rss2" />
<link rel="alternate" type="application/x.atom+xml" title="{$blogTitle} Atom feed" href="{$serendipityBaseURL}{$serendipityRewritePrefix}feeds/atom.xml" />
{if $entry_id}
<link rel="pingback" href="{$serendipityBaseURL}comment.php?type=pingback&amp;entry_id={$entry_id}" />
{/if}
{serendipity_hookPlugin hook="frontend_header"}
</head>
<body>
{else}
{serendipity_hookPlugin hook="frontend_header"}
{/if}
{if $is_raw_mode != true}
<div id="wrap">
<div id="serendipity_banner"><a id="topofpage"></a>
<h1><a class="homelink1" href="{$serendipityBaseURL}">{$head_title|@default:$blogTitle|truncate:80:" ..."}</a></h1>
<h2><a class="homelink2" href="{$serendipityBaseURL}">{$head_subtitle|@default:$blogDescription}</a></h2>
</div>
<table id="mainpane">
<tr>
{if $leftSidebarElements > 0}
<td id="serendipityLeftSideBar" valign="top">{serendipity_printSidebar side="left"}</td>
{/if}
<td id="content" valign="top">{$CONTENT}</td>
{if $rightSidebarElements > 0}
<td id="serendipityRightSideBar" valign="top">{serendipity_printSidebar side="right"}</td>
{/if}
</tr>
</table>
{/if}
{$raw_data}
{serendipity_hookPlugin hook="frontend_footer"}
{if $is_embedded != true}
<div id="footer">
<p>{$CONST.POWERED_BY} <a href="http://www.s9y.org">s9y</a> - Design by <a href="http://www.carlgalloway.com">Carl</a></p>
</div>
</div>
</body>
</html>
{/if}

View File

@ -0,0 +1,3 @@
Name: Serendipity v3.0
Author: Carl Galloway
Date: 26-01-2006

View File

@ -0,0 +1,33 @@
<table style="width: 100%" cellspacing="0" cellpadding="0" class="serendipity_calendar">
<tr>
<td class="serendipity_calendarHeader">
{if $plugin_calendar_head.minScroll le $plugin_calendar_head.month_date}
<a title="{$CONST.BACK}" href="{$plugin_calendar_head.uri_previous}"><img alt="{$CONST.BACK}" src="{serendipity_getFile file="img/back.gif"}" width="16" height="12" style="border: 0px" /></a>
{/if}
</td>
<td colspan="5" class="serendipity_calendarHeader" style="text-align: center; vertical-align: bottom">
<b><a style="white-space: nowrap" href="{$plugin_calendar_head.uri_month}">{$plugin_calendar_head.month_date|formatTime:"%B '%y":false}</a></b>
</td>
<td class="serendipity_calendarHeader" style="text-align: right">
{if $plugin_calendar_head.maxScroll ge $plugin_calendar_head.month_date}
<a title="{$CONST.FORWARD}" href="{$plugin_calendar_head.uri_next}"><img alt="{$CONST.FORWARD}" src="{serendipity_getFile file="img/forward.gif"}" width="16" height="12" style="border: 0px" /></a>
{/if}
</td>
</tr>
<tr>
{foreach from=$plugin_calendar_dow item="dow"}
<td scope="col" abbr="{$dow.date|@formatTime:"%A":false}" title="{$dow.date|@formatTime:"%A":false}" class="serendipity_weekDayName" align="center">{$dow.date|@formatTime:"%a":false}</td>
{/foreach}
</tr>
{foreach from=$plugin_calendar_weeks item="week"}
<tr class="serendipity_calendar {cycle values="row1, row2, row3, row4, row5, row6"}">
{foreach from=$week.days item="day"}
<td class="serendipity_calendarDay {$day.classes}"{if isset($day.properties.Title)} title="{$day.properties.Title}"{/if}>{if isset($day.properties.Active) and $day.properties.Active}<a href="{$day.properties.Link}">{/if}{$day.name|@default:"&#160;"}{if isset($day.properties.Active) and $day.properties.Active}</a>{/if}</td>
{/foreach}
</tr>
{/foreach}
</table>

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

View File

@ -0,0 +1,641 @@
/******************************************************/
/* Theme by Carl Galloway */
/* http://www.carlgalloway.com */
/* This is a structured and commented version */
/* of the serendipity blog default theme. */
/* */
/* Styles have been organised into the following */
/* groups; general, header, footer, entry, comments */
/* commentform, sidebar, calendar, image media, and */
/* plugins. */
/* */
/* My comments are inside the /* */, these can */
/* safely be deleted if you do not require them. */
/******************************************************/
/********* General Styles *********/
/* used in entry/sidebar titles */
h4, h3 {
margin: 0; }
/* the input boxes used in forms */
input, textarea, select {
font-size: 10pt; }
/* all table headers and rows */
th, td {
font-size: 10pt; }
/* style for lists */
li {
list-style-position: inside; }
/* style for blockquotes inserted into posts */
blockquote {
margin: 15px 30px 0 15px;
padding-left: 15px;
border-left: 4px solid #2a5a8a; }
/* all links are blue with no underline */
a:link, a:visited, a:active {
color: #235587;
text-decoration: none; }
/* change link color to dark blue and underline when hovered over */
a:hover {
color: #5f90ba;
text-decoration: underline; }
/* used when s9y needs to center something */
.serendipity_center {
margin-left: auto;
margin-right: auto;
text-align: center; }
/* warning messages from s9y */
.serendipity_msg_important {
color: red; }
/* messages letting you know something has happened eg comment saved */
.serendipity_msg_notice {
color: green; }
/* style to temporarily change something to grey */
.grey {
color:#999; }
/********* End of General Styles *********/
/********* Structural Styles *********/
/* preset styles for entire blog unless overruled elsewhere, page footer is here as well */
body {
direction: {LANG_DIRECTION};
font-size: 0.9em;
background-color: #f1f6fb;
margin: 0;
padding:0;
font-family: "trebuchet ms", "bitstream vera sans", arial, sans-serif; }
/* wrapper for page */
#wrap {
width:90%;
margin:0 auto; }
/* container for banner */
#serendipity_banner {
margin: auto;
width: 100%;
height: 72px;
background-image: url({TEMPLATE_PATH}img/background.png); }
/* container for content and sidebar */
#mainpane {
border-right:1px solid #235587;
border-left:1px solid #235587;
border-bottom:1px solid #235587;
margin: 0 auto;
width: 100%;
border-top: 0px;
background-color: #FFFFFF; }
/* container for entries column */
#content {
padding: 0 10px 10px 10px;
margin: 0 10px 10px 10px;
width: auto; }
/* container for right sidebar */
#serendipityRightSideBar {
width: 170px;
padding: 0 0 0 10px;
margin:0;
vertical-align: top; }
/* container for left sidebar */
#serendipityLeftSideBar {
width: 170px;
padding:0 10px 0 1px;
margin:0;
vertical-align: top; }
/* container for page footer */
#footer {
padding:0;
margin:0;
background-color: #ecf3fd; }
/********* End of Structural Styles *********/
/********* Header/Banner Styles *********/
/* the big link in the banner, blog name/entry title */
a.homelink1, a.homelink1:hover, a.homelink1:link, a.homelink1:visited, #serendipity_banner h1 {
color: #fff;
font-family: Verdana, Arial, Geneva, Helvetica, sans-serif;
font-size : 20px;
padding-left:15px;
padding-top: 20px;
margin: 0px;
text-decoration: none; }
/* the smaller link in the banner, blog description */
a.homelink2, a.homelink2:hover, a.homelink2:link, a.homelink2:visited, #serendipity_banner h2 {
color: #fff;
padding-left: 15px;
font-size: 14px;
margin: 0px;
text-decoration: none; }
/********* End of Header/Banner Styles *********/
/********* Footer Styles *********/
/* footer paragraph text */
#footer p {
color:#666;
text-transform:lowercase;
font-size: 9pt;
font-weight:bold;
line-height: 1.5; }
/* make footer links blue, no underline */
#footer a {
color:#215385;
text-decoration:none; }
/* underline footer links when hovered over */
#footer a:hover {
text-decoration:underline; }
/********* End of Footer Styles *********/
/********* Entry Styles *********/
/* container for the entry/post */
.serendipity_entry {
font-family: arial, helvetica, sans-serif;
color: #333;
font-size: 9.5pt;
font-weight: normal;
margin: 10px 0 40px 0; }
/* container for entry title and date */
.serendipity_Entry_Date {
clear:both; }
/* style for the actual date below entry title */
.serendipity_date {
text-align:right;
line-height:0.85em;
color: #999;
margin:10px 0 0 0;
text-transform:lowercase;
display:block;
font-size:.9em;
border-bottom: 1px solid #ddd;
padding: 10px 12px 0 0; }
/* entry title */
.serendipity_title {
font-size: medium;
font-weight: bold;
margin-top: 5px;
color: #235587; }
/* style for the meta box title */
.serendipity_meta_title {
font-size: small;
font-weight: bold;
margin: 0; padding:0;
color: #235587; }
/* entry title link, regular color is black */
.serendipity_title a:link, .serendipity_title a:visited {
text-decoration: none;
font-weight: bold;
border: 0;
background:none;
color: #235587; }
/*entry title link when hovered over, changes to orange */
.serendipity_title a:hover {
color: #e37235; }
/* additional styles used for entry text */
.serendipity_entry p {
margin: 0px;
padding-bottom: 0px; }
/* style for extended body */
.serendipity_entry_extended {
margin-top:20px; }
/* prevent styling of the extended placeholder, otherwise the background image is visible */
#extended {
background:none;
display:none; }
/* the meta box that includes links to comments, trackbacks etc */
div.serendipity_entryFooter {
margin: 0 0 10px 10px;
width:170px;
float:right;
border:1px solid #ddecfb;
background-color:#f6f8fb;
font-size: 0.8em;
color: #000000;
padding-bottom: 4px; }
/* style for links within the page footer */
div.serendipity_entryFooter a {
font-weight:bolder; }
/* style for hovered over links within page footer */
div.serendipity_entryFooter a:hover {
color: #e37235;
text-decoration:none; }
/* styles for category icon if used */
img.serendipity_entryIcon {
float: right;
border: 0px;
margin-top:1px; }
/* styling the continue reading byline, needed to stop firefox making the link 100% wide */
.continue_reading {
display:block;
margin-top:10px;
clear:left; }
/* styling the continue reading byline link */
.continue_reading a {
font-weight:normal;
background:none; }
/* styling the continue reading byline when hovered over */
.continue_reading a:hover {
color: #5f90ba;
background:none;
text-decoration: underline; }
/* not used, but allows additional style to show author's posts in multi-author blogs */
.serendipity_entry_author_self {
}
/* styles for the next/previous links above footer, includes start page and archives links */
.serendipity_pageFooter {
clear:both;
margin-top:10px; }
/* container for summary listings in archives */
.archive_summary {
clear:both;
margin:15px 0 0 10px;
font-size:0.9em;}
/* style for entry title in summary archives overview */
.archive_summary_title {
font-size: 1.0em;
font-weight: bold;
margin: 0; padding:0; }
/********* End of Entry Styles *********/
/********* Comment Styles *********/
/* container for all comments, not styled separately in default theme */
.serendipity_comments {
}
/* comments, trackbacks and commentform titles */
.serendipity_commentsTitle {
font-size: medium;
font-weight: bold;
margin-top: 10px;
color: #336d9f;
clear:left; }
/* container for individual comments */
.serendipity_comment {
padding: 3px; }
/* style for comment author, date commented etc */
.serendipity_comment_source {
margin-top: 5px;
padding-left: 5px;
margin-bottom: 5px;
padding-bottom: 3px; }
/* style for comment author if logged in */
.serendipity_comment_author_self {
border-top:3px solid #e37235;
border-bottom:3px solid #e37235; }
/* style for even numbered comments*/
.comment_evenbox {
margin:0 0 20px 0;
border-top:1px solid #5f90ba;
border-bottom:1px solid #5f90ba;
background-color:#fafbfc;
color:#505050;
line-height:1.5em; }
/* style for odd numbered comments*/
.comment_oddbox {
margin:0 0 20px 0;
border-top:1px solid #c0c0c0;
border-bottom:1px solid #c0c0c0;
background-color:#fafbfc;
color:#505050;
line-height:1.5em; }
/********* End of Comment Styles *********/
/********* Comment Form *********/
/* container style for entire comment form */
.serendipity_commentForm {
font-size: 13px;
color: #404040;
margin-bottom: 13px;
margin-right: 10px;
margin-left: 10px;
background-color: #FFFFFF; }
/* style for name, email etc fields in comments form */
td.serendipity_commentsLabel {
font-size: 12px;
font-weight: bold;
vertical-align: top; }
/* styles for input boxes in comments form */
td.serendipity_commentsValue input, td.serendipity_commentsValue select, td.serendipity_commentsValue textarea {
font-size: 12px;
padding: 2px; }
/********* End of Comment Form *********/
/********* Sidebar Styles *********/
/* container style for individual sidebar blocks */
div.serendipitySideBarContent {
padding-bottom: 12px;
margin-bottom: 12px;
font-size: 12px;
font-weight:normal; }
/* style for each sidebar title */
.serendipitySideBarTitle {
line-height:0.85em;
color: #999;
margin:10px 0 4px 0;
text-transform:lowercase;
display:block;
font-size:.9em;
border-bottom: 1px solid #ddd;
padding: 10px 0 0 12px; }
/* style for the powered by sidebar entry */
div.serendipityPlug img {
padding-left:5px; }
/* style for the powered by link */
div.serendipityPlug a {
text-decoration: none;
border: 0px; }
/* style for input and select drop downs in sidebar */
.serendipitySideBarContent input, .serendipitySideBarContent select {
width:150px; }
/* style for side bar date eg recent entries plugin */
.serendipitySideBarDate {
line-height:0.9em; }
/********* End of Sidebar Styles *********/
/********* Calendar Styles *********/
/* style for entire table in calendar plugin */
table.serendipity_calendar {
border-bottom:1px solid #ddecfb;
border-left:1px solid #ddecfb;
border-right:1px solid #ddecfb; }
/* container style for calendar table rows */
table.serendipity_calendar td {
text-align:center;
padding: 3px; }
/* style for calendar date links */
table.serendipity_calendar a {
font-weight: bold;
text-decoration:none; }
/* style for calendar links when hovered over */
table.serendipity_calendar a:hover {
text-decoration: underline; }
/* style for calender header row */
.serendipity_calendarHeader {background:#235587; }
/* styles for month name and arrows in calendar */
td.serendipity_calendarHeader a:link, td.serendipity_calendarHeader a:visited, td.serendipity_calendarHeader a:hover {
border: 0;
color:#fff;
text-decoration: none; }
/* style for calendar weekday names */
td.serendipity_weekDayName {
font-size:95%!important;
font-size:90%;
font-weight:575;
color:#fff;
background:#5f90ba; }
/* style for calendar day rows */
td.serendipity_calendarDay {
color:#888;
font-size:90%; }
/* separate style for today's date */
td.Today {color: #444; text-decoration: overline; }
/* styles for calendar days rows */
.row1 {background: #ddecfb; }
.row2 {background: #e2eefb; }
.row3 {background: #e7f1fb; }
.row4 {background: #ecf3fb; }
.row5 {background: #f1f6fb; }
.row6 {background: #f6f8fb; }
/********* End of Calendar Styles *********/
/********* Embedded images with the s9y image manager *********/
/* container for images and text */
.serendipity_imageComment_center, .serendipity_imageComment_left, .serendipity_imageComment_right {
border: 1px solid #DDDDDD;
background-color: #EFEFEF;
margin: 3px;
padding: 3px;
text-align: center; }
/* style to center image and text within entry */
.serendipity_imageComment_center {
margin: auto; }
/* style to left align image and text within entry */
.serendipity_imageComment_left {
float: left; }
/* style to right align image and text within entry */
.serendipity_imageComment_right {
float: right; }
/* styles for the images */
.serendipity_imageComment_img, .serendipity_imageComment_img img {
margin: 0px;
padding: 0px;
border:none;
text-align: center; }
/* styles for the text below the image if used */
.serendipity_imageComment_txt {
border-top: 1px solid #DDDDDD;
margin: 0px;
padding: 3px;
clear: both;
font-size: 8pt;
text-align: center; }
/********* End of Media Manager Styles *********/
/********* Plugin Styles *********/
/* container for search results, static page navigation and s9y no entries message */
.serendipity_search, .staticpage_navigation, .serendipity_overview_noentries {
margin:10px 0 20px 0;
padding:10px;
border:1px solid #c0c0c0;
background-color:#fafbfc;
color:#505050;
line-height:1.5em;
clear:both; }
/* style for input box for quicksearch */
#serendipityQuickSearchTermField {
width:70%;
margin-top:10px!important;
margin:0;
padding:0; }
/* style for the seearch term and number of results using quicksearch */
.searchterm, .searchresults {color:#235587;font-weight:bold; }
/* style for freetag items above entries */
.serendipity_freetag_taglist {
margin:10px 0 20px 0;
padding:15px;
font-size: 80%;
color:#505050;
border: 1px solid #c0c0c0;
background-color: #fafbfc;
line-height:1.5em;
text-align: justify; }
/* container for freetag plugin in entry footer */
.serendipity_freeTag {
margin-top:10px;}
/* style for the rss feed image in freetag plugin */
img.serendipity_freeTag_xmlButton {
border:none;
padding-left:2px; }
/* container for karma vote plugin */
.serendipity_karmaVoting {
margin-top: 10px; }
/* allows additional styling for top exits text in karma plugin */
.serendipity_karmaVoting_exits {
}
/* style for number of top exits in karma plugin */
.serendipity_karmaVoting_exits_num {
}
/* style for karma plugin 'Karma for this article:' and vote links */
.serendipity_karmaVoting_text {}
/* style for vote links in karma plugin */
.serendipity_karmaVoting_links {
display:block;
clear:left; }
/* style for karma plugin text and vote line */
.serendipity_karmaVoting_current, .serendipity_karmaVoting_visits {}
/* style for the separator '|' in the karma plugin top exits */
.serendipity_karmaVoting_exits_sep, .serendipity_karmaVoting br {
display:none; }
/* container for comments plugin within sidebar */
.container_serendipity_plugin_comments {
color:#333; }
/* style for line break in comments plugin */
.container_serendipity_plugin_comments br {
line-height:0.5em; }
/* container for individual comment within sidebar */
.plugin_comment_wrap {
display:block;
margin:15px 0 0 0;
border-top:1px solid #ddecfb;
border-bottom:1px solid #ddecfb;
background-color:#fafbfc;
color:#505050; }
/* style for comment body within sidebar */
.plugin_comment_body {
font-style:oblique; }
/********* End Plugin Styles *********/