Files
lhbfx/frontend/src/assets/main.css

83 lines
1.8 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@500;700;900&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');
:root {
--color-bg: #090d14;
--color-panel: rgba(16, 23, 33, 0.95);
--color-line: rgba(214, 168, 95, 0.22);
--color-text: #f5efe4;
--color-muted: #93a2b5;
--color-gold: #d4a35c;
--color-gold-soft: #f0c071;
--color-blue: #5ab8ff;
--color-red: #ff5d5d;
--color-green: #2dbd7b;
--color-orange: #ffae42;
--shadow-strong: 0 24px 80px rgba(0, 0, 0, 0.45);
--font-display: 'Noto Serif SC', 'STZhongsong', serif;
--font-body: 'IBM Plex Sans', 'Microsoft YaHei', sans-serif;
--font-mono: 'Bahnschrift', 'IBM Plex Sans', sans-serif;
}
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
color-scheme: dark;
overflow: hidden;
}
body {
margin: 0;
min-width: 360px;
height: 100vh;
color: var(--color-text);
font-family: var(--font-body);
overflow: hidden;
background:
radial-gradient(circle at 10% 20%, rgba(212, 163, 92, 0.12), transparent 26%),
radial-gradient(circle at 90% 10%, rgba(90, 184, 255, 0.1), transparent 24%),
linear-gradient(180deg, #0b0e13 0%, #090c12 100%);
}
body::before {
content: '';
position: fixed;
inset: 0;
background-image:
linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
background-size: 36px 36px;
opacity: 0.3;
pointer-events: none;
}
button,
input,
textarea,
select {
font: inherit;
}
button {
border: 0;
}
#app {
width: min(1600px, calc(100vw - 32px));
height: 100vh;
margin: 0 auto;
padding: 10px 0 10px;
position: relative;
overflow: hidden;
}
@media (max-width: 720px) {
#app {
width: min(100vw - 20px, 1600px);
padding-top: 8px;
}
}