<commit_before>/******************************************************
  site base
******************************************************/
* {
  box-sizing: border-box;
}

body {
  background-color: #fff;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

body, input, button {
  font-family: "Roboto", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

button {
  cursor: pointer;
  border: none;
}

a {
  text-decoration: none;
  color: #0175C2;
  cursor: pointer;
  font-weight: 500;
  opacity: 1;
}

a:hover {
  opacity: 0.8;
}

main {
  max-width: $site-max-width;
  margin: 0 auto;
  padding: 0 20px;
}
// TODO: replace searchbar's 'main' element with something non-main
body > main {
  min-height: calc(100vh - 360px); // top nav + search banner + footer margin + footer padding
}

code {
  background: #f8f8f8;
  border: 1px solid #eee;
  font-family: "Source Code Pro", Menlo, monospace;
  font-size: 85%;
  padding: 2px;
}

pre > code {
  display: block;
  overflow-x: auto;
  padding: 0.5em;
}

._flex-space {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

._banner-bg {
  background-image: url(../img/background-pattern.png);
  background-size: cover;

  .experimental & {
    background: $color-searchbar-dark-bg;
    background-image: url(../img/background-pattern-darkblue.jpg);
    color: $color-searchbar-dark-fg;

    a {
      color: $color-searchbar-dark-link;
    }
  }
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */
._visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

._visuallyhidden:active,
._visuallyhidden:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

.overflow-x {
  overflow-x: auto;
}

/******************************************************
  site header
******************************************************/
.site-header-row {
  background: #fff;

  .experimental & {
    background: $color-header-dark-bg;
    color: $color-header-dark-fg;
  }
}

.site-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;

  max-width: $site-max-width;
  margin: 0 auto;
  padding: 6px;
}

.site-header > .hamburger {
  display: none;
  background-color: transparent;
  width: 24px;
  height: 40px;
  background-position: center;
  margin-left: 10px;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAQAAAD9CzEMAAAAKklEQVR4Ae3TMRUAAAhCQfuX1g4+BoY7AjD9qQOwmb0OHICSlQxCUzLAAUfPrmAyBxxOAAAAAElFTkSuQmCC);
  background-size: 100%;
  background-repeat: no-repeat;

  .experimental & {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAQAAAD9CzEMAAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfjBB0KByvlnQBfAAAANklEQVRYw+3TsQkAMAgAQZP9dzZVwAESRLjrbBSLjwDot+qQ+Whp2bp/fzD/AChZyaBkJQNcB6AzBhZq14GdAAAAAElFTkSuQmCC');
  }
}

.experimental .nav-wrap {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

.site-nav {
  display: -webkit-inline-box;<commit_msg>Fix mobile menu layout. (#2268)<commit_after>/******************************************************
  site base
******************************************************/
* {
  box-sizing: border-box;
}

body {
  background-color: #fff;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

body, input, button {
  font-family: "Roboto", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

button {
  cursor: pointer;
  border: none;
}

a {
  text-decoration: none;
  color: #0175C2;
  cursor: pointer;
  font-weight: 500;
  opacity: 1;
}

a:hover {
  opacity: 0.8;
}

main {
  max-width: $site-max-width;
  margin: 0 auto;
  padding: 0 20px;
}
// TODO: replace searchbar's 'main' element with something non-main
body > main {
  min-height: calc(100vh - 360px); // top nav + search banner + footer margin + footer padding
}

code {
  background: #f8f8f8;
  border: 1px solid #eee;
  font-family: "Source Code Pro", Menlo, monospace;
  font-size: 85%;
  padding: 2px;
}

pre > code {
  display: block;
  overflow-x: auto;
  padding: 0.5em;
}

._flex-space {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

._banner-bg {
  background-image: url(../img/background-pattern.png);
  background-size: cover;

  .experimental & {
    background: $color-searchbar-dark-bg;
    background-image: url(../img/background-pattern-darkblue.jpg);
    color: $color-searchbar-dark-fg;

    a {
      color: $color-searchbar-dark-link;
    }
  }
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */
._visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

._visuallyhidden:active,
._visuallyhidden:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

.overflow-x {
  overflow-x: auto;
}

/******************************************************
  site header
******************************************************/
.site-header-row {
  background: #fff;

  .experimental & {
    background: $color-header-dark-bg;
    color: $color-header-dark-fg;
  }
}

.site-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;

  max-width: $site-max-width;
  margin: 0 auto;
  padding: 6px;
}

.site-header > .hamburger {
  display: none;
  background-color: transparent;
  width: 24px;
  height: 40px;
  background-position: center;
  margin-left: 10px;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAQAAAD9CzEMAAAAKklEQVR4Ae3TMRUAAAhCQfuX1g4+BoY7AjD9qQOwmb0OHICSlQxCUzLAAUfPrmAyBxxOAAAAAElFTkSuQmCC);
  background-size: 100%;
  background-repeat: no-repeat;

  .experimental & {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAQAAAD9CzEMAAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfjBB0KByvlnQBfAAAANklEQVRYw+3TsQkAMAgAQZP9dzZVwAESRLjrbBSLjwDot+qQ+Whp2bp/fzD/AChZyaBkJQNcB6AzBhZq14GdAAAAAElFTkSuQmCC');
  }
}

.experimental .nav-wrap {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;

  &.-show {
    display: block;
  }
}

.site-nav {
  display: -webkit-inline-box;
{'fraction_non_alphanumeric': 0.19444863478654398, 'fraction_numerical': 0.027455121436114043, 'mean_word_length': 3.8893805309734515, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '2338012', 'n_tokens_mistral': 2798, 'n_tokens_neox': 2581, 'n_words': 476}