Sha256: f7a0df08cfb79dce779ebccae9c3ef1a422d87a01621cead5bf77c726fab9825

Contents?: true

Size: 1.59 KB

Versions: 1

Compression:

Stored size: 1.59 KB

Contents

// Body resets
//
// Update the foundational and global aspects of the page.

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  font-family: $root-font-family;

  @include properties($body-md);

  font-kerning: normal;
  -moz-font-feature-settings: "calt" 1, "kern" 1, "liga" 1;
  font-feature-settings: "calt" 1, "kern" 1, "liga" 1;

  @media (min-width: $medium-breakpoint) {
    @include properties($body-lg);
  }
}

@supports (font-variation-settings: normal) {
  html {
    font-family: $root-font-family-var;
  }
}

body {
  color: rgba(var(--rgb-primary), 0.90);
  background-color: var(--bg-color);
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

// No `:visited` state is required by default (browsers will use `a`)
a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgb(var(--rgb-primary), 0.2);
  outline: inherit;
  // `:focus` is linked to `:hover` for basic accessibility
  &:hover,
  &:focus {
    color: rgb(var(--rgb-primary), 0.75);
  }

  strong {
    color: inherit;
  }
}

ul {
  padding-left: 0;
}

img {
  display: block;
  max-width: 100%;
  margin: 0 0 1rem;
  border-radius: 5px;
}

table {
  margin-bottom: 1rem;
  width: 100%;
  font-size: 85%;
  border: 1px solid rgba(var(--rgb-primary), 0.3);
  border-collapse: collapse;
}

td,
th {
  padding: 0.25rem 0.5rem;
  border: 1px solid rgba(var(--rgb-primary), 0.1);
}

th {
  text-align: left;
}

tbody tr:nth-child(odd) td,
tbody tr:nth-child(odd) th {
  background-color: rgba(var(--rgb-primary), 0.045);
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
another-theme-0.0.1 _sass/another/_base.scss