This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$numposts = 2; | |
function rss_date( $timestamp = null ) { | |
$timestamp = ($timestamp==null) ? time() : $timestamp; | |
echo date(DATE_RSS, $timestamp); | |
} | |
function rss_text_limit($string, $length, $replacer = '...') { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Coda Light | |
-- | |
-- By Henrik Nyh <http://henrik.nyh.se>, 2007-04-26 | |
-- His original script: http://henrik.nyh.se/2007/04/coda-light-applescript | |
-- | |
-- Changes for Transmit 4 and AppleScript 2 by Ian Soper <http://iansoper.com>, 2010-12-15 | |
-- | |
-- An AppleScript to start working on a web development project by | |
-- * opening the project in TextMate, | |
-- * opening related URLs in the default browser, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* { | |
text-rendering: optimizeLegibility; | |
} | |
body { | |
background: rgb(240,240,240); | |
/* background: rgba(255, 248, 237, 1);*/ | |
padding: 1em; | |
/* width: auto;*/ | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Used :after psuedo selector to create a shadow on an element. I did this instead of just box-shadow on the element , because I wanted the shadow slightly more narrow than the element. | |
Depending on your styles, the shadow will look something like this: http://cl.ly/2fua | |
*/ | |
.bottom { | |
background: rgb(254, 243, 216) url(../images/background.png) top left repeat; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_theme_support( 'post-thumbnails' ); | |
// add_theme_support( 'post-thumbnails', array( 'post' ) ); // Add it for posts | |
// add_theme_support( 'post-thumbnails', array( 'page' ) ); // Add it for pages | |
set_post_thumbnail_size( 50, 50, true ); // 50 pixels wide by 50 pixels tall, hard crop mode | |
add_image_size( 'large-featured-thumbnail', 340, 220, true ); // Permalink thumbnail size | |
add_image_size( 'small-featured-thumbnail', 280, 130, true ); // Permalink thumbnail size | |
add_image_size( 'small-film-still', 230, 150, true); | |
add_image_size( 'archive-thumbnail', 100, 100, true); |
NewerOlder