<|start_filename|>boston-liquor/index.css<|end_filename|>

#map {
   height: 100%;
   width: 100%;
   position: absolute;
}

#sidebar {
   position: absolute;
   top: 0;
   left: 0;
   margin: 20px;
   padding: 20px;
   width: 300px;
   background: white;
   border: 2px solid #E9E9E9;
   z-index: 10000;
   color: #494949;
   border-radius: 5px;
}


body {
   margin: 0;
   padding: 0;
   font-family: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
     "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
     sans-serif;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
 }
 
 body {
    font-family: 12px;
 }
 
 .app {
    display: block;
    position: absolute;
    height: 100vh;
    width:100vw;
 }
 
 .map-grid {
    height: 100%;
    width: 100vw;
    display: grid;
    grid: repeat(1, 1fr) / repeat(1, 1fr);
    position: relative;
 }
 
 .line-parent {
    line-height: 30px;
 }
 
 .line {
    display: inline-block;
    border-radius: 50%;
    width: 13px;
    height: 13px;
    background: blue;
    margin-right: 15px;
 }
 
 .custom .leaflet-popup-tip {
    display: none;
 }
 .custom .leaflet-popup-content-wrapper {
    background: white;
    border: 1px solid #E9E9E9;
    color: #656565;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    transition: none;
 }
 
 h1 {
    font-size: 22px;
    color: black;
    margin-top: 0;
 }
 
 h2 {
    font-size: 18px;
    color: black;
 }
 
 h3 {
    margin: 0px;
    font-size: 16px;
    color: black;
    margin-bottom: 5px;
 }
 
 strong {
    color: black;
 }
 
 input {
    padding: 8px 12px;
    border: 1.5px solid #E9E9E9;
    border-radius: 3px;
    font-family: Lato;
    font-size: 16px;
    color: #494949;
 }
 
 button {
    padding: 8px 12px;
    border: 1.5px solid #E9E9E9;
    border-radius: 3px;
    font-family: Lato;
    font-size: 16px;
    cursor: pointer;
    transition: .3s all;
 }
 
 button:hover {
    background: #F3F3F3;
 }
 
 a {
    color: #3C4BF1;
    text-decoration: none;
    transition: .3s all;
 }
 
 a:hover {
    color: #6E7AFD;
 }
 
 #link {
    margin-top: 20px;
    display: block;
 }
 
 p {
    line-height: 26px;
 }
 
 .slider-container {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
            align-items: center;
 }
 
 .hidden {
    display: none;
 }

 .show {
    display: block;
 }

<|start_filename|>chicago-bike-map/index.css<|end_filename|>
:root {
   --sidebar-width: 300px;
   --sidebar-padding: 15px;
   --sidebar-margin: 15px;
   --primary-color: #A4CEFF;
   --grey: #C7C7C7;
}

body {
   margin: 0px;
   border: 0px;
   padding: 0px;
   font-family: 'Roboto', sans-serif;
   font-size: 14px;
}


a {
   color: var(--primary-color);
   text-decoration: none;
}

a:hover {
   color: var(--primary-color);
   text-decoration: underline;
}

#map {
   height: 100%;
   width: 100%;
   position: absolute;
}

#sidebar {
   background: #181A1A;
   width: var(--sidebar-width);
   color: white;
   top: 0;
   left: 0;
   margin: var(--sidebar-padding);
   padding: var(--sidebar-padding);
   z-index: 10000;
   position: absolute;
   border-radius: 3px;
   max-height: calc(100vh - var(--sidebar-margin) * 4);
   overflow-y: auto;
   box-sizing: border-box;
}

#loading {
   height: 40px;
}

.title-row {
   display: flex;
   align-items: center;
}

.title {
   font-weight: 500;
   font-size: 22px;
}

.subtitle {
   color: var(--grey);
   margin: 20px 0;
}

label {
   color: var(--grey);
}

#neighborhood {
   color: white;
   font-weight: 500;
   font-size: 18px;
   margin: 20px 0;
}

.bar-container {
   display: flex;
   flex-direction: column;
   transition: 1s all;
   position: relative;
   height: 330px;
   width: calc(var(--sidebar-width) - var(--sidebar-padding) * 2);

}

.row {
   margin-bottom: 10px;
   position: absolute;
   transition: .8s all ease-out;
   width: 100%;
   cursor: pointer;
}

.bar {
   width: 0%;
   background: blue;
   border-radius: 2px;
   transition: .7s all ease-out;
   padding: 5px 3px;
   box-sizing: border-box;
   white-space: nowrap;
}

.bar-title {
   margin-left: 8px;
   /* color: var(--grey); */
}


.text {
   color: var(--grey);
}

#mappy {
   margin-top: 20px;
   display: block;
}

#clear {
   visibility: hidden;
}

button {
   padding: 9px 12px;
   border: 1.2px solid var(--grey);
   color: white;
   font-family: 'Roboto', sans-serif;
   border-radius: 3px;
   font-size: 14px;
   background: none;
   transition: .2s all;
}

button:hover {
   cursor:pointer;
   background: darkgrey;
}

.custom .leaflet-popup-tip {
   display: none;
}
.custom .leaflet-popup-content-wrapper {
   background: #181A1A;
   color: var(--grey);
   padding: 0;
   border-radius: 0;
   box-shadow: none;
   font-family: 'Roboto';
   font-size: 14px;
   padding: 5px 0;
   border-radius: 3px;
   margin: 0;

}

.leaflet-fade-anim .leaflet-popup {
  transition: none;
}


<|start_filename|>sf-car-breakins/index.html<|end_filename|>
<!doctype html>
<html lang="en-us">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <script src="https://cdnjs.cloudflare.com/ajax/libs/d3/5.7.0/d3.js"></script>
    <title>SF Car Break-ins</title>
    <link rel="stylesheet" href="https://unpkg.com/leaflet@1.3.3/dist/leaflet.css" />
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Fira+Sans:300,400,400i,700|Fira+Mono">
    <link rel="stylesheet" href="../styles/normalize.css">
    <link rel="stylesheet" href="../styles/main.css">

    <meta name="twitter:card" content="summary_large_image" />
   <meta name="twitter:site" content="@here" />
   <meta name="twitter:title" content="SF Car Break-ins" />
   <meta name="twitter:description" content="Locations of car break-ins across the city from 2018 to the present." />
   <meta name="twitter:image" content="https://heremaps.github.io/xyz-showcase/sf-car-breakins/opengraph.png" />
   <meta property="og:url" content="https://heremaps.github.io/xyz-showcase/sf-car-breakins/" />
   <meta property="og:type" content="website" />
   <meta property="og:title" content="SF Car Break-ins" />
   <meta property="og:description" content="Locations of car break-ins across the city from 2018 to the present." />
   <meta property="og:image" content="https://heremaps.github.io/xyz-showcase/sf-car-breakins/opengraph.png" />

  </head>

  <body>
    <div id='modal' class='modal car-breakins-modal'>
      <div class='modal-container'>
        <img id="modal-close" class='modal-close' src="../images/close.svg" alt="close">
        <div class='modal-images'>
          <img src="../images/car_breakins_modal.png" srcset="../images/car_breakins_modal@2x.png 2x">
          <img class='modal-image-fit' src="../images/car_breakins_modal2.png" srcset="../images/car_breakins_modal2@2x.png 2x">
        </div>
        <div class="modal-title">Mapping car break-ins in San Francisco</div>
        <p>
          Over the last few years, car break-ins in San Francisco have reached record-breaking
          highs. Inspired by <a class="modal-link" target="_blank" href="https://projects.sfchronicle.com/trackers/sf-car-breakins/">SF Chronicle’s Car Break-In Tracker</a>, we used XYZ Studio
          and the <a class="modal-link" target="_blank" href="https://data.sfgov.org/Public-Safety/Police-Department-Incident-Reports-2018-to-Present/wg3w-h783">same public data set</a>
          to display the locations of car break-ins across the city from 2018 to
          the present, using conditional rules and data editing to take the visualization to the
          next level.
        </p>

        <p>
          Zoom out to the whole city and you’ll get a clear picture of these crimes of opportunity;
           one of the biggest hotspots is the Great Highway, a stretch of road between Golden Gate
           Park and the Pacific Ocean that is a popular spot for beachgoers and surfers. Another
           hotspot is on the cusp of the city’s famous Ghirardelli Square, a popular tourist
           attraction.
        </p>
        <p>
          Source files and data can be accessed on <a href="https://github.com/heremaps/xyz-showcase">GitHub</a>.
        </p>
      </div>
      <div class='modal-container'>
        <p align='center'>
          <img src="../images/stamen.png"
              srcset="../images/stamen@2x.png 2x,
                      ../images/stamen@3x.png 3x"
              class="stamen">

        </p>
        <p align='center'>
          This map was designed and built by <a href="https://stamen.com">Stamen Design</a> with publicly available data.
        </p>
      </div>
    </div>
    <div class='open-modal' id='open-modal'>
      About this map
    </div>
    <iframe
      src="https://studio.here.com/viewer/?project_id=481ffe53-4a3e-4522-9774-681006f27587"
      frameborder="0"
      style="overflow:hidden;height:100vh;width:100%""></iframe>
    <script>
      var close = document.getElementById("modal-close");
      var modal = document.getElementById("modal");
      var open = document.getElementById("open-modal");

      close.addEventListener('click',function(){
        modal.style.display = "none";
      })

      open.addEventListener('click',function(){
        modal.style.display = "block";
      })

      window.onclick = function(event) {
        if (event.target == modal) {
          modal.style.display = "none";
        }
      }
    </script>
  </body>
</html>
