Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Александр Буш
/
minesite
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 27ba8b25
authored
Mar 26, 2013
by
Alex Bush
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
desert theme for prettify
1 parent
fd913f0f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
1 deletions
public/css/desert.css
templates/layouts/default.html.ep
public/css/desert.css
0 → 100644
View file @
27ba8b2
/* desert scheme ported from vim to google prettify */
pre
.prettyprint
{
display
:
block
;
background-color
:
#333
}
pre
.nocode
{
background-color
:
none
;
color
:
#000
}
pre
.str
{
color
:
#ffa0a0
}
/* string - pink */
pre
.kwd
{
color
:
#f0e68c
;
font-weight
:
bold
}
pre
.com
{
color
:
#87ceeb
}
/* comment - skyblue */
pre
.typ
{
color
:
#98fb98
}
/* type - lightgreen */
pre
.lit
{
color
:
#cd5c5c
}
/* literal - darkred */
pre
.pun
{
color
:
#fff
}
/* punctuation */
pre
.pln
{
color
:
#fff
}
/* plaintext */
pre
.tag
{
color
:
#f0e68c
;
font-weight
:
bold
}
/* html/xml tag - lightyellow */
pre
.atn
{
color
:
#bdb76b
;
font-weight
:
bold
}
/* attribute name - khaki */
pre
.atv
{
color
:
#ffa0a0
}
/* attribute value - pink */
pre
.dec
{
color
:
#98fb98
}
/* decimal - lightgreen */
/* Specify class=linenums on a pre to get line numbering */
ol
.linenums
{
margin-top
:
0
;
margin-bottom
:
0
;
color
:
#AEAEAE
}
/* IE indents via margin-left */
li
.L0
,
li
.L1
,
li
.L2
,
li
.L3
,
li
.L5
,
li
.L6
,
li
.L7
,
li
.L8
{
list-style-type
:
none
}
/* Alternate shading for lines */
li
.L1
,
li
.L3
,
li
.L5
,
li
.L7
,
li
.L9
{
}
@media
print
{
pre
.prettyprint
{
background-color
:
none
}
pre
.str
,
code
.str
{
color
:
#060
}
pre
.kwd
,
code
.kwd
{
color
:
#006
;
font-weight
:
bold
}
pre
.com
,
code
.com
{
color
:
#600
;
font-style
:
italic
}
pre
.typ
,
code
.typ
{
color
:
#404
;
font-weight
:
bold
}
pre
.lit
,
code
.lit
{
color
:
#044
}
pre
.pun
,
code
.pun
{
color
:
#440
}
pre
.pln
,
code
.pln
{
color
:
#000
}
pre
.tag
,
code
.tag
{
color
:
#006
;
font-weight
:
bold
}
pre
.atn
,
code
.atn
{
color
:
#404
}
pre
.atv
,
code
.atv
{
color
:
#060
}
}
templates/layouts/default.html.ep
View file @
27ba8b2
...
...
@@ -12,7 +12,7 @@
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/css/bootstrap-wysihtml5.css"
>
<script
src=
"/js/bootstrap-wysihtml5.js"
></script>
<link
href=
"/css/
prettify
.css"
type=
"text/css"
rel=
"stylesheet"
/>
<link
href=
"/css/
desert
.css"
type=
"text/css"
rel=
"stylesheet"
/>
<script
type=
"text/javascript"
src=
"/js/prettify.js"
></script>
</head>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment