Some vendor stuff and cleanup
This commit is contained in:
parent
5c4d0d897a
commit
27b8b05724
6 changed files with 78 additions and 0 deletions
9
.gitignore
vendored
Normal file
9
.gitignore
vendored
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
/target
|
||||||
|
/classes
|
||||||
|
/checkouts
|
||||||
|
pom.xml
|
||||||
|
pom.xml.asc
|
||||||
|
*.jar
|
||||||
|
*.class
|
||||||
|
/.lein-*
|
||||||
|
/.nrepl-port
|
2
README.md
Normal file
2
README.md
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
Scrape the book list from the "Book of the month" project and generate a nice
|
||||||
|
looking visual representation of the book covers.
|
8
public/main.js
Normal file
8
public/main.js
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
$(function() {
|
||||||
|
$('#covers').masonry({
|
||||||
|
columnWidth: 265,
|
||||||
|
gutter: 5,
|
||||||
|
isFitWidth: true,
|
||||||
|
itemSelector: '.cover-item'
|
||||||
|
});
|
||||||
|
});
|
46
public/styles.css
Normal file
46
public/styles.css
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
@import url(http://fonts.googleapis.com/css?family=Gilda+Display);
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-color: #CEC3A7;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
color: #7D5D5E;
|
||||||
|
text-align: center;
|
||||||
|
font-family: 'Gilda Display', serif;
|
||||||
|
font-size: 6em;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #3F544B;
|
||||||
|
}
|
||||||
|
a:hover {
|
||||||
|
text-decoration: none;
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
body > p {
|
||||||
|
width: 70%;
|
||||||
|
border-top: 3px solid #3F544B;
|
||||||
|
padding: 5px 0 25px 0;
|
||||||
|
font-family: 'Gilda Display', serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
body > p,
|
||||||
|
#covers {
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cover-item {
|
||||||
|
width: 265px;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
border: 1px solid #FFE5C6;
|
||||||
|
}
|
||||||
|
.cover-item:hover {
|
||||||
|
opacity: 0.7;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cover-item img {
|
||||||
|
width: 265px;
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
4
public/vendors/jquery-2.1.0.min.js
vendored
Normal file
4
public/vendors/jquery-2.1.0.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
9
public/vendors/masonry-3.1.5.pkgd.min.js
vendored
Normal file
9
public/vendors/masonry-3.1.5.pkgd.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue