Skip to content

Instantly share code, notes, and snippets.

@takeo
Forked from defunkt/gist:4754
Created August 11, 2008 04:37
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save takeo/4809 to your computer and use it in GitHub Desktop.
Save takeo/4809 to your computer and use it in GitHub Desktop.
= Gistr
A simple tool to post gists to tumblr.
== The Problem
Tumblr does not have a way to post code snippets simply and the current solutions are lacking.
== CSS changes
To make everything pretty, I have added the following CSS rules to my tumblr
.gist {
line-height: 1.1em;
color: #ffffff;
}
.gist .gist-file {
border: 0;
}
.gist .gist-file .gist-data {
background-color: transparent;
}
.gist .gist-file .gist-data .gist-highlight {
font-family:'Bitstream Vera Sans Mono','Courier',monospace;
padding-bottom: 0.5em;
}
.gist .gist-file .gist-meta {
margin-top: 0.5em;
}
As well as adding the following to the tumblr template
<link rel="stylesheet" href="http://gist.github.com/stylesheets/gist/embed.css"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment