<commit_before>@import compass/layout/stretching
@import compass/css3

/* -------------------------------------------------------------------------- */
/* MEASUREMENTS
/* -------------------------------------------------------------------------- */
$header-height: 2.8em
$sub-header-height: 3em
$footer-height: 3.2em
$body-margin-left: 13.5em

/* -------------------------------------------------------------------------- */
/* COLORS
/* -------------------------------------------------------------------------- */
$body-color: white
$alt-body-color: #F9F9F9
$side-bar-color: #232323
$light-grey: #E1E1E1
$mid-grey: #979797
$dark-grey: #666
$highlight-color: #2C5A8D
$positive-color: #39A22B
$negative-color: #C42217

/* -------------------------------------------------------------------------- */
/* MIXINS
/* -------------------------------------------------------------------------- */
@mixin islay-text-shadow($offset: 1px)
  +text-shadow(rgba(255, 255, 255, 0.9) $offset $offset 0)

@mixin hide
  position: absolute
  left: -1000em

/* -------------------------------------------------------------------------- */
/* BODY SIZING
/* -------------------------------------------------------------------------- */
body
  background: $body-color
  margin: $header-height 0 0 $body-margin-left

body.has-footer
  margin-bottom: $footer-height + 1em

body.has-sub-header
  margin-top: $header-height + $sub-header-height

/* -------------------------------------------------------------------------- */
/* MAIN CONTENT BLOCKS
/* -------------------------------------------------------------------------- */
#main-header
  position: absolute
  left: -1000em

#side-bar
  border-right: 0.1em solid #CCC - 10
  width: $body-margin-left
  position: fixed
  left: 0
  top: 0
  bottom: 0
  z-index: 2

  form
    height: $sub-header-height

#header,
#sub-header,
#footer
  position: fixed
  left: $body-margin-left
  right: 0

#header
  top: 0
  height: $header-height
  z-index: 2

#sub-header
  top: $header-height
  height: $sub-header-height
  z-index: 1

#footer
  height: $footer-height
  bottom: 0
  z-index: 1

#content
  width: 100%
  float: left

/* -------------------------------------------------------------------------- */
/* HEADER
/* -------------------------------------------------------------------------- */
#header
  background: #F3F3F3
  border-bottom: 0.1em solid #B7B9C6

  h1
    +islay-text-shadow
    font-size: 1.2em
    margin: 0.8em 0 0 0
    float: left

    &.hide
      +hide

  a
    +unstyled-link

  ul, li, a
    float: left

  ul.nav
    a
      +text-shadow(white 1px 1px 1px)
      font-weight: bold
      color: $dark-grey
      padding: 0.85em 0.6em 0 0.6em
      height: $header-height - 0.75em

      &:before
        font-size: 1.2em
        margin-right: 0.4em
        font-weight: normal

      &.current
        +background-image(linear-gradient(#4D7BAE, $highlight-color + 15))
        +text-shadow(rgba(0, 0, 0, 0.3) -1px -1px 1px)
        color: white
<commit_msg>Tweak the widths on the sub nav entries.<commit_after>@import compass/layout/stretching
@import compass/css3

/* -------------------------------------------------------------------------- */
/* MEASUREMENTS
/* -------------------------------------------------------------------------- */
$header-height: 2.8em
$sub-header-height: 3em
$footer-height: 3.2em
$body-margin-left: 13.5em

/* -------------------------------------------------------------------------- */
/* COLORS
/* -------------------------------------------------------------------------- */
$body-color: white
$alt-body-color: #F9F9F9
$side-bar-color: #232323
$light-grey: #E1E1E1
$mid-grey: #979797
$dark-grey: #666
$highlight-color: #2C5A8D
$positive-color: #39A22B
$negative-color: #C42217

/* -------------------------------------------------------------------------- */
/* MIXINS
/* -------------------------------------------------------------------------- */
@mixin islay-text-shadow($offset: 1px)
  +text-shadow(rgba(255, 255, 255, 0.9) $offset $offset 0)

@mixin hide
  position: absolute
  left: -1000em

/* -------------------------------------------------------------------------- */
/* BODY SIZING
/* -------------------------------------------------------------------------- */
body
  background: $body-color
  margin: $header-height 0 0 $body-margin-left

body.has-footer
  margin-bottom: $footer-height + 1em

body.has-sub-header
  margin-top: $header-height + $sub-header-height

/* -------------------------------------------------------------------------- */
/* MAIN CONTENT BLOCKS
/* -------------------------------------------------------------------------- */
#main-header
  position: absolute
  left: -1000em

#side-bar
  border-right: 0.1em solid #CCC - 10
  width: $body-margin-left
  position: fixed
  left: 0
  top: 0
  bottom: 0
  z-index: 2

  form
    height: $sub-header-height

#header,
#sub-header,
#footer
  position: fixed
  left: $body-margin-left
  right: 0

#header
  top: 0
  height: $header-height
  z-index: 2

#sub-header
  top: $header-height
  height: $sub-header-height
  z-index: 1

#footer
  height: $footer-height
  bottom: 0
  z-index: 1

#content
  width: 100%
  float: left

/* -------------------------------------------------------------------------- */
/* HEADER
/* -------------------------------------------------------------------------- */
#header
  background: #F3F3F3
  border-bottom: 0.1em solid #B7B9C6

  h1
    +islay-text-shadow
    font-size: 1.2em
    margin: 0.8em 0 0 0
    float: left

    &.hide
      +hide

  a
    +unstyled-link

  ul, li, a
    float: left

  ul.nav
    a
      +text-shadow(white 1px 1px 1px)
      font-weight: bold
      color: $dark-grey
      padding: 0.85em 0.8em 0 0.8em
      height: $header-height - 0.75em

      &:before
        font-size: 1.2em
        margin-right: 0.4em
        font-weight: normal

      &.current
        +background-image(linear-gradient(#4D7BAE, $highlight-color + 15))
        +text-shadow(rgba(0, 0, 0, 0.3) -1px -1px 1px)
        color: white

{'fraction_non_alphanumeric': 0.3993715892177939, 'fraction_numerical': 0.042665784686621466, 'mean_word_length': 1.024774020756612, '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': '523583', 'n_tokens_mistral': 1942, 'n_tokens_neox': 1742, 'n_words': 401}