lib/rdoc/generator/template/rails/resources/css/main.css in sdoc-1.0.0.rc3 vs lib/rdoc/generator/template/rails/resources/css/main.css in sdoc-1.0.0
- old
+ new
@@ -191,10 +191,11 @@
#content {
margin: 2em;
margin-left: 3.5em;
margin-right: 3.5em;
+ max-width: 980px;
}
.sectiontitle {
margin-top: 2em;
@@ -358,6 +359,16 @@
}
.highlight {
animation-name: highlight;
animation-duration: 1s;
+}
+
+p code {
+ background: #eeeeee;
+ border-radius: 2px;
+ border: 1px solid #dddddd;
+ font-family: Consolas, Menlo, Courier, monospace;
+ font-size: 14px;
+ margin-bottom: 1px;
+ padding: 0 5px;
}