Skip to content
Browse files

more import of existing theme

  • Loading branch information...
1 parent ed3f0c8 commit e83a19819d7d02246101a655b3e27ea9c1bcc0b8 @jeckman committed May 19, 2012
Showing with 924 additions and 0 deletions.
  1. +6 −0 searchform.php
  2. +72 −0 sidebar.php
  3. +46 −0 single.php
  4. +800 −0 style.css
View
6 searchform.php
@@ -0,0 +1,6 @@
+<div id="searchthis">
+ <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 id="searchsubmit" type="image" src="<?php bloginfo('template_directory'); ?>/images/search.gif" alt="Submit" /></div>
+ </form>
+</div>
View
72 sidebar.php
@@ -0,0 +1,72 @@
+<div class="sidebar_box">
+<?php fb_get_search_form(); ?>
+</div>
+
+<div class="sidebar_box">
+<a href="/about"><img style="margin-left: 10px; margin-bottom: 5px;" src="/wp-content/uploads/2010/12/headshot_personality.jpg" width="280" height="157" border="0"></a>
+<ul>
+<?php wp_list_pages('depth=1&exclude=883,880&title_li='); ?>
+<li class="<?php if ( is_home() or is_archive() or is_single() or is_paged() or is_search() or (function_exists('is_tag') and is_tag()) ) { ?>current_page_item<?php } else { ?>page_item<?php } ?>"><a href="<?php echo get_settings('home'); ?>"><?php _e('Home'); ?></a></li>
+</ul>
+</div>
+
+<?php
+if(function_exists('special_recent_posts')) {
+$args = array(
+
+ 'srp_thumbnail_option' => 'yes',
+ 'srp_widget_title_hide_option' => 'yes',
+ 'srp_post_offset' => 'yes',
+ 'srp_content_post_option' => 'titleonly'
+ );
+ echo '<div class="sidebar_box">';
+ special_recent_posts($args);
+ echo '</div>';
+}
+?>
+
+<div class="sidebar_box">
+<h4>Subscribe</h4>
+<div class="sidebar_content">
+<a href="http://feeds.feedburner.com/OpenParenthesis" title="Subscribe to my feed" rel="alternate" type="application/rss+xml"><img src="http://www.feedburner.com/fb/images/pub/feed-icon16x16.png" alt="rss" style="border:0"/ align="absmiddle"></a><a href="http://feeds.feedburner.com/OpenParenthesis" title="Subscribe to my feed" rel="alternate" type="application/rss+xml"> Subscribe in an rss reader</a>, or <br /><br />
+<form action="http://www.feedburner.com/fb/a/emailverify" method="post" target="popupwindow" onsubmit="window.open('http://www.feedburner.com', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true">By email: <input type="text" style="width:120px" name="email"/><input type="hidden" value="http://feeds.feedburner.com/~e?ffid=832588" name="url"/><input type="hidden" value="Open Parenthesis" name="title"/><input type="submit" value="Subscribe" /></form>
+</div></div>
+
+<div class="sidebar_box">
+<h4>Archives</h4>
+<ul>
+<?php //wp_get_archives('type=monthly&limit=12');
+?>
+<?php wp_get_archives('type=yearly'); ?>
+</ul>
+<div class="sidebar_content">
+<select name="archive-dropdown" onChange='document.location.href=this.options[this.selectedIndex].value;'>
+ <option value=""><?php echo attribute_escape(__('By Month')); ?></option>
+ <?php wp_get_archives('type=monthly&format=option&show_post_count=1'); ?> </select>
+</div></div>
+
+<div class="sidebar_box">
+<h4>Tag Cloud</h4>
+<div class="sidebar_content"><?php wp_tag_cloud('smallest=8&largest=18'); ?></div>
+</div>
+
+<div class="sidebar_box">
+<h4>Creative Commons</h4>
+<div class="sidebar_content">
+<a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
+ <img alt="Creative Commons License" border="0" src="/images/somerights20.gif"/></a>
+ <br/><br />
+This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 License</a>.
+ <!--/Creative Commons License-->
+ <!--
+ <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+ <Work rdf:about=""><license rdf:resource="http://creativecommons.org/licenses/by/3.0/" /></Work>
+ <License rdf:about="http://creativecommons.org/licenses/by/3.0/">
+ <permits rdf:resource="http://web.resource.org/cc/Reproduction"/>
+ <permits rdf:resource="http://web.resource.org/cc/Distribution"/>
+ <requires rdf:resource="http://web.resource.org/cc/Notice"/>
+ <requires rdf:resource="http://web.resource.org/cc/Attribution"/>
+ <permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/></License>
+ </rdf:RDF>
+ -->
+</div></div>
View
46 single.php
@@ -0,0 +1,46 @@
+<?php get_header(); ?>
+<div id="content" class="clearfix">
+ <div class="content_left">
+ <?php if (have_posts()) : ?>
+ <?php while (have_posts()) : the_post(); ?>
+ <div class="post" id="post-<?php the_ID(); ?>">
+ <div class="entry">
+ <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
+<div class="postdate">Published on <?php the_time('l, F j Y') ?> <?php edit_post_link('#', '', ''); ?></div>
+ <?php the_content('[...]'); ?>
+
+ </div>
+ <div class="clear"></div>
+ <div class="postmeta_single"><?php the_tags() ?></div>
+
+ </div>
+<div>&nbsp;</div>
+<div id="navigation">
+<ul class="postnavi">
+<li>Previous: <?php previous_post_link('%link') ?></li>
+<?php /* if next post exists */ next_post_link('<li>Next: %link</li>'); ?>
+</ul>
+</div>
+
+<div class="clear">&nbsp;</div>
+
+ <?php endwhile; ?>
+
+
+ <?php else : ?>
+ <h2>Nothing to see here</h2>
+ <p>You seemed to have found a mislinked file, page, or search query with zero results. If you feel that you've reached this page in error, double check the URL and or search string and try again.</p>
+ <?php endif; ?>
+
+<!--### Kommentare ###-->
+<?php comments_template(); ?>
+
+ </div>
+ <div class="sidebar">
+ <?php include (TEMPLATEPATH . '/sidebar.php'); ?>
+ </div>
+
+ <div class="clear"></div>
+</div><!--### ende content ###-->
+
+<?php get_footer(); ?>
View
800 style.css
@@ -0,0 +1,800 @@
+/*
+Theme Name: nameless
+Theme URI: http://koch-werkstatt.de
+Description: The Theme without a name
+Version: 1.0
+Author: Karsten Kuhnen
+Author URI: http://koch-werkstatt.de
+*/
+
+body {
+ background: #ffffff;
+ color: #000;
+ margin: 0;
+ padding: 70px 0;
+ font: 14px 'helvetica', arial, sans-serif;
+ text-align: left;
+}
+
+
+#main_wrapper {}
+
+/* ### header ###*/
+#header {
+ margin: 0 auto;
+ width: 850px;
+ background: #fff;
+ height: 150px;
+ padding: 40px 70px 30px 70px;
+ overflow: hidden;
+ border-top: 1px solid #dfdfdf;
+ border-left: 1px solid #dfdfdf;
+ border-right: 1px solid #dfdfdf;
+}
+
+
+#logo {
+ width: 850px;
+ padding: 0;
+}
+
+
+/* ### content ###*/
+
+#content {
+ background: #fff;
+ margin: 0 auto;
+ padding: 0px 70px 20px 70px;
+ text-align: left;
+ width: 850px;
+ border-left: 1px solid #dfdfdf;
+ border-right: 1px solid #dfdfdf;
+}
+
+/* ### footer ###*/
+
+#footer {
+ background: #fff;
+ margin: 0 auto;
+ padding: 10px 70px 70px 70px;
+ text-align: left;
+ color: #999999;
+
+ width: 850px;
+ border-bottom: 1px solid #dfdfdf;
+ border-left: 1px solid #dfdfdf;
+ border-right: 1px solid #dfdfdf;
+}
+
+.footer_text {
+ color: #999999;
+ float: left;
+ width: 850px;
+ border-top: 1px dotted #ccc;
+ padding: 40px 0 0 0;
+ margin: 0;
+}
+
+.footer_text a {
+ border-bottom: 1px dotted #000;
+ padding: 3px 0px 1px 0px;
+ color: #999999;
+}
+
+
+.footer_text a:hover {
+ color: #ff0000;
+ font-weight: normal;
+ border-bottom: 1px dotted #ff0000;
+ padding: 3px 0px 1px 0px;
+}
+
+
+/* ### content styling ###*/
+
+ul, ol {
+ margin: 0;
+ padding: 0;}
+
+p {
+ line-height: 1.5em;
+ text-align: left;
+}
+
+small {
+ font-size: 0.9em;
+ margin: 0 0 0 3px;
+}
+
+blockquote {
+ background: #fff url(images/bquote.gif) no-repeat top left;
+ color: #000;
+ font-style: italic;
+ margin: 0 0 0 0;
+ padding: 0px 20px 5px 30px;
+}
+
+code {
+ font-family:Consolas,Monaco,"Courier New",Courier,monospace;
+ overflow-x:auto;
+ white-space:pre-wrap;
+ word-wrap:break-word;
+}
+
+code, pre {
+ background:none repeat scroll 0 0 #F0F0F0;
+ color:#000000;
+ padding: 4px;
+}
+
+pre {
+ background:none repeat scroll 0 0 #F5F5F5;
+ border:1px solid #DADADA;
+ line-height:1.3em;
+ overflow:auto;
+ padding:11px;
+}
+
+
+a {
+ color: #000;
+ font-weight: normal;
+ text-decoration: none;
+ outline: none;
+}
+
+a:hover {
+ color: #ff0000;
+ text-decoration: none;
+ outline: none;
+}
+
+img {
+ border: none;
+ padding: 5px;
+}
+
+.entry h2, .entry h2 a, h2, h2 a {
+ font-size: 24px;
+ color: #000;
+ font-weight: bold;
+ text-align: left;
+ margin: 0 0 5px 0px;
+ padding: 0;
+ border: none;
+ display: block;
+ line-height: 1.3em;
+}
+
+.entry h2 a:hover {
+ color: #ff0000;
+ font-weight: bold;
+ margin: 0 0 5px 0px;
+ padding: 0;
+ border: none;
+ line-height: 1.3em;
+}
+
+.entry h3, .entry h3 a {
+ font-size: 16px;
+ font-weight: bold;
+ color: #000;
+ margin: 0;
+ padding: 5px 0 0 0px;
+}
+
+.content_left h4 {
+ color: #000;
+ font: 14px georgia, serif;
+ font-weight: normal;
+ font-style: italic;
+ padding: 0 0 40px 0;
+ margin: 0;
+}
+
+.content_left {
+ float: left;
+ margin-top: 12px;
+ width: 550px;
+ padding: 0;
+}
+
+
+.post {
+ width: 510px;
+ padding: 0;
+}
+
+.postmeta {
+ margin: 0;
+ padding: 0 0 80px 0;
+ font: 14px Georgia, serif;
+ font-style: italic;
+ color: #666;
+ text-align: left;
+}
+
+.postmeta a {
+ color: #666;
+ border-bottom: 1px dotted #666;
+ padding: 3px 0px 1px 0px;
+}
+
+.postmeta a:hover {
+ color: #ff0000;
+ border-bottom: 1px dotted #ff0000;
+ padding: 3px 0px 1px 0px;
+}
+
+.postmeta_single {
+ margin: 0;
+ padding: 0 0 30px 0;
+ font: 14px Georgia, serif;
+ font-style: italic;
+ color: #666;
+ text-align: left;
+}
+
+.postmeta_single a {
+ color: #666;
+ border-bottom: 1px dotted #666;
+ padding: 3px 0px 1px 0px;
+}
+
+.postmeta_single a:hover {
+ color: #ff0000;
+ border-bottom: 1px dotted #ff0000;
+ padding: 3px 0px 1px 0px;
+}
+
+.postdate {
+ margin: 0;
+ padding: 0 0 10px 0;
+ font: 14px Georgia, serif;
+ font-style: italic;
+ color: #666;
+ text-align: left;
+}
+
+.postdate a {
+ color: #666;
+}
+
+.postdate a:hover {
+ color: #ff0000;
+}
+
+.entry {
+ float:right;
+ padding: 0 0 10px 0;
+ width: 510px;
+ line-height: 1.5em;
+ text-align: left;
+}
+
+.entry a {
+ color: #000;
+ font-weight: normal;
+ border-bottom: 1px dotted #000;
+ padding: 3px 0px 1px 0px;
+}
+
+.entry a.image_link {
+ border: none;
+ border-bottom: none;
+}
+
+.entry a:hover {
+ color: #ff0000;
+ font-weight: normal;
+ border-bottom: 1px dotted #ff0000;
+ padding: 3px 0px 1px 0px;
+}
+
+.entry a.image_link:hover {
+ border: none;
+}
+
+.wp-caption a {
+ border: none;
+}
+
+.wp-caption a:hover {
+ border: none;
+}
+
+.entry img {
+ background: #fff;
+ border: none;
+ padding: 0;
+
+
+}
+
+.entry a img {
+ background: #fff;
+ padding: 0px;
+ border: none;
+
+}
+
+
+.entry ul {
+ margin: 0 0 0 20px;
+ list-style: circles;
+ list-style-position: outside;
+}
+
+.entry ol {
+ margin: 0 0 0 20px;
+ list-style-position: outside;
+}
+
+.entry li {
+ margin: 0;
+}
+
+/* ### navigation index ###*/
+
+#postnavi_index a {
+ color: #666;
+}
+
+#postnavi_index a:hover {
+ color: #ff0000;
+}
+
+#postnavi_index {
+ width: 510px;
+ padding: 0 0 30px 0;
+ text-align: center;
+ font: 18px Georgia, serif;
+ font-style: italic;
+}
+
+#postnavi_index a {
+ color: #666;
+ padding: 5px 0;
+}
+
+#postnavi_index a:hover {
+ color: #ff0000;
+}
+
+
+/* ### navigation posts ###*/
+
+#navigation {
+ padding: 0 0 20px 0;
+}
+
+#navigation ul.postnavi {
+ list-style: none;
+ margin: 0;
+ padding: 0;
+}
+
+#navigation ul.postnavi li {
+ line-height: 24px;
+ font-weight: bold;
+}
+
+#navigation ul.postnavi li a {
+ font: 14px georgia,serif;
+ border-bottom: 1px dotted #000;
+ padding: 3px 0px 1px 0px;
+ font-style: italic;
+ font-weight: normal;
+}
+
+#navigation ul.postnavi li a:hover {
+ font: 14px georgia,serif;
+ border-bottom: 1px dotted #ff0000;
+ padding: 3px 0px 1px 0px;
+ font-style: italic;
+ font-weight: normal;
+}
+
+.more-link a {
+ padding: 12px 0 0 0:
+}
+
+
+/* ### sidebar ###*/
+
+.sidebar {
+ float: right;
+ margin: 0;
+ padding: 14px 0 0 0;
+ width: 280px;
+}
+
+.sidebar_box h4, .sidebar_box h4 a {
+ color: #000;
+ font-size: 18px;
+ font-weight: bold;
+ padding: 0 10px 5px 10px;
+ margin: 0;
+}
+
+.sidebar_box {
+ background: transparent;
+ width: 280px;
+ margin: 0;
+ padding: 0px 0px 40px 0px;
+}
+
+
+.sidebar_box .sidebar_content {
+ margin-left: 10px;
+}
+
+
+.sidebar_box a {
+ color: #000;
+}
+
+.sidebar_box .sidebar_content a {
+ color: #C0C0C0;
+}
+
+.sidebar_box .sidebar_content a:hover {
+ color: #666666;
+}
+
+.sidebar_box ul {
+ list-style: none;
+ margin: 0;
+}
+
+.sidebar_box li {
+ color: #000;
+ border-bottom: 1px dotted #ccc;
+ display: block;
+ font-size: 14px;
+ padding: 5px 10px;
+}
+
+.sidebar_box li a {
+ background: transparent;
+ color: #000;
+ display: block;
+
+}
+
+.sidebar_box li a:hover {
+ color: #ff0000;
+}
+
+.sidebar_box li.current_page_item a {
+ color: #666!important;
+ font-weight: bold;
+}
+
+.sidebar_box li.current_page_item a:hover {
+ color: #ff0000!important;
+ font-weight: bold;
+}
+
+.sidebar_box select {
+ margin-top: 10px;
+}
+
+.sidebar_box img {
+ padding: 0px;
+}
+/*### Suche ###*/
+
+#searchthis {
+ margin-top: 0.3em;
+}
+
+#s {
+ background: #f9f9f9;
+ border: 1px dotted #ccc;
+ padding: 5px;
+ margin: 0 0 0 10px;
+ vertical-align: middle;
+ width: 232px;
+ font: 14px 'helvetica', arial, sans-serif;
+}
+
+#searchsubmit {
+ vertical-align: middle;
+}
+
+
+/*### comments ###*/
+
+#comments_title {
+ border-top: 1px dotted #ccc;
+ width: 510px;
+ margin: 0;
+ padding: 0;
+}
+
+#comments {
+ float: left;
+ width: 130px;
+ margin: 0;
+ padding: 5px 0;
+ color: #8a8a8a;
+}
+
+#comment_meta {
+ float: left;
+ padding: 5px 0;
+ font-size: 13px;
+}
+
+#comment_meta a {
+ font-weight: bold;
+}
+
+ol.commentlist {
+ list-style: none;
+ margin: 0;
+ padding: 0;
+}
+
+ol.pingslist {
+ list-style: none;
+ width: 510px;
+ margin: 0;
+ padding: 0;
+}
+
+.commentlist li {
+ background: transparent;
+ width: 510px;
+ border-top: 1px dotted #ccc;
+ margin: 0;
+ padding: 0;
+}
+
+.commentlist li.author {
+ background: #f9f9f9;
+ width: 510px;
+ border-top: 1px dotted #ccc;
+ margin: 0;
+ padding: 0;}
+
+.pingslist li {
+ border-top: 1px dotted #ccc;
+ margin: 0;
+ padding: 0;
+}
+
+.comment_credentials {
+ float: left;
+ font-size: 1em;
+ margin: 10px 0;
+ padding: 0 0 0 10px;
+ width:60px;}
+
+.comment_credentials img.avatar {
+ background: #fff url(images/cmt_shadow.gif);
+ padding: 3px 4px 4px 4px;
+}
+
+.comment_credentials .author_highlight {
+ font-weight:bold;
+}
+
+.comment_credentials br {
+ margin: 0;
+ padding: 0;
+}
+
+.comment_text {
+ float: right;
+ margin-top: 10px;
+ padding: 0px 10px 0px 0;
+ width: 430px;
+}
+
+.comment_text p {
+ margin: 0 0 12px 0;
+}
+
+.comment_text a {
+ font-weight: bold;
+}
+
+.comment_text_tb {
+ float: right;
+ margin-top: 5px;
+ padding: 5px 5px 0px 0;
+ width: 435px;
+}
+
+.comment_text_tb p {
+ margin: 0 0 5px 0;
+}
+
+.comment_text_tb a {
+ font-weight: bold;
+}
+
+.comment_text blockquote {
+ background: transparent;
+ font-style: italic;
+ margin: 0;
+ padding: 0 20px;
+}
+
+.comment_text blockquote p {
+ margin: 0;
+ padding: 0;
+}
+
+li.author {}
+
+#commentform {
+ width: 510px;
+ padding: 0 0 0 0px;
+}
+
+#commentform p {
+ margin: 5px 0 0 0;
+ text-align: left;
+}
+
+textarea {
+ overflow: auto;
+}
+
+#author,
+#email,
+#url {
+ background: #f9f9f9;
+ border: 1px dotted #f9f9f9;
+ padding: 5px;
+ font: 14px 'Helvetica', Arial, sans-serif;
+ width: 368px;
+ height: 20px;
+ padding: 5px;
+}
+
+#comment {
+ width: 498px;
+ border: 1px dotted #f9f9f9;
+ background: #f9f9f9;
+ padding: 5px;
+ font: 14px 'helvetica', arial, sans-serif;
+ text-align: left;
+}
+
+#respond {
+ width: 510px;
+ border-top: 1px dotted #ccc;
+ border-bottom: 1px dotted #ccc;
+ color: #666;
+ padding: 5px 0 5px 0;
+ margin: 0px; }
+
+
+/* ### fixes ### */
+
+.floatleft {
+ float: left;
+ margin: 5px 8px 3px 0;
+}
+
+.floatright {
+ float: right;
+ margin: 5px 10px 3px 8px;
+}
+
+.left {
+ float: left;
+ white-space: nowrap;
+}
+
+.right {
+ float: right;
+ white-space: nowrap;
+}
+
+.clear {
+ clear: both;
+}
+
+.clearfix:after {
+ content: ".";
+ display: block;
+ height: 0;
+ clear: both;
+ visibility: hidden;
+}
+
+.clearfix {
+ display: inline-block;
+}
+
+.fix:after{
+ content: ".";
+ display: block;
+ height: 0;
+ clear: both;
+ visibility: hidden;
+}
+
+.fix{
+ display: inline-block;
+}
+
+* html .fix{
+ height: 1%;
+}
+
+.fix{
+ display: block;
+}
+
+.alignleft {
+ float: left;
+ text-align: left;
+}
+
+.alignright {
+ float: right;
+ margin-top: -1px;
+ text-align: right;
+}
+
+/* Hide from IE Mac \*/
+.clearfix {
+ display: block;
+}
+/* End hide from IE Mac */
+
+.wp-caption-text {
+ font-size: 10px;
+ font-style: italic;
+}
+
+img.alignright {float:right; margin:0 0 1em 1em}
+img.alignleft {float:left; margin:0 1em 1em 0; padding: 0px;}
+img.aligncenter {display: block; margin-left: auto; margin-right: auto}
+a img.alignright {float:right; margin:0 0 1em 1em; border:none}
+a img.alignleft {float:left; margin:0 1em 1em 0; border:none}
+a img.aligncenter {display: block; margin-left: auto; margin-right: auto; border:none}
+
+/* Captions */
+.aligncenter,
+div.aligncenter {
+display: block;
+margin-left: auto;
+margin-right: auto;
+}
+
+.wp-caption {
+padding-top: 4px;
+}
+
+.wp-caption img {
+margin: 0;
+padding: 0;
+border: 0 none;
+}
+
+.wp-caption p.wp-caption-text {
+font-size: 11px;
+line-height: 17px;
+padding: 0;
+margin: 0;
+padding-bottom: 5px;
+}
+/* End captions */
+
+.srp-content-box h4 a {
+ margin: 0;
+ padding: 0;
+ font-weight: normal;
+ font-size: 16px;
+}
+
+.srp-widget-date {
+ padding-left: 10px;
+}

0 comments on commit e83a198

Please sign in to comment.
Something went wrong with that request. Please try again.