aboutsummaryrefslogtreecommitdiff
path: root/stylesheets/partials/_syntax.sass
diff options
context:
space:
mode:
Diffstat (limited to 'stylesheets/partials/_syntax.sass')
-rw-r--r--stylesheets/partials/_syntax.sass88
1 files changed, 44 insertions, 44 deletions
diff --git a/stylesheets/partials/_syntax.sass b/stylesheets/partials/_syntax.sass
index ff70c16b..05196159 100644
--- a/stylesheets/partials/_syntax.sass
+++ b/stylesheets/partials/_syntax.sass
@@ -1,9 +1,9 @@
.code_window
+border-top-radius(5px)
+border-bottom-radius(2px)
- background: #aaa #{image_url("code_bg.png")} top repeat-x
+ background: #aaaaaa image-url("code_bg.png") top repeat-x
position: relative
- margin: .3em 0 1.3em
+ margin: 0.3em 0 1.3em
padding: 0 3px 3px
font-size: 14px
border: 1px solid #898989
@@ -12,26 +12,26 @@
border-right-color: #a5a5a5
em
text-align: center
- +text-shadow(#ccc, 1px, 1px, 1px)
+ +text-shadow(#cccccc, 1px, 1px, 1px)
display: block
padding: 1px 0
- color: #333
+ color: #333333
font-style: normal
+sans-font
.highlight
margin: 0
-
+
pre
- color: #ccc
+ color: #cccccc
font-size: 13px
- background: #222
+ background: #222222
line-height: 1.5em
- border: #aaa 1px solid
+ border: #aaaaaa 1px solid
overflow-x: auto
overflow-y: hidden
padding: 25px 20px
.lineno
- color: #888
+ color: #888888
background: #e3e3e3
display: inline-block
padding: 0 0 0 10px
@@ -53,33 +53,33 @@ pre
right: 2px
+border-bottom-left-radius
display: block
- color: #777
- background: #333
+ color: #777777
+ background: #333333
&:hover
- background: #444
- color: #ccc
+ background: #444444
+ color: #cccccc
// based on: http://github.com/mojombo/tpw/raw/master/css/syntax.css
.editor
- background: rgb(0,22,41)
+ background: rgb(0, 22, 41)
line-height: 1.25
pre.console
background-color: black
- color= lighten(#008000, 25)
+ color: lighten(green, 25)
letter-spacing: 1px
padding: 0.5em
.prompt
- color= lighten(#000080, 50)
+ color: lighten(navy, 50)
&:before
- :color white
+ color: white
content: "["
&:after
- :color white
+ color: white
content: "]"
.stdin
font-weight: bold
- color= lighten(#008000, 75)
+ color: lighten(green, 75)
.highlight
padding: 0 0 0.1em
@@ -100,7 +100,7 @@ pre.console
color: rgb(255, 157, 0)
// Paren
.p
- color= darken(#FF9D00, 33)
+ color: darken(#ff9d00, 33)
// Operator
.o
color: rgb(255, 157, 0)
@@ -121,11 +121,11 @@ pre.console
font-style: italic
// Generic.Deleted
.gd
- color: #000000
+ color: black
background-color: #ffdddd
// Generic.Deleted.Specific
.gd .x
- color: #000000
+ color: black
background-color: #ffaaaa
// Generic.Emph
.ge
@@ -138,11 +138,11 @@ pre.console
color: #999999
// Generic.Inserted
.gi
- color: #000000
+ color: black
background-color: #ddffdd
// Generic.Inserted.Specific
.gi .x
- color: #000000
+ color: black
background-color: #aaffaa
// Generic.Output
.go
@@ -179,28 +179,28 @@ pre.console
color: rgb(255, 98, 140)
// Literal.String
.s
- color: #d14
+ color: #dd1144
// Name.Attribute
.na
- color: #008080
+ color: teal
// Name.Builtin
.nb
- color= darken(rgb(128, 255, 187), 20)
+ color: darken(rgb(128, 255, 187), 20)
// Name.Class
.nc
- color= darken(rgb(128, 255, 187), 20)
+ color: darken(rgb(128, 255, 187), 20)
// Name.Constant
.no
color: rgb(128, 255, 187)
// Name.Entity
.ni
- color: #800080
+ color: purple
// Name.Exception
.ne
- color: rgb(255,221, 0)
+ color: rgb(255, 221, 0)
// Name.Function
.nf
- color: rgb(255,221, 0)
+ color: rgb(255, 221, 0)
// Name.Namespace
.nn
color: #555555
@@ -209,7 +209,7 @@ pre.console
color: white
// Name.Variable
.nv
- color: #008080
+ color: teal
// Operator.Word
.ow
color: white
@@ -233,34 +233,34 @@ pre.console
color: rgb(255, 98, 140)
// Literal.String.Backtick
.sb
- color: rgb(58,217,0)
+ color: rgb(58, 217, 0)
// Literal.String.Char
.sc
- color: rgb(58,217,0)
+ color: rgb(58, 217, 0)
// Literal.String.Doc
.sd
- color: rgb(58,217,0)
+ color: rgb(58, 217, 0)
// Literal.String.Double
.s2
- color: rgb(58,217,0)
+ color: rgb(58, 217, 0)
// Literal.String.Escape
.se
- color: rgb(58,217,0)
+ color: rgb(58, 217, 0)
// Literal.String.Heredoc
.sh
- color: rgb(58,217,0)
+ color: rgb(58, 217, 0)
// Literal.String.Interpol
.si
- color: rgb(158,255,128)
+ color: rgb(158, 255, 128)
// Literal.String.Other
.sx
- color: rgb(58,217,0)
+ color: rgb(58, 217, 0)
// Literal.String.Regex
.sr
color: #009926
// Literal.String.Single
.s1
- color: rgb(58,217,0)
+ color: rgb(58, 217, 0)
// Literal.String.Symbol
.ss
color: rgb(255, 98, 140)
@@ -269,13 +269,13 @@ pre.console
color: #999999
// Name.Variable.Class
.vc
- color: #008080
+ color: teal
// Name.Variable.Global
.vg
- color: #008080
+ color: teal
// Name.Variable.Instance
.vi
- color: #008080
+ color: teal
// Literal.Number.Integer.Long
.il
color: rgb(255, 98, 140)