Browse Source

:partly_sunny:

windhamdavid 4 years ago
parent
commit
62511c8785
5 changed files with 32 additions and 27 deletions
  1. 11 9
      archive.php
  2. 1 1
      inc/utils.php
  3. 7 7
      page-desk.php
  4. 13 10
      style.css
  5. 0 0
      v3-style.min.css

+ 11 - 9
archive.php

@@ -3,14 +3,16 @@
 	<div class="container">
 	<div class="container">
 		<div id="content" role="main">
 		<div id="content" role="main">
 			<div class="entry-content archive-page">
 			<div class="entry-content archive-page">
-				<div class="row">					
+				<div class="row">
 					<?php if ( have_posts() ) : ?>
 					<?php if ( have_posts() ) : ?>
 					<header class="page-header">
 					<header class="page-header">
 						<h1 class="super cm-sans wow fadeInRight"><?php the_time('Y'); ?></h1>
 						<h1 class="super cm-sans wow fadeInRight"><?php the_time('Y'); ?></h1>
 					</header>
 					</header>
+        </div>
+        <div class="row">
 					<?php while ( have_posts() ) : the_post();?>
 					<?php while ( have_posts() ) : the_post();?>
-					
-					<div class="col-sm-6">		
+
+					<div class="col-sm-6">
 						<div class="archive-thumbnail">
 						<div class="archive-thumbnail">
 							<?php if ( has_post_thumbnail() ) : ?>
 							<?php if ( has_post_thumbnail() ) : ?>
 								<?php $img_url = wp_get_attachment_image_src(get_post_thumbnail_id(),'medium'); ?>
 								<?php $img_url = wp_get_attachment_image_src(get_post_thumbnail_id(),'medium'); ?>
@@ -20,25 +22,25 @@
 							<?php endif; ?>
 							<?php endif; ?>
 						</div>
 						</div>
 						<article class="archive-card">
 						<article class="archive-card">
