Template:Sfrac/styles.css

From Zoophilia Wiki
Jump to navigationJump to search
.sfrac {
  white-space: nowrap;
}

.sfrac.tion,
.sfrac .tion {
  display: inline-block;
  font-size: 0.85em;
  text-align: center;
  vertical-align: -0.5em;
}

.sfrac .num {
  border-bottom: 1px solid;
  display: block;
  line-height: 1;
  margin: 0 0.1em;
}

.sfrac .den {
  display: block;
  line-height: 1;
  margin: 0.1em 0.1em;
}

.sr-only {
  border: none;
  clip: rect(0, 0, 0, 0);  /* Removed from CSS. */
  clip-path: polygon(0 0, 0 0, 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  /* Was 'white-space: nowrap;' but we already have nowrap above. */
}