windhamdavid 10 years ago
parent
commit
99d6444f41
4 changed files with 128 additions and 9 deletions
  1. 88 0
      front-page.php
  2. 7 2
      page-home.php
  3. 3 2
      search.php
  4. 30 5
      style.css

+ 88 - 0
front-page.php

@@ -0,0 +1,88 @@
+<?php
+/**
+ * Template Name: Card
+ */
+ ?>
+<!--
+	     .     . .              .       .  . 
+	. . ...-..-| |-. .-. .-.-..-| .-.. ...-| 
+	 ` ` '' '`-'-' '-`-`-' ' '`-'-`-`-` '`-'-
+-->
+<!DOCTYPE html>
+<html <?php language_attributes(); ?>>
+<head>
+<meta charset="<?php bloginfo( 'charset' ); ?>" />
+<meta http-equiv="X-UA-Compatible" content="IE=edge" /> 
+<title>David A. Windham</title>
+<meta name="description" content="David A. Windham - Zeken Woozer Enterprises, Un-Ltd. South Carolina USA" />
+<meta name="author" content="David Windham">
+<link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri();?>/card.css"/>
+<link media="only screen and (max-device-width: 480px)" href="<?php echo get_template_directory_uri();?>/css/card-mob.css" type="text/css" rel="stylesheet" />
+<script type='text/javascript' src='https://code.jquery.com/jquery-1.11.0.min.js'></script><!--https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js-->
+<script type="text/javascript" src="<?php echo get_template_directory_uri();?>/js/card.js"></script>
+<!--[if lt IE 9]>
+<link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri();?>/css/card-ie.css"/>
+<script src="<?php echo get_template_directory_uri();?>/js/html5shiv.js" type="text/javascript"></script>
+<![endif]-->
+</head>
+<body>
+	<div id="wrapper" class="hfeed"> 
+		<div id="main"> 
+			<div id="container" class="card">
+				<div id="content" class "hentry" role="main"> 
+					<div class="header">
+						&nbsp;		
+					</div>
+					<img src="<?php echo get_template_directory_uri();?>/img/dw.png" width="25" alt="daw"/>
+					<h2 class="entry-title"><a href="http://zekenwoozer.com/" title="David A. Windham" rel="home">&nbsp;&nbsp;Zeken Wo&#246;zer Enterprises, Un-Ltd.</a></h2>
+					<h4>South Carolina USA</h4>
+					<h3 class="vcard author"><a href="https://davidawindham.com/" title="David A. Windham" rel="home">David A. Windham</a></h3>
+					<p>au&middot;to&middot;di&middot;dact &nbsp; rac&middot;on&middot;teur</p>
+					<div class="contact">803-712-3283 - <script type="text/javascript"> 
+					//<![CDATA[
+
+					function hiveware_enkoder(){var i,j,x,y,x=
+					"x=\"3.r87dx:7=\\\"57|A;7&;:7<7:7h6=767:7:7878767::<7:7:7:75777;7;7879767::" +
+					"=787:7:78797:7::5797;7;7:787:76:=797:7;787;7:7;75767;7:7;7=7:7;7=787:::797" +
+					"97:76787<7:767<767:77:5777:::787576:679747:7:777<7::;7:767:::787977::777:7" +
+					"6:7::787:79:57777:67976767::678767:7=7577::767=777::47777:;7668767::f;:7=7" +
+					"7:h657;6:7;787f::7::57j;;766:7<::7=7=7h7:74787f:87=747g;:7<687i::7g:579:;7" +
+					"i::7;;:78:=7<7:7f:87=6:7f757h7;766;7=;:7f;=7=6::f797h;:79:87i::79;<77::77:" +
+					"575;::4:87966:<697;6:79677;6::f;:7<6::i;877;7:9::76;;77;778;;76697<::7=667" +
+					"g7::6657=6:7=797f;:7h;77=&;7?}87A+7:+?87js;7v,67mA:74?97m@7:|257pi:7rk87xl" +
+					":7?m57/A;76-:7!}:7/A=7yr:7iw87ge:7ti57,+;7)+;7/|:72w=7yf::wx97v,:7m0876-:7" +
+					"-?<7#}:7\\\";57y=::''87;x6:=u97ne:7sc77ap::e(:7x)::;f87or9:(i77=067;i67<x;" +
+					"7.l87en:7gt=7h;;7i+87+)::{j77=x:7.c97ha7:rC87od9:eA77t(67i)67-4:7;i77f(::j" +
+					"<:732::)j97+=;79487;y:7+=57St:7ri77ng;7.f87ro9:mC77ha67rC67od7:e(97j):7}y\""+
+					";j=eval(x.charAt(0));x=x.substr(1);y='';for(i=0;i<x.length;i+=4){y+=x.subs" +
+					"tr(i,2);}for(i=2;i<x.length;i+=4){y+=x.substr(i,2);}y=y.substr(j);";
+					while(x=eval(x));}hiveware_enkoder();
+
+					//]]>
+					</script>
+					 - <a href="https://keybase.io/windhamdavid" title="David Windham Keybase">keys</a>
+					</div>
+					<div class="bottom">
+						<p><a href="https://plus.google.com/+DavidWindham1?rel=author" rel="me">Used Cars</a> - <a href="http://en.wikipedia.org/wiki/User:Windhamdavid rel="me"">Land</a> - <a href="http://twitter.com/windhamdavid" rel="me">Whiskey</a> - <a href="http://facebook.com/windhamdavid" rel="me">Manure</a> - <a href="http://windhamdavid.tumblr.com/" rel="me">Nails</a> - <a href="http://vimeo.com/windhamdavid" rel="me">Fly Swatters</a> - <a href="http://davidawindham.com/lemon-tomato-onion-garlic-leek-zinnias/">Art</a> - <a href="http://davidawindham.com/radio">Bongos</a></p>
+						<p><a href="http://github.com/windhamdavid" rel="me">Lions Tamed</a> - <a href="http://sandbox.davidawindham.com">Bars Emptied</a> - <a href="https://cantbuymelove.org/">Love</a> - <a href="http://64.207.154.37/">Computers Verified</a> - <a href="http://gzet.net">Uprisings Quelled</a></p>
+					</div>
+
+				</div> 
+			</div> 
+		</div> 
+		<div id="footer" role="contentinfo">
+
+		</div> 
+	</div>
+	<script>
+	  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+	  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+	  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+	  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+	  ga('create', 'UA-1906067-6', 'davidawindham.com');
+	  ga('send', 'pageview');
+
+	</script>
+</body> 
+</html>

+ 7 - 2
page-home.php

@@ -1,5 +1,10 @@
-<?php get_header('home'); ?>
-	<video id="tv" preload="none" loop="loop" poster="wp-content/themes/dw/img/tv.jpg">
+<?php
+/*
+Template Name: Home
+*/
+
+get_header('home'); ?>
+	<video id="tv" preload="none" loop="loop" poster="<?php echo get_template_directory_uri();?>/img/tv.jpg">
 	     <source src="<?php echo get_template_directory_uri();?>/img/tv.mp4" type="video/mp4">
 	     <source src="<?php echo get_template_directory_uri();?>/img/tv.webm" type="video/webm">
 	</video>

+ 3 - 2
search.php

@@ -1,7 +1,7 @@
 <?php get_header(); ?>
+
 	<div class="container">
-		<div id="content" role="main">
-			<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+		<article id="content" class="single" role="main">
 				<div class="entry-content">
 					<?php if ( have_posts() ) : ?>
 					<header class="page-header">
@@ -27,4 +27,5 @@
 			</div>
 		</div>
 	</div>
+	
 <?php get_footer(); ?>

+ 30 - 5
style.css

@@ -133,7 +133,6 @@ body {
 	-webkit-font-smoothing: antialiased !important;
 	text-rendering: optimizeLegibility !important;
 	font-weight: normal;
-	font-family: "Computer Modern";
 	font-size: 16px;
 	line-height: 1.42857143;
 }
@@ -200,6 +199,9 @@ h1.super {
   .site-title {
   	font-size: 25px;
   }
+  article.single {
+  	padding: 70px 40px 70px;
+  }
 }
 @media (min-width: 992px) {
   .container {
@@ -859,6 +861,7 @@ ul.social li {
 .site-title {
 	float: right;
 	padding: 15px 0;
+	font-family: "Computer Modern";
 }
 .site-title a {
 	color: #333;
@@ -981,6 +984,9 @@ span.right {
 .entry-content ul {
 	margin: 10px 20px;
 }
+.entry-content ul.sitemap  {
+	margin: 0;
+}
 
 
 /*===== Wordpress =====*/
@@ -1175,7 +1181,9 @@ h2.entry-title {
 		clear: both;
 		padding: 3px 0 10px 0;
 	}
-
+.entry-content p {
+	font-family: "Computer Modern";
+}
 .entry-content h5 {
 	font: 14px "Courier New", Courier, mono;
 }
@@ -1295,6 +1303,26 @@ body.page .edit-link {
 	color: #777;
 	font: 14px/18px "Courier New", Courier, mono;
 }
+#content ul li li {
+	padding: 0 0 0 20px;
+}
+.list-group-horizontal .list-group-item {
+	display: inline-block;
+}
+.list-group-horizontal .list-group-item {
+	margin-bottom: 0;
+	margin-left:-2px;
+	margin-right: 0;
+}
+.list-group-horizontal .list-group-item:first-child {
+	border-top-right-radius:0;
+	border-bottom-left-radius:4px;
+}
+.list-group-horizontal .list-group-item:last-child {
+	border-top-right-radius:4px;
+	border-bottom-left-radius:0;
+}
+
 
 
 /*============================================
@@ -2028,9 +2056,6 @@ form .actions button{
   width: 20%;
   -webkit-text-size-adjust: none;
 }
-.timeline {
-	margin: 10px 20px 24px;
-}
 #music li.list-group-item {
 	padding: 5px 15px;
 	font-family: "Helvetica Neue", "Helvetica", Arial, sans-serif;