@font-face {
    font-family: 'base';
    src: url('fonts/base.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

#dsring {
  margin: .5rem auto;
  padding: 5px;
  width: max-content;
  height: fit-content;
  font-family: 'base';
  font-size: 22px;
  font-color: #554040;
  text-align: center;
  & > div {
    display: flex;
    justify-content: center;
  }
}

#dsring a:hover {
text-decoration: underline;
color: #554040;
}

#dsring-error {
  display: block !important;
  padding-bottom: .5rem;
  width: unset !important;
  height: unset !important;
  text-align: center;
  background-color: #fff;
  border: 2px solid #000;
  & h2 {
    margin: 0;
    padding: .3rem 0 .3rem .4rem;
    font-size: 1.5rem;
    color: #292929;
    font-weight: normal;
    background-image: url(https://dsring.neocities.org/universal/title.png);
    background-size: 564px;
    background-repeat: repeat-x;
    background-color: #fff;
    border-top: 0;
    border-bottom: 2px solid #000;
  }
  & div {
    margin: 0 .5rem;
    padding: 10px;
    color: #000;
    text-align: center;
    background-image: url(https://dsring.neocities.org/universal/grid-small.png);
    background-size: 31px;
    border: 2px solid #a5a5a5;
  }
  & a {
      color: #42637b;
  }
  & a:hover {
    text-decoration: none;
    border: 5px solid transparent;
    border-image: url(https://dsring.neocities.org/universal/selection.png) 7% round;
  }
}

#dsring table {
  margin: 0 auto;
}

#dsring table tr td {
  padding: 1px;
}

#dsring .webring-prev a, #dsring .webring-next a, #dsring .webring-info a {
  color: #554040;
  text-decoration: none;
  &:hover {
    color: #554040;
    text-decoration: underline;
    text-decoration-color: #554040;
  }
}

#dsring .webring-prev {
  text-align: right;
}

#dsring .webring-info {
  margin: 0 .5rem;
  text-align: center;
}

#dsring .webring-next {
  text-align: left;
}

#dsring .webring-links {
  font-size: small;
}