Skip to content

Instantly share code, notes, and snippets.

@mushon
mushon / index.html
Last active August 29, 2015 14:11 — forked from anonymous/index.html
prototype for Turbulence homepage
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
margin: 0;
}
.container {
width: 100%;
}
.container > header,
@mushon
mushon / Redpyramids.php
Created May 28, 2011 13:53 — forked from talstadler/Redpyramids
adding thumbnails
<?php
// Custom Child Theme Functions
// First we make our function
function childtheme_welcome_blurb() {
if (is_home() & !is_paged()) { ?>
<?php
//-----------------------ADDING BLUEPRINT CSS-----------------------------
function add_blueprint() {
// Include main screen styles css
$content = "\t";
$content .= "<link rel=\"stylesheet\" type=\"text/css\" href=\"";
@mushon
mushon / gist:392328
Created May 6, 2010 16:29 — forked from skuter80/gist:391713
functions.php
<?php
// Adds a home link to your menu
// http://codex.wordpress.org/Template_Tags/wp_page_menu
//function childtheme_menu_args($args) {
// $args = array(
// 'show_home' => 'Home',
// 'sort_column' => 'menu_order',
// 'menu_class' => 'menu',
// 'echo' => true
<?php
//
// Gallery Child Theme Functions
//
function childtheme_menu_args($args) {
$args = array(
'show_home' => 'Home',
body {
background-color:#CCCCCC;
background-image:url(assets/assets-2.jpg);
}
#topbar {
background-color:#b8ddf5;
height:20px;
width:530px;
}
@mushon
mushon / dumplings.html
Created February 16, 2010 01:17
I have fixed the reference to the css file. jkhurd1 has used: "dumplings/css/blueprint/screen.css" while the html page is already in the dumplings folder so there's no need for mentioning that again ("css/blueprint/screen.css" is enough). I have also chan
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd"
>
<html lang="en">
<head>
<title>Order Dumplings in Chinese</title>
<link href="css/blueprint/screen.css" rel="stylesheet" type="text/css" media="screen, projection"/>