<commit_before>.container {
  max-width: var(--cardMax);
  margin: 0 auto 4rem;
}

[type="demo"] .card {
  box-shadow: 0px 20px 25px 0px rgba(0, 0, 0, 0.2);
  margin-bottom: 4rem;
  border-radius: 10px;
  margin: 0 auto;
}

[type="resource"] {
  box-shadow: 0px 20px 25px 0px rgba(0, 0, 0, 0.2);
  margin-bottom: 4rem;
  background-color: #f5f5f5;
  border-radius: 10px;
  width: calc(100% - 4rem);
}

.demoArea {
  display: grid;
  background: white;
  place-items: center;
}

.demoText {
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  margin: 0 auto;
  word-break: break-word;
  overflow: hidden;
}

.links {
  margin: 0;
  display: grid;
  grid-template-columns: auto auto;
  grid-gap: 10px;
  justify-content: end;
  padding: 0.75rem;
  width: 100%;
  background: #e1e1e1;
  border-radius: 0 0 10px 10px;
  border: 1px solid #b8b8b8;
}

.cardAction {
  background: white;
  border: 1px solid lightgray;
  color: #222;
  border-radius: 5px;
  font-size: 12px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.05em;
  transition-duration: 0.25s;
  padding: 0.25em 0.5em;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  position: relative;
}

.cardAction:hover {
  color: white;
  background: #77f;
  border-color: #337;
}

/* .copied:after {
  content: 'copied!';
  position: absolute;
  bottom: -1.2rem;
  left: 0;
  right: 0;
  font-size: 80%;
  color: #77f;
} */

.inputVal {
  display: inline-block;
  margin: 0 0.25rem 0 1rem;
  padding: 0 0.25rem;
  color: var(--brightBlue);
  background: none;
  border: 2px solid rgba(255, 255, 255, 0.05);
  border-bottom: dotted 2px magenta;
  outline: none;
}

.inputVal:focus {
  outline: 2px solid magenta;
  border-bottom-color: transparent;
}

.input {
  display: grid;
  grid-template-columns: auto 1fr;
}

.rangeSlider {
  max-width: 100px;
  justify-self: end;
  align-self: center;
  appearance: none;
  width: 100%;
  height: 2px;
  background: darkgray;
  outline: none;
}

.rangeSlider::-webkit-slider-thumb {
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brightBlue);
  cursor: pointer;
  transform: scale(1.2);
  transition-duration: 0.2s;
}

.rangeSlider:focus {<commit_msg>switched to flexbox for it's better intrinsic treatment<commit_after>.container {
  max-width: var(--cardMax);
  margin: 0 auto 4rem;
}

[type="demo"] .card {
  box-shadow: 0px 20px 25px 0px rgba(0, 0, 0, 0.2);
  margin-bottom: 4rem;
  border-radius: 10px;
  margin: 0 auto;
}

[type="resource"] {
  box-shadow: 0px 20px 25px 0px rgba(0, 0, 0, 0.2);
  margin-bottom: 4rem;
  background-color: #f5f5f5;
  border-radius: 10px;
  width: calc(100% - 4rem);
}

.demoArea {
  display: grid;
  background: white;
  place-items: center;
}

.demoText {
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  margin: 0 auto;
  word-break: break-word;
  overflow: hidden;
}

.links {
  margin: 0;
  display: grid;
  grid-template-columns: auto auto;
  grid-gap: 10px;
  justify-content: end;
  padding: 0.75rem;
  width: 100%;
  background: #e1e1e1;
  border-radius: 0 0 10px 10px;
  border: 1px solid #b8b8b8;
}

.cardAction {
  background: white;
  border: 1px solid lightgray;
  color: #222;
  border-radius: 5px;
  font-size: 12px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.05em;
  transition-duration: 0.25s;
  padding: 0.25em 0.5em;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  position: relative;
}

.cardAction:hover {
  color: white;
  background: #77f;
  border-color: #337;
}

/* .copied:after {
  content: 'copied!';
  position: absolute;
  bottom: -1.2rem;
  left: 0;
  right: 0;
  font-size: 80%;
  color: #77f;
} */

.inputVal {
  display: inline-block;
  max-width: 10ch;
  margin: 0 0.25rem 0 1rem;
  padding: 0 0.25rem;
  color: var(--brightBlue);
  background: none;
  border: 2px solid rgba(255, 255, 255, 0.05);
  border-bottom: dotted 2px magenta;
  outline: none;
}

.inputVal:focus {
  outline: 2px solid magenta;
  border-bottom-color: transparent;
}

.input {
  display: flex;
}

.rangeInputWrap {
  flex: 2;
  align-items: center;
  display: flex;
  justify-content: flex-end;
}

.rangeSlider {
  max-width: 100px;
  justify-self: end;
  align-self: center;
  appearance: none;
  width: 100%;
  height: 2px;
  background: darkgray;
  outline: none;
}

.rangeSlider::-webkit-slider-thumb {
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brightBlue);
  cursor: pointer;
  transform: scale(1.2);
  transition-duration: 0.2s;
}

.rangeSlider:focus {
{'fraction_non_alphanumeric': 0.14673113306705907, 'fraction_numerical': 0.058860626445238595, 'mean_word_length': 3.4055555555555554, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '354159', 'n_tokens_mistral': 2113, 'n_tokens_neox': 1891, 'n_words': 471}