lib/jazzy/assets/css/jazzy.css.scss in jazzy-0.0.15 vs lib/jazzy/assets/css/jazzy.css.scss in jazzy-0.0.16
- old
+ new
@@ -1,6 +1,7 @@
$doc_coverage_color: #999;
+$content_wrapper_width: 980px;
html, body, div, span, h1, h3, h4, p, a, code, em, img, ul, li, table, tbody, tr, td {
background: transparent;
border: 0;
font-size: 100%;
@@ -9,10 +10,16 @@
padding: 0;
vertical-align: baseline;
}
#reference {
+ .declaration .Swift pre {
+ // Ensure that declarations wrap, as they're a single line
+ white-space: pre-wrap;
+ font-size: 140%;
+ }
+
.x-instance-method.Swift {
margin-left: 15px;
}
.chapter {
overflow-x: hidden;
@@ -231,11 +238,11 @@
}
.content-wrapper {
background-color: rgba(242, 242, 242, 1);
margin: 0 auto;
- width: 980px;
+ width: $content_wrapper_width;
}
.pixel-line {
background: rgba(233, 233, 233, 1);
height: 1px;
@@ -843,8 +850,27 @@
border: 0;
&:before,
&:after {
content: normal;
}
+ }
+ }
+}
+
+html.dash {
+ .book-parts {
+ display: none;
+ width: 0;
+ }
+ .chapter {
+ width: $content_wrapper_width;
+ margin-left: 0;
+ }
+ #reference {
+ .height-container {
+ display: block;
+ }
+ .x-instance-method {
+ margin-left: 0;
}
}
}