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
/* Preview hover styles */ | |
#theme_list ul li { | |
position:relative; | |
} | |
.product-preview{ | |
position:absolute; | |
left:100%; | |
top:-1px; | |
margin-left:1px; | |
background:#222; |
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
<!-- | |
A quick fix for my friend Chris Bowler. | |
http://chrisbowler.com/journal/alternate-css-files | |
--> | |
<link rel="stylesheet" media="screen" id="time_style" href="/-/css/day.css" /> | |
<script> |
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
require 'rubygems' | |
require 'sinatra' | |
require 'pony' | |
require 'haml' | |
set :haml, {:format => :html5} | |
set :public, File.dirname(__FILE__) | |
set :views, File.dirname(__FILE__) | |
# Create the page class and give it a title of Contact for the layout |
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
<script type="text/javascript"> | |
/* Works for me */ | |
var text_posts = document.getElementsByClassName("regular"); | |
var text_404 = "The URL you requested could not be found."; | |
var title_404 = "Not Found"; | |
if(text_posts.length == 1){ | |
var bodyNode = text_posts[0].lastChild; | |
if(bodyNode.previousSibling.textContent == text_404) { | |
// titleNode.innerHTML = "<a href='/'>Not Found</a>"; | |
var blog_loc = "http://" + document.domain + "/"; |
NewerOlder