-							<div class="entry-content">		
+							<div class="entry-content">
 								<h4><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( '%s', 'daw' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h4>
 								<h4><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( '%s', 'daw' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h4>
 								<?php dw_good_excerpt(210); ?>
 								<?php dw_good_excerpt(210); ?>
 							</div>
 							</div>
 						</article>
 						</article>
 					</div>
 					</div>
-		
+
 					<?php endwhile;
 					<?php endwhile;
 						dw_paging_nav();
 						dw_paging_nav();
 					else :
 					else :
-						printf( __( 'Nothing Found', 'dw' ));		
+						printf( __( 'Nothing Found', 'dw' ));
 						get_search_form();
 						get_search_form();
 					endif;
 					endif;
-					?>	
+					?>
 				</div>
 				</div>
 				<div class="clear">&nbsp;</div>
 				<div class="clear">&nbsp;</div>
 				<div class="row">
 				<div class="row">
 					<div id="nav-below" class="navigation">
 					<div id="nav-below" class="navigation">
-						<?php 		
+						<?php
 							$archive_year = get_the_date('U');
 							$archive_year = get_the_date('U');
 							$old_archive = date("Y",strtotime('-1 year', $archive_year));
 							$old_archive = date("Y",strtotime('-1 year', $archive_year));
 							$new_archive = date("Y",strtotime('+1 year', $archive_year));
 							$new_archive = date("Y",strtotime('+1 year', $archive_year));
@@ -54,4 +56,4 @@
 			</div>
 			</div>
 		</div>
 		</div>
 	</div>
 	</div>
-<?php get_footer('home'); ?>
+<?php get_footer('home'); ?>

+ 1 - 1
inc/utils.php

@@ -85,7 +85,7 @@ function pull_til() {
 	$i = 0;
 	$i = 0;
 	foreach ($html->find('.markdown-section ul li ul li') as $li) {
 	foreach ($html->find('.markdown-section ul li ul li') as $li) {
 	    echo $li;
 	    echo $li;
-		if (++$i == 13) break;
+		if (++$i == 17) break;
 	}
 	}
 }
 }
 function pull_til_all() {
 function pull_til_all() {

+ 7 - 7
page-desk.php

@@ -7,12 +7,12 @@ get_header(); ?>
 <?php get_template_part( 'underscore' ); ?>
 <?php get_template_part( 'underscore' ); ?>
 	<div class="container leader">
 	<div class="container leader">
 		<div class="row">
 		<div class="row">
-			<div class="col-sm-12">
+			<div class="col-md-12">
 				<h1 id="desk" class="cm-sans wow fadeInLeft">Desk</h1>
 				<h1 id="desk" class="cm-sans wow fadeInLeft">Desk</h1>
 			</div>
 			</div>
 		</div>
 		</div>
 		<div class="row desk">
 		<div class="row desk">
-			<div class="col-sm-5">
+			<div class="col-md-5">
 				<div class="entry-content">
 				<div class="entry-content">
 					<h4 class="georgia spread"><em><span class="firstcharacter">T</span>he internet is ok if you look in the right places. It's also awash with nonsense</em>. I'm just hoping not to contribute to the nonsense. I publish little essays, notes, ideas, images, or pretty much anything else I want to share here. This site started with mostly computer related ramblings, but I went elsewhere with it after I quit the social networks. I wrote a <a href="/my-personal-website/">post about this website</a>. The easiest way to quickly scan everything on it is through the <a href="/archive/">archive</a> or <a href="/sitemap/">sitemap</a> pages.
 					<h4 class="georgia spread"><em><span class="firstcharacter">T</span>he internet is ok if you look in the right places. It's also awash with nonsense</em>. I'm just hoping not to contribute to the nonsense. I publish little essays, notes, ideas, images, or pretty much anything else I want to share here. This site started with mostly computer related ramblings, but I went elsewhere with it after I quit the social networks. I wrote a <a href="/my-personal-website/">post about this website</a>. The easiest way to quickly scan everything on it is through the <a href="/archive/">archive</a> or <a href="/sitemap/">sitemap</a> pages.
             <br /><br />Feel free to <a href="/contact/">contact me</a> if you have any feedback, questions, or just want to say hello. <br /><br />Thanks for the visit,</h4>
             <br /><br />Feel free to <a href="/contact/">contact me</a> if you have any feedback, questions, or just want to say hello. <br /><br />Thanks for the visit,</h4>
@@ -20,7 +20,7 @@ get_header(); ?>
 					<img src="<?php echo get_template_directory_uri() . '/img/desk.png'; ?>" alt="Who Needs a Computer Anyway?" width="90%" style="margin:100px 10px;border:3px solid #cecece"/>
 					<img src="<?php echo get_template_directory_uri() . '/img/desk.png'; ?>" alt="Who Needs a Computer Anyway?" width="90%" style="margin:100px 10px;border:3px solid #cecece"/>
 				</div>
 				</div>
 			</div>
 			</div>
-			<div class="col-sm-4 studio-tools">
+			<div class="col-md-4 studio-tools">
 				<ul>
 				<ul>
 					<li>Recent Posts</li>
 					<li>Recent Posts</li>
 					<?php $recentposts = get_posts('numberposts=50'); foreach ($recentposts as $post) : setup_postdata($post); ?>
 					<?php $recentposts = get_posts('numberposts=50'); foreach ($recentposts as $post) : setup_postdata($post); ?>
@@ -29,12 +29,12 @@ get_header(); ?>
 					<li class="pull-right"><a href="<?php echo site_url(); ?>/archive/"><b>All Posts -></b></a></li>
 					<li class="pull-right"><a href="<?php echo site_url(); ?>/archive/"><b>All Posts -></b></a></li>
 				</ul>
 				</ul>
 			</div>
 			</div>
-			<div class="col-sm-3">
+			<div class="col-md-3">
 				<div class="row"style="padding:20px 0 0 0;">
 				<div class="row"style="padding:20px 0 0 0;">
 					<?php get_search_form(); ?>
 					<?php get_search_form(); ?>
 				</div>
 				</div>
 				<div class="row">
 				<div class="row">
-					<div class="col-xs-6 studio-tools">
+					<div class="col-md-6 studio-tools">
 						<ul>
 						<ul>
 							<?php wp_list_categories('orderby=name&exclude=1,7,44&title_li=Topics'); ?>
 							<?php wp_list_categories('orderby=name&exclude=1,7,44&title_li=Topics'); ?>
 						</ul>
 						</ul>
@@ -48,7 +48,7 @@ get_header(); ?>
 				</div>
 				</div>
 				<div class="row">
 				<div class="row">
 					<div class="col-xs-12 studio-tools">
 					<div class="col-xs-12 studio-tools">
-						<ul>
+						<ul class="tags">
 							<li>Tags</li>
 							<li>Tags</li>
 							<?php $tags = get_tags(); if ( $tags ) : foreach ( $tags as $tag ) : ?>
 							<?php $tags = get_tags(); if ( $tags ) : foreach ( $tags as $tag ) : ?>
 							<a href="<?php echo esc_url( get_tag_link( $tag->term_id ) ); ?>" title="<?php echo esc_attr( $tag->name ); ?>"><?php echo esc_html( $tag->name ); ?></a>,
 							<a href="<?php echo esc_url( get_tag_link( $tag->term_id ) ); ?>" title="<?php echo esc_attr( $tag->name ); ?>"><?php echo esc_html( $tag->name ); ?></a>,
@@ -57,7 +57,7 @@ get_header(); ?>
 					</div>
 					</div>
 				</div>
 				</div>
 				<div class="row">
 				<div class="row">
-					<div class="col-xs-12 studio-tools">
+					<div class="col-md-12 studio-tools">
 						<h5>Today I Learned</h5>
 						<h5>Today I Learned</h5>
 						<ul>
 						<ul>
 							<?php pull_til(); ?>
 							<?php pull_til(); ?>

+ 13 - 10
style.css

@@ -66,13 +66,13 @@ body.single {
 		color:#fff;
 		color:#fff;
 	}
 	}
 body.archive {
 body.archive {
-	background: rgba(85,94,104,0.68);
+	background: rgba(72,76,87,1);
 }
 }
 	body.archive .site-title a {
 	body.archive .site-title a {
 		color:#fff;
 		color:#fff;
 	}
 	}
 body.search {
 body.search {
-	background: rgba(242,242,242,.7);
+	background: rgba(72,76,87,1);
 }
 }
 	body.search .site-title a {
 	body.search .site-title a {
 		color:#fff;
 		color:#fff;
@@ -1915,15 +1915,13 @@ div#player{
 	font-weight: normal;
 	font-weight: normal;
 }
 }
 .nav-previous span.meta-nav {
 .nav-previous span.meta-nav {
-	color: #888;
-	font-size: 14px;
-	font-style: italic;
+	color: #555;
+	font-size: 18px;
 	font-weight: normal;
 	font-weight: normal;
 }
 }
 .nav-next span.meta-nav {
 .nav-next span.meta-nav {
-	color: #888;
-	font-size: 14px;
-	font-style: italic;
+	color: #555;
+	font-size: 16px;
 	font-weight: normal;
 	font-weight: normal;
 }
 }
 .page-title a:link,
 .page-title a:link,
@@ -2606,13 +2604,15 @@ img.me {
 	color: #ff4b33;
 	color: #ff4b33;
 }
 }
 .nav-previous {
 .nav-previous {
-	font-size:14px;
+	color: #333;
+	font-size: 15px;
 	float: left;
 	float: left;
 	width: 50%;
 	width: 50%;
 	margin: 0 0 15px 0;
 	margin: 0 0 15px 0;
 }
 }
 .nav-next {
 .nav-next {
-	font-size:14px;
+	color: #333;
+	font-size: 15px;
 	float: right;
 	float: right;
 	text-align: right;
 	text-align: right;
 	width: 50%;
 	width: 50%;
@@ -2868,6 +2868,9 @@ pre .variable.class {
 figcaption {
 figcaption {
   text-align:right;
   text-align:right;
 }
 }
+ul.tags {
+  font-size:14px;
+}
 #calendar {
 #calendar {
   color:#555;
   color:#555;
 }
 }

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


Some files were not shown because too many files changed in this diff