mirror of
https://github.com/oceanprotocol/status-frontend.git
synced 2024-06-28 16:57:50 +02:00
157 lines
2.1 KiB
CSS
157 lines
2.1 KiB
CSS
@import '_variables.css';
|
|
|
|
*,
|
|
*:before,
|
|
*:after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
html {
|
|
font-size: var(--font-size-root);
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
@media screen and (prefers-reduced-motion: reduce) {
|
|
html {
|
|
scroll-behavior: auto;
|
|
}
|
|
}
|
|
|
|
body {
|
|
color: var(--font-color-text);
|
|
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;
|
|
background: var(--background-body);
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: var(--brand-pink);
|
|
transition: 0.2s ease-out;
|
|
}
|
|
|
|
p {
|
|
margin: 0;
|
|
margin-bottom: calc(var(--spacer) / var(--line-height));
|
|
}
|
|
|
|
strong {
|
|
font-weight: var(--font-weight-bold);
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5 {
|
|
font-family: var(--font-family-heading);
|
|
color: var(--font-color-heading);
|
|
line-height: 1.2;
|
|
font-weight: var(--font-weight-bold);
|
|
margin-top: 0;
|
|
margin-bottom: var(--spacer);
|
|
}
|
|
|
|
h1 {
|
|
font-size: var(--font-size-h2);
|
|
}
|
|
|
|
h2 {
|
|
font-size: var(--font-size-h3);
|
|
}
|
|
|
|
h3 {
|
|
font-size: var(--font-size-h4);
|
|
}
|
|
|
|
@media (min-width: 30rem) {
|
|
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: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
ul li {
|
|
display: block;
|
|
}
|
|
|
|
::selection {
|
|
background: var(--font-color-heading);
|
|
color: var(--background-body);
|
|
}
|
|
|
|
form,
|
|
fieldset {
|
|
border: 0;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
display: block;
|
|
overflow: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
table th,
|
|
table td {
|
|
border: 0;
|
|
margin: 0;
|
|
padding: calc(var(--spacer) / 2);
|
|
border-bottom: 1px solid var(--border-color);
|
|
text-align: left;
|
|
font-size: 90%;
|
|
}
|
|
|
|
table th {
|
|
font-weight: var(--font-weight-bold);
|
|
}
|