<commit_before>/*!
 * Copyright 2021 The Go Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style
 * license that can be found in the LICENSE file.
 */

@import url('./_header.css');

.go-Main {
  background-color: var(--color-background);
  color: var(--color-text);
  display: grid;
  flex-grow: 1;
  grid-template-areas:
    'banner'
    'header'
    'aside'
    'nav'
    'article'
    'footer';
  grid-template-columns: 100%;
  grid-template-rows: repeat(6, min-content);
  min-height: 32rem;
}

.go-Main-banner {
  grid-area: banner;
}
.go-Main-header {
  background-color: var(--color-background);
  border-bottom: var(--border);
  font-size: 0.875rem;
  grid-area: header;
  min-height: var(--js-unit-header-height);
  padding: 0 var(--gutter);
  top: var(--js-unit-header-top, 0);
  transition: box-shadow 0.25s linear;
  z-index: 10;
}
.go-Main-header[data-fixed] {
  border-bottom: none;
  position: sticky;
}
.go-Main-header[data-raised] {
  border-bottom: var(--border);
}
.go-Main-nav {
  background-color: var(--color-background);
  border-bottom: var(--border);
  font-size: 0.875rem;
  grid-area: nav;
  padding: 0 var(--gutter);
}
.go-Main-article {
  background-color: var(--color-background);
  grid-area: article;
  margin: var(--gap) 0 5rem 0;
  min-height: 32rem;
  padding: 0 var(--gutter);
}
.go-Main-aside {
  background-color: var(--color-background-accented);
  border-bottom: var(--border);
  font-size: 0.875rem;
  grid-area: aside;
  padding: 1rem var(--gutter);
}
.go-Main-aside--empty {
  border-bottom: none;
  padding: 0;
}
.go-Main-footer {
  background-color: var(--color-background);<commit_msg>Revert "static/frontend/unit: unit header becomes sticky as the page is scrolled"<commit_after>/*!
 * Copyright 2021 The Go Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style
 * license that can be found in the LICENSE file.
 */

@import url('./_header.css');

.go-Main {
  background-color: var(--color-background);
  color: var(--color-text);
  display: grid;
  flex-grow: 1;
  grid-template-areas:
    'banner'
    'header'
    'aside'
    'nav'
    'article'
    'footer';
  grid-template-columns: 100%;
  grid-template-rows: repeat(6, min-content);
  min-height: 32rem;
}

.go-Main-banner {
  grid-area: banner;
}
.go-Main-header {
  background-color: var(--color-background);
  border-bottom: var(--border);
  font-size: 0.875rem;
  grid-area: header;
  min-height: var(--js-unit-header-height);
  padding: 0 var(--gutter);
  position: sticky;
  top: var(--js-unit-header-top, 0);
  transition: box-shadow 0.25s linear;
  z-index: 10;
}
.go-Main-header[data-fixed] {
  border-bottom: none;
}
.go-Main-header[data-raised] {
  border-bottom: var(--border);
}
.go-Main-nav {
  background-color: var(--color-background);
  border-bottom: var(--border);
  font-size: 0.875rem;
  grid-area: nav;
  padding: 0 var(--gutter);
}
.go-Main-article {
  background-color: var(--color-background);
  grid-area: article;
  margin: var(--gap) 0 5rem 0;
  min-height: 32rem;
  padding: 0 var(--gutter);
}
.go-Main-aside {
  background-color: var(--color-background-accented);
  border-bottom: var(--border);
  font-size: 0.875rem;
  grid-area: aside;
  padding: 1rem var(--gutter);
}
.go-Main-aside--empty {
  border-bottom: none;
  padding: 0;
}
.go-Main-footer {
  background-color: var(--color-background);
{'fraction_non_alphanumeric': 0.1770771950500884, 'fraction_numerical': 0.022981732469063054, 'mean_word_length': 3.2384519350811485, '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': '791737', 'n_tokens_mistral': 1347, 'n_tokens_neox': 1263, 'n_words': 277}