forked from rails/sdoc
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
156 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<link rel="stylesheet" href="<%= "#{rel_prefix}/css/reset.css" %>" type="text/css" media="screen" /> | ||
<link rel="stylesheet" href="<%= "#{rel_prefix}/css/main.css" %>" type="text/css" media="screen" /> | ||
<link rel="stylesheet" href="<%= "#{rel_prefix}/css/github.css" %>" type="text/css" media="screen" /> | ||
<script src="<%= "#{rel_prefix}/js/jquery-1.3.2.min.js" %>" type="text/javascript" charset="utf-8"></script> | ||
<script src="<%= "#{rel_prefix}/js/jquery-effect.js" %>" type="text/javascript" charset="utf-8"></script> | ||
<script src="<%= "#{rel_prefix}/js/main.js" %>" type="text/javascript" charset="utf-8"></script> | ||
<script src="<%= "#{rel_prefix}/js/highlight.pack.js" %>" type="text/javascript" charset="utf-8"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
129 changes: 129 additions & 0 deletions
129
lib/sdoc/generator/template/direct/resources/css/github.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
/* | ||
github.com style (c) Vasily Polovnyov <vast@whiteants.net> | ||
*/ | ||
|
||
pre code { | ||
display: block; padding: 0.5em; | ||
color: #000; | ||
background: #f8f8ff | ||
} | ||
|
||
pre .comment, | ||
pre .template_comment, | ||
pre .diff .header, | ||
pre .javadoc { | ||
color: #998; | ||
font-style: italic | ||
} | ||
|
||
pre .keyword, | ||
pre .css .rule .keyword, | ||
pre .winutils, | ||
pre .javascript .title, | ||
pre .lisp .title, | ||
pre .subst { | ||
color: #000; | ||
font-weight: bold | ||
} | ||
|
||
pre .number, | ||
pre .hexcolor { | ||
color: #40a070 | ||
} | ||
|
||
pre .string, | ||
pre .tag .value, | ||
pre .phpdoc, | ||
pre .tex .formula { | ||
color: #d14 | ||
} | ||
|
||
pre .title, | ||
pre .id { | ||
color: #900; | ||
font-weight: bold | ||
} | ||
|
||
pre .javascript .title, | ||
pre .lisp .title, | ||
pre .subst { | ||
font-weight: normal | ||
} | ||
|
||
pre .class .title, | ||
pre .haskell .label, | ||
pre .tex .command { | ||
color: #458; | ||
font-weight: bold | ||
} | ||
|
||
pre .tag, | ||
pre .tag .title, | ||
pre .rules .property, | ||
pre .django .tag .keyword { | ||
color: #000080; | ||
font-weight: normal | ||
} | ||
|
||
pre .attribute, | ||
pre .variable, | ||
pre .instancevar, | ||
pre .lisp .body { | ||
color: #008080 | ||
} | ||
|
||
pre .regexp { | ||
color: #009926 | ||
} | ||
|
||
pre .class { | ||
color: #458; | ||
font-weight: bold | ||
} | ||
|
||
pre .symbol, | ||
pre .ruby .symbol .string, | ||
pre .ruby .symbol .keyword, | ||
pre .ruby .symbol .keymethods, | ||
pre .lisp .keyword, | ||
pre .tex .special, | ||
pre .input_number { | ||
color: #990073 | ||
} | ||
|
||
pre .builtin, | ||
pre .built_in, | ||
pre .lisp .title { | ||
color: #0086b3 | ||
} | ||
|
||
pre .preprocessor, | ||
pre .pi, | ||
pre .doctype, | ||
pre .shebang, | ||
pre .cdata { | ||
color: #999; | ||
font-weight: bold | ||
} | ||
|
||
pre .deletion { | ||
background: #fdd | ||
} | ||
|
||
pre .addition { | ||
background: #dfd | ||
} | ||
|
||
pre .diff .change { | ||
background: #0086b3 | ||
} | ||
|
||
pre .chunk { | ||
color: #aaa | ||
} | ||
|
||
pre .tex .formula { | ||
opacity: 0.5; | ||
} |
Oops, something went wrong.