windhamdavid 5 years ago
parent
commit
6cbc0dee1c
10 changed files with 2671 additions and 0 deletions
  1. 207 0
      card.css
  2. 81 0
      card.php
  3. 184 0
      css/card-ie.css
  4. 198 0
      css/card-mob.css
  5. 8 0
      footer.php
  6. 38 0
      header.php
  7. BIN
      img/3.png
  8. BIN
      img/gzet_50.png
  9. 126 0
      index.php
  10. 1829 0
      style.css

+ 207 - 0
card.css

@@ -0,0 +1,207 @@
+/* @override http://silverbullet.local/~david/trunk/david/wp-content/themes/daw/card.css */
+
+html, body, div, span, object, iframe,
+h1, h2, h3, h4, h5, h6, p, blockquote, pre,
+abbr, address, cite, code,
+del, dfn, em, img, ins, kbd, q, samp,
+small, strong, sub, sup, var,
+b, i,
+dl, dt, dd, ol, ul, li,
+fieldset, form, label, legend,
+table, caption, tbody, tfoot, thead, tr, th, td,
+article, aside, canvas, details, figcaption, figure, 
+footer, header, hgroup, menu, nav, section, summary,
+time, mark, audio, video {
+  margin:0;
+  padding:0;
+  border:0;
+  outline:0;
+  font-size:100%;
+  vertical-align:baseline;
+  background:transparent;
+}
+
+body {
+	line-height: 1;
+
+}
+h1, h2, h3, h4, h5, h6 {
+	clear: both;
+	font-weight: normal;
+}
+ol, ul {
+	list-style: none;
+}
+blockquote {
+	quotes: none;
+}
+blockquote:before, blockquote:after {
+	content: '';
+	content: none;
+}
+del {
+	text-decoration: line-through;
+}
+
+table {
+	border-collapse: collapse;
+	border-spacing: 0;
+}
+a img {
+	border: none;
+}
+.clear {
+	clear: both;
+}
+
+
+
+
+body {
+		background: rgba(160,160,160,0.73) url(img/3.png);
+}
+body,
+input,
+textarea {
+	color: #666;
+	font-size: 12px;
+	line-height: 18px;
+}
+hr {
+	background-color: #e7e7e7;
+	border: 0;
+	clear: both;
+	height: 1px;
+	margin-bottom: 18px;
+}
+
+/* Text elements */
+p {
+	font-size: 13px;
+	margin-bottom: 8px;
+}
+h4 {
+	font-size: 13px;
+	margin-bottom: 10px;
+}
+h3 {
+	font-size: 14px;
+	margin-bottom: 0px;
+}
+h2 {
+	font-size: 16px;
+	margin-left: 25px;
+}
+	p.noindent {
+	margin-bottom: 10px;
+	text-indent : 0px;
+}
+a:link {
+	color: #000;
+	text-decoration: none;
+}
+a:visited {
+	color: #000;
+	text-decoration: none;
+}
+a:active,
+a:hover {
+	color: #757576;
+	text-decoration: none;
+}
+
+/* Text meant only for screen readers */
+.screen-reader-text {
+	position: absolute;
+	left: -9000px;
+}
+
+/* =Layout
+-------------------------------------------------------------- */
+body {
+  padding: 0;
+  margin: 0;
+}
+.header {
+	margin: 0 0 50px 0;
+}
+#container {
+	margin: 0 auto;
+	text-align: center;
+}
+#content {
+	margin: 150px auto;	
+	width:500px;
+	background: #fff;
+	padding: 20px;
+	border: 1px solid #dadada;
+}
+#content img {
+	float: left;
+	margin: -5px 0 -40px 95px;
+}
+#content .icons img {
+	margin: 3px;
+	float: none;
+}
+.card #content {
+	margin: 150px auto;
+	-webkit-animation-name: Rotation;
+	-webkit-animation-iteration-count: infinite;
+	-webkit-animation-timing-function: linear;
+	-webkit-animation-duration: 400s;
+	z-index:-1;
+	width:450px;
+	border-top: 1px solid #fff;
+    -webkit-box-shadow: 0px 3px 5px #cbcbcb;
+    -moz-box-shadow: 0px 3px 5px #cbcbcb;
+    box-shadow: 0px 3px 5px #cbcbcb;
+    -webkit-border-radius: 4px;
+    -moz-border-radius: 4px;
+    border-radius: 4px;
+
+}
+
+.bottom {
+	margin-top: 32px;
+}
+.bottom p {
+	margin: 0;
+}
+.bottom a {
+	color: #666;
+}
+.left-bottom {
+	float: left;
+	display: block;
+	text-align: left;
+	margin: 0px 0 0 50px;
+}
+.left-bottom p {
+	font-size: 9px;
+}
+.right-bottom {
+
+	margin: 0px 50px 0 0;
+	text-align: right;
+	font-size: 9px;
+}
+.right-bottom p {
+	font-size: 9px;
+}
+.contact {
+	font-size: 12px;
+}
+
+
+
+@-webkit-keyframes Rotation {
+from {
+	-webkit-transform: rotate(0deg);
+	}
+
+to {
+	-webkit-transform: rotate(360deg);
+
+	}
+}

File diff suppressed because it is too large
+ 81 - 0
card.php


+ 184 - 0
css/card-ie.css

@@ -0,0 +1,184 @@
+html, body, div, span, object, iframe,
+h1, h2, h3, h4, h5, h6, p, blockquote, pre,
+abbr, address, cite, code,
+del, dfn, em, img, ins, kbd, q, samp,
+small, strong, sub, sup, var,
+b, i,
+dl, dt, dd, ol, ul, li,
+fieldset, form, label, legend,
+table, caption, tbody, tfoot, thead, tr, th, td,
+article, aside, canvas, details, figcaption, figure, 
+footer, header, hgroup, menu, nav, section, summary,
+time, mark, audio, video {
+  margin:0;
+  padding:0;
+  border:0;
+  outline:0;
+  font-size:100%;
+  vertical-align:baseline;
+  background:transparent;
+}
+
+body {
+	line-height: 1;
+
+}
+h1, h2, h3, h4, h5, h6 {
+	clear: both;
+	font-weight: normal;
+}
+ol, ul {
+	list-style: none;
+}
+blockquote {
+	quotes: none;
+}
+blockquote:before, blockquote:after {
+	content: '';
+	content: none;
+}
+del {
+	text-decoration: line-through;
+}
+
+table {
+	border-collapse: collapse;
+	border-spacing: 0;
+}
+a img {
+	border: none;
+}
+.clear {
+	clear: both;
+}
+
+
+
+
+body {
+		background: rgba(160,160,160,0.73) url(images/3.png);
+}
+body,
+input,
+textarea {
+	color: #666;
+	font-size: 12px;
+	line-height: 18px;
+}
+hr {
+	background-color: #e7e7e7;
+	border: 0;
+	clear: both;
+	height: 1px;
+	margin-bottom: 18px;
+}
+
+/* Text elements */
+p {
+	font-size: 13px;
+	margin-bottom: 8px;
+}
+h4 {
+	font-size: 13px;
+	margin-bottom: 10px;
+}
+h3 {
+	font-size: 14px;
+	margin-bottom: 0px;
+}
+h2 {
+	font-size: 16px;
+}
+	p.noindent {
+	margin-bottom: 10px;
+	text-indent : 0px;
+}
+a:link {
+	color: #000;
+	text-decoration: none;
+}
+a:visited {
+	color: #000;
+	text-decoration: none;
+}
+a:active,
+a:hover {
+	color: #757576;
+	text-decoration: none;
+}
+
+/* Text meant only for screen readers */
+.screen-reader-text {
+	position: absolute;
+	left: -9000px;
+}
+
+/* =Layout
+-------------------------------------------------------------- */
+body {
+  padding: 0;
+  margin: 0;
+}
+.header {
+	margin: 0 0 55px 0;
+}
+#container {
+	margin: 0 auto;
+	text-align: center;
+}
+#content {
+	margin: 150px auto;	
+	width:500px;
+	background: #fff;
+	padding: 20px;
+	border: 1px solid #dadada;
+}
+#content img {
+	float: left;
+	margin: -5px 0 -40px 65px;
+}
+.card #content {
+	margin: 150px auto;
+	width: 500px;
+//	-webkit-animation-name: Rotation;
+	-webkit-animation-iteration-count: infinite;
+	-webkit-animation-timing-function: linear;
+	-webkit-animation-duration: 400s;
+	z-index:-1;
+	border-top: 1px solid #fff;
+    -webkit-box-shadow: 0px 3px 5px #cbcbcb;
+    -moz-box-shadow: 0px 3px 5px #cbcbcb;
+    box-shadow: 0px 3px 5px #cbcbcb;
+    -webkit-border-radius: 4px;
+    -moz-border-radius: 4px;
+    border-radius: 4px;
+
+}
+
+.bottom {
+	margin-top: 50px;
+}
+.bottom p {
+	margin: 0;
+}
+.left-bottom {
+	float: left;
+	display: block;
+	text-align: left;
+	margin: 0px 0 0 50px;
+}
+.left-bottom p {
+	font-size: 9px;
+}
+.right-bottom {
+
+	margin: 0px 50px 0 0;
+	text-align: right;
+	font-size: 9px;
+}
+.right-bottom p {
+	font-size: 9px;
+}
+.contact {
+	font-size: 12px;
+}

