DannyBen/madness

View on GitHub
app/styles/_typography.scss

Summary

Maintainability
Test Coverage
body {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  color: var(--font-color);
  // font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-family: "Segoe UI", "Helvetica Neue", Helvetica,Arial, freesans, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  word-wrap: break-word;
}

strong, .strong {
  font-weight: bolder;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 1em;
  margin-bottom: 16px;
  font-weight: bold;
  line-height: 1.4;
}

h1 {
  color: var(--h1-color);
  border-bottom: 1px solid var(--h1-border-color);
  margin: 0.67em 0;
  padding-bottom: 0.3em;
  font-size: 2.25em;
  line-height: 1.2;
}

h2 {
  color: var(--h2-color);
  border-bottom: 1px solid var(--h2-border-color);
  padding-bottom: 0.3em;
  font-size: 1.75em;
  line-height: 1.225;
}

h3 {
  color: var(--h3-color);
  font-size: 1.5em;
  line-height: 1.43;
}

h4 {
  color: var(--h4-color);
  font-size: 1.25em;
}

h5 {
  color: var(--h5-color);
  font-size: 1em;
}

h6 {
  color: var(--h6-color);
  font-size: 1em;
}

code, pre, kbd {
  font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
}