<commit_before>@import "_conditionals";
@import "_css3";
@import "styleguide/_font-stacks.scss";
@import "styleguide/_typography.scss";

body.mainstream .header-context {
  background-color: #fff;
  padding: 0.25em 0;
  z-index: 50;

  &.content-fixed {
    border-bottom: solid 3px #F2F2F2;
  }

  nav {
    width: 960px;
    margin: 0 auto;

    ol {
      margin: 0;
      padding: 0;

      li {
        background-image: image-url("separator.png");
        background-position: 100% 50%;
        background-repeat: no-repeat;
        float: left;
        font-size: 1.1875em;
        line-height: 1.7;
        list-style: none;
        margin-left: 0.5em;
        padding-right: 1em;

        &:first-child {
          margin-left: 0;
        }

        strong {
          font-weight: normal;
        }

        a {
          white-space: nowrap;
        }

        &:last-child {
          margin-right: 0
        }

      }
    }
  }
}

/*
 * Core global styles
 */

#wrapper {
  background-color: #F2F2F2;

  @include ie-lte(7) {
    zoom: 1;
  }

  header.page-header hgroup {
    background-position: 97% 1em;
    background-repeat: no-repeat;
  }
}

.inner {
  margin: 0 auto;
  padding: 1em;
  position: relative;
}

section#content {
  margin: 1em auto 0 auto;
  max-width: 960px;
  position: relative;

  @include ie-lte(7) {
    width: 960px;
  }
}

h2, h3, h4 {
  font-weight: 300;
}

h2 {
  @include core-24;
  margin-top: 0.5em;
  margin-bottom: 0.25em;
}

h3 {
  @include core-19;
  margin-top: 0.5em;
  margin-bottom: 0.25em;
}

h4 {
  @include core-19;
  margin-top: 0.5em;
  margin-bottom: 0.25em;
}

/*
 * Locate me styles
 */

.popover-mask {
  background-color: rgba(0,0,0,0.5);
  display: none;
  height: 100%;
  left: 0;
  margin: 0;
  top: 30px;
  padding: 0;
  position: fixed;
  width: 100%;
  z-index: 60;

  @include ie-lte(7) {
    position: absolute !important;
  }

  .popover {
    background: #fafafa;
    border: solid 2px #bbb;
    @include border-radius(0.5em);
    box-shadow: 4px 4px 10px rgba(0,0,0,0.3);
    margin: 4em auto 0 auto;
    padding: 0 2.5em 2em 2.5em;
    position: relative;
  }
}

.popover  {
  .close {
    position: absolute;
    top: -19px;
    right: -19px;
  }

  h2 {
    margin: 0.5em 0;
    padding-bottom: 0.2em;
  }
}

#global-locator-form {
  label,
  .ask_location {
    display: inline;

    &.hidden { display: none; }
  }

  .found_location p,
  .finding_location p {
    margin: 0em;
  }
}

/*
 * Related box
 * this related stuff needs re-examining - might be a bit over the top
 */
.related-positioning {
  height: 0;
  left: 0;
  position: fixed;
  top: 6.25em;
  width: 100%;
  z-index: 0;

  @include ie-lte(8) {
    z-index: 0;
  }

  @include ie-lte(7) {
    position: absolute !important;
  }
}

/* the sidebar related box overlaps the main content when zoomed on iPhone */
@media only screen and (max-device-width:320px) {
  .related-positioning {
    position: absolute !important;
  }
}

.related-container {
  height: 0;
  margin: 0 auto;
  max-width: 960px;
  position: relative;
  z-index: 50;
<commit_msg>Fix positioning of related box<commit_after>@import "_conditionals";
@import "_css3";
@import "styleguide/_font-stacks.scss";
@import "styleguide/_typography.scss";

body.mainstream .header-context {
  background-color: #fff;
  padding: 0.25em 0;
  z-index: 50;

  &.content-fixed {
    border-bottom: solid 3px #F2F2F2;
  }

  nav {
    width: 960px;
    margin: 0 auto;

    ol {
      margin: 0;
      padding: 0;

      li {
        background-image: image-url("separator.png");
        background-position: 100% 50%;
        background-repeat: no-repeat;
        float: left;
        font-size: 1.1875em;
        line-height: 1.7;
        list-style: none;
        margin-left: 0.5em;
        padding-right: 1em;

        &:first-child {
          margin-left: 0;
        }

        strong {
          font-weight: normal;
        }

        a {
          white-space: nowrap;
        }

        &:last-child {
          margin-right: 0
        }

      }
    }
  }
}

/*
 * Core global styles
 */

#wrapper {
  background-color: #F2F2F2;

  @include ie-lte(7) {
    zoom: 1;
  }

  header.page-header hgroup {
    background-position: 97% 1em;
    background-repeat: no-repeat;
  }
}

.inner {
  margin: 0 auto;
  padding: 1em;
  position: relative;
}

section#content {
  margin: 1em auto 0 auto;
  max-width: 960px;
  position: relative;

  @include ie-lte(7) {
    width: 960px;
  }
}

h2, h3, h4 {
  font-weight: 300;
}

h2 {
  @include core-24;
  margin-top: 0.5em;
  margin-bottom: 0.25em;
}

h3 {
  @include core-19;
  margin-top: 0.5em;
  margin-bottom: 0.25em;
}

h4 {
  @include core-19;
  margin-top: 0.5em;
  margin-bottom: 0.25em;
}

/*
 * Locate me styles
 */

.popover-mask {
  background-color: rgba(0,0,0,0.5);
  display: none;
  height: 100%;
  left: 0;
  margin: 0;
  top: 30px;
  padding: 0;
  position: fixed;
  width: 100%;
  z-index: 60;

  @include ie-lte(7) {
    position: absolute !important;
  }

  .popover {
    background: #fafafa;
    border: solid 2px #bbb;
    @include border-radius(0.5em);
    box-shadow: 4px 4px 10px rgba(0,0,0,0.3);
    margin: 4em auto 0 auto;
    padding: 0 2.5em 2em 2.5em;
    position: relative;
  }
}

.popover  {
  .close {
    position: absolute;
    top: -19px;
    right: -19px;
  }

  h2 {
    margin: 0.5em 0;
    padding-bottom: 0.2em;
  }
}

#global-locator-form {
  label,
  .ask_location {
    display: inline;

    &.hidden { display: none; }
  }

  .found_location p,
  .finding_location p {
    margin: 0em;
  }
}

/*
 * Related box
 * this related stuff needs re-examining - might be a bit over the top
 */
.related-positioning {
  height: 0;
  left: 0;
  position: fixed;
  top: 6.4em;
  width: 100%;
  z-index: 0;

  @include ie-lte(8) {
    z-index: 0;
  }

  @include ie-lte(7) {
    position: absolute !important;
  }
}

/* the sidebar related box overlaps the main content when zoomed on iPhone */
@media only screen and (max-device-width:320px) {
  .related-positioning {
    position: absolute !important;
  }
}

.related-container {
  height: 0;
  margin: 0 auto;
  max-width: 960px;
  position: relative;
  z-index: 50;

{'fraction_non_alphanumeric': 0.1404639175257732, 'fraction_numerical': 0.04977448453608247, 'mean_word_length': 2.185736275012827, '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': '7535192', 'n_tokens_mistral': 2655, 'n_tokens_neox': 2418, 'n_words': 568}