+ 198 - 0
css/card-mob.css

@@ -0,0 +1,198 @@
+html, body, div, span, object, iframe,
+h1, h2, h3, h4, h5, h6, p, blockquote, pre,
+abbr, address, cite, code,
+del, dfn, em, img, ins, kbd, q, samp,
+small, strong, sub, sup, var,
+b, i,
+dl, dt, dd, ol, ul, li,
+fieldset, form, label, legend,
+table, caption, tbody, tfoot, thead, tr, th, td,
+article, aside, canvas, details, figcaption, figure, 
+footer, header, hgroup, menu, nav, section, summary,
+time, mark, audio, video {
+  margin:0;
+  padding:0;
+  border:0;
+  outline:0;
+  font-size:100%;
+  vertical-align:baseline;
+  background:transparent;
+}
+
+body {
+	line-height: 1;
+
+}
+h1, h2, h3, h4, h5, h6 {
+	clear: both;
+	font-weight: normal;
+}
+ol, ul {
+	list-style: none;
+}
+blockquote {
+	quotes: none;
+}
+blockquote:before, blockquote:after {
+	content: '';
+	content: none;
+}
+del {
+	text-decoration: line-through;
+}
+
+table {
+	border-collapse: collapse;
+	border-spacing: 0;
+}
+a img {
+	border: none;
+}
+.clear {
+	clear: both;
+}
+
+
+
+
+body {
+		background: rgba(160,160,160,0.73) url(images/3.png);
+}
+body,
+input,
+textarea {
+	color: #666;
+	font-size: 12px;
+	line-height: 18px;
+}
+hr {
+	background-color: #e7e7e7;
+	border: 0;
+	clear: both;
+	height: 1px;
+	margin-bottom: 18px;
+}
+
+/* Text elements */
+p {
+	font-size: 13px;
+	margin-bottom: 8px;
+}
+h4 {
+	font-size: 17px;
+	margin-bottom: 10px;
+}
+h3 {
+	font-size: 19px;
+	margin-bottom: 0px;
+}
+h2 {
+	font-size: 21px;
+}
+	p.noindent {
+	margin-bottom: 10px;
+	text-indent : 0px;
+}
+a:link {
+	color: #000;
+	text-decoration: none;
+}
+a:visited {
+	color: #000;
+	text-decoration: none;
+}
+a:active,
+a:hover {
+	color: #757576;
+	text-decoration: none;
+}
+
+/* Text meant only for screen readers */
+.screen-reader-text {
+	position: absolute;
+	left: -9000px;
+}
+
+/* =Layout
+-------------------------------------------------------------- */
+body {
+  padding: 0;
+  margin: 0;
+}
+.header {
+	margin: 0 0 55px 0;
+}
+#container {
+	margin: 0 auto;
+	text-align: center;
+}
+#content {
+	margin: 150px auto;	
+	width:500px;
+	background: #fff;
+	padding: 20px;
+	border: 1px solid #dadada;
+}
+#content img {
+	float: left;
+	margin: -5px 0 -40px 80px;
+}
+.card #content {
+	margin: 150px auto;
+//	-webkit-animation-name: Rotation;
+	-webkit-animation-iteration-count: infinite;
+	-webkit-animation-timing-function: linear;
+	-webkit-animation-duration: 400s;
+	z-index:-1;
+	width:550px;
+	border-top: 1px solid #fff;
+    -webkit-box-shadow: 0px 3px 5px #cbcbcb;
+    -moz-box-shadow: 0px 3px 5px #cbcbcb;
+    box-shadow: 0px 3px 5px #cbcbcb;
+    -webkit-border-radius: 4px;
+    -moz-border-radius: 4px;
+    border-radius: 4px;
+
+}
+
+.bottom {
+	margin-top: 50px;
+}
+.bottom p {
+	margin: 0;
+	font-size: 9px;
+}
+.left-bottom {
+	float: left;
+	display: block;
+	text-align: left;
+	margin: 0px 0 0 50px;
+}
+.left-bottom p {
+	font-size: 9px;
+}
+.right-bottom {
+
+	margin: 0px 50px 0 0;
+	text-align: right;
+	font-size: 9px;
+}
+.right-bottom p {
+	font-size: 9px;
+}
+.contact {
+	font-size: 12px;
+}
+
+
+
+@-webkit-keyframes Rotation {
+from {
+	-webkit-transform: rotate(0deg);
+	}
+
+to {
+	-webkit-transform: rotate(360deg);
+
+	}
+}

