Commit 49aa529f authored by onny's avatar onny

first theme release

parent 1f23ac9c
......@@ -4,18 +4,16 @@
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archiv <?php } ?> <?php wp_title(); ?></title>
<meta charset="UTF-8">
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon">
<link rel="stylesheet" media="all" type="text/css" href="css/style.css">
<link rel="shortcut icon" href="<?php bloginfo('template_directory'); ?>/favicon.ico" type="image/x-icon">
<link rel="stylesheet" media="all" type="text/css" href="<?php bloginfo('template_directory'); ?>/style.css">
<?php wp_head(); ?>
</head>
<body>
<header>
<!-- header mit Logo-Bild -->
<a href="/"><img src="images/logo.png" alt="Whackspace Logo"></a>
<a href="/"><img src="<?php bloginfo('template_directory'); ?>/images/logo.png" alt="Whackspace Logo" width=90%></a>
</header>
<section id="content">
<div class="infobox">
<!-- box mit infos wie irc-channel etc. -->
<h2>Infos</h2>
......@@ -33,61 +31,32 @@
<p>
<a href="http://whackspace.spreadshirt.de/">
T-Shirt Shop:<br>
<img src="images/tshirt.png" alt="shirt shop">
<img src="<?php bloginfo('template_directory'); ?>/images/tshirt.png" alt="shirt shop">
</a>
</p>
</li>
</ul>
</div>
<article>
<h2>Elementary Cellular Automaton</h2>
<p>
Hi, wollte euch mal das Programm zeigen, an dem ich die letzten Tage
gearbeitet habe. Wurde durch den xkcd
<a href="http://xkcd.com/505/">"A Bunch Of Rocks"</a> inspiriert,
in dem genau so ein Automat mit Steinen implementiert wird.
</p>
<p>
Ein ECA besteht aus eindimensionalen Generationen von Zellen
(also den Zeilen im Bild), wobei die Generationen von oben nach
unten erzeugt werden.<br>
Welche Zellen in der nächsten Generation lebendig und welche tot
sind wird durch das Ruleset bestimmt (ist auf Wikipedia gut
erklärt). <br>Es gibt 8 Regeln für die 8 möglichen Kombinationen
von aktueller Zelle und ihren Nachbarzellen (z.B. 110 -&gt;
linker Nachbar lebt, Zelle selbst lebt, rechter Nachbar ist tot).
Im Ruleset stehen quasi nur die Ergebnisse dieser Kombinationen,
also 111 -&gt; 0, 110 -&gt; 1, 101 -&gt; 1 etc. wird zu 011...<br>
Eine bessere Erklärung findet ihr <a href="http://en.wikipedia.org/wiki/Elementary_cellular_automaton#The_numbering_system">auf Wikipedia</a>.
</p>
<p>
Downloads:<br>
<a href="https://github.com/Theverat/ElementaryCellularAutomaton/releases/tag/v1.0-win32">Windows 32bit Binary</a><br>
<a href="https://github.com/Theverat/ElementaryCellularAutomaton/releases/tag/v1.0">Linux 64bit Binary</a><br>
<a href="https://github.com/Theverat/ElementaryCellularAutomaton">Sourcecode auf GitHub</a>
</p>
<p>Simon (piggeldy@whackspace.org)</p>
</article>
<?php if (have_posts()) :?>
<?php $postCount=0; ?>
<?php while (have_posts()) : the_post();?>
<?php $postCount++;?>
<article>
<h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
<div class="meta">
<span class="author">By <?php if ( function_exists( 'coauthors_posts_links' ) ) { coauthors_posts_links(null," und ",null,null,true);} else { the_author_posts_link();} ?></span>
<time><?php the_time('F j, Y'); ?> at <?php the_time('g:i a'); ?></time>
<?php comments_popup_link('0', '1', '%', 'comment-count'); ?>
</div>
</div>
<div class="content">
<?php the_content(); ?>
<span class="filedto">Posted in <?php the_category(', ') ?><?php edit_post_link($link,' - '); ?></span>
<div id="title">
<h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
<div class="meta">
<span class="author">By <?php if ( function_exists( 'coauthors_posts_links' ) ) { coauthors_posts_links(null," und ",null,null,true);} else { the_author_posts_link();} ?></span>
<time><?php the_time('F j, Y'); ?> at <?php the_time('g:i a'); ?></time>
<?php comments_popup_link('0', '1', '%', 'comment-count'); ?>
</div>
</div>
<div class="content">
<?php the_content(); ?>
<span class="filedto">Posted in <?php the_category(', ') ?><?php edit_post_link($link,' - '); ?></span>
</div>
<br>
<?php comments_template(); ?>
</article>
<?php comments_template(); ?>
<?php endwhile; ?>
<?php else : ?>
<article>
......@@ -100,15 +69,12 @@
</article>
<?php endif; ?>
</section> <!-- content -->
<footer>
<ul>
<?php wp_list_pages('depth=1&title_li='); ?>
<li>Webdesign und Programmierung: Simon Wendsche</li>
<li>proudly made without caring for Micro$oft(TM) Internet Explorer</li>
<?php wp_list_pages('depth=1&title_li=|'); ?>
<li>Webdesign und Programmierung: Simon Wendsche | proudly made without caring for Micro$oft(TM) Internet Explorer</li>
</ul>
<footer>
<?php wp_footer(); ?>
</body>
</html>
\ No newline at end of file
......@@ -78,6 +78,17 @@ footer {
*/
}
footer ul {
float: left;
list-style-type: none;
margin: 0px;
}
footer ul li {
padding-right: 15px;
margin: 0px;
display: inline-block;
}
article {
margin-bottom: 1em;
position: relative;
......@@ -94,6 +105,26 @@ article {
-webkit-box-shadow: -4px 8px 36px 0px rgba(0,0,0,0.4);
-moz-box-shadow: -4px 8px 36px 0px rgba(0,0,0,0.4);
box-shadow: -4px 8px 36px 0px rgba(0,0,0,0.4);
overflow: auto;
}
article .meta,.filedto {
float: right;
color: #7F7F7F;
}
article .meta,.filedto a {
color: #7F7F7F;
}
article h2 {
float: left;
}
article #title {
overflow: hidden;
width: 100%;
}
.infobox {
......@@ -101,7 +132,7 @@ article {
top: 0px;
left: 100%;
min-width: 200px;
max-width: 300px;
max-width: 280px;
margin-left: 2em;
margin-right: 1em;
......@@ -154,11 +185,16 @@ h2 {
font-size: 1.4em;
}
h2 a{
text-decoration: none;
color: black;
}
h1, h2, h3, h4, h5, h6 {
text-rendering: optimizeLegibility;
}
footer p {
footer {
color: #ddd;
font-size: 80%;
}
......@@ -228,7 +264,7 @@ img {
margin-right: 0.05em;
margin-bottom: 1em;
padding: 0.8em;
padding: 1em;
font-size: 100%;
border: 2px double #777;
......
......@@ -23,15 +23,18 @@
"file": "index.php",
"settings":
{
"buffer_size": 2717,
"buffer_size": 2709,
"line_ending": "Unix"
}
},
{
"contents": "body {\n /*background-image: url(../whack-img/triangular.png);*/\n background-color: black;\n background-image: url('images/background.png');\n background-repeat: repeat;\n \n font: 76% \"Lucida Sans Unicode\", verdana, helvetica, sans-serif;\n font-family: 'Lucida Sans Unicode', verdana, helvetica, sans-serif;\n font-size: 90%;\n font-style: normal;\n font-variant: normal;\n font-weight: normal;\n line-height: 120%;\n}\n\nheader {\n width: auto;\n max-width: 1000px;\n margin: 3em;\n margin-left: auto;\n margin-right: auto;\n text-align: center;\n /*\n background-color: #ffffff;\n\n border-radius: 11px 11px 11px 11px;\n -moz-border-radius: 11px 11px 11px 11px;\n -webkit-border-radius: 11px 11px 11px 11px;\n border: 5px double #e0e0e0;\n */\n /* box shadow */\n /*\n -webkit-box-shadow: -4px 8px 36px 0px rgba(0,0,0,0.4);\n -moz-box-shadow: -4px 8px 36px 0px rgba(0,0,0,0.4);\n box-shadow: -4px 8px 36px 0px rgba(0,0,0,0.4);\n */\n}\n\nheader img {\n max-width: 70%;\n margin-top: 0.5em;\n margin-bottom: 0.2em;\n}\n\n#content {\n min-width: 700px;\n max-width: 1000px;\n position: relative;\n margin-left: auto;\n margin-right: auto;\n}\n\nfooter {\n clear: both;\n \n font-size: 0.8em;\n text-align: center;\n\n width: auto;\n max-width: 1000px;\n margin-bottom: 1em;\n margin-left: auto;\n margin-right: auto;\n margin-top: 3em;\n /*\n background-color: #eeeeee;\n\n border-radius: 11px;\n -moz-border-radius: 11px;\n -webkit-border-radius: 11px;\n border: 5px double #e0e0e0;\n */\n /* box shadow */\n /*\n -webkit-box-shadow: -4px 8px 36px 0px rgba(0,0,0,0.4);\n -moz-box-shadow: -4px 8px 36px 0px rgba(0,0,0,0.4);\n box-shadow: -4px 8px 36px 0px rgba(0,0,0,0.4);\n */\n}\n\nfooter ul {\n float: left;\n list-style-type: none;\n margin: 0px;\n}\nfooter ul li {\n padding-right: 15px;\n margin: 0px;\n display: inline-block;\n}\n\narticle {\n margin-bottom: 1em;\n position: relative;\n background-color: #ffffff;\n \n padding: 1em;\n\n border-radius: 11px 11px 11px 11px;\n -moz-border-radius: 11px 11px 11px 11px;\n -webkit-border-radius: 11px 11px 11px 11px;\n border: 5px double #e0e0e0;\n\n /* box shadow */\n -webkit-box-shadow: -4px 8px 36px 0px rgba(0,0,0,0.4);\n -moz-box-shadow: -4px 8px 36px 0px rgba(0,0,0,0.4);\n box-shadow: -4px 8px 36px 0px rgba(0,0,0,0.4);\n}\n\n.meta {\n float: right;\n color: ;\n}\n\n.infobox {\n position: absolute;\n top: 0px;\n left: 100%;\n min-width: 200px;\n max-width: 300px;\n margin-left: 2em;\n margin-right: 1em;\n \n padding: 0.4em;\n font-size: 80%;\n line-height: 100%;\n \n background-color: rgba(171, 25, 36, 1);\n\n border-radius: 11px;\n -moz-border-radius: 11px;\n -webkit-border-radius: 11px;\n border: 5px double #777;\n\n /* box shadow */\n -webkit-box-shadow: -4px 8px 36px 0px rgba(0,0,0,0.4);\n -moz-box-shadow: -4px 8px 36px 0px rgba(0,0,0,0.4);\n box-shadow: -4px 8px 36px 0px rgba(0,0,0,0.4);\n}\n\n.impressum {\n max-width: 1000px;\n margin: 1em;\n margin-left: auto;\n margin-right: auto;\n background-color: #ffffff;\n \n padding: 1em;\n\n border-radius: 11px 11px 11px 11px;\n -moz-border-radius: 11px 11px 11px 11px;\n -webkit-border-radius: 11px 11px 11px 11px;\n border: 5px double #e0e0e0;\n\n /* box shadow */\n -webkit-box-shadow: -4px 8px 36px 0px rgba(0,0,0,0.4);\n -moz-box-shadow: -4px 8px 36px 0px rgba(0,0,0,0.4);\n box-shadow: -4px 8px 36px 0px rgba(0,0,0,0.4);\n\n font-family: arial, sans-serif;\n}\n\n/* Text-Stile */\n\nh1 {\n font-size: 2em;\n}\n\nh2 {\n font-size: 1.4em;\n}\n\nh2 a{\n text-decoration: none;\n color: black;\n}\n\nh1, h2, h3, h4, h5, h6 {\n text-rendering: optimizeLegibility;\n}\n\nfooter {\n color: #ddd;\n font-size: 80%;\n}\n\n.infobox h2 {\n word-wrap: break-word;\n}\n\n.infobox p, .infobox h2, .infobox ul {\n color: #fff;\n}\n\n.infobox ul {\n margin-left: -1.3em;\n}\n\np.img_text {\n font-size: 0.55em;\n margin-bottom: 0.5em;\n}\n\n/* Link-Stile */\n\nfooter a {\n color: #fff;\n}\n\n.infobox a {\n color: #fff;\n}\n\nimg {\n max-width: 100%;\n -webkit-border-radius: 0.3em;\n -moz-border-radius: 0.3em;\n border-radius: 0.3em;\n margin-top: 0.5em;\n margin-bottom: 0.2em;\n}\n\n/* Test: responsive Design */\n/* Für Smartphones */\n@media all and (max-width: 700px) { \n \n #content {\n min-width: 200px;\n max-width: 700px;\n margin-left: 0.05em;\n margin-right: 0.05em;\n }\n \n article {\n margin-bottom: 1em;\n \n padding: 0.8em;\n \n border: 2px double #e0e0e0;\n }\n \n .infobox {\n position: relative;\n top: 0;\n left: 0;\n min-width: 200px;\n max-width: 700px;\n margin-left: 0.05em;\n margin-right: 0.05em;\n margin-bottom: 1em;\n \n padding: 0.8em;\n font-size: 100%;\n \n border: 2px double #777;\n }\n \n header img {\n max-width: 100%;\n margin-top: 0.5em;\n margin-bottom: 0.2em;\n}\n}\n\n/* Für Lukas crappy Laptop ;) */\n@media all and (max-width: 1550px) and (min-width: 701px) { \n \n #content {\n width: 100%;\n min-width: 500px;\n max-width: 1000px;\n margin-left: 1em;\n }\n \n article {\n margin-left: 0.5em;\n margin-bottom: 1em;\n width: 73%;\n \n padding: 0.8em;\n \n border: 2px double #e0e0e0;\n }\n \n .infobox {\n left: 77%;\n width: 17%;\n min-width: 50px;\n max-width: 200px;\n margin-left: 0.5em;\n margin-right: auto;\n margin-bottom: 1em;\n \n padding: 0.8em;\n font-size: 80%;\n \n border: 2px double #777;\n }\n \n header img {\n max-width: 50%;\n margin-top: 0.5em;\n margin-bottom: 0.2em;\n}\n}\n",
"file": "style.css",
"file_size": 5096,
"file_write_time": 130441038236001647,
"settings":
{
"buffer_size": 5055,
"buffer_size": 5104,
"line_ending": "Unix"
}
}
......@@ -71,7 +74,11 @@
},
"console":
{
"height": 243.0
"height": 243.0,
"history":
[
"import urllib.request,os,hashlib; h = '7183a2d3e96f11eeadd761d777e62404' + 'e330c659d4bb41d3bdf022e94cab3cd0'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by) "
]
},
"distraction_free":
{
......@@ -113,7 +120,7 @@
],
"find":
{
"height": 81.0
"height": 34.0
},
"find_in_files":
{
......@@ -127,6 +134,11 @@
"case_sensitive": false,
"find_history":
[
"articl",
"meta",
"h2",
"a{",
"article",
"footer",
"arti",
"header",
......@@ -178,23 +190,24 @@
"groups":
[
{
"selected": 0,
"selected": 1,
"sheets":
[
{
"buffer": 0,
"file": "index.php",
"semi_transient": false,
"settings":
{
"buffer_size": 2717,
"buffer_size": 2709,
"regions":
{
},
"selection":
[
[
2136,
2136
1462,
1462
]
],
"settings":
......@@ -203,25 +216,27 @@
"translate_tabs_to_spaces": false
},
"translation.x": 0.0,
"translation.y": 481.0,
"translation.y": 302.0,
"zoom_level": 1.0
},
"stack_index": 1,
"type": "text"
},
{
"buffer": 1,
"file": "style.css",
"semi_transient": false,
"settings":
{
"buffer_size": 5055,
"buffer_size": 5104,
"regions":
{
},
"selection":
[
[
1756,
1756
2218,
2218
]
],
"settings":
......@@ -230,9 +245,10 @@
"translate_tabs_to_spaces": false
},
"translation.x": 0.0,
"translation.y": 576.0,
"translation.y": 925.0,
"zoom_level": 1.0
},
"stack_index": 0,
"type": "text"
}
]
......@@ -240,7 +256,7 @@
],
"incremental_find":
{
"height": 0.0
"height": 23.0
},
"input":
{
......@@ -273,6 +289,10 @@
{
"height": 252.0
},
"output.find_results":
{
"height": 0.0
},
"output.git-commit":
{
"height": 100.0
......@@ -281,9 +301,10 @@
{
"height": 100.0
},
"project": "web-whackspace.sublime-project",
"replace":
{
"height": 0.0
"height": 42.0
},
"save_all_on_build": true,
"select_file":
......@@ -302,10 +323,24 @@
],
"width": 380.0
},
"select_symbol":
{
"height": 0.0,
"selected_items":
[
],
"width": 0.0
},
"settings":
{
},
"show_minimap": false,
"show_open_files": false,
"show_tabs": true,
"side_bar_visible": true,
"side_bar_width": 261.0,
"status_bar_visible": true
"status_bar_visible": true,
"template_settings":
{
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment