lib/rdoc/generator/template/rails/resources/css/main.css in sdoc-0.3.4 vs lib/rdoc/generator/template/rails/resources/css/main.css in sdoc-0.3.5
- old
+ new
@@ -145,11 +145,11 @@
list-style: none;
margin-left: 0;
margin-bottom: 0;
}
-pre
+pre
{
margin-bottom: 1em;
}
.methods dt
@@ -259,11 +259,11 @@
padding: 0 0 0.2em 0;
margin-bottom: 0.8em;
font-size: 1.1em;
color:#333;
}
-.method .title {
+.method .method-title {
border-bottom: 1px dotted #666;
padding: 0 0 0.15em 0;
margin: 0 0 0.5em 0;
font-size: 1.2em;
line-height: 1.25em;
@@ -282,6 +282,45 @@
}
.method .source-link
{
font-size: 0.85em;
-}
\ No newline at end of file
+}
+
+.ruby-constant {
+ color: teal;
+}
+.ruby-keyword {
+ color: #000;
+ font-weight: bold
+}
+.ruby-title {
+ color: #900;
+ font-weight: bold;
+}
+.ruby-ivar {
+ color: teal;
+}
+.ruby-operator {
+ color: #000;
+ font-weight: bold
+}
+.ruby-identifier {
+ color: #000;
+}
+.ruby-string,
+.ruby-node {
+ color: #D14;
+}
+.ruby-comment {
+ color: #998;
+ font-style: italic;
+}
+.ruby-regexp {
+ color: #009926;
+}
+.ruby-value {
+ color: #990073;
+}
+.ruby-number {
+ color: #40A070;
+}