/*  
Theme Name: D3S1GN 4UCK
Theme URI: http://d3s1gn.garageblog.de
Description: D3S1GN 4UCK is a simple weblog theme by <a href="http://www.garageblog.de">Chris A. Gerlach</a> and based on the great Hemingway-Theme by <a href="http://warpspire.com/hemingway">Kyle Neath</a>. <br /><strong>This theme requires WordPress 2.0+</strong></a>.
Version: 1
Author: Chris A. Gerlach
Author URI: http://www.garageblog.de
*/



/*-----------------------------------------------------------------------------------------------
  Global Styles
-----------------------------------------------------------------------------------------------*/

* {
	padding:0;
	margin:0;
}
h1, h2, h3, h4, h5, h6, p, pre, blockquote, label, ul, ol, dl, fieldset, address { margin:1em 0; }
li, dd { margin-left:5%; }
fieldset { padding: .5em; }
select option{ padding:0 5px; }

.hide, .print-logo, .close-button{ display:none; }
.left{ float:left; }
.right{ float:right; }
.clear{ clear:both; height:1px; font-size:1px; line-height:1px; }
a img{ border:none; }
img {
behavior: url("http://www.garageblog.de/pngbehavior.htc");
}

/*-----------------------------------------------------------------------------------------------
  Layout / Base Page Styling
-----------------------------------------------------------------------------------------------*/

body{   
	background:url(images/bg3.jpg);
	color:#BFBFBF;
	font-size:14px;
	font-family:"Arial", "Lucida Sans Unicode", "Lucida Sans", Verdana, Arial, sans-serif;
}

/* This class sets the width and position for all rows */
.inside{
	width:80%;
	min-width:65em;
	max-width:85em;
	margin:0 auto;
}

a{
	color:#fff;
}

h1{
	color:#fff;
	font-size:1.5em;
	font-weight:normal;
	margin:1.5em 0;
}

h2, h3{
	font-size:1.15em;
	color:#fff;
	font-weight:normal;
}
#primary h2{
	color:#fff;
}

p{
	line-height:1.75em;
}

ul li{
	list-style-type:square;
	margin:0.5em 0 0.5em 2em;
}

blockquote{
	margin-left:1em;
	padding-left:1em;
	border-left:2px solid #fff;
	color:#fff;
}

pre{
	width:100%;
	padding:1em 0;
	overflow:auto;
	border-top:1px solid #333;
	border-bottom:1px solid #333;
}

table{
	width:100%;
	border-spacing:2px;
	margin:1.5em 0;
}
table th, table td{ padding:0.3em 0.75em }
table th{
	background:#fff;
	color:#000;
	text-align:left;
}
table td{
	background:#fff;
	color:#fff;
}
table caption{
	text-align:left;
	color:#fff;
	margin-bottom:-1em;
	margin-top:1em;
}

.rule{
	border-top:1px solid #fff;
	height:1px;
	font-size:1px;
	line-height:1px;
	margin:1.5em 0;
}

/*-----------------------------------------------------------------------------------------------
  Header
-----------------------------------------------------------------------------------------------*/
#header{
	background:#400;
        background:url(images/bg3.jpg);
}
#header .inside{
	padding:3em 0;
}

#header h2{
        color:#fff;
	font-size:2em;
	margin:0 0.3em 0 0;
	padding:0 0.3em 0.25em 0;
	float:left;
}
#header h2 a{ 
        text-decoration:none; 
        color:#fff;
}

#header p{
        color:#fff;
	padding:1em 0;
	margin:0;
	line-height:1em;
}

/*-----------------------------------------------------------------------------------------------
  Primary Items
-----------------------------------------------------------------------------------------------*/

#primary{
	background:#000;
        background:url(images/bg3.jpg);
	padding:1px 0 2em 0;
	color:#fff;
}

#primary.onecol-stories .primary{
        display:block;
	float:left;
	width:50%;
}
#primary.onecol-stories .secondary{
	float:right;
	width:40%;
	margin:0 0 0 10%;
}

#primary.onecol-stories .story{
	float:left;
	width:48%;
	margin:0 0 0 4%;
	display:inline;
}
* html #primary.onecol-stories .story{
	margin-left:2%;
}
#primary.onecol-stories .first, * html #primary.twocol-stories .first{
	margin:0 0 0 0;
}

.story h3{
	font-size:1.15em;
	margin:0 0 1.5em 0;
	font-weight:normal;
	color:#fff;
}
.story h3 a{
	color:#fff;
	text-decoration:none;
}

.story .details{
	margin:1em 0;
	text-align:right;
	border-top:1px solid #fff;
	padding:0.5em 0;
	font-size:0.95em;
	color:#fff;
}
.story .details .read-on{
	background:url(images/readon_black.gif) 100% 60% no-repeat;
	padding-right:20px;
	display:block;
}
.story .details a{
	color:#fff;
	text-decoration:none;
}
.story .details a:hover{ color:#000; }

/* Single Post Styles */

#primary .primary{
	float:right;
	width:65%;
}
#primary .secondary{
	float:right;
	width:30%;
	margin-right:5%;
	padding-top:0.65em;
	display:inline;
}
* html #primary .secondary{ margin-right:3%; }

.secondary .featured p{
	border-bottom:1px solid #fff;
	border-top: 1px solid #fff;
	padding:0.5em 0 0.6em 0;
	line-height:1.5em;
	margin:1em 0 0 0;
}
.secondary .featured dl{
	margin:0 0;
	border-bottom:1px solid #fff;
	padding:0.5em 0 0.6em 0;
}
.secondary dt{
	display:inline;
	margin:0;
	padding:0;
	color:#fff;
}
.secondary dd{
	display:inline;
	margin:0;
	padding:0;
}
.secondary dd a{ color:#fff; }
.secondary dd a:hover{ color:#000; }

.single-post h1, .single-post h2{ margin-top:0; }

/*-----------------------------------------------------------------------------------------------
	Secondary Items
-----------------------------------------------------------------------------------------------*/

#secondary{
        margin:auto;
        background:url(images/bg3.jpg);
        padding:10px 0 0 0;
	}

.comment-head{
        margin:auto;
        padding:5px;
      	}
.comment-head h2{
        color:#fff;
        width:100%;
        margin:auto;
       	font-size:1.5em;
	}
.comment-head a{
        
        text-decoration:none;
	color:#fff;
        }
.comment-head .details{
        color:#fff;
        font-size:0.95em;
}

ol#comments{
	list-style-type:none;
	padding:5px;
        color:#fff;
        background:url(images/bg3.jpg);
        }
ol#comments li{
        list-style-type:none;
	margin:2em 0
        color:#fff;
        padding:5px;
}

#comments cite{
        width:31%;
        float:left;
	font-style:normal;
	text-align:right;
        color:#fff;
        padding:5px;
        
}
* html #comments cite{ width:30.6%;
         }
#comments cite span{
        color:#fff;
        padding:5px;
}
#comments cite .author{ 
        font-size:1.2em; 
        color:#fff;
}
#comments cite .author a{
	color:#fff;
}
#comments cite .admin-tools{
	margin:5px 0;
        color:#fff;
}
#comments cite .admin-tools a{
	float:right;
	margin:0 5px;
	padding:0px 3px 3px;
	border:1px solid #fff;
	text-decoration:none;
        color:#fff;
}
#primary .secondary .admin-tools{ margin:1em 0; 
        color:#fff;}

#preview{
	padding:0.5em;
	color:#fff;;
}
#preview p{ margin:1em 0 0 0; 
        color:#fff;}
#errors{ color:#FF0000; font-weight:bold; }

#comments .pingback cite .author{
	display:block;
	padding-top:68px;
	background:url(images/trackback_pingback.gif) 100% 0 no-repeat;
        color:#fff;
}

#comments .content{
        width:60%;
	float:left;
	margin-left:1.9%;
	border-left:1px solid #fff;
	padding: 0 0 0 2%;
        color:#fff;
}
#comments .content p{
	margin:0 0 1em 0;
        color:#fff;
}
#comments .content h3{
	margin:0;
	font-size:1em;
        color:#fff;
        }

