Permalink
Browse files

Widen sidebar & increase font size. Put avatar in header. Space for a…

…d. GitHub link.
  • Loading branch information...
1 parent 6460409 commit aff19c5d81c0cbf2ca2c143b53955d0fe0b4d47c @drdrang committed Sep 6, 2011
View
@@ -64,7 +64,7 @@
<?php if ('open' == $post->comment_status) : ?>
-<h2>Leave a Reply</h2>
+<h2 id="respond">Leave a Reply</h2>
<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
<p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>">logged in</a> to post a comment.</p>
@@ -96,7 +96,7 @@
<input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" />
<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
</p>
-<p class="instruction">Comments can be in plain text or <a href="http://daringfireball.net/projects/markdown/syntax">Markdown</a>. Things that look like URLs will be turned into links automatically. Some comments will be moderated, so don't be surprised if your remarks aren't posted immediately. Comments that just say "Nice post," or something like that, may be flagged as spam and never posted. Abusive comments will be deleted.</p>
+<p class="instruction">Comments can be in plain text or elementary <a href="http://daringfireball.net/projects/markdown/syntax">Markdown</a>. Some comments will be moderated, so don't be surprised if your remarks aren't posted immediately. Comments that just say "Nice post," or something like that, may be flagged as spam and never posted. Abusive comments will be deleted.</p>
<?php do_action('comment_form', $post->ID); ?>
</form>
View
@@ -1,15 +1,21 @@
<div id="footer"></div>
</div> <!-- container -->
<script type="text/javascript">
- var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
- document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
- </script>
- <script type="text/javascript">
- var pageTracker = _gat._getTracker("UA-1138672-1");
- pageTracker._initData();
- pageTracker._trackPageview();
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-1138672-1']);
+ _gaq.push(['_trackPageview']);
+ _gaq.push(['_trackPageLoadTime']);
+
+ (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>
<!-- <script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script> -->
<!-- <script type="text/javascript" src="http://twitter.com/statuses/user_timeline/drdrang.json?callback=twitterCallback2&count=3"></script> -->
+ <?php wp_footer(); ?>
</body>
</html>
View
@@ -26,7 +26,7 @@ function publish_later_on_feed($where) {
return $where;
}
-add_filter('posts_where', 'publish_later_on_feed');
+// add_filter('posts_where', 'publish_later_on_feed');
function metamark($u) {
$xrl = 'http://metamark.net/api/rest/simple?long_url=' . urlencode($u);
View
@@ -5,17 +5,17 @@
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('stylesheet_url'); ?>" />
- <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
- <link rel="alternate" type="application/rss+xml" title="Atom" href="<?php bloginfo('atom_url'); ?>" />
- <!-- <link rel="alternate" type="application/rss+xml" title="Without tweets (RSS 2.0)" href="http://pipes.yahoo.com/pipes/pipe.run?_id=42c49e49008e4f6f5417b7ffeba68a13&_render=rss" />
+ <link rel="alternate" type="application/rss+xml" title="RSS" href="<?php bloginfo('rss2_url'); ?>" />
+ <!-- <link rel="alternate" type="application/rss+xml" title="Atom" href="<?php bloginfo('atom_url'); ?>" />
+ <link rel="alternate" type="application/rss+xml" title="Without tweets (RSS 2.0)" href="http://pipes.yahoo.com/pipes/pipe.run?_id=42c49e49008e4f6f5417b7ffeba68a13&_render=rss" />
<link rel="alternate" type="application/rss+xml" title="Without tweets (Atom)" href="http://pipes.yahoo.com/pipes/pipe.run?_id=50f853fc58b345a67fdd3dec20093dce&_render=rss" /> -->
- <link rel="icon" type="image/png" href="<?php echo get_bloginfo('template_directory') . '/snowman16.png'; ?>" mce_href="<?php echo get_bloginfo('template_directory') . '/snowman16.png'; ?>" />
+ <link rel="icon" type="image/png" href="/all-this/wp-content/themes/drang/snowman16.png" mce_href="/all-this/wp-content/themes/drang/snowman16.png" />
<!-- <script type="text/javascript" src="/jsMath/easy/load.js"></script> -->
<script type="text/javascript" src="/MathJax/MathJax.js"></script>
- <script type="text/javascript" src="<?php echo get_bloginfo('template_directory') . '/highlight.pack.js'; ?>"></script>
- <script type="text/javascript" src="<?php echo get_bloginfo('template_directory') . '/styleCode.js'; ?>"></script>
+ <script type="text/javascript" src="/all-this/wp-content/themes/drang/highlight.pack.js"></script>
+ <script type="text/javascript" src="/all-this/wp-content/themes/drang/styleCode.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
- <script type="text/javascript" src="<?php echo get_bloginfo('template_directory') . '/footnote-popup.js'; ?>"></script>
+ <script type="text/javascript" src="/all-this/wp-content/themes/drang/footnote-popup.js"></script>
<script type="text/javascript">
if (top !== self && document.referrer.match(/digg\.com\/\w{1,8}/)) {
top.location.replace(self.location.href);
@@ -27,13 +27,15 @@
elseif (is_search()) {echo 'Search results for \''; the_search_query(); echo '\' - All this';}
else {bloginfo('name');}
?></title>
+ <?php wp_head(); ?>
</head>
<body onload="styleCode()">
<div id="container">
<div id="header">
- <h1><a href="<?php echo get_bloginfo('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
- <h2><?php bloginfo('description'); ?></h2>
+ <img src="/all-this/wp-content/themes/drang/snowman-200.jpg" />
+ <h1><a href="/all-this/">And now it’s all this</a></h1>
+ <h2>I just said what I said and it was wrong. Or was taken wrong.</h2>
</div> <!-- header -->
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -1,5 +1,5 @@
<form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
-<div><input type="text" value="<?php the_search_query(); ?>" name="s" id="s" size="15" />
+<div><input type="text" value="<?php the_search_query(); ?>" name="s" id="s" size="25" />
<input type="submit" id="searchsubmit" value="Find it" />
</div>
</form>
View
@@ -1,118 +1,108 @@
<div id="sidebar">
-
- <p><img style="padding-top:.75em" src="<?php echo get_bloginfo('home') . '/images/snowman2-100.jpg'; ?>" /></p>
- <p>drdrang at gmail</p>
-
- <hr />
+
+ <h1>Site search</h1>
+ <?php include (TEMPLATEPATH . '/searchform.php'); ?><p></p>
+
+ <!-- <hr /> -->
<h1>Meta</h1>
<ul>
- <li><a href="<?php echo get_bloginfo('home'); ?>/">Home page</a></li>
- <li><a href="<?php echo bloginfo('rss2_url'); ?>">RSS feed</a></li>
+ <li>drdrang at gmail</li>
+ <li><a href="/all-this/">Home page</a></li>
+ <li><a href="http://www.leancrew.com/all-this/feed/">RSS feed</a></li>
<li><a href="http://www.twitter.com/drdrang">Twitter stream</a></li>
<li><a href="http://flickr.com/photos/drdrang">Flickr stream</a></li>
- </ul>
+ <li><a href="http://github.com/drdrang">GitHub repositories</a></li>
+ </ul>
- <hr />
-
- <h1>Search</h1>
- <?php include (TEMPLATEPATH . '/searchform.php'); ?><p></p>
+ <!-- <hr /> -->
- <!-- <hr />
-
- <div id="twitter_div">
- <h1><a href="http://www.twitter.com/drdrang">Twitter Updates</a></h1>
- <ul id="twitter_update_list"></ul>
- </div> -->
-
- <hr />
+ <script type="text/javascript"><!--
+ google_ad_client = "ca-pub-9285661011097303";
+ /* sidebar image */
+ google_ad_slot = "2350889991";
+ google_ad_width = 200;
+ google_ad_height = 200;
+ //-->
+ </script>
+ <script type="text/javascript"
+ src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
+ </script>
+
+ <!-- <hr /> -->
<h1><a href="http://flickr.com/photos/drdrang">Flickr Updates</a></h1>
- <p><?php get_flickrRSS(); ?></p>
+ <p class="flickr"><?php get_flickrRSS(); ?></p>
- <hr />
+ <!-- <hr /> -->
<h1>Tags</h1>
<p class="tag-cloud"><?php wp_tag_cloud('smallest=75&largest=150&unit=%&number=50'); ?></p>
- <hr />
+ <!-- <hr /> -->
<h1>Popular posts</h1>
<ul>
- <li><a href="<?php echo get_bloginfo('home') . '/2005/09/ical_to_hpda_printing/'; ?>">
- iCal to Hipster PDA printing</a></li>
- <li><a href="<?php echo get_bloginfo('home') . '/2005/08/ruler_card_for_hipster_pda/'; ?>">
- Ruler card for Hipster PDA</a></li>
- <li><a href="<?php echo get_bloginfo('home') . '/2005/08/hpda_temperature_conversion_ca/'; ?>">
- Temperature conversion card for Hipster PDA</a></li>
- <li><a href="<?php echo get_bloginfo('home') . '/2007/03/improved-currency-conversion-card/'; ?>">
- Improved currency conversion card for Hipster PDA</a></li>
- <li><a href="<?php echo get_bloginfo('home') . '/2009/07/improved-mac-screenshotupload-utility/'; ?>">
- Screenshot uploading utility</a></li>
- <li><a href="<?php echo get_bloginfo('home') . '/2005/08/address_labels/'; ?>">
- Printing address labels</a></li>
- <li><a href="<?php echo get_bloginfo('home') . '/2005/08/file_folder_labels/'; ?>">
- Printing file folder labels</a></li>
- <li><a href="<?php echo get_bloginfo('home') . '/2006/03/markdown_links_in_textmate_the/'; ?>">
- Markdown links in TextMate</a></li>
- <li><a href="<?php echo get_bloginfo('home') . '/2007/04/superduper-reports-with-geektool/'; ?>">SuperDuper! reports with GeekTool</a></li>
- <li><a href="<?php echo get_bloginfo('home') . '/2007/11/long_and_shortened_url_scripts/'; ?>">
- Automatic shortening of URLs</a></li>
- <li><a href="<?php echo get_bloginfo('home') . '/2008/02/leopard-screen-sharing-over-the-internet/'; ?>">
- Leopard screen sharing over the internet</a></li>
- <li><a href="<?php echo get_bloginfo('home') . '/2008/04/emacs-lisp-as-a-scripting-language/'; ?>">
- Emacs Lisp as a scripting language</a></li>
- <li><a href="<?php echo get_bloginfo('home') . '/2007/04/more-desktop-weather-with-geektool/'; ?>">
- Desktop weather with GeekTool</a></li>
- <li><a href="<?php echo get_bloginfo('home') . '/2008/09/latex-figure-captions/'; ?>">
- LaTeX figure captions</a></li>
- <li><a href="<?php echo get_bloginfo('home') . '/2009/08/camry-smart-key-battery-replacement/'; ?>">
- Camry smart key battery replacement</a></li>
- <li><a href="<?php echo get_bloginfo('home') . '/2008/04/time-practice-sheet-for-kids/'; ?>">
- Time practice sheets for kids</a></li>
- <li><a href="<?php echo get_bloginfo('home') . '/2009/09/math-practice-sheets/'; ?>">
- Math practice sheets for kids</a></li>
- </ul>
- <hr />
-
- <h1>Blogroll</h1>
- <h2>Computer</h2>
- <ul>
- <li><a href="http://daringfireball.net/">Daring Fireball</a></li>
- <li><a href="http://ihnatko.com">Andy Ihnatko’s CWOB</a></li>
- <li><a href="http://www.macosxhints.com">MacOSXHints</a></li>
- <li><a href="http://www.tidbits.com">TidBits</a></li>
- <li><a href="http://markelikalderon.com/blog/">Excursus</a></li>
- <li><a href="http://www.dragthing.com/blog/">Three Letter Acronym</a></li>
- <li><a href="http://www.libertypages.com/clarktech/">Clark's Tech Blog</a></li>
- </ul>
- <h2>Other</h2>
- <ul>
- <li><a href="http://www.43folders.com/">43 Folders</a></li>
- <li><a href="http://www.kk.org/cooltools/">Cool Tools</a></li>
- <li><a href="http://www.motherjones.com/kevin-drum/">Kevin Drum</a></li>
- <li><a href="http://tbogg.firedoglake.com">TBogg</a></li>
- <li><a href="http://crookedtimber.org">Crooked Timber</a></li>
- <li><a href="http://www.michaelberube.com/index.php">Michael Bérubé</a></li>
- <li><a href="http://scienceblogs.com/pharyngula/">Pharyngula</a></li>
- </ul>
-
- <hr />
-
- <p>This work is licensed under a
- <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution-Share Alike 3.0 Unported License</a>.</p>
+ <li><a href="/all-this/2005/09/ical-to-hpda-printing/">
+ iCal to Hipster PDA printing</a></li>
+ <li><a href="/all-this/2005/08/ruler-card-for-hipster-pda/">
+ Ruler card for Hipster PDA</a></li>
+ <li><a href="/all-this/2005/08/hpda-temperature-conversion-ca/">
+ Temperature conversion card for Hipster PDA</a></li>
+ <li><a href="/all-this/2007/03/improved-currency-conversion-card/">
+ Improved currency conversion card for Hipster PDA</a></li>
+ <li><a href="/all-this/2009/07/improved-mac-screenshotupload-utility/">
+ Screenshot uploading utility</a></li>
+ <li><a href="/all-this/2005/08/file-folder-labels/">
+ Printing file folder labels</a></li>
+ <li><a href="/all-this/2006/03/markdown-links-in-textmate-the/">
+ Markdown links in TextMate</a></li>
+ <li><a href="/all-this/2007/04/superduper-reports-with-geektool/">
+ SuperDuper! reports with GeekTool</a></li>
+ <li><a href="/all-this/2007/11/long-and-shortened-url-scripts/">
+ Automatic shortening of URLs</a></li>
+ <li><a href="/all-this/2008/02/leopard-screen-sharing-over-the-internet/">
+ Leopard screen sharing over the internet</a></li>
+ <li><a href="/all-this/2008/04/emacs-lisp-as-a-scripting-language/">
+ Emacs Lisp as a scripting language</a></li>
+ <li><a href="/all-this/2007/04/more-desktop-weather-with-geektool/">
+ Desktop weather with GeekTool</a></li>
+ <li><a href="/all-this/2008/09/latex-figure-captions/">
+ LaTeX figure captions</a></li>
+ <li><a href="/all-this/2009/08/camry-smart-key-battery-replacement/">
+ Camry smart key battery replacement</a></li>
+ <li><a href="/all-this/2008/04/time-practice-sheet-for-kids/">
+ Time practice sheets for kids</a></li>
+ <li><a href="/all-this/2009/09/math-practice-sheets/">
+ Math practice sheets for kids</a></li>
+ <li><a href="/all-this/2008/08/tables-for-markdown-and-textmate/">
+ Tables for Markdown and TextMate</a></li>
+ <li><a href="/all-this/2009/07/notebook-paper-pdfs/">
+ Notebook paper PDFs</a></li>
+ <li><a href="/all-this/2011/02/iphone-notes-app-comparison/">
+ iPhone notes app comparison</a></li>
+ <li><a href="/all-this/2011/03/notesy/">
+ Notesy review</a></li>
+ </ul>
+
+ <!-- <hr /> -->
+
- <hr />
+ <!-- <hr /> -->
- <div class="credit"><a href="http://www.wordpress.org"><img src="<?php echo get_bloginfo('home') . '/images/wordpress-badge.png'; ?>"</a></div>
+ <div class="credit"><a href="http://www.wordpress.org"><img src="/all-this/wp-content/themes/drang/wordpress.png"</a></div>
<div class="credit"><a href="http://www.mathjax.org/">
<img title="Powered by MathJax"
src="http://www.mathjax.org/badge.gif"
border="0" alt="Powered by MathJax" />
</a></div>
-
+ <p style="margin-top: 1em;">This work is licensed under a
+ <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution-Share Alike 3.0 Unported License</a>.</p>
+
+
+
</div> <!-- sidebar -->
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -34,20 +34,21 @@ a:hover {
}
#container {
- width: 50em;
+ width: 53.5em;
margin-left: auto;
margin-right: auto;
background-color: #ded;
}
#header {
background: #384338;
- padding-left: 3em;
- padding-right: 3em;
- padding-top: .5em;
- padding-bottom: .5em;
+ padding-left: .75em;
+ padding-right: .75em;
+ padding-top: .75em;
+ padding-bottom: .75em;
margin-bottom: 0em;
color: white;
+ height: 8em;
}
#header h1 {
@@ -61,6 +62,13 @@ a:hover {
font-weight: normal;
}
+#header img {
+ float: left;
+ margin-right: 2em;
+ max-width: 8em;
+ max-height: 8em;
+}
+
#header a {
color: white;
text-decoration: none;
@@ -303,6 +311,10 @@ a:hover {
list-style-position: outside;
}
+#content ol.commentlist li li {
+ padding: 0;
+}
+
/*#content ol.commentlist li.alt {
background: #efe;
}
@@ -355,11 +367,11 @@ a:hover {
#sidebar {
font-family: Helvetica, Sans-Serif;
- font-size: 75%;
+ font-size: 90%;
/*background: #ded;
width: 14em;
float: right; */
- margin-left: 51em;
+ margin-left: 42.25em;
margin-top: 0em;
/*border-left-style: solid;
border-left-width: .25em;
@@ -417,7 +429,7 @@ sidebar h3, h4, h5 {
#sidebar hr {
align: center;
- width: 6em;
+ width: 8em;
border-style: none;
height: 2px;
background-color: #454;
@@ -438,8 +450,10 @@ sidebar h3, h4, h5 {
margin-bottom: 1em;
}
-#sidebar img.flickr {
- margin-left: 1.5em;
+#sidebar img {
+ max-width:14em;
+ max-height:14em;
+ margin-bottom: .25em;
}
#footer {
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit aff19c5

Please sign in to comment.