Pages

Saturday, September 18, 2010

Altering the style of source code snippets at blogspot

When editing your blog go to "design" and then edit your template. Add
the following to the end of CSS section.




pre.src {border: 1px solid rgb(187, 187, 187);
margin: 15px 5px;
padding: 5px;
background: rgb(238}\, 238, 238) none repeat scroll 0% 0%;
overflow: auto;
font-size: 130%;
-moz-background-clip: border;
-moz-background-origin: padding;
-moz-background-inline-policy: continuous;
}




Also see http://emacs-fu.blogspot.com/2010/05/using-zenburn-for-org-mode-generated.html


--
My Emacs Files At GitHub

1 comment:

  1. new code: pre.src{border: 1px solid rgb(187, 187, 187); margin: 15px 5px; padding: 5px;background Gray40 none repeat scroll 0% 0%; background-image: url(http://untroubled.org/backgrounds/paper/tile.gif);background-repeat: repeat;overflow: auto; font-size: 130%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;font-size:x-small;}

    ReplyDelete