windhamdavid 5 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

File diff suppressed because it is too large
+ 88 - 0
front-page.php


+ 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;