+ 8 - 0
footer.php

@@ -0,0 +1,8 @@
+
+	</div>
+	<div id="footer" role="contentinfo">
+	</div>
+</div>
+<?php wp_footer(); ?>
+</body>
+</html>

+ 38 - 0
header.php

@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html <?php language_attributes(); ?>>
+<head>
+<meta charset="<?php bloginfo( 'charset' ); ?>" />
+<title><?php global $page, $paged;
+	wp_title( '|', true, 'right' );
+	bloginfo( 'name' );
+	$site_description = get_bloginfo( 'description', 'display' );
+	if ( $site_description && ( is_home() || is_front_page() ) )
+		echo " | $site_description";
+	if ( $paged >= 2 || $page >= 2 )
+		echo ' | ' . sprintf( __( 'Page %s', 'daw' ), max( $paged, $page ) );
+	?></title>
+<link rel="profile" href="http://gmpg.org/xfn/11" />
+<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
+<?php if ( is_page_template('single.php') && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); wp_enqueue_script("jquery"); wp_head(); ?>
+<script type="text/javascript">var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-1906067-6']); _gaq.push(['_trackPageview']);(function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();</script>
+</head>
+<body>
+<div id="wrapper" class="hfeed">
+	<div id="header">
+		<div id="masthead">
+			<div id="branding" role="banner">
+				<div id="site-title">
+					<span><a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span>
+					</div> 
+			</div>
+			<div id="access" role="navigation">
+				 <!-- <?php wp_nav_menu( array( 'menu' => 'main','sort_column' => 'menu_order', 'container_class' => 'menu-header' ) ); ?> -->
+				<div class="subnav">
+					<!-- <?php if($post->post_parent) $children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0"); else $children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0"); if ($children) { ?>
+					 <ul><?php echo $children; ?></ul>
+					  <?php } ?> -->
+				</div>
+			</div>
+		</div>
+	</div>
+	<div id="main">

BIN
img/3.png


BIN
img/gzet_50.png


+ 126 - 0
index.php

@@ -0,0 +1,126 @@
+<?php get_header(); ?>
+		<div id="container">
+			<div id="content" role="main">
+				<?php while ( have_posts() ) : the_post(); ?>
+				<?php /* How to display posts in the Gallery category. */ ?>
+					<?php if ( in_category( _x('gallery', 'gallery category slug', 'daw') ) ) : ?>
+						<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+							<h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'daw' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
+							<div class="entry-meta">
+								<?php daw_posted_on(); ?>
+							</div><!-- .entry-meta -->
+							<div class="entry-content">
+				<?php if ( post_password_required() ) : ?>
+								<?php the_content(); ?>
+				<?php else : ?>			
+								<?php 
+									$images = get_children( array( 'post_parent' => $post->ID, 'post_type' => 'attachment', 'post_mime_type' => 'image', 'orderby' => 'menu_order', 'order' => 'ASC', 'numberposts' => 999 ) );
+									if ( $images ) :
+										$total_images = count( $images );
+										$image = array_shift( $images );
+										$image_img_tag = wp_get_attachment_image( $image->ID, 'thumbnail' );
+								?>
+										<div class="gallery-thumb">
+											<a class="size-thumbnail" href="<?php the_permalink(); ?>"><?php echo $image_img_tag; ?></a>
+										</div><!-- .gallery-thumb -->
+										<p><em><?php printf( __( 'This gallery contains <a %1$s>%2$s photos</a>.', 'daw' ),
+												'href="' . get_permalink() . '" title="' . sprintf( esc_attr__( 'Permalink to %s', 'daw' ), the_title_attribute( 'echo=0' ) ) . '" rel="bookmark"',
+												$total_images
+											); ?></em></p>
+								<?php endif; ?>
+										<?php the_excerpt(); ?>
+				<?php endif; ?>
+							</div><!-- .entry-content -->
+
+							<div class="entry-utility">
+								<a href="<?php echo get_term_link( _x('gallery', 'gallery category slug', 'daw'), 'category' ); ?>" title="<?php esc_attr_e( 'View posts in the Gallery category', 'daw' ); ?>"><?php _e( 'More Galleries', 'daw' ); ?></a>
+								<span class="meta-sep">|</span>
+								<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'daw' ), __( '1 Comment', 'daw' ), __( '% Comments', 'daw' ) ); ?></span>
+								<?php edit_post_link( __( 'Edit', 'daw' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?>
+							</div><!-- .entry-utility -->
+						</div><!-- #post-## -->
+
+				<?php /* How to display posts in the asides category */ ?>
+
+					<?php elseif ( in_category( _x('asides', 'asides category slug', 'daw') ) ) : ?>
+						<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+
+						<?php if ( is_archive() || is_search() ) : // Display excerpts for archives and search. ?>
+							<div class="entry-summary">
+								<?php the_excerpt(); ?>
+							</div><!-- .entry-summary -->
+						<?php else : ?>
+							<div class="entry-content">
+								<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'daw' ) ); ?>
+							</div><!-- .entry-content -->
+						<?php endif; ?>
+
+							<div class="entry-utility">
+								<?php daw_posted_on(); ?>
+								<span class="meta-sep">|</span>
+								<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'daw' ), __( '1 Comment', 'daw' ), __( '% Comments', 'daw' ) ); ?></span>
+								<?php edit_post_link( __( 'Edit', 'daw' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?>
+							</div><!-- .entry-utility -->
+						</div><!-- #post-## -->
+
+				<?php /* How to display all other posts. */ ?>
+
+					<?php else : ?>
+						<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+							<h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'daw' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
+
+							<div class="entry-meta">
+								<?php daw_posted_on(); ?>
+							</div><!-- .entry-meta -->
+
+					<?php if ( is_archive() || is_search() ) : // Only display excerpts for archives and search. ?>
+							<div class="entry-summary">
+								<?php the_excerpt(); ?>
+							</div><!-- .entry-summary -->
+					<?php else : ?>
+							<div class="entry-content">
+								<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'daw' ) ); ?>
+								<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'daw' ), 'after' => '</div>' ) ); ?>
+							</div><!-- .entry-content -->
+					<?php endif; ?>
+
+							<div class="entry-utility">
+								<?php if ( count( get_the_category() ) ) : ?>
+									<span class="cat-links">
+										<?php printf( __( '<span class="%1$s">Posted in</span> %2$s', 'daw' ), 'entry-utility-prep entry-utility-prep-cat-links', get_the_category_list( ', ' ) ); ?>
+									</span>
+									<span class="meta-sep">|</span>
+								<?php endif; ?>
+								<?php
+									$tags_list = get_the_tag_list( '', ', ' );
+									if ( $tags_list ):
+								?>
+									<span class="tag-links">
+										<?php printf( __( '<span class="%1$s">Tagged</span> %2$s', 'daw' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?>
+									</span>
+									<span class="meta-sep">|</span>
+								<?php endif; ?>
+								<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'daw' ), __( '1 Comment', 'daw' ), __( '% Comments', 'daw' ) ); ?></span>
+								<?php edit_post_link( __( 'Edit', 'daw' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?>
+							</div><!-- .entry-utility -->
+						</div><!-- #post-## -->
+
+						<?php comments_template( '', true ); ?>
+
+					<?php endif; // This was the if statement that broke the loop into three parts based on categories. ?>
+
+				<?php endwhile; // End the loop. Whew. ?>
+
+				<?php /* Display navigation to next/previous pages when applicable */ ?>
+				<?php if (  $wp_query->max_num_pages > 1 ) : ?>
+								<div id="nav-below" class="navigation">
+									<div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">&larr;</span> Older posts', 'daw' ) ); ?></div>
+									<div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'daw' ) ); ?></div>
+								</div><!-- #nav-below -->
+				<?php endif; ?>
+			
+			</div><!-- #content -->
+		</div><!-- #container -->
+
+<?php get_sidebar(); ?>
+<?php get_footer(); ?>

File diff suppressed because it is too large
+ 1829 - 0
style.css