Skip to content

Instantly share code, notes, and snippets.

@stevenringo
Created January 26, 2010 06:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stevenringo/286597 to your computer and use it in GitHub Desktop.
Save stevenringo/286597 to your computer and use it in GitHub Desktop.
// pastie-style syntax colouring for jekyll's syntax highlighter
pre
color: #ccc
font-size: 13px
background: #fff
line-height: 1.5em
border: #aaa 1px solid
overflow-x: auto
overflow-y: hidden
padding: 25px 20px
.lineno
color: #888
background: #e3e3e3
display: inline-block
padding: 0 0 0 10px
&:first-child
padding-top: 15px
display: inline-block
.highlight
position: relative
.pre_expander
+mono-font
font-size: 10px
text-align: right
padding: 4px 8px
line-height: 150%
position: absolute
cursor: pointer
top: 2px
right: 2px
+border-bottom-left-radius
display: block
color: #777
background: #333
&:hover
background: #444
color: #ccc
// pastie style (built-in to pygments)
.editor
background: rgb(0,22,41)
line-height: 1.25
pre.console
background-color: black
color= lighten(#008000, 25)
letter-spacing: 1px
padding: 0.5em
.prompt
color= lighten(#000080, 50)
&:before
:color white
content: "["
&:after
:color white
content: "]"
.stdin
font-weight: bold
color= lighten(#008000, 75)
.highlight
padding: 0 0 0.1em
color: white
.hll
background-color: #ffffcc
.c
color: #888888
.err
color: #a61717
background-color: #e3d2d2
.k
color: #008800
font-weight: bold
.cm
color: #888888
.cp
color: #cc0000
font-weight: bold
.c1
color: #888888
.cs
color: #cc0000
font-weight: bold
background-color: #fff0f0
.gd
color: #000000
background-color: #ffdddd
.ge
font-style: italic
.gr
color: #aa0000
.gh
color: #303030
.gi
color: #000000
background-color: #ddffdd
.go
color: #888888
.gp
color: #555555
.gs
font-weight: bold
.gu
color: #606060
.gt
color: #aa0000
.kc, .kd, .kn
color: #008800
font-weight: bold
.kp
color: #008800
.kr
color: #008800
font-weight: bold
.kt
color: #888888
font-weight: bold
.m
color: #0000DD
font-weight: bold
.s
color: #dd2200
background-color: #fff0f0
.na
color: #336699
.nb
color: #003388
.nc
color: #bb0066
font-weight: bold
.no
color: #003366
font-weight: bold
.nd
color: #555555
.ne
color: #bb0066
font-weight: bold
.nf
color: #0066bb
font-weight: bold
.nl
color: #336699
font-style: italic
.nn
color: #bb0066
font-weight: bold
.py
color: #336699
font-weight: bold
.nt
color: #bb0066
font-weight: bold
.nv
color: #336699
.ow
color: #008800
.w
color: #bbbbbb
.mf, .mh, .mi, .mo
color: #0000DD
font-weight: bold
.sb, .sc, .sd, .s2
color: #dd2200
background-color: #fff0f0
.se
color: #0044dd
background-color: #fff0f0
.sh
color: #dd2200
background-color: #fff0f0
.si
color: #3333bb
background-color: #fff0f0
.sx
color: #22bb22
background-color: #f0fff0
.sr
color: #008800
background-color: #fff0ff
.s1
color: #dd2200
background-color: #fff0f0
.ss
color: #aa6600
background-color: #fff0f0
.bp
color: #003388
.vc
color: #336699
.vg
color: #dd7700
.vi
color: #3333bb
.il
color: #0000DD
font-weight: bold
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment