91 lines
1.8 KiB
CSS
91 lines
1.8 KiB
CSS
:root {
|
|
color-scheme: light;
|
|
--bg: #f7fbff;
|
|
--panel: rgba(255, 255, 255, 0.88);
|
|
--text: #182641;
|
|
--muted: #66728a;
|
|
--line: #dfe8f6;
|
|
--blue: #2388ff;
|
|
--blue-dark: #1069e8;
|
|
--green: #21c789;
|
|
--purple: #775df6;
|
|
--orange: #f07845;
|
|
--cyan: #4fb5ff;
|
|
--shadow: 0 24px 70px rgba(41, 67, 109, 0.14);
|
|
font-family:
|
|
Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
|
|
"PingFang SC", "Microsoft YaHei", sans-serif;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
min-height: 100%;
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body {
|
|
position: relative;
|
|
min-width: 320px;
|
|
min-height: 100svh;
|
|
margin: 0;
|
|
color: var(--text);
|
|
background:
|
|
linear-gradient(180deg, rgba(255, 250, 244, 0.78), rgba(247, 251, 255, 0.9) 54%, rgba(255, 255, 255, 0.96)),
|
|
url("../backgrounds/dragon-raja-bg.jpg") center top / cover fixed no-repeat,
|
|
var(--bg);
|
|
}
|
|
|
|
body::before {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: -1;
|
|
pointer-events: none;
|
|
content: "";
|
|
background:
|
|
radial-gradient(circle at 80% 18%, rgba(114, 180, 255, 0.22), transparent 32rem),
|
|
linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.62) 45%, rgba(255, 255, 255, 0.18) 100%);
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
p {
|
|
margin-top: 0;
|
|
}
|
|
|
|
h1 {
|
|
max-width: 820px;
|
|
margin-bottom: 20px;
|
|
font-size: clamp(2.8rem, 5.3vw, 4.85rem);
|
|
line-height: 1.12;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
h1 span {
|
|
color: var(--blue);
|
|
text-shadow: 0 10px 28px rgba(35, 136, 255, 0.22);
|
|
}
|
|
|
|
h2 {
|
|
margin-bottom: 8px;
|
|
font-size: clamp(1.7rem, 2.5vw, 2.2rem);
|
|
line-height: 1.12;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
scroll-behavior: auto !important;
|
|
transition-duration: 0.01ms !important;
|
|
}
|
|
}
|