Skip to content

Commit

Permalink
css updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregor Aisch committed Apr 4, 2017
1 parent 5403a30 commit aedb9c6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
5 changes: 3 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,9 @@ <h3 id="color-clipped">color.clipped</h3>
[c = chroma.hcl(50, 40, 80), c.clipped()];
[c = chroma.hcl(50, 40, 100), c.clipped()];
</code></pre>
<p>As a bonus feature you can access the unclipped RGB components using <code>_unclipped</code>.</p>
<pre><code class="lang-js">[c = chroma.hcl(50, 40, 100), c._unclipped];
<p>As a bonus feature you can access the unclipped RGB components using <code>color._rgb._unclipped</code>.</p>
<pre><code class="lang-js">chroma.hcl(50, 40, 100).rgb();
chroma.hcl(50, 40, 100)._rgb._unclipped;
</code></pre>
<h2 id="color-scales">color scales</h2>
<h3 id="chroma-scale">chroma.scale</h3>
Expand Down
9 changes: 5 additions & 4 deletions docs/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,12 @@ pre .CodeMirror:hover, pre .CodeMirror:focus {
.result-display .cm-string {
padding: 0px 4px;
display: inline-block;
min-width: 9px;
min-height: 12px;
min-width: 13px;
min-height: 13px;
border-radius: 3px;
box-sizing: border-box;
position: relative;
vertical-align: bottom;
vertical-align: middle;
margin-left: 2px;
margin-bottom: 2px;
position: relative;
Expand Down Expand Up @@ -275,7 +275,8 @@ pre .CodeMirror:hover, pre .CodeMirror:focus {
}

.cm-small {
height: 13px;
height: 15px;
width: 15px;
}

.cm-hidden-text {
Expand Down

0 comments on commit aedb9c6

Please sign in to comment.