/* Typographie */
// base //
body {
  font-size: 1em;
  line-height: 1.5;
  font-family: $sans-serif;
}
// titres //
h1 {
  font-size: scut-em(48);
  line-height: 1.2;
}
h2 {
  font-size: scut-em(64);
  line-height: 1.2;
  margin-bottom: scut-em(32, 64);
}
h3 {
  font-size: scut-em(28);
  line-height: 1.33;
  margin-top: scut-em(16, 28);
  margin-bottom: scut-em(12, 28);
}
h4 {
  font-size: scut-em(21);
  margin-top: scut-em(24, 21);
  margin-bottom: scut-em(16, 21);
}
h5 {
  font-size: scut-em(18);
  margin-top: scut-em(28, 18);
}
h6 {
  font-size: 1em;
  margin-bottom: 0;
}
h2,
h3,
h4,
h5,
h6 {
  color: $secondary-color;
}
// liens
a {
  color: $link;
  text-decoration: none;
  transition: 0.3s;
  &:link,
  &:visited {
    border-bottom: 1px solid $gray-medium;
  }
  &:visited {
    border-bottom-style: dotted;
  }
  &:hover,
  &:active {
    border-color: $link;
  }
  &:focus {
    background-color: $link;
    color: $gray-very-light;
  }
}
// autres balises
hr {
  border: 0;
  height: 1px;
  background: #333;
  @include background-image(linear-gradient(left, $gray-medium, $gray-dark, $gray-medium));
}
abbr[title] {
  text-decoration: none;
}
blockquote,
q {
  font-family: $serif;
  color: $gray-dark;
  font-style: italic;
}
blockquote {
  font-size: scut-em(18);
  line-height: 1.33;
  quotes: '\201C''\201D';
  margin-top: scut-em(32, 18);
}
blockquote::before,
blockquote::after {
  margin-top: 0;
  font-size: 3em;
  display: block;
  line-height: 0.25;
  color: $gray-medium;
  margin-bottom: 0;
}
blockquote::before {
  content: open-quote;
  float: left;
  margin-right: 0.25em;
}
blockquote::after {
  content: close-quote;
  text-align: right;
}
blockquote p:first-child {
  margin-top: 0;
}
kbd {
  padding: 0.1em 0.5em;
}
code,
pre,
kbd {
  background-color: #555;
  color: #efd540;
  font-family: $monospace;
  font-size: scut-em(14);
  padding: 0.1em 0.2em;
}
pre {
  padding: 0.5em 1em;
}
img {
  max-width: 97%;
}
p,
ul,
ol {
  margin-top: 1em;
  margin-bottom: 0.5em;
}
ul ul,
ul ol,
ol ol,
ol ul {
  margin-top: 0.5em;
}
dl {
  padding: 1em;
  margin: 0;
  background: transparent;
}
dt {
  color: rgb(139, 145, 165);
  font-weight: bold;
}
dd + dt {
  margin-top: 0.5em;
}
dd {
  margin-left: 1em;
  border-left: 1px solid #d9dbdf;
  padding-left: 1em;
  color: #555;
}
aside:not(#sidebar) {
  background-color: rgb(250, 250, 250);
  color: rgb(99, 99, 99);
  width: 20em;
  padding: 0 1em;
  float: right;
  margin: 0 -5em 1em 2em;
  border-left: 3px solid #267daf;
}
@media only screen and (max-width: 60em) {
  aside {
    float: inherit;
    width: inherit;
    margin: 1em 2em;
  }
}
/* a11y */
.sr {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
