diff --git a/templates/skeleton/UTF-8/lang_de.inc.php b/templates/skeleton/UTF-8/lang_de.inc.php new file mode 100644 index 00000000..1c94ab69 --- /dev/null +++ b/templates/skeleton/UTF-8/lang_de.inc.php @@ -0,0 +1,2 @@ + +
+ +{if $is_moderate_comments} +

{$CONST.COMMENTS_WILL_BE_MODERATED}

+{/if} +
+ + +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + {$commentform_replyTo} +
+ +
+ + +
+ {serendipity_hookPlugin hook="frontend_comment" data=$commentform_entry} + {if $is_commentform_showToolbar} + + {if $is_allowSubscriptions} + + {/if} + {/if} +
+ + +
+
+ diff --git a/templates/skeleton/comments.tpl b/templates/skeleton/comments.tpl new file mode 100644 index 00000000..e7adb969 --- /dev/null +++ b/templates/skeleton/comments.tpl @@ -0,0 +1,20 @@ +{foreach from=$comments item=comment name="comments"} +
+

{if $comment.url}{/if}{$comment.author|default:$CONST.ANONYMOUS}{if $comment.url}{/if} {$CONST.ON} :

+ +
+ {if $comment.avatar}{$comment.avatar}{/if} + {if $comment.body == 'COMMENT_DELETED'} +

{$CONST.COMMENT_IS_DELETED}

+ {else} + {$comment.body} + {/if} +
+ {if $entry.allow_comments AND $comment.body != 'COMMENT_DELETED'} + {$CONST.REPLY} +
+ {/if} +
+{foreachelse} +

{$CONST.NO_COMMENTS}

