median cut palette algorithm workingls still need to get dominant color.

This commit is contained in:
Lokesh Dhakar
2011-11-02 23:29:30 -04:00
parent cc7a8c8267
commit 8e8b0f9818
43 changed files with 1023 additions and 0 deletions

115
css/app.css Normal file
View File

@@ -0,0 +1,115 @@
/* line 17, ../../../../.rvm/gems/ruby-1.9.2-p290/gems/compass-0.11.5/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* line 20, ../../../../.rvm/gems/ruby-1.9.2-p290/gems/compass-0.11.5/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
body {
line-height: 1;
}
/* line 22, ../../../../.rvm/gems/ruby-1.9.2-p290/gems/compass-0.11.5/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
ol, ul {
list-style: none;
}
/* line 24, ../../../../.rvm/gems/ruby-1.9.2-p290/gems/compass-0.11.5/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
table {
border-collapse: collapse;
border-spacing: 0;
}
/* line 26, ../../../../.rvm/gems/ruby-1.9.2-p290/gems/compass-0.11.5/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
caption, th, td {
text-align: left;
font-weight: normal;
vertical-align: middle;
}
/* line 28, ../../../../.rvm/gems/ruby-1.9.2-p290/gems/compass-0.11.5/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
q, blockquote {
quotes: none;
}
/* line 101, ../../../../.rvm/gems/ruby-1.9.2-p290/gems/compass-0.11.5/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
q:before, q:after, blockquote:before, blockquote:after {
content: "";
content: none;
}
/* line 30, ../../../../.rvm/gems/ruby-1.9.2-p290/gems/compass-0.11.5/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
a img {
border: none;
}
/* line 114, ../../../../.rvm/gems/ruby-1.9.2-p290/gems/compass-0.11.5/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
display: block;
}
/* line 3, ../sass/app.sass */
body {
background: #222222;
color: white;
font-family: "lucida grande", sans-serif;
line-height: 1.625em;
padding: 40px;
}
/* line 10, ../sass/app.sass */
h1 {
font-size: 36px;
margin-bottom: 0.5em;
}
/* line 17, ../sass/app.sass */
.imageSection {
overflow: hidden;
*zoom: 1;
margin-bottom: 40px;
}
/* line 20, ../sass/app.sass */
.imageSection img {
float: left;
margin-right: 20px;
}
/* line 23, ../sass/app.sass */
.imageSection .colors {
width: 400px;
float: left;
}
/* line 26, ../sass/app.sass */
.imageSection .colors .function {
overflow: hidden;
*zoom: 1;
margin-bottom: 10px;
}
/* line 29, ../sass/app.sass */
.imageSection .colors .function .swatch {
width: 40px;
height: 20px;
margin: 0 4px 4px 0;
background: #dddddd;
float: left;
}
/* line 36, ../sass/app.sass */
canvas {
display: none;
}