diff --git a/.eslintrc b/.eslintrc index f7edf63..deff2fe 100644 --- a/.eslintrc +++ b/.eslintrc @@ -25,7 +25,6 @@ "browser": true }, "globals": { - "Sheetsee": true, "$": true } } \ No newline at end of file diff --git a/.gitignore b/.gitignore index 54f5125..e43b0f9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1 @@ -node_modules -server.js -test.js -package.json .DS_Store -_site diff --git a/css/site.css b/css/site.css index f9b0571..f9b4087 100644 --- a/css/site.css +++ b/css/site.css @@ -1,10 +1,10 @@ /* Page Specific CSS */ -body {font-family: Lato; background: #fff; color: #333; font-size: 16px; border: 52px #F8F8F8 solid; margin: 0px; padding: 20px 20px 200px 20px;} -h1 {font-size: 80px; font-family: Amatic SC; font-weight: normal; margin: 0px;} -h2 {font-size: 50px; font-family: Amatic SC; font-weight: normal; margin: 11px 0px;} -h3 {font-family: Amatic SC; font-size: 30px; margin: 10px 0px;} -h4 {font-family: Lato; font-size: 24px;} +body {font-family: 'Lato', sans-serif; background: #fff; color: #333; font-size: 16px; border: 52px #F8F8F8 solid; margin: 0px; padding: 20px 20px 20px 20px;} +h1 {font-size: 80px; font-family: 'Acme', sans-serif; font-weight: normal; margin: 0px;} +h2 {font-size: 40px; font-family: 'Acme', sans-serif; font-weight: normal; margin: 0px 0px;} +h3 {font-family: 'Acme', sans-serif; font-size: 30px; margin: 10px 0px;} +h4 {font-family: 'Lato', sans-serif; font-size: 24px;} img {width: 100%;} p a, a {color: #333; text-decoration: none; padding-bottom: 0px; border-bottom: 1px #FD9393 solid;} @@ -14,14 +14,14 @@ p {margin: 0px; padding: 0px; font-size: 12px;} li {line-height: 19px; font-size: 12px;} ol {line-height: 24px;} a.button {border: none;} +.clearfix {clear: both;} pre {word-wrap: break-word; padding: 14px; background: #F0F0F0; } code {font-family: "Consolas", "Ubuntu Mono", monospace; line-height: 22px; font-size: 13px; color: #636363; font-weight: normal;} -.red-text {color: #FD9393;} - -#map {height: 400px; max-width: 530px; min-width: 300px; background: #DADADA;} +#map {height: 500px; width: 450px; min-width: 300px; background: #FFFFFF; float: left;} #map a {border: none;} +.mapboxgl-popup-content {font-family: 'Lato', sans-serif; font-size: 14px; padding: 10px;} .container {margin: 24px 0px;} #tableFilter {margin: 12px 0px; border: none; border-bottom: 1px solid #333; background-color: transparent; padding: 0px; font-family: Lato; color: #333; font-size: 13px; height: 22px;} @@ -34,36 +34,23 @@ ul.nav li {display: inline; font-size: 10px; letter-spacing: .1em; text-transfor ul.nav li a {border: none;} ul.nav li a:hover {border-bottom: 1px #FD9393 solid;} -#wrapper {margin: 0px auto; max-width: 900px; padding-top: 40px; /*margin-left: 250px;*/} +#wrapper {margin: 0px auto; padding: 40px; max-width: 900px} .button {padding: 5px 5px; background-color: #BEBEBE; font-size: 10px; color: #fff;} .button:hover {background: #B9FCFC; color: #47CCFC;} -.fauxButton {padding: 5px 5px; background-color: #FF4646; font-size: 11px; color: #fff; display: inline;} -.fauxButton .selected {background-color: #FF4646;} .colorText {color: #FF4646; text-transform: uppercase; font-weight: 700;} -.leaflet-popup-content h2 {font-family: Lato; font-size: 14px; text-transform: uppercase;} - -#rightSide {max-width: 350px; width: 100%; float: right; padding-top: 5px;} -#selectedSpot {display: none;} -#latestSpot ul, #selectedSpot ul {list-style: none; margin-top: 12px 0px; padding: 0px;} +#selected {max-width: 400px; width: 100%; float: left; padding: 5px 10px;} +#selected .description {font-size: 14px; padding: 4px; line-height: 19px; font-weight: 300; max-width: 530px; min-width: 300px; } +#info {max-width: 400px; width: 100%; float: left; padding: 5px 10px;} .category {text-transform: uppercase; font-size: 9px; letter-spacing: .2em; padding-right: 6px;} +#viewInfo {cursor: pointer;} #info p {font-size: 14px; padding: 4px; line-height: 19px; font-weight: 300; max-width: 530px; min-width: 300px; } -#hackSpotsTable {cursor: pointer; background: #fff; overflow-x: auto; padding-bottom: 20px;} -#hackSpotsTable table {min-width: 900px;} -#hackSpotsTable .tHeader:hover {color: #FF4646;} -.tHeader::after {content: " \2193 \2191 "; font-size: 10px; padding-left: 3px;} -.spotRow:hover {color: #FF4646;} -.spotRow {border-left: 3px solid #ff00ff;} -.hideRow {display: none;} -.selectedRow {color: #FF4C0D;} - @media only screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 320px) and (max-width: 1024px) { body {border: 20px #F8F8F8 solid; margin: 0px; padding: 20px 20px 80px 20px;} - #tableFilter, .clear, .resetMap {display: none;} #wrapper {max-width: 460px; padding-top: 20px;} - #hackSpotsTable, #map {min-width: 224px;} + #Stores, #map {min-width: 224px;} } diff --git a/css/style.css b/css/style.css deleted file mode 100644 index 5b8c2b5..0000000 --- a/css/style.css +++ /dev/null @@ -1,53 +0,0 @@ -/* General */ - -/* body {margin: 0px auto;} - a {color: #333;} - small {padding: 10px 0px;} - #wrapper {margin: 0px auto; max-width: 600px;} - .button {padding: 5px 4px; background-color: #fff; font-size: 10px;}*/ - .button:hover {cursor: hand;} - input:focus {outline: none;} - -/* Table */ - - table {text-align: left; width: 100%} - th {padding: 10px 0px;} - td, text {padding: 3px 0 3px 0; font-size: 14px;} - #tableFilter {margin: 12px 0px; border: none; border-bottom: 1px solid #333; background-color: transparent; padding: 0px; font-family: Merriweather; color: #fff; font-size: 13px; height: 22px;} - .noMatches {margin-left: 20px; font-size: 11px; font-style: italic; visibility: hidden;} - -/* Containers */ - .container {margin: 14px 0px;} - #map {height: 400px; max-width: 800px; background: #DADADA;} - #holder {height: 400px; max-width: 600px; background: #FFE4E4;} - #bar2 {height: 320px; max-width: 600px; background: #F8CDCD;} - -/* Bar Chart */ - - .labels text {text-align: right;} - .bar .labels text {fill: #333;} - .bar rect {fill: #e6e6e6;} - .axis {shape-rendering: crispEdges;} - .x.axis line {stroke: #FFE4E4; /*stroke-opacity: .2;*/ fill: none;} - .x.axis path {fill: none;} - .x.axis text {fill: #333;} - .xLabel {font-family: sans-serif; font-size: 9px;} - -/* Line Chart */ - -/* .axis {shape-rendering: crispEdges;} - .x.axis .minor, .y.axis .minor {stroke-opacity: .5;} - .x.axis {stroke-opacity: 1;}*/ -/* .y.axis line, .y.axis path, .x.axis path {fill: none; stroke: #acacac; stroke-width: 1;} - .x.axis line {stroke: #acacac; stroke-opacity: .75;}*/ -/* .bigg {-webkit-transition: all .2s ease-in-out; -webkit-transform: scale(2);} - path.chartLine {stroke: #14ECC8; stroke-width: 3; fill: none;}*/ - div.tooltip {position: absolute; text-align: left; padding: 4px 8px; width: auto; font-size: 10px; height: auto; background: #fff; border: 0px; pointer-events: none;} - /*circle {fill: #fff;}*/ - -/* Map */ - - .leaflet-popup-content {font-family: Merriweather;} - .leaflet-popup-content h2 {margin-bottom: 4px;} - - img.petThumbs {height: 80px; width: 80px; border-radius: 1000px;} diff --git a/favicon.png b/favicon.png deleted file mode 100644 index 935a111..0000000 Binary files a/favicon.png and /dev/null differ diff --git a/img/fbi_spinner.gif b/img/fbi_spinner.gif deleted file mode 100644 index 872ede5..0000000 Binary files a/img/fbi_spinner.gif and /dev/null differ diff --git a/img/hackspotsss.png b/img/hackspotsss.png deleted file mode 100644 index 7da0be8..0000000 Binary files a/img/hackspotsss.png and /dev/null differ diff --git a/index.html b/index.html index 8d12491..8a5a2c8 100644 --- a/index.html +++ b/index.html @@ -1,197 +1,193 @@ -
-Although the bookselling community of New York City is much depleted from its heyday, there still are independent bookstores out there. Unfortunately, there has also been a lack of resources available to discover and visit the stores that do exist. This site, while not on the level of the old guides, can help with that.
-While the data here are kept up-to-date to the best of my ability, I make no promises about the accuracy of locations or other details presented. If you spot an error, or I've missed a shop, please let me know by email or twitter. Powered by sheetsee.js; based on a project by @jllord. -
Although the bookselling community of New York City is much depleted from its heyday, there still are independent bookstores out there. Unfortunately, there has also been a lack of resources available to discover and visit the stores that do exist. This site, while not on the level of the old guides, can help with that.
+While the data here are kept up-to-date to the best of my ability, I make no promises about the accuracy of locations or other details presented. If you spot an error, or I've missed a shop, please let me know by email or twitter. Based on the "Hack Spots" website by @jllord. +
t |