2021-07-28 03:27:59 +08:00
|
|
|
/*
|
|
|
|
Copyright 2021 New Vector Ltd
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
*/
|
|
|
|
|
2021-08-20 03:11:12 +08:00
|
|
|
/* Inter unexpectedly contains various codepoints which collide with emoji, even
|
|
|
|
when variation-16 is applied to request the emoji variant. From eyeballing
|
|
|
|
the emoji picker, these are: 20e3, 23cf, 24c2, 25a0-25c1, 2665, 2764, 2b06, 2b1c.
|
|
|
|
Therefore we define a unicode-range to load which excludes the glyphs
|
|
|
|
(to avoid having to maintain a fork of Inter). */
|
|
|
|
|
|
|
|
:root {
|
2021-11-18 06:24:52 +08:00
|
|
|
--inter-unicode-range: U+0000-20e2, U+20e4-23ce, U+23d0-24c1, U+24c3-259f,
|
|
|
|
U+25c2-2664, U+2666-2763, U+2765-2b05, U+2b07-2b1b, U+2b1d-10FFFF;
|
2021-11-18 09:52:31 +08:00
|
|
|
--primaryColor: #0dbd8b;
|
|
|
|
--bgColor1: #15191e;
|
|
|
|
--bgColor2: #21262c;
|
|
|
|
--bgColor3: #444;
|
|
|
|
--bgColor4: #394049;
|
|
|
|
--bgColor5: #8d97a5;
|
|
|
|
--textColor1: #fff;
|
2021-11-18 10:05:41 +08:00
|
|
|
--textColor2: #6f7882;
|
|
|
|
--inputBorderColor: #394049;
|
|
|
|
--inputBorderColorFocused: #0086e6;
|
2021-08-20 03:11:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
2021-11-18 06:24:52 +08:00
|
|
|
font-family: "Inter";
|
|
|
|
font-style: normal;
|
2021-08-20 03:11:12 +08:00
|
|
|
font-weight: 400;
|
|
|
|
font-display: swap;
|
|
|
|
unicode-range: var(--inter-unicode-range);
|
|
|
|
src: url("/fonts/Inter/Inter-Regular.woff2") format("woff2"),
|
2021-11-18 06:24:52 +08:00
|
|
|
url("/fonts/Inter/Inter-Regular.woff") format("woff");
|
2021-08-20 03:11:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
2021-11-18 06:24:52 +08:00
|
|
|
font-family: "Inter";
|
|
|
|
font-style: italic;
|
2021-08-20 03:11:12 +08:00
|
|
|
font-weight: 400;
|
|
|
|
font-display: swap;
|
|
|
|
unicode-range: var(--inter-unicode-range);
|
|
|
|
src: url("/fonts/Inter/Inter-Italic.woff2") format("woff2"),
|
2021-11-18 06:24:52 +08:00
|
|
|
url("/fonts/Inter/Inter-Italic.woff") format("woff");
|
2021-08-20 03:11:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
2021-11-18 06:24:52 +08:00
|
|
|
font-family: "Inter";
|
|
|
|
font-style: normal;
|
2021-08-20 03:11:12 +08:00
|
|
|
font-weight: 500;
|
|
|
|
font-display: swap;
|
|
|
|
unicode-range: var(--inter-unicode-range);
|
|
|
|
src: url("/fonts/Inter/Inter-Medium.woff2") format("woff2"),
|
2021-11-18 06:24:52 +08:00
|
|
|
url("/fonts/Inter/Inter-Medium.woff") format("woff");
|
2021-08-20 03:11:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
2021-11-18 06:24:52 +08:00
|
|
|
font-family: "Inter";
|
|
|
|
font-style: italic;
|
2021-08-20 03:11:12 +08:00
|
|
|
font-weight: 500;
|
|
|
|
font-display: swap;
|
|
|
|
unicode-range: var(--inter-unicode-range);
|
|
|
|
src: url("/fonts/Inter/Inter-MediumItalic.woff2") format("woff2"),
|
2021-11-18 06:24:52 +08:00
|
|
|
url("/fonts/Inter/Inter-MediumItalic.woff") format("woff");
|
2021-08-20 03:11:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
2021-11-18 06:24:52 +08:00
|
|
|
font-family: "Inter";
|
|
|
|
font-style: normal;
|
2021-08-20 03:11:12 +08:00
|
|
|
font-weight: 600;
|
|
|
|
font-display: swap;
|
|
|
|
unicode-range: var(--inter-unicode-range);
|
|
|
|
src: url("/fonts/Inter/Inter-SemiBold.woff2") format("woff2"),
|
2021-11-18 06:24:52 +08:00
|
|
|
url("/fonts/Inter/Inter-SemiBold.woff") format("woff");
|
2021-08-20 03:11:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
2021-11-18 06:24:52 +08:00
|
|
|
font-family: "Inter";
|
|
|
|
font-style: italic;
|
2021-08-20 03:11:12 +08:00
|
|
|
font-weight: 600;
|
|
|
|
font-display: swap;
|
|
|
|
unicode-range: var(--inter-unicode-range);
|
|
|
|
src: url("/fonts/Inter/Inter-SemiBoldItalic.woff2") format("woff2"),
|
2021-11-18 06:24:52 +08:00
|
|
|
url("/fonts/Inter/Inter-SemiBoldItalic.woff") format("woff");
|
2021-08-20 03:11:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
2021-11-18 06:24:52 +08:00
|
|
|
font-family: "Inter";
|
|
|
|
font-style: normal;
|
2021-08-20 03:11:12 +08:00
|
|
|
font-weight: 700;
|
|
|
|
font-display: swap;
|
|
|
|
unicode-range: var(--inter-unicode-range);
|
|
|
|
src: url("/fonts/Inter/Inter-Bold.woff2") format("woff2"),
|
2021-11-18 06:24:52 +08:00
|
|
|
url("/fonts/Inter/Inter-Bold.woff") format("woff");
|
2021-08-20 03:11:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
2021-11-18 06:24:52 +08:00
|
|
|
font-family: "Inter";
|
|
|
|
font-style: italic;
|
2021-08-20 03:11:12 +08:00
|
|
|
font-weight: 700;
|
|
|
|
font-display: swap;
|
|
|
|
unicode-range: var(--inter-unicode-range);
|
|
|
|
src: url("/fonts/Inter/Inter-BoldItalic.woff2") format("woff2"),
|
2021-11-18 06:24:52 +08:00
|
|
|
url("/fonts/Inter/Inter-BoldItalic.woff") format("woff");
|
2021-08-20 03:11:12 +08:00
|
|
|
}
|
|
|
|
|
2021-07-17 05:22:03 +08:00
|
|
|
body {
|
2021-11-18 09:52:31 +08:00
|
|
|
background-color: var(--bgColor1);
|
|
|
|
color: var(--textColor1);
|
2021-07-17 05:22:03 +08:00
|
|
|
margin: 0;
|
2021-11-18 06:24:52 +08:00
|
|
|
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
|
|
|
|
"Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
|
2021-07-17 05:22:03 +08:00
|
|
|
sans-serif;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
}
|
2021-07-27 07:58:31 +08:00
|
|
|
|
2021-11-18 06:24:52 +08:00
|
|
|
html,
|
|
|
|
body,
|
|
|
|
#root {
|
2021-08-20 08:49:45 +08:00
|
|
|
height: 100%;
|
2021-07-27 07:58:31 +08:00
|
|
|
}
|
|
|
|
|
2021-08-20 08:49:45 +08:00
|
|
|
#root {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-07-27 07:58:31 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2021-08-21 07:36:41 +08:00
|
|
|
color: #0086e6;
|
2021-07-27 07:58:31 +08:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2021-11-18 06:24:52 +08:00
|
|
|
a:hover,
|
|
|
|
a:active {
|
2021-08-21 07:36:41 +08:00
|
|
|
opacity: 0.8;
|
2021-07-28 03:27:59 +08:00
|
|
|
}
|
2021-11-18 06:24:52 +08:00
|
|
|
|
|
|
|
summary {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
details > :not(summary) {
|
|
|
|
margin-left: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
details[open] > summary {
|
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|
2021-12-04 08:42:29 +08:00
|
|
|
|
|
|
|
*[data-overlay-container] {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|