#comment-form{
        
	margin:auto;
        padding:20px;
        color:#fff;
        background:url(images/bg3.jpg);
}
input.textfield{
	width: 15em;
	margin:5px 0;
}
textarea.commentbox{
	width:28em;
	height:10em;
	padding:0.25em;
	margin:5px 0;
	font-size:1.25em;
	font-family:Arial, Helvetica, sans-serif;
}
label.text{
	position:relative;
	left:0.5em;
	top:-0.5em;
}
.formactions input.submit{ 
	float:left; 
	margin:-1em 0 0 0;
	padding:2px;
}
.formactions .spinner{
	float:right;
	margin:-8px -20px 0 0;
        
}

/*-----------------------------------------------------------------------------------------------
  Ancillary Items
-----------------------------------------------------------------------------------------------*/
#sideheader{
        height:53px;
        background:url(images/bg3.png) repeat-x;
}

#ancillary{
        padding:2em 0 0 0;
}
#ancillary .block{
	float:left;
	width: 30%;
	margin:0 0 0 5%;
}
* html #ancillary .block{
	margin-left:3.9%;
}
#ancillary .twice-length{ width:65%; }
#ancillary .thrice-length{ width:100%; }
#ancillary .first, * html #ancillary .first{
	clear:both;
	margin:0;
}
#ancillary .block-separator{
	clear:both;
	height:2.5em;
}

#ancillary .block h2, #ancillary .block h3{
	margin:0 0 2em 0;
}

ul.dates, ul.counts, ul.blogroll ul, ul.pages{
	list-style-type:none;
	margin:1.5em 0 2em 0;
	border-top:1px solid #3D3D3D;
}
ul.dates li, ul.counts li, ul.blogroll ul li, ul.pages li{
	list-style-type:none;
	margin:0;
	padding:0.5em 0;
	border-bottom:1px solid #3D3D3D;
}
ul.dates .date{
	color:#858585;
	padding:0 1.5em 0 0;
}

ul.counts .count{
	float:right;
	color:#858585;
}

ul.dates a, ul.counts a, ul.blogroll a, ul.pages a{
	color:#BFBFBF;
	text-decoration:none;
}
ul.dates a:hover, ul.dates a:hover .date, ul.counts a:hover, ul.counts a:hover .count, ul.blogroll a:hover, ul.pages a:hover{ 
	color:#FFF;
}

ul.blogroll{ margin-top:0; }
ul.blogroll li{
	list-style-type:none;
	margin:0;
}

ul.pages ul{
	margin:0;
}
ul.pages ul li{
	border:none;
	margin-left:2em;
	list-style-type:square;
}
/*-----------------------------------------------------------------------------------------------
  Foooter
-----------------------------------------------------------------------------------------------*/

#footer{
	clear:both;
	color:#939393;
	margin:2em 0 3em 0;
}
#footer .inside{
	background:url(images/footer_black.gif) 50% 0 repeat-x;
	padding:1em 0;
}
#footer p{
	margin:0;
	font-size:0.95em;
}
#footer p.copyright{ float:left; }
#footer p.attributes{ float:right; }
#footer p.attributes a{
	padding:0 0 0 1em;
	text-decoration:none;
	color:#525252;
}
#footer p.attributes a:hover{
	color:#FFF;
}

/*-----------------------------------------------------------------------------------------------
  Search
-----------------------------------------------------------------------------------------------*/

#search{
	float:right;
	width:200px;
	margin:1em 0 0 0;
	-moz-opacity:0.4;
	text-align:right;
}
#search:hover{
	-moz-opacity:1.0;
}
#search .searchimg{
	float:left;
	width:14px;
	height:13px;
	background:url(images/search.gif) 0 0 no-repeat;
	position:relative;
	top:4px;
}
#search input{ 
	width:175px; 
	font-size: 0.85em; 
	background:#CCC;
	margin-top:2px;
}
#search input:focus{
	background:#FFF;
}

#searchform{
	margin:1em 0;
}

#searchform #s{
	background:#222;
	border:none;
	border-bottom:1px solid #333;
	width:30em;
	color:#666666;
	padding:0.25em;
}

#searchform #searchsubmit{
	background:#000;
	color:#666;
	border:none;
	font-size:0.9em;
	text-transform:uppercase;
	letter-spacing:0.25em;
}

