@charset "UTF-8"; /*------------------------------------*\ $CODE \*------------------------------------*/ /** * Use an explicit font stack to ensure browsers render correct `line-height`. */ pre{ overflow:auto; } pre mark{ background:none; border-bottom:1px solid; color:inherit; } /** * Add comments to your code examples, e.g.: * </div><!-- /wrapper --> * */ .code-comment{ /** * Override this setting in your theme stylesheet */ opacity:0.75; filter:alpha(opacity=75); } /** * You can add line numbers to your code examples but be warned, it requires * some pretty funky looking markup, e.g.: *
  1. .nav{
  2. list-style:none;
  3. margin-left:0;
  4. }
  5. .nav > li,
  6. .nav > li > a{
  7. display:inline-block;
  8. *display:inline-block;
  9. zoom:1;
  10. }
* * 1. Make the list look like code. * 2. Give the list flush numbers with a leading zero. * 3. Make sure lines of code don’t wrap. * 4. Give the code form by forcing the `code` to honour white-space. */ .line-numbers{ font-family:monospace, sans-serif; /* [1] */ list-style:decimal-leading-zero inside; /* [2] */ white-space:nowrap; /* [3] */ overflow:auto; /* [3] */ margin-left:0; } .line-numbers code{ white-space:pre; /* [4] */ }