182 lines
3.7 KiB
CSS
182 lines
3.7 KiB
CSS
/* MElleHK Font Family */
|
|
@font-face {
|
|
font-family: 'MElleHK';
|
|
src: url('../assets/fonts/MElleHK-Light.OTF') format('opentype');
|
|
font-weight: 300;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'MElleHK';
|
|
src: url('../assets/fonts/MElleHK-Medium.OTF') format('opentype');
|
|
font-weight: 500;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'MElleHK';
|
|
src: url('../assets/fonts/MElleHK-Xbold.otf') format('opentype');
|
|
font-weight: 800;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
/* NotoSansCJKtc Font Family */
|
|
@font-face {
|
|
font-family: 'NotoSansCJKtc';
|
|
src: url('../assets/fonts/NotoSansCJKtc-Thin.otf') format('opentype');
|
|
font-weight: 100;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'NotoSansCJKtc';
|
|
src: url('../assets/fonts/NotoSansCJKtc-Light.otf') format('opentype');
|
|
font-weight: 300;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'NotoSansCJKtc';
|
|
src: url('../assets/fonts/NotoSansCJKtc-DemiLight.otf') format('opentype');
|
|
font-weight: 350;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'NotoSansCJKtc';
|
|
src: url('../assets/fonts/NotoSansCJKtc-Regular.otf') format('opentype');
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'NotoSansCJKtc';
|
|
src: url('../assets/fonts/NotoSansCJKtc-Medium.otf') format('opentype');
|
|
font-weight: 500;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'NotoSansCJKtc';
|
|
src: url('../assets/fonts/NotoSansCJKtc-Bold.otf') format('opentype');
|
|
font-weight: 700;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'NotoSansCJKtc';
|
|
src: url('../assets/fonts/NotoSansCJKtc-Black.otf') format('opentype');
|
|
font-weight: 900;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
/* NotoSansMonoCJKtc Font Family */
|
|
@font-face {
|
|
font-family: 'NotoSansMonoCJKtc';
|
|
src: url('../assets/fonts/NotoSansMonoCJKtc-Regular.otf') format('opentype');
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'NotoSansMonoCJKtc';
|
|
src: url('../assets/fonts/NotoSansMonoCJKtc-Bold.otf') format('opentype');
|
|
font-weight: 700;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
/* NotoSerifCJKjp Font Family */
|
|
@font-face {
|
|
font-family: 'NotoSerifCJKjp';
|
|
src: url('../assets/fonts/NotoSerifCJKjp-Black.otf') format('opentype');
|
|
font-weight: 900;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
:root {
|
|
font-family: 'NotoSansCJKtc', 'MElleHK', system-ui, Avenir, Helvetica, Arial, sans-serif;
|
|
line-height: 1.5;
|
|
font-weight: 400;
|
|
|
|
color-scheme: light dark;
|
|
color: rgba(255, 255, 255, 0.87);
|
|
background-color: #ffffff;
|
|
|
|
font-synthesis: none;
|
|
text-rendering: optimizeLegibility;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
a {
|
|
font-weight: 500;
|
|
color: #646cff;
|
|
text-decoration: inherit;
|
|
}
|
|
a:hover {
|
|
color: #535bf2;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
display: block;
|
|
min-width: 320px;
|
|
min-height: 100vh;
|
|
width: 100%;
|
|
}
|
|
|
|
#root {
|
|
width: 100%;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 3.2em;
|
|
line-height: 1.1;
|
|
}
|
|
|
|
button {
|
|
border-radius: 8px;
|
|
border: 1px solid transparent;
|
|
padding: 0.6em 1.2em;
|
|
font-size: 1em;
|
|
font-weight: 500;
|
|
font-family: inherit;
|
|
background-color: #1a1a1a;
|
|
cursor: pointer;
|
|
transition: border-color 0.25s;
|
|
}
|
|
button:hover {
|
|
border-color: #646cff;
|
|
}
|
|
button:focus,
|
|
button:focus-visible {
|
|
outline: 4px auto -webkit-focus-ring-color;
|
|
}
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
:root {
|
|
color: #213547;
|
|
background-color: #ffffff;
|
|
}
|
|
a:hover {
|
|
color: #747bff;
|
|
}
|
|
button {
|
|
background-color: #f9f9f9;
|
|
}
|
|
}
|