Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
b95a56c1
Commit
b95a56c1
authored
Jan 26, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modify white and solarized themes for hljs
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
c7966a42
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
120 additions
and
134 deletions
+120
-134
app/assets/stylesheets/highlight/solarized_dark.scss
app/assets/stylesheets/highlight/solarized_dark.scss
+107
-73
app/assets/stylesheets/highlight/white.scss
app/assets/stylesheets/highlight/white.scss
+13
-61
No files found.
app/assets/stylesheets/highlight/solarized_dark.scss
View file @
b95a56c1
.solarized-dark
.highlight
{
.solarized-dark
{
background-color
:
#002B36
;
.highlight
{
border-left
:
1px
solid
#113b46
;
}
pre
{
background-color
:
#002B36
;
color
:
#eee
;
}
.hll
{
background-color
:
#073642
}
.c
{
color
:
#586E75
}
/* Comment */
.err
{
color
:
#93A1A1
}
/* Error */
.g
{
color
:
#93A1A1
}
/* Generic */
.k
{
color
:
#859900
}
/* Keyword */
.l
{
color
:
#93A1A1
}
/* Literal */
.n
{
color
:
#93A1A1
}
/* Name */
.o
{
color
:
#859900
}
/* Operator */
.x
{
color
:
#CB4B16
}
/* Other */
.p
{
color
:
#93A1A1
}
/* Punctuation */
.cm
{
color
:
#586E75
}
/* Comment.Multiline */
.cp
{
color
:
#859900
}
/* Comment.Preproc */
.c1
{
color
:
#586E75
}
/* Comment.Single */
.cs
{
color
:
#859900
}
/* Comment.Special */
.gd
{
color
:
#2AA198
}
/* Generic.Deleted */
.ge
{
color
:
#93A1A1
;
font-style
:
italic
}
/* Generic.Emph */
.gr
{
color
:
#DC322F
}
/* Generic.Error */
.gh
{
color
:
#CB4B16
}
/* Generic.Heading */
.gi
{
color
:
#859900
}
/* Generic.Inserted */
.go
{
color
:
#93A1A1
}
/* Generic.Output */
.gp
{
color
:
#93A1A1
}
/* Generic.Prompt */
.gs
{
color
:
#93A1A1
;
font-weight
:
bold
}
/* Generic.Strong */
.gu
{
color
:
#CB4B16
}
/* Generic.Subheading */
.gt
{
color
:
#93A1A1
}
/* Generic.Traceback */
.kc
{
color
:
#CB4B16
}
/* Keyword.Constant */
.kd
{
color
:
#268BD2
}
/* Keyword.Declaration */
.kn
{
color
:
#859900
}
/* Keyword.Namespace */
.kp
{
color
:
#859900
}
/* Keyword.Pseudo */
.kr
{
color
:
#268BD2
}
/* Keyword.Reserved */
.kt
{
color
:
#DC322F
}
/* Keyword.Type */
.ld
{
color
:
#93A1A1
}
/* Literal.Date */
.m
{
color
:
#2AA198
}
/* Literal.Number */
.s
{
color
:
#2AA198
}
/* Literal.String */
.na
{
color
:
#93A1A1
}
/* Name.Attribute */
.nb
{
color
:
#B58900
}
/* Name.Builtin */
.nc
{
color
:
#268BD2
}
/* Name.Class */
.no
{
color
:
#CB4B16
}
/* Name.Constant */
.nd
{
color
:
#268BD2
}
/* Name.Decorator */
.ni
{
color
:
#CB4B16
}
/* Name.Entity */
.ne
{
color
:
#CB4B16
}
/* Name.Exception */
.nf
{
color
:
#268BD2
}
/* Name.Function */
.nl
{
color
:
#93A1A1
}
/* Name.Label */
.nn
{
color
:
#93A1A1
}
/* Name.Namespace */
.nx
{
color
:
#93A1A1
}
/* Name.Other */
.py
{
color
:
#93A1A1
}
/* Name.Property */
.nt
{
color
:
#268BD2
}
/* Name.Tag */
.nv
{
color
:
#268BD2
}
/* Name.Variable */
.ow
{
color
:
#859900
}
/* Operator.Word */
.w
{
color
:
#93A1A1
}
/* Text.Whitespace */
.mf
{
color
:
#2AA198
}
/* Literal.Number.Float */
.mh
{
color
:
#2AA198
}
/* Literal.Number.Hex */
.mi
{
color
:
#2AA198
}
/* Literal.Number.Integer */
.mo
{
color
:
#2AA198
}
/* Literal.Number.Oct */
.sb
{
color
:
#586E75
}
/* Literal.String.Backtick */
.sc
{
color
:
#2AA198
}
/* Literal.String.Char */
.sd
{
color
:
#93A1A1
}
/* Literal.String.Doc */
.s2
{
color
:
#2AA198
}
/* Literal.String.Double */
.se
{
color
:
#CB4B16
}
/* Literal.String.Escape */
.sh
{
color
:
#93A1A1
}
/* Literal.String.Heredoc */
.si
{
color
:
#2AA198
}
/* Literal.String.Interpol */
.sx
{
color
:
#2AA198
}
/* Literal.String.Other */
.sr
{
color
:
#DC322F
}
/* Literal.String.Regex */
.s1
{
color
:
#2AA198
}
/* Literal.String.Single */
.ss
{
color
:
#2AA198
}
/* Literal.String.Symbol */
.bp
{
color
:
#268BD2
}
/* Name.Builtin.Pseudo */
.vc
{
color
:
#268BD2
}
/* Name.Variable.Class */
.vg
{
color
:
#268BD2
}
/* Name.Variable.Global */
.vi
{
color
:
#268BD2
}
/* Name.Variable.Instance */
.il
{
color
:
#2AA198
}
/* Literal.Number.Integer.Long */
}
.hljs
{
display
:
block
;
padding
:
0
.5em
;
background
:
#002b36
;
color
:
#839496
;
}
.hljs-comment
,
.hljs-template_comment
,
.diff
.hljs-header
,
.hljs-doctype
,
.hljs-pi
,
.lisp
.hljs-string
,
.hljs-javadoc
{
color
:
#586e75
;
}
/* Solarized Green */
.hljs-keyword
,
.hljs-winutils
,
.method
,
.hljs-addition
,
.css
.hljs-tag
,
.hljs-request
,
.hljs-status
,
.nginx
.hljs-title
{
color
:
#859900
;
}
/* Solarized Cyan */
.hljs-number
,
.hljs-command
,
.hljs-string
,
.hljs-tag
.hljs-value
,
.hljs-rules
.hljs-value
,
.hljs-phpdoc
,
.tex
.hljs-formula
,
.hljs-regexp
,
.hljs-hexcolor
,
.hljs-link_url
{
color
:
#2aa198
;
}
/* Solarized Blue */
.hljs-title
,
.hljs-localvars
,
.hljs-chunk
,
.hljs-decorator
,
.hljs-built_in
,
.hljs-identifier
,
.vhdl
.hljs-literal
,
.hljs-id
,
.css
.hljs-function
{
color
:
#268bd2
;
}
/* Solarized Yellow */
.hljs-attribute
,
.hljs-variable
,
.lisp
.hljs-body
,
.smalltalk
.hljs-number
,
.hljs-constant
,
.hljs-class
.hljs-title
,
.hljs-parent
,
.haskell
.hljs-type
,
.hljs-link_reference
{
color
:
#b58900
;
}
/* Solarized Orange */
.hljs-preprocessor
,
.hljs-preprocessor
.hljs-keyword
,
.hljs-pragma
,
.hljs-shebang
,
.hljs-symbol
,
.hljs-symbol
.hljs-string
,
.diff
.hljs-change
,
.hljs-special
,
.hljs-attr_selector
,
.hljs-subst
,
.hljs-cdata
,
.clojure
.hljs-title
,
.css
.hljs-pseudo
,
.hljs-header
{
color
:
#cb4b16
;
}
/* Solarized Red */
.hljs-deletion
,
.hljs-important
{
color
:
#dc322f
;
}
/* Solarized Violet */
.hljs-link_label
{
color
:
#6c71c4
;
}
.tex
.hljs-formula
{
background
:
#073642
;
}
}
app/assets/stylesheets/highlight/white.scss
View file @
b95a56c1
.white
.highlight
{
.white
{
background-color
:
#fff
;
.highlight
{
border-left
:
1px
solid
#ddd
;
}
pre
{
background-color
:
#fff
;
color
:
#333
;
}
.hll
{
display
:
block
;
background-color
:
$hover
}
.c
{
color
:
#888888
;
font-style
:
italic
}
/* Comment */
.err
{
color
:
#a61717
;
background-color
:
#e3d2d2
}
/* Error */
.k
{
color
:
#000000
;
font-weight
:
bold
}
/* Keyword */
.cm
{
color
:
#888888
}
/* Comment.Multiline */
.cp
{
color
:
#cc0000
;
font-weight
:
bold
}
/* Comment.Preproc */
.c1
{
color
:
#888888
}
/* Comment.Single */
.cs
{
color
:
#cc0000
;
font-weight
:
bold
;
background-color
:
#fff0f0
}
/* Comment.Special */
.gd
{
color
:
#000000
;
background-color
:
#ffdddd
}
/* Generic.Deleted */
.ge
{
font-style
:
italic
}
/* Generic.Emph */
.gr
{
color
:
#aa0000
}
/* Generic.Error */
.gh
{
color
:
#303030
}
/* Generic.Heading */
.gi
{
color
:
#000000
;
background-color
:
#ddffdd
}
/* Generic.Inserted */
.go
{
color
:
#888888
}
/* Generic.Output */
.gp
{
color
:
#555555
}
/* Generic.Prompt */
.gs
{
font-weight
:
bold
}
/* Generic.Strong */
.gu
{
color
:
#606060
}
/* Generic.Subheading */
.gt
{
color
:
#aa0000
}
/* Generic.Traceback */
.kc
{
font-weight
:
bold
;}
/* Keyword.Constant */
.kd
{
font-weight
:
bold
;}
/* Keyword.Declaration */
.kn
{
font-weight
:
bold
;}
/* Keyword.Namespace */
.kp
{
font-weight
:
bold
;}
/* Keyword.Pseudo */
.kr
{
font-weight
:
bold
;}
/* Keyword.Reserved */
.kt
{
color
:
#458
;
font-weight
:
bold
;}
/* Keyword.Type */
.m
{
color
:
#0000DD
;
font-weight
:
bold
}
/* Literal.Number */
.s
{
color
:
#dd2200
;
background-color
:
#fff0f0
}
/* Literal.String */
.na
{
color
:
#008080
;}
/* Name.Attribute */
.nb
{
color
:
#0086B3
;}
/* Name.Builtin */
.nc
{
color
:
#458
;
font-weight
:
bold
;}
/* Name.Class */
.no
{
color
:
#008080
;}
/* Name.Constant */
.ni
{
color
:
#800080
;}
.ne
{
color
:
#900
;
font-weight
:
bold
;}
/* Name.Exception */
.nf
{
color
:
#900
;
font-weight
:
bold
;}
/* Name.Function */
.nn
{
color
:
#005
;
font-weight
:
bold
;}
/* Name.Namespace */
.nt
{
color
:
#000080
;}
/* Name.Tag */
.nv
{
color
:
#008080
;}
/* Name.Variable */
.py
{
color
:
#336699
;
font-weight
:
bold
}
/* Name.Property */
.ow
{
color
:
#008800
}
/* Operator.Word */
.w
{
color
:
#bbbbbb
}
/* Text.Whitespace */
.mf
{
color
:
#0000DD
;
font-weight
:
bold
}
/* Literal.Number.Float */
.mh
{
color
:
#0000DD
;
font-weight
:
bold
}
/* Literal.Number.Hex */
.mi
{
color
:
#099
;}
/* Literal.Number.Integer */
.mo
{
color
:
#0000DD
;
font-weight
:
bold
}
/* Literal.Number.Oct */
.sb
{
color
:
#dd2200
;
background-color
:
#fff0f0
}
/* Literal.String.Backtick */
.sc
{
color
:
#d14
;}
/* Literal.String.Char */
.sd
{
color
:
#dd2200
;
background-color
:
#fff0f0
}
/* Literal.String.Doc */
.s2
{
color
:
#d14
;}
/* Literal.String.Double */
.se
{
color
:
#d14
;}
/* Literal.String.Escape */
.sh
{
color
:
#d14
;}
/* Literal.String.Heredoc */
.si
{
color
:
#d14
;}
/* Literal.String.Interpol */
.sx
{
color
:
#d14
;}
/* Literal.String.Other */
.sr
{
color
:
#d14
;}
/* Literal.String.Regex */
.s1
{
color
:
#d14
;}
/* Literal.String.Single */
.ss
{
color
:
#d14
;}
/* Literal.String.Symbol */
.bp
{
color
:
#003388
}
/* Name.Builtin.Pseudo */
.vc
{
color
:
#336699
}
/* Name.Variable.Class */
.vg
{
color
:
#dd7700
}
/* Name.Variable.Global */
.vi
{
color
:
#3333bb
}
.hljs
{
background
:
#FFF
;
}
.line-numbers
a
{
color
:
#999
;
}
}
.shadow
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment