// Import a subset of the GitLab UI framework:
// keep parts that affect elements that can appear in emails;
// omit Bootstrap Reboot since it adds unnecessary styles to every element.
@import 'notify_base';

// bootstrap variables, mixins, functions
@import 'bootstrap/scss/functions';
@import 'bootstrap/scss/variables';
@import 'bootstrap/scss/mixins';

// bootstrap styles
@import 'bootstrap/scss/code';

// @gitlab/ui variables, mixins, functions
@import '@gitlab/ui/src/scss/variables';
@import '@gitlab/ui/src/scss/utility-mixins/index';

// @gitlab/ui styles
@import '@gitlab/ui/src/components/base/icon/icon';
@import '@gitlab/ui/src/components/base/label/label';

// gitlab styles
@import 'bootstrap_migration_variables';
@import 'bootstrap_migration_reset';
@import 'framework/gfm';
@import 'framework/kbd';
@import 'framework/tables';
@import 'framework/typography';

body {
  font-family: $regular-font;
  font-size: inherit;
}

.gl-mb-5 {
  @include gl-mb-5;
}

.gl-mt-5 {
  @include gl-mt-5;
}

.content {
  hr {
    border: 1px solid #e1e1e1;
  }

  blockquote {
    border-top-width: 0;
    border-bottom-width: 0;
    border-right-width: 0;

    &:dir(rtl) {
      border-left-width: 0;
      border-right-width: inherit;
    }
  }

  table {
    border-collapse: collapse;
  }

  .diff-table.code,
  table.code {
    width: auto;

    td {
      padding: inherit;

      pre {
        background-color: inherit;
        margin: 0;
        padding: 0;
        border: inherit;
      }
    }
  }
}
