Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Some horizontal whitespace to ventilate the design a little (min-widt…

…h:1024px). Also fixed emission of smarty-cycled classes. (Must. Not. Use. Spaces. In. Cycle.)
  • Loading branch information...
commit 9dbf5d489d53ec6063c197654407f9bb26d18424 1 parent 936d32a
Matthias Mees authored
View
2  comments.tpl
@@ -1,5 +1,5 @@
{foreach from=$comments item=comment name="comments"}
-<article id="c{$comment.id}" class="serendipity_comment{if $entry.author == $comment.author} serendipity_comment_author_self{/if} {cycle values="odd, even"} {if $comment.depth > 8}commentlevel-9{else}commentlevel-{$comment.depth}{/if}">
+<article id="c{$comment.id}" class="serendipity_comment{if $entry.author == $comment.author} serendipity_comment_author_self{/if} {cycle values="odd,even"} {if $comment.depth > 8}commentlevel-9{else}commentlevel-{$comment.depth}{/if}">
<h4>{if $comment.url}<a href="{$comment.url}">{/if}{$comment.author|@default:$CONST.ANONYMOUS}{if $comment.url}</a>{/if} {$CONST.ON} <time datetime="{$comment.timestamp|@formatTime:'%Y-%m-%dT%H:%M:%S%z'}" pubdate>{$comment.timestamp|@formatTime:$template_option.date_format}</time>:</h4>
<div class="serendipity_commentBody">
View
2  entries_archives.tpl
@@ -2,7 +2,7 @@
<div class="archives">
<h2>{$CONST.ARCHIVES}</h2>
{foreach from=$archives item="archive"}
- <section class="archives_year {cycle values="arch_odd, arch_even"}">
+ <section class="archives_year {cycle values="arch_odd,arch_even"}">
<h3>{$archive.year}</h3>
<ul class="plainList">
View
2  sidebar.tpl
@@ -3,7 +3,7 @@
{/if}
{foreach from=$plugindata item=item}
{if $item.class != "serendipity_quicksearch_plugin"}
- <section class="sidebar_plugin {cycle values="odd, even"} {$item.class}">
+ <section class="sidebar_plugin {cycle values="odd,even"} {$item.class}">
{if $item.title != ""}
<h3>{$item.title}</h3>
{/if}
View
24 style.css
@@ -728,7 +728,7 @@ p.break { margin: 0 0 1em; }
#identity h1 { margin: 1em 0 0; }
- #search div { margin-top: 5em; }
+ #search div { margin-top: 4.9em; }
#searchterm { max-width: 100%; }
@@ -802,6 +802,28 @@ p.break { margin: 0 0 1em; }
.ie7 #search div { padding: 0 1em 0 2em; }
}
+@media only screen and (min-width:1024px) {
+ #identity h1 { padding: 0 1em; }
+
+ #identity p,
+ #search div { padding: 0 2em; }
+
+ #primary-nav ul { margin: 0 1em; }
+
+ .serendipity_search,
+ .staticpage_results { margin: 0 2em 1em; }
+
+ .serendipity_entry, .archives, .freetag_cloud,
+ #sidebar_left .sidebar_plugin,
+ .ie7 #sidebar_left .sidebar_plugin,
+ #sidebar_right .sidebar_plugin,
+ .ie7 #sidebar_right .sidebar_plugin { margin: 0 2em 2em; }
+
+ .serendipity_pagination { margin: 0 2.4615em 1.2308em; }
+
+ #colophon small { padding: .9167em 2.4615em 1em; }
+}
+
/* ==|== print styles =======================================================
Print styles.
View
2  trackbacks.tpl
@@ -1,5 +1,5 @@
{foreach from=$trackbacks item=trackback}
-<article id="c{$trackback.id}" class="serendipity_comment {cycle values="odd, even"}">
+<article id="c{$trackback.id}" class="serendipity_comment {cycle values="odd,even"}">
<h4><cite>{$trackback.author|@default:$CONST.ANONYMOUS}</cite> {$CONST.ON} <time datetime="{$trackback.timestamp|@formatTime:'%Y-%m-%dT%H:%M:%S%z'}" pubdate>{$trackback.timestamp|@formatTime:$template_option.date_format}</time>: <a href="{$trackback.url|@strip_tags}">{$trackback.title}</a></h4>
<details>
Please sign in to comment.
Something went wrong with that request. Please try again.