Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update

  • Loading branch information...
commit e3d70747f9b605a61f30799ebf3ed3cec5096213 1 parent b9014f4
@noeltock authored
View
68 css/nt_styles.less
@@ -68,7 +68,15 @@ span.notice {
background-color: @notice-bg;
padding:2px 4px;
.border-radius(2px);
- text-shadow: 0 1px 0 #fef6da;
+ text-shadow: 0 1px 0 rgba(255,255,255,.7);
+}
+
+span.notice-2 {
+ color: @nt-regular;
+ background-color: (@nt-regular + #888);
+ padding:2px 4px;
+ .border-radius(2px);
+ text-shadow: 0 1px 0 rgba(255,255,255,.5);
}
span.nt-active {
@@ -96,7 +104,7 @@ h1, h2, h3, h4, h5, h6{
color: ( @nt-regular - #111 );
font-weight:normal;
line-height: ( @baseline / 2 );
- margin: ( @baseline ) 0;
+ margin: ( @baseline * 0.8 ) 0;
}
@@ -119,15 +127,20 @@ h1#title-blog {
}
h1 {font-size:(@fontsize * 2)}
-h2 {font-size:(@fontsize * 1.5)}
-h3 {font-size:(@fontsize * 2)}
+h2 {font-size:(@fontsize * 2)}
+h3 {font-size:(@fontsize * 1.5)}
p, ul, ol, blockquote, img {
display:block;
font-size: @fontsize;
- margin: 0 0 ( @baseline ) 0;
}
+.post-content img {
+ margin: ( @baseline ) 0 ( @baseline ) 0;
+}
+
+.post-content p:first-child {margin-top:0px !important;}
+
/* Custom Typography
* ----------------------------------------------------------------- */
@@ -156,6 +169,7 @@ nav#topbar {
margin:0;
padding:7px;
.box-shadow;
+ overflow:auto;
}
nav#topbar #logo {
@@ -163,18 +177,22 @@ nav#topbar #logo {
}
nav#topbar #logo, nav#topbar #logo img {
- margin:0;
+ margin:0 !important;
+ padding:0 !important;
line-height:0px;
+ width:25px;
+ height:25px;
}
#navigation {
- float:right;
+ float:left;
width:60%;
+ overflow:auto;
}
#navigation .nav-link {
padding-left:40px;
- float:right;
+ float:left;
}
#navigation .nav-link a {
@@ -248,7 +266,7 @@ section#profile p {margin:0;padding:0;}
margin-right:0px !important;
}
-.flickr_badge_image img {.border-radius(20px);opacity:0.5;}
+.flickr_badge_image img {.border-radius(20px);opacity:0.5;margin:0;padding:0;}
.flickr_badge_image img:hover {opacity:1;}
@@ -273,10 +291,19 @@ section#profile p {margin:0;padding:0;}
}
#social-icons {
+ position:relative;
min-height:70px;
overflow:hidden !important;
}
+#social-icons-home {
+ position:relative;
+ min-height:70px;
+ overflow:hidden !important;
+ width:350px;
+ margin:0 auto;
+}
+
.social-outer-bg {
position:absolute;
top:0;
@@ -439,14 +466,26 @@ ul#primary-navigation li a:hover {
/* Home
* ----------------------------------------------------------------- */
+h1.home-title {
+ font-size:120px;
+ margin:60px 0 20px 0;
+ color:(@nt-regular - #333);
+}
+
+h2.home-tagline {
+ font-size:41px;
+ opacity:0.5;
+ margin:20px 0;
+}
+
.home-project {
padding-left:120px;
position:relative;
- min-height:120px;
+ min-height:110px;
}
.home-project .title {
- font-weight:bold;
+ font-family:@museo;
font-size:20px;
}
@@ -510,6 +549,13 @@ ul#primary-navigation li a:hover {
.border-radius(20px);
}
+.post img.nt-image2 {
+ .border-radius(20px);
+ .box-shadow (0px 0px 3px 1px rgba(0, 0, 0, 0.3));
+}
+
+
+
.like-this-post {
.border-radius(10px);
background-color:#ddd;
View
2  footer.php
@@ -8,7 +8,7 @@
</div> <!--! end of .container -->
<footer id="terminal-footer">
This site is proudly powered by
- <a href="http://wordpress.org/">WordPress</a>, and using my own theme, <a href="https://github.com/noeltock/noeltock-com">noeltock-com</a> - <?php echo get_num_queries(); ?> queries. <?php timer_stop(1); ?> seconds.
+ <a rel="nofollow" href="http://wordpress.org/">WordPress</a>, and using my own theme, <a rel="nofollow" href="https://github.com/noeltock/noeltock-com">noeltock-com</a> - <?php echo get_num_queries(); ?> queries. <?php timer_stop(1); ?> seconds.
</footer>
View
42 functions.php
@@ -1,39 +1,19 @@
<?php
-/**
- * @package WordPress
- * @subpackage HTML5_Boilerplate
- */
+// Definitions
+
+define( 'NT_ROOT', get_bloginfo( 'home_url' ) );
define( 'NT_THEME', get_bloginfo( 'template_directory' ) );
+// Includes
+
// include_once( NT_THEME . '/WPThumb/wpthumb.php' );
+// include_once( NT_THEME . '/cpt-bucketlist.php' );
+
+// WP Basics
add_theme_support( 'post-thumbnails' );
set_post_thumbnail_size( 50, 50, true );
-add_image_size( 'index-thumb', 100, 100, true ); // Footer Recent Posts & Freebies
-
-automatic_feed_links();
-
-// Widgetized Sidebar HTML5 Markup
-if ( function_exists('register_sidebar') ) {
- register_sidebar(array(
- 'before_widget' => '<section>',
- 'after_widget' => '</section>',
- 'before_title' => '<h4 class="widgettitle">',
- 'after_title' => '</h4>',
- ));
-}
-
-// social media
-
-function nt_socialmedia() {
- ?>
- <div class="socialmedia-wrapper">
- <div class="socialmedia">
- <g:plusone size="tall"></g:plusone>
- <div></div>
- <a href="https://twitter.com/share" class="twitter-share-button" data-count="vertical">Tweet</a><script type="text/javascript" src="//platform.twitter.com/widgets.js"></script>
- </div>
- </div>
- <?php
-}
+add_image_size( 'index-thumb', 100, 100, true );
+add_theme_support( 'automatic-feed-links' );
+?>
View
6 header.php
@@ -16,6 +16,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;">
+
<link rel="shortcut icon" href="/favicon.ico">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
@@ -64,9 +65,8 @@ function() {
<div class="row">
<div id="logo"><a href="<?php echo get_option('home'); ?>/"><img src="<?php echo NT_THEME; ?>/images/logo.png" alt="Noel Tock" /></a></div>
<div id="navigation">
- <div class="nav-link"><a href="">Blog</a></div>
- <div class="nav-link"><a href="">Projects</a></div>
- <div class="nav-link"><a href="">Home</a></div>
+ <div class="nav-link"><a href="<?php echo get_option('home'); ?>">Home</a></div>
+ <div class="nav-link"><a href="<?php echo get_option('home'); ?>/blog">Blog</a></div>
</div>
</div>
</nav>
View
92 index.html
@@ -1,92 +0,0 @@
-<!DOCTYPE html>
-<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
-<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
-<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
-<!--[if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]-->
-<head>
-
- <meta charset="utf-8">
- <title>Noel Tock - 2011</title>
- <meta name="description" content="">
-
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <!-- Meta -->
- <meta name="viewport" content="width=device-width, initial-scale=1"/>
-
- <!-- CSS -->
- <link rel="stylesheet" href="css/base.css">
- <link rel="stylesheet/less" type="text/css" href="css/nt_styles.less">
-
- <!-- JS -->
- <script src="js/modernizr.js"></script>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
- <script src="js/kerning.min.js"></script>
- <script src="js/less-1.1.3.min.js"></script>
- <script src="js/jquery.backstretch.min.js"></script>
-
- <!-- <script type="text/javascript">
- jQuery.backstretch("images/bg-2.jpg");
- </script> -->
-
- <!-- Icons -->
- <link rel="shortcut icon" href="images/favicon.ico">
- <link rel="apple-touch-icon" href="images/apple-touch-icon.png">
- <link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
- <link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
-
-</head>
-<body>
- <div class="container">
- <div class="row">
- <header class="twelvecol">
- <div class="wrapper">
- <p><img src="images/logo.png" />noel tock</p>
- <!-- <div id="header-main">
- <h1>noel tock</h1>
- <span class="clipz0r"></span>
- </div> -->
- </div>
- </header>
- </div>
- <div class="row">
- <div class="sixcol">
- <h3>welcome</h3>
- <p>My name is Noel and I'm a 30 year old web dude that likes to build things online. Contrary to popular career advice, I'm not an expert at anything. I like building things from the ground up, and learning whatever I need too in the process. Jack of all trades, master of none. </p>
-
- <!-- <img class="photo" src="images/test.jpg" /> -->
- </div>
- <div class="sixcol last">
- <h3>current projects</h3>
- <p>Besides any client work, this is what I'm focused on now:</p>
- <div class="home-project">
- <a href=""><img class="thumb-project" src="images/thumb-tf.jpg" /></a>
- <div class="title">theme-force.com</div>
- <p>I originally started this as a shop for WordPress themes, but it has since developed into a full website solution for restaurant owners.</p>
- </div>
- <div class="home-project">
- <a href=""><img class="thumb-project" src="images/thumb-hs.jpg" /></a>
- <div class="title">humane (working title)</div>
- <p>My goal with this project is to provide humane societies & animal shelters with a free hosted website, with all the features they require (adoptions, donations, etc.).</p>
- </div>
- <h3>past projects</h3>
- <p>Fun projects I kicked off in the past which have developed nicely.</p>
- <div class="home-project">
- <a href=""><img class="thumb-project" src="images/thumb-ga.jpg" /></a>
- <div class="title">game-artist.net</div>
- <p>A game art community I started in 2006, had to unfortunately let it go due to time requirements. Sold to CGSociety.</p>
- </div>
- <div class="home-project">
- <a href=""><img class="thumb-project" src="images/thumb-pr.jpg" /></a>
- <div class="title">realitymod.com</div>
- <p>I created this game modification in 2004 for Battlefield 2. It has since grown to have a userbase of 50'000+ with over 200 contributors over the years.</p>
- </div>
- </div>
- </div>
- </div>
-
-
-</body>
-</html>
View
2  index.php
@@ -28,7 +28,7 @@
<div class="post-thumb"><a href="<?php the_permalink() ?>" rel="bookmark"><?php if ( function_exists("has_post_thumbnail") && has_post_thumbnail() ) { the_post_thumbnail('index-thumb', array("class" => "alignleft post_thumbnail")); } ?></a></div>
<div class="post-text">
<h2 class="post-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
- <div class="post-meta"><time datetime="<?php the_time('Y-m-d')?>"><?php the_time('F jS, Y') ?></time> | Posted in <?php the_category(', ') ?></div>
+ <div class="post-meta"><time datetime="<?php the_time('Y-m-d')?>"><?php the_time('F jS, Y') ?></time> | Posted in <?php the_category(', ') ?> | <?php comments_popup_link(__(''), __('- 1 Comment'), __('- % Comments')); ?></div>
<?php the_excerpt(); ?>
</div>
</header>
View
12 sidebar.php
@@ -13,7 +13,7 @@
<section id="social-icons">
<div class="social-outer-bg twitter">
- <a href="http://twitter.com/#!/noeltock">
+ <a rel="nofollow" href="http://twitter.com/#!/noeltock">
<div class="social-icon">
<div class="social-inner-bg twitter-bg">
<div class="social-logo twitter-logo"></div>
@@ -23,7 +23,7 @@
</div>
<div class="social-outer-bg dribbble">
- <a href="http://dribbble.com/noeltock">
+ <a rel="nofollow" href="http://dribbble.com/noeltock">
<div class="social-icon">
<div class="social-inner-bg dribbble-bg">
<div class="social-logo dribbble-logo"></div>
@@ -33,7 +33,7 @@
</div>
<div class="social-outer-bg forrst">
- <a href="http://forrst.com/people/noeltock">
+ <a rel="nofollow" href="http://forrst.com/people/noeltock">
<div class="social-icon">
<div class="social-inner-bg forrst-bg">
<div class="social-logo forrst-logo"></div>
@@ -43,7 +43,7 @@
</div>
<div class="social-outer-bg flickr">
- <a href="http://www.flickr.com/photos/noelinthebahamas">
+ <a rel="nofollow" href="http://www.flickr.com/photos/noelinthebahamas">
<div class="social-icon">
<div class="social-inner-bg flickr-bg">
<div class="social-logo flickr-logo"></div>
@@ -113,9 +113,9 @@
</section>
- <section>
+ <!-- <section>
<?php get_search_form(); ?>
- </section>
+ </section> -->
</aside>
<?php ?>
View
36 single.php
@@ -19,7 +19,9 @@
<div class="eightcol">
<header>
<h1 class="post-title"><?php the_title(); ?></h1>
- <div class="post-meta"><time datetime="<?php the_time('Y-m-d')?>"><?php the_time('F jS, Y') ?></time> | Posted in <?php the_category(', ') ?> | <span style="position:relative;top:4px;left:2px;"><g:plusone size="small" annotation="inline" width="300"></g:plusone></span></div>
+ <div class="post-meta">
+ <div>Written by <a href="https://plus.google.com/109589976053318296329?rel=author">Noel Tock</a></div>
+ <time datetime="<?php the_time('Y-m-d')?>"><?php the_time('F jS, Y') ?></time> | Posted in <?php the_category(', ') ?> | <span style="position:relative;top:6px;left:2px;"><a href="https://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="noeltock">Tweet</a><script type="text/javascript" src="//platform.twitter.com/widgets.js"></script></span> | <span style="position:relative;top:6px;left:2px;"><g:plusone size="medium" annotation="inline" width="300"></g:plusone></span></div>
</header>
</div>
<div class="fourcol last"></div>
@@ -27,37 +29,13 @@
<!-- post -->
- <div class="row">
+ <div class="row post-content">
<div class="eightcol">
<?php the_content('Read the rest of this entry &raquo;'); ?>
- <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
- <?php the_tags( '<p>Tags: ', ', ', '</p>'); ?>
- <footer>
- <p>This entry was posted by <?php the_author() ?>
- on <time datetime="<?php the_time('Y-m-d')?>"><?php the_time('l, F jS, Y') ?></time>
- at <time><?php the_time() ?></time>
- and is filed under <?php the_category(', ') ?>.
- You can follow any responses to this entry through the <?php post_comments_feed_link('RSS 2.0'); ?> feed.
+ <div class="clearfix" style="margin-top:50px;"></div>
+ <?php comments_template( '', true ); ?>
- <?php if ( comments_open() && pings_open() ) {
- // Both Comments and Pings are open ?>
- You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(); ?>" rel="trackback">trackback</a> from your own site.
-
- <?php } elseif ( !comments_open() && pings_open() ) {
- // Only Pings are Open ?>
- Responses are currently closed, but you can <a href="<?php trackback_url(); ?> " rel="trackback">trackback</a> from your own site.
-
- <?php } elseif ( comments_open() && !pings_open() ) {
- // Comments are open, Pings are not ?>
- You can skip to the end and leave a response. Pinging is currently not allowed.
-
- <?php } elseif ( !comments_open() && !pings_open() ) {
- // Neither Comments, nor Pings are open ?>
- Both comments and pings are currently closed.
-
- <?php } edit_post_link('Edit this entry','','.'); ?>
- </p>
- </footer>
+
</div>
Please sign in to comment.
Something went wrong with that request. Please try again.