/* Legacy Typo CSS */

#search-results{
	width:30%;
	background:#333;
	padding:0 0 0 0;
	float:right;
	-moz-opacity:0.9;
	border-top:1em solid #000;
}
#search-results h3{
	font-weight:bold;
	text-align:left;
	margin:0;
	padding:0 0 1em 0;
	background:#000;
	
}
#search-results small{
	display:block;
	text-align:left;
	font-size:0.9em;
	padding:0.5em 1em 0.7em 1em;
	border-top:1px solid #666;
	border-bottom:1px solid #555;
}
#search-results small a{
	color:#CCC;
}
#search-results ul li{
	list-style-type:none;
	padding:0 1em 0.5em 1em;
	margin:0.5em 0;
}
#search-results ul li:hover{
	background:#202020;
}
#search-result ul{ margin:0; }
#search-results ul li a{
	text-decoration:none;
	border-bottom:1px dotted #CCC;
}

#search img.archives-icon{
	margin:0 7px 0 0;
	top:1px;
}













search result

<?php get_header(); ?>

	<div id="primary" class="single-post">
	<div class="inside">
		<div class="primary">

	<?php if (have_posts()) : ?>

		<h1>Treffer deiner Suche</h1>
		
		<ul class="dates">
		 	<?php while (have_posts()) : the_post(); ?>
			<li>
				<span class="date"><?php the_time('n.j.y') ?></span>
				<a href="<?php the_permalink() ?>"><?php the_title(); ?></a> 
				 katalogisiert in
				<?php the_category(', ') ?>  
			</li>
			<?php $results++; ?>
			<?php endwhile; ?>
		</ul>
		
		<div class="navigation">
			<div class="left"><?php next_posts_link('&laquo; Davor ') ?></div>
			<div class="right"><?php previous_posts_link('Danach &raquo;') ?></div>
		</div>
	
	<?php else : ?>

		<h1>Versuche einen anderen Begriff</h1>

	<?php endif; ?>
		
	</div>
	
	<div class="secondary">
		<h2>Suche</h2>
		<div class="featured">
			<p>YDeine Suche nach &ldquo;<?php echo wp_specialchars($s, 1); ?>&rdquo; auf <?php bloginfo('name'); ?>. 
			<?php
				if (!$results) echo "keine Treffer.";
				elseif (1 == $results) echo "Ein Treffer gelandet. Hast einen guten Tag?!.";
				else echo $results . " Treffer.";
			?>
			</p>
			
		</div>
	</div>
	<div class="clear"></div>
	</div>
	</div>

<?php get_sidebar(); ?>

<?php get_footer(); ?>













search form

<form method="get" id="searchform" action="<?php bloginfo('home'); ?>/">
<div><input type="text" value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" />
<input type="submit" id="searchsubmit" value="Suche" />
</div>
</form>








Index

<?php get_header(); ?>


	<div id="primary" class="twocol-stories">
		<div class="inside">
			<?php
				// Here is the call to only make two posts show up on the homepage REGARDLESS of your options in the control panel
				query_posts('showposts=2');
			?>
			<?php if (have_posts()) : ?>
				<?php $first = true; ?>
				<?php while (have_posts()) : the_post(); ?>
					<div class="story<?php if($first == true) echo " first" ?>">
						<h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3>
						<?php $hemingway->excerpt() ?>
						<div class="details">
							<?= _('posted on:') ?> <?php the_time('l, j.m.Y') ?> | <?php comments_popup_link('no comment', '1 comment', '% comments'); ?> | Category: <?php the_category(', ') ?> <span class="read-on"><a href="<?php the_permalink() ?>">Read More</a></span>
						</div>
					</div>
					<?php $first = false; ?>
				<?php endwhile; ?>
		</div>
				
			<?php else : ?>
		
				<h2 class="center">Nicht gefunden</h2>
				<p class="center">Sorry...</p>
				<?php include (TEMPLATEPATH . "/searchform.php"); ?>
		
			<?php endif; ?>
				
			<div class="clear"></div>
	</div>



<?php get_sidebar(); ?>

<?php get_footer(); ?>

