
.Alert {
  display: table;
  position: relative;
  line-height: 1.3;
  font-size: 1.3em;
  font-weight: 500;
  padding: 0.6rem;
  padding-right: 1.7rem;
  margin: 1rem auto;
  border: 1px solid;
  border-radius: 0.2em;
  animation: 300ms cp-fade-in linear;
  overflow: hidden;
  border: 1px solid currentColor;
  border-radius: .3rem;
  box-shadow: 0 2px 4px 0 rgba(34,36,38,.12), 0 2px 10px 0 rgba(34,36,38,.15);

  @infoColor: hsl(205, 74%, 17%);
  color: @infoColor;
  border-color: lighten(@infoColor, 25%);
  background-color: lighten(@infoColor, 75%);

  @warningColor: hsl(38, 83%, 19%);
  &.warning {
    color: @warningColor;
    border-color: lighten(@warningColor, 25%);
    background-color: lighten(@warningColor, 75%);
  }

  @negativeColor: hsl(0, 48%, 42%);
  &.negative {
    color: @negativeColor;
    border-color: lighten(@negativeColor, 25%);
    background-color: lighten(@negativeColor, 55%);
  }

  .close {
    position: absolute;
    top: 0.6rem;
    right: 0.4rem;
    line-height: 0.5;
    font-size: 1.3rem;
    font-weight: 200;
    user-select: none;
    cursor: pointer;
  }

  pre {
    border-radius: 0.2em;
    background: #eee;
    padding: 1em;
    color: black;
  }

  a {
    color: inherit;
    font-weight: 800;
  }
  a:hover {
    text-decoration: underline;
  }
}

