|
@@ -1,37 +1,19 @@
|
|
import { createGlobalStyle } from "styled-components";
|
|
import { createGlobalStyle } from "styled-components";
|
|
|
|
|
|
const GlobalStyle = createGlobalStyle`
|
|
const GlobalStyle = createGlobalStyle`
|
|
- @font-face {
|
|
|
|
- font-family: 'Mona Sans';
|
|
|
|
- src:
|
|
|
|
- url('assets/Mona-Sans.woff2') format('woff2 supports variations'),
|
|
|
|
- url('assets/Mona-Sans.woff2') format('woff2-variations');
|
|
|
|
- font-weight: 200 900;
|
|
|
|
- font-stretch: 75% 125%;
|
|
|
|
- font-display: swap;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- svg {
|
|
|
|
- vertical-align: top;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- h1, h2, h3, h4, p {
|
|
|
|
- font-family: 'Mona Sans';
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
html, body {
|
|
html, body {
|
|
margin: 0;
|
|
margin: 0;
|
|
padding: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
color: ${({ theme }) => theme.FULL_WHITE};
|
|
color: ${({ theme }) => theme.FULL_WHITE};
|
|
- font-family: 'Mona Sans';
|
|
|
|
|
|
+ font-family: var(--mona-sans);
|
|
font-weight: 400;
|
|
font-weight: 400;
|
|
font-size: 16px;
|
|
font-size: 16px;
|
|
height: 100%;
|
|
height: 100%;
|
|
background-color: #000000;
|
|
background-color: #000000;
|
|
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 800 800'%3E%3Cg fill-opacity='0.3'%3E%3Ccircle fill='%23000000' cx='400' cy='400' r='600'/%3E%3Ccircle fill='%23110718' cx='400' cy='400' r='500'/%3E%3Ccircle fill='%23220e30' cx='400' cy='400' r='400'/%3E%3Ccircle fill='%23331447' cx='400' cy='400' r='300'/%3E%3Ccircle fill='%23441b5f' cx='400' cy='400' r='200'/%3E%3Ccircle fill='%23552277' cx='400' cy='400' r='100'/%3E%3C/g%3E%3C/svg%3E");
|
|
|
|
- background-attachment: fixed;
|
|
|
|
- background-size: cover;
|
|
|
|
|
|
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 800 800'%3E%3Cg fill-opacity='0.3'%3E%3Ccircle fill='%23000000' cx='400' cy='400' r='600'/%3E%3Ccircle fill='%23110718' cx='400' cy='400' r='500'/%3E%3Ccircle fill='%23220e30' cx='400' cy='400' r='400'/%3E%3Ccircle fill='%23331447' cx='400' cy='400' r='300'/%3E%3Ccircle fill='%23441b5f' cx='400' cy='400' r='200'/%3E%3Ccircle fill='%23552277' cx='400' cy='400' r='100'/%3E%3C/g%3E%3C/svg%3E");
|
|
|
|
+ background-attachment: fixed;
|
|
|
|
+ background-size: cover;
|
|
|
|
|
|
@media only screen and (max-width: 768px) {
|
|
@media only screen and (max-width: 768px) {
|
|
background-position: right;
|
|
background-position: right;
|
|
@@ -46,17 +28,20 @@ const GlobalStyle = createGlobalStyle`
|
|
.hide {
|
|
.hide {
|
|
display: none;
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ svg {
|
|
|
|
+ vertical-align: top;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
|
|
a {
|
|
a {
|
|
text-decoration: none;
|
|
text-decoration: none;
|
|
color: unset;
|
|
color: unset;
|
|
padding: 0;
|
|
padding: 0;
|
|
margin: 0;
|
|
margin: 0;
|
|
- font-family: 'Roboto', sans-serif;
|
|
|
|
}
|
|
}
|
|
|
|
|
|
button {
|
|
button {
|
|
- font-family: 'Mona Sans';
|
|
|
|
border: none;
|
|
border: none;
|
|
outline: none;
|
|
outline: none;
|
|
background: transparent;
|
|
background: transparent;
|
|
@@ -64,13 +49,12 @@ const GlobalStyle = createGlobalStyle`
|
|
margin: 0;
|
|
margin: 0;
|
|
padding: 0;
|
|
padding: 0;
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
- font-weight: 800;
|
|
|
|
}
|
|
}
|
|
|
|
|
|
#carbonads * {
|
|
#carbonads * {
|
|
- margin: initial;
|
|
|
|
- padding: initial;
|
|
|
|
- line-height: initial;
|
|
|
|
|
|
+ margin: initial;
|
|
|
|
+ padding: initial;
|
|
|
|
+ line-height: initial;
|
|
}
|
|
}
|
|
|
|
|
|
#carbonads {
|
|
#carbonads {
|
|
@@ -90,7 +74,6 @@ const GlobalStyle = createGlobalStyle`
|
|
}
|
|
}
|
|
|
|
|
|
#carbonads > span {
|
|
#carbonads > span {
|
|
-
|
|
|
|
min-width: 18.75em;
|
|
min-width: 18.75em;
|
|
max-width: clamp(18.75em, 22.5em, 24.5em);
|
|
max-width: clamp(18.75em, 22.5em, 24.5em);
|
|
min-height: 100px;
|
|
min-height: 100px;
|