<commit_before>---
---

@import url('https://fonts.googleapis.com/css?family=Source+Code+Pro:300,400|Source+Sans+Pro:400,700');

body, html {
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  font-family: 'Source Sans Pro', sans-serif;
  background-color: #212720;
}

main {
  flex: 1 0 auto;
}

header, footer {
  padding: 10px;
  color: white;
  text-align: center;

  h1 {
    display: inline-block;
    transition: all 0.3s;
    margin: 0;
    font-family: monospace;
    letter-spacing: 4px;
    text-align: center;
    color: rgba(255, 255, 255, 0.25);
    &:hover {
      color: rgba(255, 255, 255, 0.5);
    }
  }

  a {
    text-decoration: none;
    color: inherit;
  }
}

.catalog {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 0 2px;
}

.content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.card {
  display: flex;
  position: relative;
  overflow: hidden;
  margin: 2px;
  width: calc(16.66% - 4px);
  height: auto;
  box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12);
  @media(max-width: 1200px) {
    width: calc(20% - 4px);
  }
  @media(max-width: 900px) {
    width: calc(33.33% - 4px);
  }
  @media(max-width: 600px) {
    width: calc(50% - 4px);
  }
  // @media(max-width: 400px) {
  //   width: 100%;
  // }

  &::before {
    content:'';
    float:left;
    padding-top:100%;
  }

  a {
    height: 100%;
    width: 100%;
    &:hover .card-title {
      transform: scale(1.2);
    }
  }

  .card-description {
    position: absolute;
    padding: 10px;
    z-index: 1;
    color: white;
    width: 100%;
    text-shadow: 1px 2px 13px black;

    h2 {
      font-family: 'Source Code Pro', monospace;
      font-weight: normal;
      margin: 0;
    }

    p {
      margin-top: 5px;
    }
  }

  .card-title {
    transition: all .5s;
    overflow: hidden;
    color: white;
    height: 100%;
    width: 100%;
    background-image: url('https://s-media-cache-ak0.pinimg.com/originals/2a/05/29/2a052900be756f5d25cd4a770189bb1a.png');
    background-position: center;
    background-size: cover;
    padding: 10px;
  }

  .card-content {
    padding: 10px;
  }
}
<commit_msg>tried to fix stuff<commit_after>---
---

@import url('https://fonts.googleapis.com/css?family=Source+Code+Pro:300,400|Source+Sans+Pro:400,700');

body, html {
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  font-family: 'Source Sans Pro', sans-serif;
  background-color: #212720;
}

main {
  flex: 1 0 auto;
}

header, footer {
  padding: 10px;
  color: white;
  text-align: center;

  h1 {
    display: inline-block;
    transition: all 0.3s;
    margin: 0;
    font-family: monospace;
    letter-spacing: 4px;
    text-align: center;
    color: rgba(255, 255, 255, 0.25);
    &:hover {
      color: rgba(255, 255, 255, 0.5);
    }
  }

  a {
    text-decoration: none;
    color: inherit;
  }
}

.catalog {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 0 2px;
}

.content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.card {
  display: flex;
  position: relative;
  overflow: hidden;
  margin: 2px;
  width: calc(16.66% - 4px);
  height: calc(16.66vw - 4px);
  box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12);
  @media(max-width: 1200px) {
    width: calc(20% - 4px);'
    height: calc(20vw - 4px);
  }
  @media(max-width: 900px) {
    width: calc(33.33% - 4px);
    height: calc(33.33vw - 4px);
  }
  @media(max-width: 600px) {
    width: calc(50% - 4px);
    height: calc(50vw - 4px);
  }
  // @media(max-width: 400px) {
  //   width: 100%;
  // }

  a {
    height: 100%;
    width: 100%;
    &:hover .card-title {
      transform: scale(1.2);
    }
  }

  .card-description {
    position: absolute;
    padding: 10px;
    z-index: 1;
    color: white;
    width: 100%;
    text-shadow: 1px 2px 13px black;

    h2 {
      font-family: 'Source Code Pro', monospace;
      font-weight: normal;
      margin: 0;
    }

    p {
      margin-top: 5px;
    }
  }

  .card-title {
    transition: all .5s;
    overflow: hidden;
    color: white;
    min-height: 100%;
    width: 100%;
    background-image: url('https://s-media-cache-ak0.pinimg.com/originals/2a/05/29/2a052900be756f5d25cd4a770189bb1a.png');
    background-position: center;
    background-size: cover;
    padding: 10px;
  }

  .card-content {
    padding: 10px;
  }
}

{'fraction_non_alphanumeric': 0.163574322883344, 'fraction_numerical': 0.08210705907442951, 'mean_word_length': 2.451066961000736, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1822918', 'n_tokens_mistral': 2229, 'n_tokens_neox': 1895, 'n_words': 421}