diff --git a/templates/2k15/UTF-8/lang_de.inc.php b/templates/2k15/UTF-8/lang_de.inc.php new file mode 100644 index 00000000..374e5ef3 --- /dev/null +++ b/templates/2k15/UTF-8/lang_de.inc.php @@ -0,0 +1,15 @@ +Hinweis: 2k15 mag aussehen, als sei es im Prinzip wie 2k11 - unter der Haube ist es (technisch gesehen) ein völlig anderes Theme. Es ist daher nicht kompatibel mit dem user.css-Generator für 2k11.'); +@define('TWOK15_HEADER_IMG','Bannergrafik im Kopfbereich einbinden? (1296 Pixel breit; Feld leeren um Ausgabe zu unterdrücken)'); +@define('TWOK15_USE_CORENAV', 'Globale Navigation einbinden?'); +@define('TWOK15_WEBFONTS', 'Einen von Google gehosteten Webfont nutzen?'); +@define('TWOK15_NOWEBFONT', 'Keinen Webfont einbinden'); +@define('TWOK15_USERSTYLES', 'user.css einbinden? (Muss selbst im Themeverzeichnis angelegt werden!)'); +@define('TWOK15_REFCOMMENTS', 'Kommentaren (falls vorhanden) einen Link zum Kommentar, auf den geantwortet wurde, hinzufügen?'); +// Sprachkonstanten +@define('TWOK15_PLINK_TEXT', 'Link'); +@define('TWOK15_PLINK_TITLE', 'Permanenter Link zu diesem Kommentar'); +@define('TWOK15_PLACE_SEARCH', 'Suchbegriff(e)'); +@define('TWOK15_SEND_MAIL', 'Senden'); +@define('TWOK15_REPLYORIGIN', 'Antwort auf'); diff --git a/templates/2k15/UTF-8/lang_en.inc.php b/templates/2k15/UTF-8/lang_en.inc.php new file mode 100644 index 00000000..e1154ea0 --- /dev/null +++ b/templates/2k15/UTF-8/lang_en.inc.php @@ -0,0 +1,15 @@ +Hinweis: While 2k15 may look as if it were basically the same as 2k11, it is a completely different theme from a technical point of view. Because of that, it is not compatible with the user.css generator for 2k11.'); +@define('TWOK15_HEADER_IMG','Use a banner image in the header? (1296 pixels wide; leave box empty to not use a banner)'); +@define('TWOK15_USE_CORENAV', 'Use global navigation?'); +@define('TWOK15_WEBFONTS', 'Use a webfont, hosted by Google?'); +@define('TWOK15_NOWEBFONT', 'Include no webfont'); +@define('TWOK15_USERSTYLES', 'Include user.css? (You need to create that file in your theme directory!)'); +@define('TWOK15_REFCOMMENTS', 'Add link to related comment to comments (if they are replies to another comment)?'); +// Lang constants +@define('TWOK15_PLINK_TEXT', 'Link'); +@define('TWOK15_PLINK_TITLE', 'Permanent link for this comment'); +@define('TWOK15_PLACE_SEARCH', 'Search term(s)'); +@define('TWOK15_SEND_MAIL', 'Send'); +@define('TWOK15_REPLYORIGIN', 'Origin'); diff --git a/templates/2k15/commentform.tpl b/templates/2k15/commentform.tpl new file mode 100644 index 00000000..574455e7 --- /dev/null +++ b/templates/2k15/commentform.tpl @@ -0,0 +1,61 @@ +
+
+ +{if $is_moderate_comments} +

{$CONST.COMMENTS_WILL_BE_MODERATED}

+{/if} +
+ + +
+ + +
+ +
+ + +
+ {if $spice.inputtwitter} +
+ + +
+ {/if} +
+ + +
+ {if $spice.inputarticle} +
+ + +
+ {/if} +
+ + {$commentform_replyTo} +
+ +
+ + +
+ + {serendipity_hookPlugin hook="frontend_comment" data=$commentform_entry} + {if $is_commentform_showToolbar} +
+ +
+ {if $is_allowSubscriptions} +
+ +
+ {/if} + {/if} +
+ + +
+
+
diff --git a/templates/2k15/comments.tpl b/templates/2k15/comments.tpl new file mode 100644 index 00000000..12c17ed4 --- /dev/null +++ b/templates/2k15/comments.tpl @@ -0,0 +1,45 @@ +{foreach from=$comments item=comment name="comments"} +
8} commentlevel-9{else} commentlevel-{$comment.depth}{/if}"> +
+

{if $comment.url}{/if}{$comment.author|@default:$CONST.ANONYMOUS}{if $comment.url}{/if}{if $comment.spice_twitter_name and not $comment.spice_twitter_followme} (@{$comment.spice_twitter_name}){/if} {$CONST.ON} :

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

{$CONST.COMMENT_IS_DELETED}

+ {else} + {$comment.body} + {/if} +
+ + +
+{foreachelse} +

{$CONST.NO_COMMENTS}

+{/foreach} diff --git a/templates/2k15/comments_by_author.tpl b/templates/2k15/comments_by_author.tpl new file mode 100644 index 00000000..ce774c3a --- /dev/null +++ b/templates/2k15/comments_by_author.tpl @@ -0,0 +1,18 @@ +{foreach from=$comments_by_authors item="entry_comments"} +
+

{$entry_comments.title|default:$entry_comments.link}

+
{$entry_comments.tpl_comments}
+
+{/foreach} +{if $footer_info or $footer_prev_page or $footer_next_page} + +{/if} +{serendipity_hookPlugin hook="comments_by_author_footer" hookAll="true"} diff --git a/templates/2k15/config.inc.php b/templates/2k15/config.inc.php new file mode 100644 index 00000000..eb7f426a --- /dev/null +++ b/templates/2k15/config.inc.php @@ -0,0 +1,112 @@ +assign(array('currpage' => "http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'], + 'currpage2' => $_SERVER['REQUEST_URI'])); + +if (!function_exists('serendipity_smarty_html5time')) { + function serendipity_smarty_html5time($timestamp) { + return date("c", $timestamp); + } + + if( defined('Smarty::SMARTY_VERSION') ) { + $serendipity['smarty']->registerPlugin('modifier', 'serendipity_html5time', 'serendipity_smarty_html5time'); + } else { + // old Smarty 2 syntax + $serendipity['smarty']->register_modifier('serendipity_html5time', 'serendipity_smarty_html5time'); + } +} + +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' => 'info2k15', + 'name' => 'info2k15', + 'type' => 'custom', + 'custom' => TWOK15_INSTR, + ), + 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' => 'header_img', + 'name' => TWOK15_HEADER_IMG, + 'type' => 'media', + 'default' => serendipity_getTemplateFile('header.jpg', 'serendipityHTTPPath', true) + ), + array( + 'var' => 'webfonts', + 'name' => TWOK15_WEBFONTS, + 'type' => 'select', + 'default' => 'none', + 'select_values' => array('none' => TWOK15_NOWEBFONT, + 'osans' => 'Open Sans', + 'ssans' => 'Source Sans Pro', + 'rsans' => 'Roboto', + 'lsans' => 'Lato', + 'mserif' => 'Merriweather', + 'dserif' => 'Droid Serif') + ), + array( + 'var' => 'userstyles', + 'name' => TWOK15_USERSTYLES, + 'type' => 'boolean', + 'default' => false + ), + array( + 'var' => 'refcomments', + 'name' => TWOK15_REFCOMMENTS, + 'type' => 'boolean', + 'default' => false + ), + array( + 'var' => 'use_corenav', + 'name' => TWOK15_USE_CORENAV, + 'type' => 'boolean', + 'default' => true + ) +); + +$template_config_groups = NULL; +$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/2k15/content.tpl b/templates/2k15/content.tpl new file mode 100644 index 00000000..2a259567 --- /dev/null +++ b/templates/2k15/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/2k15/entries.tpl b/templates/2k15/entries.tpl new file mode 100644 index 00000000..71dc5f8e --- /dev/null +++ b/templates/2k15/entries.tpl @@ -0,0 +1,127 @@ +{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}

+ + +
+ +
+ {$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} + +

{$CONST.TRACKBACK_SPECIFIC_ON_CLICK|@escape:html}

+ + {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/2k15/entries_archives.tpl b/templates/2k15/entries_archives.tpl new file mode 100644 index 00000000..6ae5bc19 --- /dev/null +++ b/templates/2k15/entries_archives.tpl @@ -0,0 +1,20 @@ +{serendipity_hookPlugin hook="entries_header"} +
+

{$CONST.ARCHIVES}

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

{$archive.year}

+ + +
+{/foreach} +
+{serendipity_hookPlugin hook="entries_footer"} diff --git a/templates/2k15/entries_summary.tpl b/templates/2k15/entries_summary.tpl new file mode 100644 index 00000000..10cffe9b --- /dev/null +++ b/templates/2k15/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/2k15/font/fontello.eot b/templates/2k15/font/fontello.eot new file mode 100644 index 00000000..dd873a9e Binary files /dev/null and b/templates/2k15/font/fontello.eot differ diff --git a/templates/2k15/font/fontello.svg b/templates/2k15/font/fontello.svg new file mode 100644 index 00000000..67d1a54f --- /dev/null +++ b/templates/2k15/font/fontello.svg @@ -0,0 +1,19 @@ + + + +Copyright (C) 2015 by original authors @ fontello.com + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/templates/2k15/font/fontello.ttf b/templates/2k15/font/fontello.ttf new file mode 100644 index 00000000..8fe6e1ff Binary files /dev/null and b/templates/2k15/font/fontello.ttf differ diff --git a/templates/2k15/font/fontello.woff b/templates/2k15/font/fontello.woff new file mode 100644 index 00000000..151c9422 Binary files /dev/null and b/templates/2k15/font/fontello.woff differ diff --git a/templates/2k15/img/xml.gif b/templates/2k15/img/xml.gif new file mode 100644 index 00000000..fb7bec3c Binary files /dev/null and b/templates/2k15/img/xml.gif differ diff --git a/templates/2k15/index.tpl b/templates/2k15/index.tpl new file mode 100644 index 00000000..1cb9226d --- /dev/null +++ b/templates/2k15/index.tpl @@ -0,0 +1,96 @@ +{if $is_embedded != true} + + + + + + {$head_title|@default:$blogTitle}{if $head_subtitle} | {$head_subtitle}{/if} + + + +{if $template_option.webfonts == 'osans'} + +{elseif $template_option.webfonts == 'ssans'} + +{elseif $template_option.webfonts == 'rsans'} + +{elseif $template_option.webfonts == 'lsans'} + +{elseif $template_option.webfonts == 'mserif'} + +{elseif $template_option.webfonts == 'dserif'} + +{/if} + + +{if $template_option.userstyles == true} + +{/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.header_img} + + {/if} + + +
+ {$CONTENT} +
+{if $leftSidebarElements > 0} + +{/if} +{if $rightSidebarElements > 0} + +{/if} + + + + +{/if} +{$raw_data} +{serendipity_hookPlugin hook="frontend_footer"} +{if $is_embedded != true} + + +{/if} diff --git a/templates/2k15/info.txt b/templates/2k15/info.txt new file mode 100644 index 00000000..4a3aa2a0 --- /dev/null +++ b/templates/2k15/info.txt @@ -0,0 +1,4 @@ +Name: 2k15 +Author: Matthias Mees, mm@yellowled.de +Date: 2015-02-10 +Require Serendipity: 2.0 diff --git a/templates/2k15/lang_de.inc.php b/templates/2k15/lang_de.inc.php new file mode 100644 index 00000000..f8d21046 --- /dev/null +++ b/templates/2k15/lang_de.inc.php @@ -0,0 +1,15 @@ +Hinweis: 2k15 mag aussehen, als sei es im Prinzip wie 2k11 - unter der Haube ist es (technisch gesehen) ein vllig anderes Theme. Es ist daher nicht kompatibel mit dem user.css-Generator fr 2k11.'); +@define('TWOK15_HEADER_IMG','Bannergrafik im Kopfbereich einbinden? (1296 Pixel breit; Feld leeren um Ausgabe zu unterdrcken)'); +@define('TWOK15_USE_CORENAV', 'Globale Navigation einbinden?'); +@define('TWOK15_WEBFONTS', 'Einen von Google gehosteten Webfont nutzen?'); +@define('TWOK15_NOWEBFONT', 'Keinen Webfont einbinden'); +@define('TWOK15_USERSTYLES', 'user.css einbinden? (Muss selbst im Themeverzeichnis angelegt werden!)'); +@define('TWOK15_REFCOMMENTS', 'Kommentaren (falls vorhanden) einen Link zum Kommentar, auf den geantwortet wurde, hinzufgen?'); +// Sprachkonstanten +@define('TWOK15_PLINK_TEXT', 'Link'); +@define('TWOK15_PLINK_TITLE', 'Permanenter Link zu diesem Kommentar'); +@define('TWOK15_PLACE_SEARCH', 'Suchbegriff(e)'); +@define('TWOK15_SEND_MAIL', 'Senden'); +@define('TWOK15_REPLYORIGIN', 'Antwort auf'); diff --git a/templates/2k15/lang_en.inc.php b/templates/2k15/lang_en.inc.php new file mode 100644 index 00000000..5b7d3b5a --- /dev/null +++ b/templates/2k15/lang_en.inc.php @@ -0,0 +1,15 @@ +Hinweis: While 2k15 may look as if it were basically the same as 2k11, it is a completely different theme from a technical point of view. Because of that, it is not compatible with the user.css generator for 2k11.'); +@define('TWOK15_HEADER_IMG','Use a banner image in the header? (1296 pixels wide; leave box empty to not use a banner)'); +@define('TWOK15_USE_CORENAV', 'Use global navigation?'); +@define('TWOK15_WEBFONTS', 'Use a webfont, hosted by Google?'); +@define('TWOK15_NOWEBFONT', 'Include no webfont'); +@define('TWOK15_USERSTYLES', 'Include user.css? (You need to create that file in your theme directory!)'); +@define('TWOK15_REFCOMMENTS', 'Add link to related comment to comments (if they are replies to another comment)?'); +// Lang constants +@define('TWOK15_PLINK_TEXT', 'Link'); +@define('TWOK15_PLINK_TITLE', 'Permanent link for this comment'); +@define('TWOK15_PLACE_SEARCH', 'Search term(s)'); +@define('TWOK15_SEND_MAIL', 'Send'); +@define('TWOK15_REPLYORIGIN', 'Origin'); \ No newline at end of file diff --git a/templates/2k15/oldie.css b/templates/2k15/oldie.css new file mode 100644 index 00000000..69d8a02a --- /dev/null +++ b/templates/2k15/oldie.css @@ -0,0 +1,271 @@ +html { + padding: 16px 0; + padding: 1rem 0; + background-color: #ddd; + box-sizing: border-box; } + +body { + margin-left: auto; + margin-right: auto; + max-width: 720px; + max-width: 45rem; + border-top: 2px solid #aaa; + border-bottom: 2px solid #aaa; } + +blockquote { + margin: 16px 40px; + margin: 1rem 2.5rem; } + +#banner { + padding: 0 16px; + padding: 0 1rem; } + +#identity { + float: left; + width: 62%; } + +#searchform { + padding-top: 56px; + padding-top: 3.5rem; + float: right; + width: 38%; } + #searchform label { + top: 58px; + top: 3.625rem; } + +#logo img { + margin: 16px 0 0; + margin: 1rem 0 0; } + +#navbar { + padding: 0 16px; + padding: 0 1rem; + margin-top: 0; } + #navbar a, #navbar span { + border-right: 1px solid #294564; } + #navbar li:last-child a, #navbar li:last-child span { + border-right: 0; } + +#site-nav { + left: -8px; + left: -0.5rem; + position: relative; } + #site-nav ul { + padding: 0; } + #site-nav li { + display: inline-block; } + #site-nav li > span { + position: relative; } + #site-nav li > span:after { + border-color: #294564 transparent; + border-style: solid; + border-width: 8px 8px 0; + content: ''; + display: block; + margin: -8px; + position: absolute; + bottom: 0; + left: 50%; + width: 0; + z-index: 10; } + #site-nav a, #site-nav span, #site-nav li:first-child a, #site-nav li:first-child span { + padding: 4px 8px; + padding: 0.25rem 0.5rem; } + +#primary { + padding: 0 16px; + padding: 0 1rem; } + +.commentlevel-1, .depth_10 { + margin-left: 16px; + margin-left: 1rem; } + +.commentlevel-2, .depth_20 { + margin-left: 32px; + margin-left: 2rem; } + +.commentlevel-3, .depth_30 { + margin-left: 48px; + margin-left: 3rem; } + +.commentlevel-4, .depth_40 { + margin-left: 64px; + margin-left: 4rem; } + +.commentlevel-5, .depth_50 { + margin-left: 80px; + margin-left: 5rem; } + +.commentlevel-6, .depth_60 { + margin-left: 96px; + margin-left: 6rem; } + +.commentlevel-7, .depth_70 { + margin-left: 112px; + margin-left: 7rem; } + +.commentlevel-8, .depth_80 { + margin-left: 128px; + margin-left: 8rem; } + +.commentlevel-9, .depth_90 { + margin-left: 144px; + margin-left: 9rem; } + +.form_field input, .form_field select, .form_select input, .form_select select { + max-width: 400px; + max-width: 25rem; } + +#archives > section { + float: left; + width: 50%; } +#archives .odd { + clear: left; } + +.serendipity_image_left, .serendipity_imageComment_left { + margin: 24px 16px 24px 0; + margin: 1.5rem 1rem 1.5rem 0; + float: left; } + .clearfix .serendipity_image_left, .clearfix .serendipity_imageComment_left { + margin: 16px 16px 16px 0; + margin: 1rem 1rem 1rem 0; } + +.serendipity_image_right, .serendipity_imageComment_right { + margin: 24px 0 24px 16px; + margin: 1.5rem 0 1.5rem 1rem; + float: right; } + .clearfix .serendipity_image_right, .clearfix .serendipity_imageComment_right { + margin: 16px 0 16px 16px; + margin: 1rem 0 1rem 1rem; } + +.serendipity_imageComment_left, .serendipity_imageComment_right { + display: inline; } + +#secondary, #tertiary { + padding: 0 16px; + padding: 0 1rem; } + +.widget { + margin-bottom: 16px; + margin-bottom: 1rem; + box-sizing: border-box; + float: left; + width: 50%; } + .widget:nth-child(odd) { + padding-right: 16px; + padding-right: 1rem; + clear: left; } + .widget:nth-child(even) { + padding-left: 16px; + padding-left: 1rem; } + +#colophon { + padding: 0 16px; + padding: 0 1rem; } + +html { + padding: 24px 0; + padding: 1.5rem 0; } + +body { + max-width: 1152px; + max-width: 72rem; + width: 92%; } + +#banner { + padding: 16px 32px 0; + padding: 1rem 2rem 0; } + +#searchform { + padding-left: 32px; + padding-left: 2rem; } + +#logo img { + margin: 16px 0 -16px; + margin: 1rem 0 -1rem; } + +#navbar { + margin: 16px 0; + margin: 1rem 0; + padding: 0 32px; + padding: 0 2rem; } + +#site-nav { + left: -16px; + left: -1rem; } + #site-nav a, #site-nav span, #site-nav li:first-child a, #site-nav li:first-child span { + padding: 4px 16px; + padding: 0.25rem 1rem; } + +#primary { + padding: 0 16px 0 32px; + padding: 0 1rem 0 2rem; + float: left; + width: 62%; } + .columns-3 #primary { + padding: 0; + left: 25%; + position: relative; + width: 50%; } + +#secondary { + margin-top: 8px; + margin-top: 0.5rem; } + +#secondary, #tertiary { + padding: 0 32px 0; + padding: 0 2rem 0; + float: right; + width: 38%; } + .columns-3 #secondary, .columns-3 #tertiary { + margin-top: 8px; + margin-top: 0.5rem; + width: 25%; } + +.columns-3 #secondary { + float: left; + left: -50%; + position: relative; } + +.widget { + float: none; + width: 100%; } + .widget:nth-child(odd), .widget:nth-child(even) { + padding-left: 0; + padding-right: 0; } + +#colophon { + padding: 0 32px; + padding: 0 2rem; + clear: both; + text-align: left; } + +.js .nav-collapse { + max-height: none; + position: relative; } + +.nav-toggle { + display: none !important; + visibility: hidden; } + +.js .nav-collapse { + clip: auto; + height: auto; + margin: 0; + overflow: visible; + position: relative; + width: auto; } + .js .nav-collapse.closed { + max-height: none; } + +.nav-collapse li { + width: auto; } + +.nav-toggle { + display: none !important; + visibility: hidden; } + +.meta li { + margin-right: 0.4em; } + .meta li:after { + content: ''; } diff --git a/templates/2k15/plugin_calendar.tpl b/templates/2k15/plugin_calendar.tpl new file mode 100644 index 00000000..3ec29d18 --- /dev/null +++ b/templates/2k15/plugin_calendar.tpl @@ -0,0 +1,35 @@ + + + + {foreach from=$plugin_calendar_dow item="dow"} + + {/foreach} + + + + + + + + + + +{foreach from=$plugin_calendar_weeks item="week"} + + {foreach from=$week.days item="day"} + + {/foreach} + +{/foreach} + +
{$dow.date|@formatTime:"%a":false}
+ {if $plugin_calendar_head.minScroll le $plugin_calendar_head.month_date} + {$CONST.BACK} + {/if} + + {$plugin_calendar_head.month_date|formatTime:"%B '%y":false} + + {if $plugin_calendar_head.maxScroll ge $plugin_calendar_head.month_date} + {$CONST.FORWARD} + {/if} +
{if isset($day.properties.Active) and $day.properties.Active}{/if}{$day.name|@default:" "}{if isset($day.properties.Active) and $day.properties.Active}{/if}
diff --git a/templates/2k15/plugin_categories.tpl b/templates/2k15/plugin_categories.tpl new file mode 100644 index 00000000..359c4fe5 --- /dev/null +++ b/templates/2k15/plugin_categories.tpl @@ -0,0 +1,22 @@ +{if $is_form} +
+{/if} + +{if $is_form} + +{/if} +{if $is_form} +
+{/if} diff --git a/templates/2k15/plugin_commentsearch_searchresults.tpl b/templates/2k15/plugin_commentsearch_searchresults.tpl new file mode 100644 index 00000000..c060ed62 --- /dev/null +++ b/templates/2k15/plugin_commentsearch_searchresults.tpl @@ -0,0 +1,13 @@ + diff --git a/templates/2k15/plugin_contactform.tpl b/templates/2k15/plugin_contactform.tpl new file mode 100644 index 00000000..5752e2b1 --- /dev/null +++ b/templates/2k15/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/2k15/plugin_findmore.tpl b/templates/2k15/plugin_findmore.tpl new file mode 100644 index 00000000..6e21c7f6 --- /dev/null +++ b/templates/2k15/plugin_findmore.tpl @@ -0,0 +1,115 @@ + +{if NOT $findmore_disabled_services.facebook OR NOT $findmore_disabled_services.gplus OR NOT $findmore_disabled_services.spreadly} + +{/if} diff --git a/templates/2k15/plugin_staticblock.tpl b/templates/2k15/plugin_staticblock.tpl new file mode 100644 index 00000000..f0cd75fb --- /dev/null +++ b/templates/2k15/plugin_staticblock.tpl @@ -0,0 +1,11 @@ +
+{if $staticblock.title} +

{$staticblock.title}

+{/if} +{if $staticblock.body} +
{$staticblock.body}
+{/if} +{if $staticblock.extended} +
{$staticblock.extended}
+{/if} +
diff --git a/templates/2k15/plugin_staticpage.tpl b/templates/2k15/plugin_staticpage.tpl new file mode 100644 index 00000000..8f0f0d5d --- /dev/null +++ b/templates/2k15/plugin_staticpage.tpl @@ -0,0 +1,38 @@ +
+

{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 is_array($staticpage_childpages)} + +{/if} +{if $staticpage_pass AND $staticpage_form_pass != $staticpage_pass} +
+
+ {$CONST.STATICPAGE_PASSWORD_NOTICE} + + +
+
+{else} + {if $staticpage_precontent} + {$staticpage_precontent} + {/if} + {if $staticpage_content} + {$staticpage_content} + {/if} +{/if} +{if $staticpage_author or $staticpage_lastchange} + +{/if} +
diff --git a/templates/2k15/plugin_staticpage_searchresults.tpl b/templates/2k15/plugin_staticpage_searchresults.tpl new file mode 100644 index 00000000..f5b6a90a --- /dev/null +++ b/templates/2k15/plugin_staticpage_searchresults.tpl @@ -0,0 +1,13 @@ + diff --git a/templates/2k15/plugin_staticpage_sidebar.tpl b/templates/2k15/plugin_staticpage_sidebar.tpl new file mode 100644 index 00000000..86de3300 --- /dev/null +++ b/templates/2k15/plugin_staticpage_sidebar.tpl @@ -0,0 +1,21 @@ +{if !empty($staticpage_jsStr)} +
+ {$staticpage_jsStr} +
+{/if} +{if !$staticpage_jsStr or empty($staticpage_jsStr)} + +{/if} diff --git a/templates/2k15/preview.png b/templates/2k15/preview.png new file mode 100644 index 00000000..a564ca8c Binary files /dev/null and b/templates/2k15/preview.png differ diff --git a/templates/2k15/preview_fullsize.jpg b/templates/2k15/preview_fullsize.jpg new file mode 100644 index 00000000..ce55dab1 Binary files /dev/null and b/templates/2k15/preview_fullsize.jpg differ diff --git a/templates/2k15/preview_iframe.tpl b/templates/2k15/preview_iframe.tpl new file mode 100644 index 00000000..8f8f9190 --- /dev/null +++ b/templates/2k15/preview_iframe.tpl @@ -0,0 +1,53 @@ + + + + + + {$CONST.SERENDIPITY_ADMIN_SUITE} + + +{if $template_option.webfonts == 'osans'} + +{elseif $template_option.webfonts == 'ssans'} + +{elseif $template_option.webfonts == 'rsans'} + +{elseif $template_option.webfonts == 'lsans'} + +{elseif $template_option.webfonts == 'mserif'} + +{elseif $template_option.webfonts == 'dserif'} + +{/if} + + +{if $template_option.userstyles == true} + +{/if} + +{serendipity_hookPlugin hook="backend_header" hookAll="true"} + + + + + +
+
+ {$preview} +
+
+ + + + diff --git a/templates/2k15/scripts/master.js b/templates/2k15/scripts/master.js new file mode 100644 index 00000000..590007fe --- /dev/null +++ b/templates/2k15/scripts/master.js @@ -0,0 +1 @@ +!function(){for(var a,b=function(){},c=["assert","clear","count","debug","dir","dirxml","error","exception","group","groupCollapsed","groupEnd","info","log","markTimeline","profile","profileEnd","table","time","timeEnd","timeStamp","trace","warn"],d=c.length,e=window.console=window.console||{};d--;)a=c[d],e[a]||(e[a]=b)}();var AccessifyHTML5=function(a,b){"use strict";var c,d,e,f,g,h,i,j,k,l,m={article:{role:"article"},aside:{role:"complementary"},nav:{role:"navigation"},main:{role:"main"},output:{"aria-live":"polite"},section:{role:"region"},"[required]":{"aria-required":"true"}},n={ok:[],warn:[],fail:[]},o=n.fail,p=new RegExp("aria-[a-z]+|role|tabindex|title|alt|data-[\\w-]+|lang|style|maxlength|placeholder|pattern|required|type|target|accesskey|longdesc"),q="acfy-id-",r=0,s=document;if(s.querySelectorAll){if(a&&(a.header&&(m[a.header]={role:"banner"}),a.footer&&(m[a.footer]={role:"contentinfo"}),a.main&&(m[a.main]={role:"main"},m.main={role:""})),b&&b._CONFIG_&&b._CONFIG_.ignore_defaults)m=b;else for(j in b)m[j]=b[j];for(c in m)if(!c.match(/^_(CONFIG|[A-Z]+)_/)&&m.hasOwnProperty(c)){try{d=s.querySelectorAll(c)}catch(t){o.push({sel:c,attr:null,val:null,msg:"Invalid syntax for `document.querySelectorAll` function",ex:t})}for(h=m[c],(!d||d.length<1)&&n.warn.push({sel:c,attr:null,val:null,msg:"Not found"}),i=0;i10||Math.abs(a.touches[0].clientY-this.startY)>10)&&(this._enablePointerEvents(),this.touchHasMoved=!0)},_onTouchEnd:function(c){if(this._preventDefault(c),k&&!this.touchHasMoved){if("touchend"===c.type)return this.toggle(),void("after"===h.insert&&setTimeout(function(){r(a.body,"disable-pointer-events")},h.transition+300));var d=c||b.event;3!==d.which&&2!==d.button&&this.toggle()}},_onKeyUp:function(a){var c=a||b.event;13===c.keyCode&&this.toggle()},_enablePointerEvents:function(){r(a.body,"disable-pointer-events")},_transitions:function(){if(h.animate){var a=g.style,b="max-height "+h.transition+"ms";a.WebkitTransition=b,a.MozTransition=b,a.OTransition=b,a.transition=b}},_calcHeight:function(){for(var a=0,b=0;bab",e.style.display="block",c.appendChild(e),d=e.offsetHeight,e.open=!0,d=d!=e.offsetHeight,c.removeChild(e),b&&c.parentNode.removeChild(c),d):!1}(a),g=function(a,b,c,d){var e=a.prop("open"),f=e&&d||!e&&!d;f?(a.removeClass("open").prop("open",!1).triggerHandler("close.details"),b.attr("aria-expanded",!1),c.hide()):(a.addClass("open").prop("open",!0).triggerHandler("open.details"),b.attr("aria-expanded",!0),c.show())};d.noSelect=function(){var a="none";return this.bind("selectstart dragstart mousedown",function(){return!1}).css({MozUserSelect:a,msUserSelect:a,webkitUserSelect:a,userSelect:a})},f?(c=d.details=function(){return this.each(function(){var a=b(this),c=b("summary",a).first();c.attr({role:"button","aria-expanded":a.prop("open")}).on("click",function(){var b=a.prop("open");c.attr("aria-expanded",!b),a.triggerHandler((b?"close":"open")+".details")})})},c.support=f):(c=d.details=function(){return this.each(function(){var a=b(this),c=b("summary",a).first(),d=a.children(":not(summary)"),f=a.contents(":not(summary)");c.length||(c=b("").text("Details").prependTo(a)),d.length!=f.length&&(f.filter(function(){return 3==this.nodeType&&/[^ \t\n\f\r]/.test(this.data)}).wrap(""),d=a.children(":not(summary)")),a.prop("open","string"==typeof a.attr("open")),g(a,c,d),c.attr("role","button").noSelect().prop("tabIndex",0).on("click",function(){c.focus(),g(a,c,d,!0)}).keyup(function(a){(32==a.keyCode||13==a.keyCode&&!e)&&(a.preventDefault(),c.click())})})},c.support=f)}(document,jQuery),function(a){"use strict";a.fn.fitVids=function(b){var c={customSelector:null};if(!document.getElementById("fit-vids-style")){var d=document.head||document.getElementsByTagName("head")[0],e=".fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}",f=document.createElement("div");f.innerHTML='

x

",d.appendChild(f.childNodes[1])}return b&&a.extend(c,b),this.each(function(){var b=["iframe[src*='player.vimeo.com']","iframe[src*='youtube.com']","iframe[src*='youtube-nocookie.com']","iframe[src*='kickstarter.com'][src*='video.html']","object","embed"];c.customSelector&&b.push(c.customSelector);var d=a(this).find(b.join(","));d=d.not("object object"),d.each(function(){var b=a(this);if(!("embed"===this.tagName.toLowerCase()&&b.parent("object").length||b.parent(".fluid-width-video-wrapper").length)){var c="object"===this.tagName.toLowerCase()||b.attr("height")&&!isNaN(parseInt(b.attr("height"),10))?parseInt(b.attr("height"),10):b.height(),d=isNaN(parseInt(b.attr("width"),10))?b.width():parseInt(b.attr("width"),10),e=c/d;if(!b.attr("id")){var f="fitvid"+Math.floor(999999*Math.random());b.attr("id",f)}b.wrap('
').parent(".fluid-width-video-wrapper").css("padding-top",100*e+"%"),b.removeAttr("height").removeAttr("width")}})})}}(window.jQuery||window.Zepto),function(a){if(AccessifyHTML5({header:"#banner",footer:"#colophon"}),a(".nav-collapse").length>0){responsiveNav(".nav-collapse",{customToggle:"#open-nav",closeOnNavClick:!0})}a("#primary").fitVids(),a(".trackback-url").click(function(b){b.preventDefault(),a(this).next(".trackback-hint").show()}),a(".comment_reply, .reply_origin").click(function(b){var c,d,e=a(this);e.is(".comment_reply")?(c="#reply",d=e.attr("id").replace(/serendipity_reply_/g,""),a("#serendipity_replyTo").val(d)):c=e.attr("href"),a("html, body").animate({scrollTop:a(c).offset().top},250),b.preventDefault()}),a(".comment_source_ownerlink").click(function(){return confirm(a(this).attr("title"))}),a(".serendipity_commentDirection").prepend(' '),a("html").addClass(a.fn.details.support?"details":"no-details"),a("details").details(),"string"==typeof lsbase&&a('').appendTo("#searchform")}(jQuery); \ No newline at end of file diff --git a/templates/2k15/scripts/modernizr/modernizr.js b/templates/2k15/scripts/modernizr/modernizr.js new file mode 100644 index 00000000..225c7201 --- /dev/null +++ b/templates/2k15/scripts/modernizr/modernizr.js @@ -0,0 +1,4 @@ +/* Modernizr (Custom Build) | MIT & BSD + * Build: http://modernizr.com/download/#-shiv-mq-cssclasses-svg-fontface-boxshadow-rgba-csstransforms + */ +;window.Modernizr=function(e,t,n){function C(e){f.cssText=e}function k(e,t){return C(prefixes.join(e+";")+(t||""))}function L(e,t){return typeof e===t}function A(e,t){return!!~(""+e).indexOf(t)}function O(e,t){for(var r in e){var i=e[r];if(!A(i,"-")&&f[i]!==n)return t=="pfx"?i:!0}return!1}function M(e,t,r){for(var i in e){var s=t[e[i]];if(s!==n)return r===!1?e[i]:L(s,"function")?s.bind(r||t):s}return!1}function _(e,t,n){var r=e.charAt(0).toUpperCase()+e.slice(1),i=(e+" "+p.join(r+" ")+r).split(" ");return L(t,"string")||L(t,"undefined")?O(i,t):(i=(e+" "+d.join(r+" ")+r).split(" "),M(i,t,n))}var r="2.8.3",i={},s=!0,o=t.documentElement,u="modernizr",a=t.createElement(u),f=a.style,l,c={}.toString,h="Webkit Moz O ms",p=h.split(" "),d=h.toLowerCase().split(" "),v={svg:"http://www.w3.org/2000/svg"},m={},g={},y={},b=[],w=b.slice,E,S=function(e,n,r,i){var s,a,f,l,c=t.createElement("div"),h=t.body,p=h||t.createElement("body");if(parseInt(r,10))while(r--)f=t.createElement("div"),f.id=i?i[r]:u+(r+1),c.appendChild(f);return s=["­",'"].join(""),c.id=u,(h?c:p).innerHTML+=s,p.appendChild(c),h||(p.style.background="",p.style.overflow="hidden",l=o.style.overflow,o.style.overflow="hidden",o.appendChild(p)),a=n(c,e),h?c.parentNode.removeChild(c):(p.parentNode.removeChild(p),o.style.overflow=l),!!a},x=function(t){var n=e.matchMedia||e.msMatchMedia;if(n)return n(t)&&n(t).matches||!1;var r;return S("@media "+t+" { #"+u+" { position: absolute; } }",function(t){r=(e.getComputedStyle?getComputedStyle(t,null):t.currentStyle)["position"]=="absolute"}),r},T={}.hasOwnProperty,N;!L(T,"undefined")&&!L(T.call,"undefined")?N=function(e,t){return T.call(e,t)}:N=function(e,t){return t in e&&L(e.constructor.prototype[t],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(t){var n=this;if(typeof n!="function")throw new TypeError;var r=w.call(arguments,1),i=function(){if(this instanceof i){var e=function(){};e.prototype=n.prototype;var s=new e,o=n.apply(s,r.concat(w.call(arguments)));return Object(o)===o?o:s}return n.apply(t,r.concat(w.call(arguments)))};return i}),m.rgba=function(){return C("background-color:rgba(150,255,150,.5)"),A(f.backgroundColor,"rgba")},m.boxshadow=function(){return _("boxShadow")},m.csstransforms=function(){return!!_("transform")},m.fontface=function(){var e;return S('@font-face {font-family:"font";src:url("https://")}',function(n,r){var i=t.getElementById("smodernizr"),s=i.sheet||i.styleSheet,o=s?s.cssRules&&s.cssRules[0]?s.cssRules[0].cssText:s.cssText||"":"";e=/src/i.test(o)&&o.indexOf(r.split(" ")[0])===0}),e},m.svg=function(){return!!t.createElementNS&&!!t.createElementNS(v.svg,"svg").createSVGRect};for(var D in m)N(m,D)&&(E=D.toLowerCase(),i[E]=m[D](),b.push((i[E]?"":"no-")+E));return i.addTest=function(e,t){if(typeof e=="object")for(var r in e)N(e,r)&&i.addTest(r,e[r]);else{e=e.toLowerCase();if(i[e]!==n)return i;t=typeof t=="function"?t():t,typeof s!="undefined"&&s&&(o.className+=" "+(t?"":"no-")+e),i[e]=t}return i},C(""),a=l=null,function(e,t){function c(e,t){var n=e.createElement("p"),r=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x",r.insertBefore(n.lastChild,r.firstChild)}function h(){var e=y.elements;return typeof e=="string"?e.split(" "):e}function p(e){var t=f[e[u]];return t||(t={},a++,e[u]=a,f[a]=t),t}function d(e,n,r){n||(n=t);if(l)return n.createElement(e);r||(r=p(n));var o;return r.cache[e]?o=r.cache[e].cloneNode():s.test(e)?o=(r.cache[e]=r.createElem(e)).cloneNode():o=r.createElem(e),o.canHaveChildren&&!i.test(e)&&!o.tagUrn?r.frag.appendChild(o):o}function v(e,n){e||(e=t);if(l)return e.createDocumentFragment();n=n||p(e);var r=n.frag.cloneNode(),i=0,s=h(),o=s.length;for(;i",o="hidden"in e,l=e.childNodes.length==1||function(){t.createElement("a");var e=t.createDocumentFragment();return typeof e.cloneNode=="undefined"||typeof e.createDocumentFragment=="undefined"||typeof e.createElement=="undefined"}()}catch(n){o=!0,l=!0}})();var y={elements:r.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:n,shivCSS:r.shivCSS!==!1,supportsUnknownElements:l,shivMethods:r.shivMethods!==!1,type:"default",shivDocument:g,createElement:d,createDocumentFragment:v};e.html5=y,g(t)}(this,t),i._version=r,i._domPrefixes=d,i._cssomPrefixes=p,i.mq=x,i.testProp=function(e){return O([e])},i.testAllProps=_,i.testStyles=S,o.className=o.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(s?" js "+b.join(" "):""),i}(this,this.document); \ No newline at end of file diff --git a/templates/2k15/sidebar.tpl b/templates/2k15/sidebar.tpl new file mode 100644 index 00000000..d938f78c --- /dev/null +++ b/templates/2k15/sidebar.tpl @@ -0,0 +1,14 @@ +{if $is_raw_mode} +
+{/if} +{foreach from=$plugindata item=item} +
+ {if $item.title != ""} +

{$item.title}

+ {/if} + {$item.content} +
+{/foreach} +{if $is_raw_mode} +
+{/if} diff --git a/templates/2k15/style.css b/templates/2k15/style.css new file mode 100644 index 00000000..a451c2af --- /dev/null +++ b/templates/2k15/style.css @@ -0,0 +1,1310 @@ +/*! normalize.css v3.0.2 | MIT License | git.io/normalize */ +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, strong { + font-weight: bold; } + +dfn { + font-style: italic; } + +h1 { + font-size: 2em; + margin: 0.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: -0.5em; } + +sub { + bottom: -0.25em; } + +img { + border: 0; } + +svg:not(:root) { + overflow: hidden; } + +figure { + margin: 1em 40px; } + +hr { + box-sizing: content-box; + height: 0; } + +pre { + 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; + box-sizing: content-box; } + +input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; } + +fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; } + +legend { + border: 0; + padding: 0; } + +textarea { + overflow: auto; } + +optgroup { + font-weight: bold; } + +table { + border-collapse: collapse; + border-spacing: 0; } + +td, th { + padding: 0; } + +::-moz-selection { + background: #b3d4fc; + text-shadow: none; } + +::selection { + background: #b3d4fc; + text-shadow: none; } + +dt { + font-weight: bold; } + +dd { + margin: 0; } + +table { + margin: 16px 0; + margin: 1rem 0; + width: 100%; } + table caption { + text-align: center; } + +caption, th { + text-align: left; } + +li ul, li ol { + margin: 0; } + +pre code { + font-size: 1em; } + +hr { + margin: 24px 0; + margin: 1.5rem 0; + border: 0; + border-top: 1px solid #ddd; + display: block; + height: 1px; + padding: 0; } + +img { + vertical-align: middle; } + +@-ms-viewport { + width: device-width; } + +video, img { + height: auto; + max-width: 100%; } + +html { + font-size: 100%; } + +html, button, input, select, optgroup, textarea { + font-family: 'Helvetica Neue', Arial, sans-serif; } + +body { + line-height: 1.5; } + +h1, h2, h3, h4, h5, h6 { + margin: 16px 0; + margin: 1rem 0; } + +h5, h6 { + font-size: 16px; + font-size: 1rem; } + +pre, code, samp, kbd { + font-size: 14px; + font-size: 0.875rem; } + +q { + quotes: '“' '”' '‘' '’'; } + +:lang(de) q { + quotes: '„' '“' '‚' '‘'; } + +p { + -webkit-hyphens: auto; + -moz-hyphens: auto; + -ms-hyphens: auto; + hyphens: auto; } + p code, p samp, p kbd { + -webkit-hyphens: none; + -moz-hyphens: none; + -ms-hyphens: none; + hyphens: none; } + +.fontface .fallback-text, .visuallyhidden, #searchform input[type="submit"], .info-label { + border: 0; + clip: rect(0 0 0 0); + height: 1px; + margin: -1px; + overflow: hidden; + padding: 0; + position: absolute; + width: 1px; } + +.no-fontface [class^="icon-"]:before, .no-fontface [class*=" icon-"]:before, .no-page { + display: none !important; + visibility: hidden; } + +.clearfix:before, .serendipity_imageComment_img:before, .clearfix:after, .serendipity_imageComment_img:after { + content: ' '; + display: table; } +.clearfix:after, .serendipity_imageComment_img:after { + clear: both; } + +@font-face { + font-family: 'fontello'; + src: url('{TEMPLATE_PATH}font/fontello.eot?98791370'); + src: url('{TEMPLATE_PATH}font/fontello.eot?98791370#iefix') format('embedded-opentype'), url('{TEMPLATE_PATH}font/fontello.woff?98791370') format('woff'), url('{TEMPLATE_PATH}font/fontello.ttf?98791370') format('truetype'), url('{TEMPLATE_PATH}font/fontello.svg?98791370#fontello') format('svg'); + font-weight: normal; + font-style: normal; } + +[class^="icon-"]:before, [class*=" icon-"]:before { + font-family: "fontello"; + font-style: normal; + font-weight: normal; + speak: none; + display: inline-block; + text-decoration: inherit; + width: 1em; + margin-right: 0.2em; + text-align: center; + font-variant: normal; + text-transform: none; + line-height: 1em; + margin-left: 0.2em; } + +.icon-search:before { + content: '\e800'; } + +.icon-ok-circled:before { + content: '\e801'; } + +.icon-help-circled:before { + content: '\e803'; } + +.icon-info-circled:before { + content: '\e804'; } + +.icon-attention-circled:before { + content: '\e805'; } + +.icon-menu:before { + content: '\e807'; } + +.icon-angle-circled-left:before { + content: '\e812'; } + +.icon-angle-circled-right:before { + content: '\e813'; } + +fieldset { + border: 0; + margin: 0; + padding: 0; } + +form button:focus, select:focus, textarea:focus, input:focus { + box-shadow: 0 0 5px 0 #06f; + z-index: 1; } + +input[type="file"]:focus, input[type="file"]:active, input[type="radio"]:focus, input[type="radio"]:active, input[type="checkbox"]:focus, input[type="checkbox"]:active { + box-shadow: none; } + +::-webkit-input-placeholder { + color: #888; } + +::-moz-placeholder { + color: #888; } + +:-ms-input-placeholder { + color: #888; } + +:invalid { + box-shadow: none; } + +optgroup { + background: #fcfcfc; + color: #222; + font-style: normal; } + +input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="month"], input[type="number"], input[type="password"], input[type="time"], input[type="week"], input[type="email"], input[type="search"], input[type="tel"], input[type="url"], select, textarea, input[type="text"] { + -webkit-appearance: none; + background-clip: padding-box; + background-color: #fcfcfc; + border: 1px solid; + border-color: #c1c1c1 #c1c1c1 #e1e1e1; + border-radius: 0; + box-sizing: border-box; + color: #222; + height: 1.8em; + outline: 0; + padding: 2px 3px; + text-align: left; } + input[type="date"][disabled], input[type="datetime"][disabled], input[type="datetime-local"][disabled], input[type="month"][disabled], input[type="number"][disabled], input[type="password"][disabled], input[type="time"][disabled], input[type="week"][disabled], input[type="email"][disabled], input[type="search"][disabled], input[type="tel"][disabled], input[type="url"][disabled], select[disabled], textarea[disabled], input[type="text"][disabled] { + background-color: #eee; } + +select[size], select[multiple], textarea { + height: auto; } + +@media (-webkit-min-device-pixel-ratio: 0) { + select { + background-image: url('data:image/gif;base64,R0lGODlhDQAEAIAAAAAAAP8A/yH5BAEHAAEALAAAAAANAAQAAAILhA+hG5jMDpxvhgIAOw=='); + background-position: right center; + background-repeat: no-repeat; + padding-right: 20px; } + + select[size], select[multiple] { + background-image: none; + padding: 0; } + } + +textarea { + min-height: 40px; + overflow: auto; + resize: vertical; + width: 100%; } + +form button, input[type="button"], input[type="reset"], input[type="submit"] { + background-color: white; + background-image: -webkit-linear-gradient(top, #ffffff, #ddd); + background-image: linear-gradient(to bottom, #ffffff, #ddd); + background-clip: padding-box; + border: 1px solid; + border-color: #ddd #bbbbbb #999999; + border-radius: 4px; + color: #111; + display: inline-block; + line-height: normal; + outline: 0; + padding: 3px 10px; + padding: 0.1875rem 0.625rem; + text-align: center; + text-decoration: none; + text-shadow: #eeeeee 0 1px 1px; + width: auto; } + form button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover { + background-color: white; + background-image: -webkit-linear-gradient(top, #ffffff, #cccccc); + background-image: linear-gradient(to bottom, #ffffff, #cccccc); } + form button:active, input[type="button"]:active, input[type="reset"]:active, input[type="submit"]:active { + background-color: white; + background-image: -webkit-linear-gradient(top, #ffffff, #cccccc); + background-image: linear-gradient(to bottom, #ffffff, #cccccc); + border-color: #999999 #bbbbbb #ddd; + box-shadow: inset rgba(17, 17, 17, 0.25) 0 1px 2px 0; } + form button:focus, input[type="button"]:focus, input[type="reset"]:focus, input[type="submit"]:focus { + box-shadow: #06f 0 0 5px 0; + z-index: 1; } + form button:active, form button:visited, form button:hover, form button:focus, input[type="button"]:active, input[type="button"]:visited, input[type="button"]:hover, input[type="button"]:focus, input[type="reset"]:active, input[type="reset"]:visited, input[type="reset"]:hover, input[type="reset"]:focus, input[type="submit"]:active, input[type="submit"]:visited, input[type="submit"]:hover, input[type="submit"]:focus { + color: #111; } + +form button[disabled], select[disabled], select[disabled] option, select[disabled] optgroup, textarea[disabled], input[disabled] { + box-shadow: none; + color: #888; + cursor: default; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } + +.msg-warning, .msg-success, .msg-notice, .msg-question, .serendipity_commentDirection { + font-size: 13px; + font-size: 0.8125rem; + margin: 16px 0; + margin: 1rem 0; + padding: 8px; + padding: 0.5rem; + border: 1px solid; + border-radius: 4px; } + .msg-warning p, .msg-success p, .msg-notice p, .msg-question p, .serendipity_commentDirection p { + margin: 0; } + +.msg-warning { + background: #f2dede; + border-color: #eed3d7; + color: #b94a2b; } +.msg-success { + background: #dff0d8; + border-color: #d6e9c6; + color: #468847; } + +.msg-notice { + background: #d9edf7; + border-color: #bce8f1; + color: #3a87ad; } +.msg-question { + background: #fcf8e3; + border-color: #fbeed5; + color: #c09853; } + +figure { + margin: 16px 0; + margin: 1rem 0; + display: block; } + +.mfp-content figure { + margin: 0; } + +nav ul, nav ol { + list-style: none; + margin: 0; + padding: 0; } + +.nav-collapse ul, .nav-collapse li { + display: block; + width: 100%; } +.js .nav-collapse { + clip: rect(0 0 0 0); + display: block; + max-height: 0; + overflow: hidden; + position: absolute; + zoom: 1; } +.nav-collapse.opened { + max-height: 9999px; } + +.disable-pointer-events { + pointer-events: none !important; } + +.nav-toggle { + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } + +@media screen and (min-width: 768px) { + .js .nav-collapse { + clip: auto; + height: auto; + margin: 0; + overflow: visible; + position: relative; + width: auto; } + .js .nav-collapse.closed { + max-height: none; } + + .nav-collapse li { + width: auto; } + + .nav-toggle { + display: none !important; + visibility: hidden; } + } + +html { + background-color: #fcfcfc; } + +body { + background-color: #fcfcfc; + color: #222; } + +ins { + background: #eee; + text-decoration: none; } + +del { + color: #aaa; } + +mark { + background-color: #ccdee7; } + +kbd { + padding: 0 2px; + padding: 0 0.125rem; + background: #eee; + border: 1px solid #aaa; } + +blockquote { + margin: 16px 0; + margin: 1rem 0; } + blockquote p { + quotes: '“' '”'; } + blockquote p:before { + content: ''; + content: no-open-quote; } + blockquote p:after { + content: ''; + content: no-close-quote; } + blockquote p:first-of-type:before { + content: '“'; + content: open-quote; } + blockquote p:last-of-type:after { + content: '”'; + content: close-quote; } + :lang(de) blockquote p, blockquote:lang(de) p { + quotes: '„' '“'; } + :lang(de) blockquote p:before, blockquote:lang(de) p:before { + content: ''; + content: no-open-quote; } + :lang(de) blockquote p:after, blockquote:lang(de) p:after { + content: ''; + content: no-close-quote; } + :lang(de) blockquote p:first-of-type:before, blockquote:lang(de) p:first-of-type:before { + content: '„'; + content: open-quote; } + :lang(de) blockquote p:last-of-type:after, blockquote:lang(de) p:last-of-type:after { + content: '“'; + content: close-quote; } + blockquote > cite, blockquote > footer { + display: block; } + blockquote > cite:before, blockquote > footer:before { + content: '– '; } + blockquote cite { + font-style: normal; } + +summary { + cursor: pointer; } + +a, a:visited { + color: #3e5f81; } +a:hover, a:focus { + color: #d52; } +h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { + text-decoration: none; } + +table { + width: 100%; } + .post table, .page table { + border-bottom: 1px solid #aaa; } + .post table tr, .page table tr { + border-top: 1px solid #aaa; } + +.osans, .osans button, .osans input, .osans select, .osans optgroup, .osans textarea { + font-family: 'Open Sans', sans-serif; } + +.ssans, .ssans button, .ssans input, .ssans select, .ssans optgroup, .ssans textarea { + font-family: 'Source Sans Pro', sans-serif; } + +.rsans, .rsans button, .rsans input, .rsans select, .rsans optgroup, .rsans textarea { + font-family: 'Roboto', sans-serif; } + +.lsans, .lsans button, .lsans input, .lsans select, .lsans optgroup, .lsans textarea { + font-family: 'Lato', sans-serif; } + +.mserif, .mserif button, .mserif input, .mserif select, .mserif optgroup, .mserif textarea { + font-family: 'Merriweather', serif; } + +.dserif, .dserif button, .dserif input, .dserif select, .dserif optgroup, .dserif textarea { + font-family: 'Droid Serif', serif; } + +#banner { + padding: 0 12px; + padding: 0 0.75rem; + box-sizing: border-box; } + +#identity { + text-decoration: none; } + #identity h1 { + margin: 16px 0 0; + margin: 1rem 0 0; } + #identity span { + margin: 0 0 16px; + margin: 0 0 1rem; + color: #666; + display: inline-block; } + +#searchform { + box-sizing: border-box; + position: relative; } + #searchform input[type="search"] { + width: 100%; } + #searchform label { + right: 4px; + right: 0.25rem; + top: 2px; + top: 0.125rem; + position: absolute; } + #searchform label .icon-search { + color: #666; } + +#logo img { + margin: 16px 0 -16px; + margin: 1rem 0 -1rem; } + +#navbar { + margin: 16px 0; + margin: 1rem 0; + padding: 0 12px; + padding: 0 0.75rem; + background-color: #294564; + border-bottom: 1px solid #294564; + border-top: 1px solid #294564; + box-sizing: border-box; + color: #fcfcfc; } + #navbar ul { + padding: 0 0 4px; + padding: 0 0 0.25rem; } + #navbar a, #navbar span { + padding: 4px 0; + padding: 0.25rem 0; + display: block; } + #navbar li:first-child a, #navbar li:first-child span { + padding: 0 0 4px; + padding: 0 0 0.25rem; } + #navbar a { + text-decoration: none; } + #navbar a, #navbar a:visited { + background-color: #294564; + color: #fcfcfc; + -webkit-transition: all 0.3s linear; + transition: all 0.3s linear; } + #navbar a:hover, #navbar a:focus { + background-color: #ccdee7; + color: #222; + -webkit-transition: all 0.3s linear; + transition: all 0.3s linear; } + +#navbar #open-nav { + font-size: 24px; + font-size: 1.5rem; + padding: 0; } + #navbar #open-nav .icon-menu:before { + margin: 0; } + +#primary { + padding: 0 12px; + padding: 0 0.75rem; + box-sizing: border-box; } + +.post { + margin-bottom: 16px; + margin-bottom: 1rem; } + .post blockquote { + padding: 0 0 0 12px; + padding: 0 0 0 0.75rem; + border-left: 4px solid #aaa; } + +.post-title { + margin-bottom: 0; } + +.post-info { + font-size: 13px; + font-size: 0.8125rem; + color: #666; } + +.read-more { + display: inline-block; } + +.meta, .summary, .year, #serendipity_category_form ul { + list-style: none; + padding: 0; } + +.meta { + margin: 16px 0; + margin: 1rem 0; } + .meta li { + display: inline-block; } + .meta li:after { + content: ' | '; } + .meta li:last-child:after { + content: ''; } + +.page-info { + border-top: 1px solid #ddd; } + +.post pre, .page pre, .post .geshi, .page .geshi { + font-size: 14px; + font-size: 0.875rem; + padding: 8px; + padding: 0.5rem; + background: #eee; + border: 1px solid #aaa; + font-size: 0.875em; } + +pre { + white-space: pre; + white-space: pre-wrap; + word-wrap: break-word; } + +.pagination { + margin: 0 0 16px; + margin: 0 0 1rem; + color: #666; } + .pagination h3 { + margin-left: auto; + margin-right: auto; + font-size: 13px; + font-size: 0.8125rem; + top: 24px; + top: 1.5rem; + font-weight: normal; + margin-bottom: 0; + margin-top: 0; + max-width: 70%; + position: relative; + text-align: center; } + .pagination a { + text-decoration: none; + -webkit-transition: color 0.3s linear; + transition: color 0.3s linear; } + +.prev-page, .next-page { + width: 50%; } + .prev-page [class^="icon-"]:before, .prev-page [class*=" icon-"]:before, .next-page [class^="icon-"]:before, .next-page [class*=" icon-"]:before { + font-size: 32px; + font-size: 2rem; + margin: 0; } + +.prev-page { + float: left; } + +.next-page { + float: right; + text-align: right; } + +.trackback, .comment { + margin-bottom: 32px; + margin-bottom: 2rem; } + +.comment header h4 { + float: left; } + +.comment > footer, .trackback-url, .comment-view, .comments-enable { + font-size: 13px; + font-size: 0.8125rem; } + +.js .trackback-hint { + display: none; } + +.form_field label, .form_select label, .form_tarea label { + display: block; + font-weight: bold; } +.form_field input, .form_field select, .form_select input, .form_select select, .form_tarea input, .form_tarea select { + width: 100%; } + +.form_field, .form_select, .form_tarea, .form_check { + margin: 0 0 8px; + margin: 0 0 0.5rem; } + +.serendipity_commentDirection { + background: #d9edf7; + border-color: #bce8f1; + color: #3a87ad; } + +#archives h3 { + margin-top: 0; } +#archives .date { + min-width: 128px; + min-width: 8rem; + display: inline-block; } + +.summary li { + margin: 0 0 8px; + margin: 0 0 0.5rem; } + .summary li > span { + font-size: 13px; + font-size: 0.8125rem; + display: block; } + +.search-results ul { + list-style: none; + padding: 0; } +.search-results li > span { + display: block; } + +.no-details details > * { + display: none; } +.no-details details > summary:before { + content: '► '; + float: left; + width: 20px; } +.no-details details.open > summary:before { + content: '▼ '; } +.no-details details summary { + display: block; } + +#secondary, #tertiary { + padding: 0 12px; + padding: 0 0.75rem; + box-sizing: border-box; } + +.widget h3 { + color: #666; + font-weight: normal; } + +#colophon { + font-size: 13px; + font-size: 0.8125rem; + padding: 0 12px; + padding: 0 0.75rem; + box-sizing: border-box; + color: #666; + text-align: center; } + #colophon > p { + padding-top: 15px; + padding-top: 0.9375rem; + border-top: 1px solid #ddd; } + #colophon abbr[title] { + border: 0; } + #colophon i { + font-style: normal; } + +.emoticon { + vertical-align: baseline !important; } + +.serendipity_image_left, .serendipity_image_right, .serendipity_image_center, .serendipity_imageComment_center, .serendipity_imageComment_left, .serendipity_imageComment_right { + background: transparent; + border: 0 none; + padding: 0 !important; } + +.serendipity_image_left, .serendipity_image_right, .serendipity_imageComment_left, .serendipity_imageComment_right { + margin: 16px 0; + margin: 1rem 0; + display: block; + float: none; } + +.serendipity_image_center, .serendipity_imageComment_center { + margin: 16px auto; + margin: 1rem auto; + display: block; } + +.serendipity_imageComment_img img { + border: none !important; + margin: 0 !important; } + +.serendipity_imageComment_txt { + font-size: 13px; + font-size: 0.8125rem; + padding: 3px; + padding: 0.1875rem; + border-top: 0 none; + color: #222; + text-align: center; } + +.serendipity_image_left, .serendipity_image_right, .serendipity_image_center, .serendipity_imageComment_img { + border: 1px solid #aaa; + box-sizing: border-box; } + +.serendipity_imageComment_center, .serendipity_imageComment_left, .serendipity_imageComment_right { + height: auto; + max-width: 100%; } + +.fluid-width-video-wrapper, video, audio { + margin: 16px 0; + margin: 1rem 0; } + +.comment_avatar { + margin: 0 10px 10px 0; + margin: 0 0.625rem 0.625rem 0; + border: 1px solid #aaa; + float: left; + overflow: hidden; + padding: 0 !important; } + +.avatar_left { + margin: 0 10px 10px 0; + margin: 0 0.625rem 0.625rem 0; + float: left; } + +.avatar_right { + margin: 0 0 10px 10px; + margin: 0 0 0.625rem 0.625rem; + float: right; } + +.serendipity_calendar { + border: 1px solid #3e5f81; } + .serendipity_calendar abbr[title] { + border: 0; } + +.serendipity_calendar tfoot a, .serendipity_calendar tfoot a:active, .serendipity_calendar tfoot a:visited { + color: #fcfcfc; + text-decoration: none; } + +.serendipity_calendar tfoot a:hover, .serendipity_calendar tfoot a:focus { + background: #ccdee7; + color: #222; } + +.serendipity_calendar thead, .serendipity_calendar tfoot { + color: #fcfcfc; } + +.serendipity_calendar th, .serendipity_calendar td { + padding: 2px; + padding: 0.125rem; + text-align: center; } + +.next { + text-align: right; } + +.serendipity_freeTag { + font-size: 13px; + font-size: 0.8125rem; + display: block; + margin: 0; + text-align: left; } + +.serendipity_freeTag_related ul { + margin: 0; } + +.serendipity_freetag_taglist { + padding: 16px; + padding: 1rem; + background: #eee; + border: 1px solid #aaa; } + +.serendipity_freetag_taglist_related { + font-size: 16px; + font-size: 1rem; + margin: 0 0 8px; + margin: 0 0 0.5rem; + font-weight: bold; } + +.commentspice_announce_article { + font-size: 13px; + font-size: 0.8125rem; + clear: both; + margin: 0; + padding: 0; + text-align: left; } + +.commentspice_twitter_input { + background-position: 99% 50%; } + +.twitter_follow { + margin: 18px 0 14px 8px; + margin: 1.125rem 0 0.875rem 0.5rem; + float: left; } + +#LSResult { + background: #ccdee7; + margin-top: 1px; + opacity: 0.9; + z-index: 10; } + +#LSShadow { + border-bottom: 0; + border-right: 0; + bottom: 0; + color: transparent; + right: 0; } + +.serendipity_livesearch_result { + border: 1px solid #aaa; + bottom: 0; + right: 0; } + +#LSResult, .serendipity_livesearch_result { + border-radius: 3px; } + +.serendipity_findmore, .serendipity_findmore_like { + margin: 16px 0 0; + margin: 1rem 0 0; + list-style: none; + padding: 0; + text-align: left; } + .serendipity_findmore li, .serendipity_findmore_like li { + margin: 0 4px 8px 0; + margin: 0 0.25rem 0.5rem 0; + display: inline-block; } + +.lazyload_switcher { + margin: 0 4px 0 0; + margin: 0 0.25rem 0 0; + display: inline-block; } + +.findmore_like_button { + min-width: 120px; + min-width: 7.5rem; } + +.facebook_like iframe { + position: relative; + top: 15px; } + +.gplus_lazyload_switcher { + float: left; + position: relative; + top: 8px; } + +.gplus_like iframe { + position: relative !important; + top: 6px !important; } + +@media screen and (min-width: 768px) { + html { + padding: 16px 0; + padding: 1rem 0; + background-color: #ddd; + box-sizing: border-box; } + + body { + margin-left: auto; + margin-right: auto; + max-width: 720px; + max-width: 45rem; + border-top: 2px solid #aaa; + border-bottom: 2px solid #aaa; } + + blockquote { + margin: 16px 40px; + margin: 1rem 2.5rem; } + + #banner { + padding: 0 16px; + padding: 0 1rem; } + + #identity { + float: left; + width: 62%; } + + #searchform { + padding-top: 56px; + padding-top: 3.5rem; + float: right; + width: 38%; } + #searchform label { + top: 58px; + top: 3.625rem; } + + #logo img { + margin: 16px 0 0; + margin: 1rem 0 0; } + + #navbar { + padding: 0 16px; + padding: 0 1rem; + margin-top: 0; } + #navbar a, #navbar span { + border-right: 1px solid #294564; } + #navbar li:last-child a, #navbar li:last-child span { + border-right: 0; } + + #site-nav { + left: -8px; + left: -0.5rem; + position: relative; } + #site-nav ul { + padding: 0; } + #site-nav li { + display: inline-block; } + #site-nav li > span { + position: relative; } + #site-nav li > span:after { + border-color: #294564 transparent; + border-style: solid; + border-width: 8px 8px 0; + content: ''; + display: block; + margin: -8px; + position: absolute; + bottom: 0; + left: 50%; + width: 0; + z-index: 10; } + #site-nav a, #site-nav span, #site-nav li:first-child a, #site-nav li:first-child span { + padding: 4px 8px; + padding: 0.25rem 0.5rem; } + + #primary { + padding: 0 16px; + padding: 0 1rem; } + + .commentlevel-1, .depth_10 { + margin-left: 16px; + margin-left: 1rem; } + + .commentlevel-2, .depth_20 { + margin-left: 32px; + margin-left: 2rem; } + + .commentlevel-3, .depth_30 { + margin-left: 48px; + margin-left: 3rem; } + + .commentlevel-4, .depth_40 { + margin-left: 64px; + margin-left: 4rem; } + + .commentlevel-5, .depth_50 { + margin-left: 80px; + margin-left: 5rem; } + + .commentlevel-6, .depth_60 { + margin-left: 96px; + margin-left: 6rem; } + + .commentlevel-7, .depth_70 { + margin-left: 112px; + margin-left: 7rem; } + + .commentlevel-8, .depth_80 { + margin-left: 128px; + margin-left: 8rem; } + + .commentlevel-9, .depth_90 { + margin-left: 144px; + margin-left: 9rem; } + + .form_field input, .form_field select, .form_select input, .form_select select { + max-width: 400px; + max-width: 25rem; } + + #archives > section { + float: left; + width: 50%; } + #archives .odd { + clear: left; } + + .serendipity_image_left, .serendipity_imageComment_left { + margin: 24px 16px 24px 0; + margin: 1.5rem 1rem 1.5rem 0; + float: left; } + .clearfix .serendipity_image_left, .clearfix .serendipity_imageComment_left { + margin: 16px 16px 16px 0; + margin: 1rem 1rem 1rem 0; } + + .serendipity_image_right, .serendipity_imageComment_right { + margin: 24px 0 24px 16px; + margin: 1.5rem 0 1.5rem 1rem; + float: right; } + .clearfix .serendipity_image_right, .clearfix .serendipity_imageComment_right { + margin: 16px 0 16px 16px; + margin: 1rem 0 1rem 1rem; } + + .serendipity_imageComment_left, .serendipity_imageComment_right { + display: inline; } + + #secondary, #tertiary { + padding: 0 16px; + padding: 0 1rem; } + + .widget { + margin-bottom: 16px; + margin-bottom: 1rem; + box-sizing: border-box; + float: left; + width: 50%; } + .widget:nth-child(odd) { + padding-right: 16px; + padding-right: 1rem; + clear: left; } + .widget:nth-child(even) { + padding-left: 16px; + padding-left: 1rem; } + + #colophon { + padding: 0 16px; + padding: 0 1rem; } + } + +@media screen and (min-width: 1024px) { + html { + padding: 24px 0; + padding: 1.5rem 0; } + + body { + max-width: 1152px; + max-width: 72rem; + width: 92%; } + + #banner { + padding: 16px 32px 0; + padding: 1rem 2rem 0; } + + #searchform { + padding-left: 32px; + padding-left: 2rem; } + + #logo img { + margin: 16px 0 -16px; + margin: 1rem 0 -1rem; } + + #navbar { + margin: 16px 0; + margin: 1rem 0; + padding: 0 32px; + padding: 0 2rem; } + + #site-nav { + left: -16px; + left: -1rem; } + #site-nav a, #site-nav span, #site-nav li:first-child a, #site-nav li:first-child span { + padding: 4px 16px; + padding: 0.25rem 1rem; } + + #primary { + padding: 0 16px 0 32px; + padding: 0 1rem 0 2rem; + float: left; + width: 62%; } + .columns-3 #primary { + padding: 0; + left: 25%; + position: relative; + width: 50%; } + + #secondary { + margin-top: 8px; + margin-top: 0.5rem; } + + #secondary, #tertiary { + padding: 0 32px 0; + padding: 0 2rem 0; + float: right; + width: 38%; } + .columns-3 #secondary, .columns-3 #tertiary { + margin-top: 8px; + margin-top: 0.5rem; + width: 25%; } + + .columns-3 #secondary { + float: left; + left: -50%; + position: relative; } + + .widget { + float: none; + width: 100%; } + .widget:nth-child(odd), .widget:nth-child(even) { + padding-left: 0; + padding-right: 0; } + + #colophon { + padding: 0 32px; + padding: 0 2rem; + clear: both; + text-align: left; } + } + +@media screen and (min-width: 1400px) { + html { + font-size: 112.5%; } + } + +@media print { + * { + background: transparent !important; + box-shadow: none !important; + color: #000 !important; + text-shadow: none !important; } + + a, a:visited { + text-decoration: underline; } + + a[href]:after { + content: ' (' attr(href) ')'; } + + abbr[title]:after { + content: ' (' attr(title) ')'; } + + .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { + content: ''; } + + pre, blockquote { + border: 1px solid #888; + page-break-inside: avoid; } + + thead { + display: table-header-group; } + + tr, img { + page-break-inside: avoid; } + + img { + max-width: 100% !important; } + + @page { + margin: 0.5cm; } + + p, h2, h3 { + orphans: 3; + widows: 3; } + + h2, h3 { + page-break-after: avoid; } + } diff --git a/templates/2k15/trackbacks.tpl b/templates/2k15/trackbacks.tpl new file mode 100644 index 00000000..bd857d69 --- /dev/null +++ b/templates/2k15/trackbacks.tpl @@ -0,0 +1,17 @@ +{foreach from=$trackbacks item=trackback} +
+

{$trackback.author|@default:$CONST.ANONYMOUS} {$CONST.ON} : {$trackback.title}

+ {if $trackback.body == ''} +

{$CONST.NO_ENTRIES_TO_PRINT}

+ {else} +
+ {$CONST.VIEW_EXTENDED_ENTRY|@sprintf:$trackback.title} +
+ {$trackback.body|@strip_tags|@escape:all} +
+
+ {/if} +
+{foreachelse} +

{$CONST.NO_TRACKBACKS}

+{/foreach}