Skip to content

Commit

Permalink
Adjust footer styles, add credit, and separate the statistics.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpederson committed Apr 8, 2019
1 parent f9a9153 commit e093482
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 10 deletions.
19 changes: 15 additions & 4 deletions _dev/demo.scss
Original file line number Diff line number Diff line change
Expand Up @@ -286,11 +286,22 @@ code {
}
}

p.small {
font-size: .8em;
line-height: 1.2em;
padding: 4px 0 7px;
p {
&.small {
font-size: .8em;
line-height: 1.4em;
}

padding: 4px 0 12px;
margin: 0;

a {
color: #666;

&:hover {
color: $green;
}
}
}
}

Expand Down
7 changes: 5 additions & 2 deletions _dev/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,14 @@ <h4>Hex Code</h4>
<div class="disclaimer">
<div class="column powered">
<h4>Powered by</h4>
<code><a href="https://github.com/jpederson/colornerd" class="download">colornerd</a></code>
<p class="small"><code><a href="https://github.com/jpederson/colornerd" class="download">colornerd</a></code></p>
<h4>Created by</h4>
<p class="small"><strong><a href="https://jpederson.com">James Pederson</a></strong></p>
</div>
<div class="column fine">
<h4>Disclaimer</h4>
<p class="small">All the colorbooks and color names are the property of their respective owners. This is <strong>not an official project</strong> for any vendor, and they are not liable for how you use it.</p>
<p class="small">All the colorbooks and color names in this library are the property of their respective owners. This is <strong>not an official project</strong> for any book vendor, and neither they, nor the library developer are liable for how it is used.</p>
<h4>Statistics</h4>
<p class="small"><strong>{{count}}</strong> total color swatches in <strong>{{count_files}}</strong> different color books.</p>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion demo.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,14 @@ <h4>Hex Code</h4>
<div class="disclaimer">
<div class="column powered">
<h4>Powered by</h4>
<code><a href="https://github.com/jpederson/colornerd" class="download">colornerd</a></code>
<p class="small"><code><a href="https://github.com/jpederson/colornerd" class="download">colornerd</a></code></p>
<h4>Created by</h4>
<p class="small"><strong><a href="https://jpederson.com">James Pederson</a></strong></p>
</div>
<div class="column fine">
<h4>Disclaimer</h4>
<p class="small">All the colorbooks and color names are the property of their respective owners. This is <strong>not an official project</strong> for any vendor, and they are not liable for how you use it.</p>
<p class="small">All the colorbooks and color names in this library are the property of their respective owners. This is <strong>not an official project</strong> for any book vendor, and neither they, nor the library developer are liable for how it is used.</p>
<h4>Statistics</h4>
<p class="small"><strong>25182</strong> total color swatches in <strong>16</strong> different color books.</p>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "colornerd",
"version": "2.4.1",
"version": "2.4.2",
"description": "Comprehensive library of color books from several color systems - implemented in Sass, LESS, Stylus, JSON, and CSV.",
"scripts": {
"test": "mocha"
Expand Down

0 comments on commit e093482

Please sign in to comment.