oceanprotocol/status

View on GitHub
src/styles/global.css

Summary

Maintainability
Test Coverage
@import '_variables.css';

*,
*:before,
*:after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--font-size-root);
}

body {
  color: var(--brand-grey-light);
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-base);
  line-height: var(--line-height);
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

@media screen and (min-width: 640px) {
  body {
    padding: var(--page-frame);
  }
}

a {
  text-decoration: none;
  color: var(--brand-pink);
  transition: 0.2s ease-out;
}

p {
  margin: 0;
  margin-bottom: calc(var(--spacer) / var(--line-height));
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-family-title);
  color: var(--brand-white);
  line-height: 1.2;
  font-weight: var(--font-weight-bold);
}

h1 {
  font-size: var(--font-size-h1);
}

h2 {
  font-size: var(--font-size-h2);
}

h3 {
  font-size: var(--font-size-h3);
}

h4 {
  font-size: var(--font-size-h4);
}

h5 {
  font-size: var(--font-size-h5);
}

figure,
img,
svg,
video,
audio,
embed,
canvas,
picture {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

ul {
  margin-top: 0;
  margin-bottom: calc(var(--spacer) / var(--line-height));
  padding-left: 0;
  list-style: none;
  padding-left: calc(var(--spacer) / var(--line-height));
}

ul li {
  position: relative;
  display: block;
  margin-bottom: 0;
}

ul li + li {
  margin-top: calc(var(--spacer) / 4);
}

ul li:before {
  content: ' \25AA';
  top: -2px;
  position: absolute;
  left: -1rem;
  color: var(--brand-grey-light);
  user-select: none;
}

code {
  font-family: var(--font-family-monospace);
  font-size: var(--font-size-small);
  color: var(--brand-grey-light);
  text-shadow: none;
}