+{/foreach} diff --git a/templates/skeleton/config.inc.php b/templates/skeleton/config.inc.php new file mode 100644 index 00000000..8ef2f854 --- /dev/null +++ b/templates/skeleton/config.inc.php @@ -0,0 +1,61 @@ +assign(array('currpage' => "http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'], + 'currpage2' => $_SERVER['REQUEST_URI'])); + +if (class_exists('serendipity_event_spamblock')) { + $required_fieldlist = serendipity_db_query("SELECT value FROM {$serendipity['dbPrefix']}config WHERE name LIKE '%spamblock%required_fields'", true, 'assoc'); +} elseif (class_exists('serendipity_event_commentspice')) { + $required_fieldlist = serendipity_db_query("SELECT value FROM {$serendipity['dbPrefix']}config WHERE name LIKE '%commentspice%required_fields'", true, 'assoc'); +} + +if (is_array($required_fieldlist)) { + $required_fields = explode(',', $required_fieldlist['value']); + $smarty_required_fields = array(); + + foreach($required_fields AS $required_field) { + $required_field = trim($required_field); + + if (empty($required_field)) continue; + $smarty_required_fields[$required_field] = $required_field; + } + + $serendipity['smarty']->assign('required_fields', $smarty_required_fields); +} + +$template_config = array( + array( + 'var' => 'date_format', + 'name' => GENERAL_PLUGIN_DATEFORMAT . " (http://php.net/strftime)", + 'type' => 'select', + 'default' => DATE_FORMAT_ENTRY, + 'select_values' => array(DATE_FORMAT_ENTRY => DATE_FORMAT_ENTRY, + '%A, %e. %B %Y' => '%A, %e. %B %Y', + '%a, %e. %B %Y' => '%a, %e. %B %Y', + '%e. %B %Y' => '%e. %B %Y', + '%d.%m.%y' => '%d.%m.%y', + '%d.%m.%Y' => '%d.%m.%Y', + '%A, %m/%d/%Y' => '%A, %m/%d/%Y', + '%a, %m/%d/%y' => '%a, %m/%d/%y', + '%m/%d/%y' => '%m/%d/%y', + '%m/%d/%Y' => '%m/%d/%Y', + '%Y-%m-%d' => '%Y-%m-%d') + ), + array( + 'var' => 'use_corenav', + 'name' => USE_CORENAV, + 'type' => 'boolean', + 'default' => true + ) +); + +$template_global_config = array('navigation' => true); +$template_loaded_config = serendipity_loadThemeOptions($template_config, $serendipity['smarty_vars']['template_option'], true); +serendipity_loadGlobalThemeOptions($template_config, $template_loaded_config, $template_global_config); + +if ($_SESSION['serendipityUseTemplate']) { + $template_loaded_config['use_corenav'] = false; +} diff --git a/templates/skeleton/content.tpl b/templates/skeleton/content.tpl new file mode 100644 index 00000000..cb06460f --- /dev/null +++ b/templates/skeleton/content.tpl @@ -0,0 +1,7 @@ +{if $searchresult_tooShort or $searchresult_error or $searchresult_noEntries or $searchresult_results} +

{$CONST.QUICKSEARCH} {$content_message}

+{elseif $content_message} +

{$content_message}

+{/if} +{$ENTRIES} +{$ARCHIVES} diff --git a/templates/skeleton/entries.tpl b/templates/skeleton/entries.tpl new file mode 100644 index 00000000..8001b3c6 --- /dev/null +++ b/templates/skeleton/entries.tpl @@ -0,0 +1,131 @@ +{serendipity_hookPlugin hook="entries_header" addData="$entry_id"} +{foreach from=$entries item="dategroup"} + {foreach from=$dategroup.entries item="entry"} + {assign var="entry" value=$entry scope=parent} +
+
+

{$entry.title}

+ + +
+ +
+ {if $entry.categories}{foreach from=$entry.categories item="entry_category"}{if $entry_category.category_icon}{$entry_category.category_name|escape}{/if}{/foreach}{/if} + {$entry.body} + {if $entry.has_extended and not $is_single_entry and not $entry.is_extended} + {$CONST.VIEW_EXTENDED_ENTRY|sprintf:$entry.title} + {/if} +
+ {if $entry.is_extended} +
+ {$entry.extended} +
+ {/if} + + + +{if $is_single_entry and not $use_popups and not $is_preview} + {if $CONST.DATA_UNSUBSCRIBED} +

{$CONST.DATA_UNSUBSCRIBED|sprintf:$CONST.UNSUBSCRIBE_OK}

+ {/if} + {if $CONST.DATA_TRACKBACK_DELETED} +

{$CONST.DATA_TRACKBACK_DELETED|sprintf:$CONST.TRACKBACK_DELETED}

+ {/if} + {if $CONST.DATA_TRACKBACK_APPROVED} +

{$CONST.DATA_TRACKBACK_APPROVED|sprintf:$CONST.TRACKBACK_APPROVED}

+ {/if} + {if $CONST.DATA_COMMENT_DELETED} +

{$CONST.DATA_COMMENT_DELETED|sprintf:$CONST.COMMENT_DELETED}

+ {/if} + {if $CONST.DATA_COMMENT_APPROVED} +

{$CONST.DATA_COMMENT_APPROVED|sprintf:$CONST.COMMENT_APPROVED}

+ {/if} +
+

{$CONST.TRACKBACKS}

+ + {$CONST.TRACKBACK_SPECIFIC} + + {serendipity_printTrackbacks entry=$entry.id} +
+{/if} +{if $is_single_entry and not $is_preview} +
+

{$CONST.COMMENTS}

+ +
{$CONST.DISPLAY_COMMENTS_AS} {if $entry.viewmode eq $CONST.VIEWMODE_LINEAR}{$CONST.COMMENTS_VIEWMODE_LINEAR} | {$CONST.COMMENTS_VIEWMODE_THREADED}{else}{$CONST.COMMENTS_VIEWMODE_LINEAR} | {$CONST.COMMENTS_VIEWMODE_THREADED}{/if}
+ + {serendipity_printComments entry=$entry.id mode=$entry.viewmode} + {if $entry.is_entry_owner} + {if $entry.allow_comments} + {$CONST.COMMENTS_DISABLE} + {else} + {$CONST.COMMENTS_ENABLE} + {/if} + {/if} +
+ + + {foreach from=$comments_messagestack item="message"} +

{$message}

+ {/foreach} + {if $is_comment_added} +

{$CONST.COMMENT_ADDED}

+ {elseif $is_comment_moderate} +

{$CONST.COMMENT_ADDED}{$CONST.THIS_COMMENT_NEEDS_REVIEW}

+ {elseif not $entry.allow_comments} +

{$CONST.COMMENTS_CLOSED}

+ {else} +
+

{$CONST.ADD_COMMENT}

+ {$COMMENTFORM} +
+ {/if} +{/if} + {$entry.backend_preview} +
+ {/foreach} +{foreachelse} + {if not $plugin_clean_page} +

{$CONST.NO_ENTRIES_TO_PRINT}

+ {/if} +{/foreach} +{if not $is_preview} + {if $staticpage_pagetitle == ''} + + {/if} +{/if} +{serendipity_hookPlugin hook="entries_footer"} diff --git a/templates/skeleton/entries_archives.tpl b/templates/skeleton/entries_archives.tpl new file mode 100644 index 00000000..cba65083 --- /dev/null +++ b/templates/skeleton/entries_archives.tpl @@ -0,0 +1,18 @@ +{serendipity_hookPlugin hook="entries_header"} +
+

{$CONST.ARCHIVES}

+{foreach from=$archives item="archive"} +
+

{$archive.year}

+ + +
+{/foreach} +
+{serendipity_hookPlugin hook="entries_footer"} diff --git a/templates/skeleton/entries_summary.tpl b/templates/skeleton/entries_summary.tpl new file mode 100644 index 00000000..f203781a --- /dev/null +++ b/templates/skeleton/entries_summary.tpl @@ -0,0 +1,15 @@ +{serendipity_hookPlugin hook="entries_header"} +
+

{$CONST.TOPICS_OF} {$dateRange.0|formatTime:"%B %Y"}

+ + +
+{serendipity_hookPlugin hook="entries_footer"} diff --git a/templates/skeleton/img/xml.gif b/templates/skeleton/img/xml.gif new file mode 100644 index 00000000..b0e4adf1 Binary files /dev/null and b/templates/skeleton/img/xml.gif differ diff --git a/templates/skeleton/index.tpl b/templates/skeleton/index.tpl new file mode 100644 index 00000000..ff3554ae --- /dev/null +++ b/templates/skeleton/index.tpl @@ -0,0 +1,86 @@ +{if $is_embedded != true} + + + + + + {$head_title|default:$blogTitle}{if $head_subtitle} | {$head_subtitle}{/if} + +{if ($view == "entry" || $view == "start" || $view == "feed" || $view == "plugin" || $staticpage_pagetitle != "" || $robots_index == 'index')} + +{else} + +{/if} +{if ($view == "entry")} + +{/if} +{if ($view == "start")} + +{/if} + + + + +{if $entry_id} + +{/if} +{serendipity_hookPlugin hook="frontend_header"} + + +{else} +{serendipity_hookPlugin hook="frontend_header"} +{/if} +{if $is_raw_mode != true} + + {if $template_option.use_corenav} + + {/if} +
+
+
+ {$CONTENT} +
+ + +
+
+ + +{/if} +{$raw_data} +{serendipity_hookPlugin hook="frontend_footer"} +{if $is_embedded != true} + + +{/if} diff --git a/templates/skeleton/info.txt b/templates/skeleton/info.txt new file mode 100644 index 00000000..19624c1a --- /dev/null +++ b/templates/skeleton/info.txt @@ -0,0 +1,5 @@ +Name: Skeleton +Author: Matthias Mees, based on http://getskeleton.com +Date: 2016-09-19 +Require Serendipity: 2.0 +Recommended: Yes diff --git a/templates/skeleton/lang_de.inc.php b/templates/skeleton/lang_de.inc.php new file mode 100644 index 00000000..1c94ab69 --- /dev/null +++ b/templates/skeleton/lang_de.inc.php @@ -0,0 +1,2 @@ + +{/if} + +{if $is_form} + +{/if} +{if $is_form} + +{/if} diff --git a/templates/skeleton/plugin_contactform.tpl b/templates/skeleton/plugin_contactform.tpl new file mode 100644 index 00000000..e2cc506f --- /dev/null +++ b/templates/skeleton/plugin_contactform.tpl @@ -0,0 +1,48 @@ +
+

{if $plugin_contactform_articleformat}{$plugin_contactform_name}{else}{$plugin_contactform_pagetitle}{/if}

+ +
+ {$plugin_contactform_preface} +
+{if $is_contactform_sent} +

{$plugin_contactform_sent}

+{else} + {if $is_contactform_error} +

{$plugin_contactform_error}

+ {foreach from=$comments_messagestack item="message"} +

{$message}

+ {/foreach} + {/if} +
+ +
+ + + +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ {serendipity_hookPlugin hook="frontend_comment" data=$commentform_entry} +
+ +
+
+
+{/if} +
diff --git a/templates/skeleton/plugin_staticpage.tpl b/templates/skeleton/plugin_staticpage.tpl new file mode 100644 index 00000000..2b39d0ee --- /dev/null +++ b/templates/skeleton/plugin_staticpage.tpl @@ -0,0 +1,34 @@ +
+

{if $staticpage_articleformat}{if $staticpage_articleformattitle}{$staticpage_articleformattitle|escape}{else}{$staticpage_pagetitle}{/if}{else}{if $staticpage_headline}{$staticpage_headline|escape}{else}{$staticpage_pagetitle}{/if}{/if}

+{if $staticpage_author or $staticpage_lastchange} + +{/if} +{if $staticpage_pass AND $staticpage_form_pass != $staticpage_pass} +
+ + + +
+{else} + {if $staticpage_precontent} +
+ {$staticpage_precontent} +
+ {/if} + {if $staticpage_content} +
+ {$staticpage_content} +
+ {/if} +{/if} +{if is_array($staticpage_childpages)} + +{/if} +
diff --git a/templates/skeleton/plugin_staticpage_searchresults.tpl b/templates/skeleton/plugin_staticpage_searchresults.tpl new file mode 100644 index 00000000..84c8a0c0 --- /dev/null +++ b/templates/skeleton/plugin_staticpage_searchresults.tpl @@ -0,0 +1,13 @@ +{if $staticpage_results} +
+

{$CONST.STATICPAGE_SEARCHRESULTS|sprintf:$staticpage_searchresults}

+ + +
+{/if} diff --git a/templates/skeleton/preview.png b/templates/skeleton/preview.png new file mode 100644 index 00000000..7a8d1080 Binary files /dev/null and b/templates/skeleton/preview.png differ diff --git a/templates/skeleton/preview_fullsize.jpg b/templates/skeleton/preview_fullsize.jpg new file mode 100644 index 00000000..5bbf0802 Binary files /dev/null and b/templates/skeleton/preview_fullsize.jpg differ diff --git a/templates/skeleton/preview_iframe.tpl b/templates/skeleton/preview_iframe.tpl new file mode 100644 index 00000000..b75307ba --- /dev/null +++ b/templates/skeleton/preview_iframe.tpl @@ -0,0 +1,44 @@ + + + + + + {$CONST.SERENDIPITY_ADMIN_SUITE} + + +{serendipity_hookPlugin hook="backend_header" hookAll="true"} + + + + + +
+ {if $mode == 'preview'} +
+ {elseif $mode == 'save'} +
+
+ {$updertHooks} + {if $res} +
{$CONST.ERROR}: {$res}
+ {else} + {if $lastSavedEntry} + + {/if} + {$CONST.ENTRY_SAVED} + {$CONST.VIEW} + {/if} + {/if} + {$preview} +
+
+ + diff --git a/templates/skeleton/sidebar.tpl b/templates/skeleton/sidebar.tpl new file mode 100644 index 00000000..124226f7 --- /dev/null +++ b/templates/skeleton/sidebar.tpl @@ -0,0 +1,18 @@ +{if $is_raw_mode} +
+{/if} +{foreach from=$plugindata item=item} +{if $item.class != "serendipity_plugin_quicksearch"} + +{/if} +{/foreach} +{if $is_raw_mode} +
+{/if} diff --git a/templates/skeleton/style.css b/templates/skeleton/style.css new file mode 100644 index 00000000..7623fdbc --- /dev/null +++ b/templates/skeleton/style.css @@ -0,0 +1,389 @@ +/*! normalize.css v3.0.2 | MIT License | git.io/normalize */img,legend{border:0}legend,td,th{padding:0}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,optgroup,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre,textarea{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}table{border-collapse:collapse;border-spacing:0} +/* Skeleton V2.0.4, Copyright 2014, Dave Gamache, www.getskeleton.com + * Free to use under the MIT license, http://www.opensource.org/licenses/mit-license.php, 12/29/2014 */ +.column,.columns,.container,.u-full-width{width:100%;box-sizing:border-box}h1,h2,h3{letter-spacing:-.1rem}body,h6{line-height:1.6}.container{position:relative;max-width:960px;margin:0 auto;padding:0 20px}ol,p,ul{margin-top:0}.column,.columns{float:left}@media (min-width:400px){.container{width:85%;padding:0}}html{font-size:62.5%}body{font-size:1.5em;font-weight:400;font-family:Raleway,HelveticaNeue,"Helvetica Neue",Helvetica,Arial,sans-serif;color:#222}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:2rem;font-weight:300}h1{font-size:4rem;line-height:1.2}h2{font-size:3.6rem;line-height:1.25}h3{font-size:3rem;line-height:1.3}h4{font-size:2.4rem;line-height:1.35;letter-spacing:-.08rem}h5{font-size:1.8rem;line-height:1.5;letter-spacing:-.05rem}h6{font-size:1.5rem;letter-spacing:0}@media (min-width:550px){.container{width:80%}.column,.columns{margin-left:4%}.column:first-child,.columns:first-child{margin-left:0}.one.column,.one.columns{width:4.66666666667%}.two.columns{width:13.3333333333%}.three.columns{width:22%}.four.columns{width:30.6666666667%}.five.columns{width:39.3333333333%}.six.columns{width:48%}.seven.columns{width:56.6666666667%}.eight.columns{width:65.3333333333%}.nine.columns{width:74%}.ten.columns{width:82.6666666667%}.eleven.columns{width:91.3333333333%}.twelve.columns{width:100%;margin-left:0}.one-third.column{width:30.6666666667%}.two-thirds.column{width:65.3333333333%}.one-half.column{width:48%}.offset-by-one.column,.offset-by-one.columns{margin-left:8.66666666667%}.offset-by-two.column,.offset-by-two.columns{margin-left:17.3333333333%}.offset-by-three.column,.offset-by-three.columns{margin-left:26%}.offset-by-four.column,.offset-by-four.columns{margin-left:34.6666666667%}.offset-by-five.column,.offset-by-five.columns{margin-left:43.3333333333%}.offset-by-six.column,.offset-by-six.columns{margin-left:52%}.offset-by-seven.column,.offset-by-seven.columns{margin-left:60.6666666667%}.offset-by-eight.column,.offset-by-eight.columns{margin-left:69.3333333333%}.offset-by-nine.column,.offset-by-nine.columns{margin-left:78%}.offset-by-ten.column,.offset-by-ten.columns{margin-left:86.6666666667%}.offset-by-eleven.column,.offset-by-eleven.columns{margin-left:95.3333333333%}.offset-by-one-third.column,.offset-by-one-third.columns{margin-left:34.6666666667%}.offset-by-two-thirds.column,.offset-by-two-thirds.columns{margin-left:69.3333333333%}.offset-by-one-half.column,.offset-by-one-half.columns{margin-left:52%}h1{font-size:5rem}h2{font-size:4.2rem}h3{font-size:3.6rem}h4{font-size:3rem}h5{font-size:2.4rem}h6{font-size:1.5rem}}a{color:#1EAEDB}a:hover{color:#0FA0CE}.button,button,input[type=submit],input[type=reset],input[type=button]{display:inline-block;height:38px;padding:0 30px;color:#555;text-align:center;font-size:11px;font-weight:600;line-height:38px;letter-spacing:.1rem;text-transform:uppercase;text-decoration:none;white-space:nowrap;background-color:transparent;border-radius:4px;border:1px solid #bbb;cursor:pointer;box-sizing:border-box}.button:focus,.button:hover,button:focus,button:hover,input[type=submit]:focus,input[type=submit]:hover,input[type=reset]:focus,input[type=reset]:hover,input[type=button]:focus,input[type=button]:hover{color:#333;border-color:#888;outline:0}.button.button-primary,button.button-primary,input[type=submit].button-primary,input[type=reset].button-primary,input[type=button].button-primary{color:#FFF;background-color:#33C3F0;border-color:#33C3F0}.button.button-primary:focus,.button.button-primary:hover,button.button-primary:focus,button.button-primary:hover,input[type=submit].button-primary:focus,input[type=submit].button-primary:hover,input[type=reset].button-primary:focus,input[type=reset].button-primary:hover,input[type=button].button-primary:focus,input[type=button].button-primary:hover{color:#FFF;background-color:#1EAEDB;border-color:#1EAEDB}input[type=tel],input[type=url],input[type=password],input[type=email],input[type=number],input[type=search],input[type=text],select,textarea{height:38px;padding:6px 10px;background-color:#fff;border:1px solid #D1D1D1;border-radius:4px;box-shadow:none;box-sizing:border-box}input[type=tel],input[type=url],input[type=password],input[type=email],input[type=number],input[type=search],input[type=text],textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none}textarea{min-height:65px;padding-top:6px;padding-bottom:6px}input[type=tel]:focus,input[type=url]:focus,input[type=password]:focus,input[type=email]:focus,input[type=number]:focus,input[type=search]:focus,input[type=text]:focus,select:focus,textarea:focus{border:1px solid #33C3F0;outline:0}label,legend{display:block;margin-bottom:.5rem;font-weight:600}fieldset{padding:0;border-width:0}input[type=checkbox],input[type=radio]{display:inline}label>.label-body{display:inline-block;margin-left:.5rem;font-weight:400}ul{list-style:circle inside}ol{list-style:decimal inside}ol,ul{padding-left:0}ol ol,ol ul,ul ol,ul ul{margin:1.5rem 0 1.5rem 3rem;font-size:90%}.button,button,li{margin-bottom:1rem}code{padding:.2rem .5rem;margin:0 .2rem;font-size:90%;white-space:nowrap;background:#F1F1F1;border:1px solid #E1E1E1;border-radius:4px}pre>code{display:block;padding:1rem 1.5rem;white-space:pre}td,th{padding:12px 15px;text-align:left;border-bottom:1px solid #E1E1E1}td:first-child,th:first-child{padding-left:0}td:last-child,th:last-child{padding-right:0}fieldset,input,select,textarea{margin-bottom:1.5rem}blockquote,dl,figure,form,ol,p,pre,table,ul{margin-bottom:2.5rem}.u-max-full-width{max-width:100%;box-sizing:border-box}.u-pull-right{float:right}.u-pull-left{float:left}hr{margin-top:3rem;margin-bottom:3.5rem;border-width:0;border-top:1px solid #E1E1E1}.container:after,.row:after,.u-cf{content:"";display:table;clear:both} + +/* THEME-/S9Y-SPECIFIC STYLES */ +/* -------------------------- */ +audio, +canvas, +iframe, +img, +svg, +video { + vertical-align: middle; +} + +.clearfix:before, +.clearfix:after { + content: ' '; + display: table; +} + +.clearfix:after { + clear: both; +} + +/* Links */ +a { + cursor: pointer; +} + +h1 a, +h2 a, +h3 a, +h4 a, +h5 a, +h6 a { + text-decoration: none; +} + +/* Header */ +.page_header { + padding-top: 2.5rem; +} + +/* Navigation */ +.primary-nav { + background: #1eaedb; + color: #fff; + margin-bottom: 2.5rem; +} + +.primary-nav ul { + margin: 0; + padding: 1rem 0 0; +} + +.primary-nav a, +.primary-nav span { + display: block; + padding: 0; + text-decoration: none; +} + +.primary-nav a, +.primary-nav a:visited { + background-color: #1eaedb; + color: #fff; +} + +.primary-nav a:hover, +.primary-nav a:focus { + background-color: #0fa0ce; + color: #fff; +} + +/* Posts */ +.post, +.post_footer { + margin-bottom: 2.5rem; +} + +.post:last-of-type { + margin-bottom: 0; +} + +.post table { + border-collapse: collapse; + border-spacing: 0; + width: 100%; +} + +.post_meta { + margin-top: 1.5rem; + margin-bottom: 1.5rem; +} + +.pager { + margin-bottom: 2.5rem; + width: 100%; +} + +.pager > p { + margin: 0; + text-align: center; +} + +/* Images */ +.post img, +.page img, +video, +.serendipity_imageComment_center, +.serendipity_imageComment_left, +.serendipity_imageComment_right { + height: auto; + max-width: 100%; +} + +.serendipity_image_left, +.serendipity_image_center, +.serendipity_image_right, +.serendipity_imageComment_center, +.serendipity_imageComment_left, +.serendipity_imageComment_right { + background: inherit; + border: 0; + padding: 0; +} + +.serendipity_image_left, +.serendipity_image_right, +.serendipity_image_center { + border: 1px solid #aaa; +} + +.serendipity_image_left, +.serendipity_imageComment_left { + display: block; + float: none; + margin: 1rem 0; +} + +.serendipity_image_center, +.serendipity_imageComment_center { + display: block; + margin: 1rem auto; +} + +.serendipity_image_right, +.serendipity_imageComment_right { + display: block; + float: none; + margin: 1rem 0; +} + +.serendipity_imageComment_center, +.serendipity_imageComment_left, +.serendipity_imageComment_right, +.serendipity_imageComment_img, +.serendipity_imageComment_img img { + text-align: center; +} + +.serendipity_imageComment_img, +.serendipity_imageComment_img img { + margin: 0; + padding: 0; +} + +.serendipity_imageComment_txt { + border-top: 0; + color: #888; + margin: 0; + padding: .5rem 0 0; + clear: both; + font-size: 1.3rem; + text-align: center; +} + +/* Sidebar */ +.sidebar_widget { + margin-bottom: 2.5rem; +} + +.sidebar_search label { + font-weight: 300; +} + +.serendipity_xml_icon > img { + vertical-align: middle; +} + +/* Archives */ +.archive_date { + display: inline-block; + min-width: 10rem; +} + +.archive_byline { + display: block; + margin-bottom: .5rem; +} + +/* Tags */ +.serendipity_freetag_taglist { + margin-bottom: 2.5rem; +} + +.serendipity_freetag_taglist_related { + font-size: 3rem; + font-weight: 300; + letter-spacing: -.1rem; + line-height: 1.3; + margin-top: 0; + margin-bottom: 2rem; +} + +.serendipity_freeTag { + font-size: 100%; + margin: 1.5rem 0; + text-align: left; +} + +/* Messages */ +.serendipity_msg_important, +.serendipity_msg_notice { + border: 1px solid; + border-radius: 4px; + box-sizing: border-box; + margin: .4rem 0; + padding: .4rem; + text-align: center; +} + +.serendipity_msg_important { + border-color: #ff4136; + color: #ff4136; +} + +.serendipity_msg_notice { + border-color: #2ecc40; + color: #2ecc40; +} + +/* Comments + trackbacks */ +#trackbacks, +#comments { + margin-bottom: 2.5rem; +} + +.comment { + margin-bottom: 2.5rem; +} + +.comments_view { + margin-bottom: 1.5rem; +} + +.comment_avatar { + border: 1px solid #aaa; + border-radius: 4px; + float: left; + margin: 0 1rem 1rem 0; + overflow: hidden; + padding: 0 !important; +} + +.avatar_left { + float: left; + margin: 0 1rem 1rem 0; +} + +.avatar_right { + float: right; + margin: 0 0 1rem 1rem; +} + +/* Comment form */ +#serendipity_replyTo { + box-sizing: border-box; + width: 100%; +} + +textarea { + min-height: 10rem; + resize: vertical; +} + +.serendipity_commentDirection { + margin: 0 0 .5rem; +} + +/* Footer */ +.page-footer { + background: #1eaedb; + color: #fff; + padding-top: 2.5rem; + text-align: center; +} + +.page-footer a, +.page-footer a:visited { + color: #fff; + text-decoration: underline; +} + +.page-footer a:hover, +.page-footer a:focus { + text-decoration: none; +} + +/* MEDIA QUERIES */ +/* Larger than mobile */ +@media (min-width: 400px) {} + +/* Larger than phablet (also point when grid becomes active) */ +@media (min-width: 550px) { + .primary-nav ul { + padding: 0; + position: relative; + left: -1.5rem; + } + + .primary-nav li { + display: inline-block; + margin: 0; + } + + .primary-nav li:last-child { + margin: 0; + } + + .primary-nav a, + .primary-nav span { + padding: 1rem 1.5rem; + } + + .primary-nav span { + background-color: #0fa0ce; + } + + .serendipity_freetag_taglist_related { + font-size: 3.6rem; + } + + .page-footer { + text-align: left; + } +} + +/* Larger than tablet */ +@media (min-width: 750px) { + .commentlevel_1 { margin-left: 1.5rem; } + .commentlevel_2 { margin-left: 3rem; } + .commentlevel_3 { margin-left: 4.5rem; } + .commentlevel_4 { margin-left: 6rem; } + .commentlevel_5 { margin-left: 7.5rem; } + .commentlevel_6 { margin-left: 9rem; } + .commentlevel_7 { margin-left: 10.5rem; } + .commentlevel_8 { margin-left: 12rem; } + .commentlevel_9 { margin-left: 13.5rem; } + + .serendipity_image_left, + .serendipity_imageComment_left { + float: left; + margin: .5rem 2rem .5rem 0; + } + + .serendipity_image_right, + .serendipity_imageComment_right { + float: right; + margin: .5rem 0 .5rem 2rem; + } + + .archive_year { + float: left; + width: 50%; + } + + .archive_year:nth-child(even) { + clear: left; + } +} + +/* Larger than desktop */ +@media (min-width: 1000px) {} + +/* Larger than Desktop HD */ +@media (min-width: 1200px) {} diff --git a/templates/skeleton/trackbacks.tpl b/templates/skeleton/trackbacks.tpl new file mode 100644 index 00000000..17402cba --- /dev/null +++ b/templates/skeleton/trackbacks.tpl @@ -0,0 +1,10 @@ +{if $entry.trackbacks > 0} + +{/if}