| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315 |
- /* 自定义CSS样式 */
- /* Hero 图片容器 */
- .VPHero .image {
- position: relative;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- /* Hero 图片背景光晕 */
- .VPHero .image-bg {
- background: linear-gradient(135deg, #1f6ade 0%, #4f8de7 100%);
- filter: blur(72px);
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- width: 320px;
- height: 320px;
- z-index: 0;
- opacity: 0.4;
- animation: pulse 4s ease-in-out infinite;
- }
- /* Logo 图片样式 */
- .VPHero .image-src {
- filter: drop-shadow(0 10px 30px rgba(31, 152, 231, 0.3));
- transition: transform 0.3s ease;
- }
- /* 光晕脉冲动画 */
- @keyframes pulse {
- 0%, 100% {
- opacity: 0.4;
- transform: translate(-50%, -50%) scale(1);
- }
- 50% {
- opacity: 0.6;
- transform: translate(-50%, -50%) scale(1.1);
- }
- }
- /* Logo 浮动动画 */
- @keyframes float {
- 0%, 100% {
- transform: translateY(0);
- }
- 50% {
- transform: translateY(-10px);
- }
- }
- /* 标题渐变效果 */
- .VPHero .name {
- background: linear-gradient(135deg, #1f6ade 0%, #4f8de7 100%);
- -webkit-background-clip: text;
- -webkit-text-fill-color: transparent;
- background-clip: text;
- font-weight: 700;
- }
- /* 主标题渐变效果 */
- .VPHero .text {
- background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
- -webkit-background-clip: text;
- -webkit-text-fill-color: transparent;
- background-clip: text;
- font-weight: 800;
- }
- /* 副标题样式 */
- .VPHero .tagline {
- color: #666;
- }
- /* 暗色模式适配 */
- .dark .VPHero .image-bg {
- background: linear-gradient(135deg, #1f6ade 0%, #4f8de7 100%);
- opacity: 0.3;
- }
- .dark .VPHero .text {
- background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
- -webkit-background-clip: text;
- -webkit-text-fill-color: transparent;
- background-clip: text;
- }
- .dark .VPHero .tagline {
- color: #a0a0a0;
- }
- /* Features 卡片样式优化 */
- .VPFeature .title {
- font-weight: 600;
- }
- .VPFeature .details {
- color: #666;
- }
- .dark .VPFeature .details {
- color: #a0a0a0;
- }
- /* 首页社区支持区 */
- .docs-community-panel {
- display: grid;
- grid-template-columns: minmax(0, 1fr) minmax(520px, 620px);
- gap: 20px;
- align-items: stretch;
- margin: 28px 0 8px;
- padding: 22px;
- border: 1px solid rgba(191, 219, 254, 0.82);
- border-radius: 10px;
- background:
- radial-gradient(circle at 18% 12%, rgba(59, 130, 246, 0.12), transparent 30%),
- linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.78) 54%, rgba(240, 253, 250, 0.82));
- box-shadow: 0 12px 30px rgba(30, 64, 175, 0.08);
- }
- .docs-community-copy {
- display: flex;
- min-width: 0;
- flex-direction: column;
- justify-content: center;
- }
- .docs-community-eyebrow {
- width: fit-content;
- margin-bottom: 12px;
- padding: 5px 10px;
- border: 1px solid #bfdbfe;
- border-radius: 999px;
- background: #eff6ff;
- color: #1d4ed8;
- font-size: 12px;
- font-weight: 800;
- }
- .docs-community-copy h3 {
- margin: 0;
- color: #0f172a;
- font-size: 25px;
- font-weight: 850;
- line-height: 1.35;
- }
- .docs-community-copy p {
- margin: 12px 0 0;
- color: #475569;
- font-size: 14px;
- line-height: 1.85;
- }
- .docs-community-tags {
- display: flex;
- flex-wrap: wrap;
- gap: 8px;
- margin-top: 18px;
- }
- .docs-community-tags span {
- display: inline-flex;
- align-items: center;
- height: 26px;
- padding: 0 10px;
- border: 1px solid #bae6fd;
- border-radius: 999px;
- background: linear-gradient(135deg, #eff6ff, #f0fdfa);
- color: #0369a1;
- font-size: 12px;
- font-weight: 800;
- }
- .docs-community-cards {
- display: grid;
- grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
- gap: 12px;
- min-width: 0;
- }
- .docs-community-card {
- display: flex;
- min-width: 0;
- flex-direction: column;
- gap: 10px;
- padding: 14px;
- border: 1px solid #dbeafe;
- border-radius: 8px;
- background: rgba(255, 255, 255, 0.92);
- }
- .docs-community-card.support {
- border-color: #bbf7d0;
- background: rgba(251, 255, 253, 0.94);
- }
- .docs-community-card-title {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 8px;
- color: #0f172a;
- font-size: 14px;
- font-weight: 850;
- }
- .docs-community-card-title em {
- display: inline-flex;
- align-items: center;
- height: 22px;
- padding: 0 8px;
- border-radius: 999px;
- background: #eff6ff;
- color: #2563eb;
- font-size: 11px;
- font-style: normal;
- font-weight: 800;
- white-space: nowrap;
- }
- .docs-community-card.support .docs-community-card-title em {
- background: #ecfdf5;
- color: #059669;
- }
- .docs-community-qr-duo {
- display: grid;
- grid-template-columns: repeat(2, minmax(0, 1fr));
- gap: 10px;
- }
- .docs-community-qr,
- .docs-community-support-qr {
- display: flex;
- min-width: 0;
- flex-direction: column;
- gap: 8px;
- align-items: center;
- color: #334155;
- font-size: 12px;
- font-weight: 800;
- text-decoration: none;
- }
- .docs-community-qr img,
- .docs-community-support-qr img {
- width: 100%;
- height: 210px;
- border: 1px solid #e2e8f0;
- border-radius: 6px;
- background: #fff;
- object-fit: contain;
- }
- .docs-community-card p {
- margin: 0;
- color: #64748b;
- font-size: 12px;
- line-height: 1.65;
- }
- .dark .docs-community-panel {
- border-color: rgba(59, 130, 246, 0.32);
- background:
- radial-gradient(circle at 18% 12%, rgba(59, 130, 246, 0.18), transparent 34%),
- linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.94));
- }
- .dark .docs-community-copy h3,
- .dark .docs-community-card-title {
- color: #f8fafc;
- }
- .dark .docs-community-copy p,
- .dark .docs-community-card p {
- color: #cbd5e1;
- }
- .dark .docs-community-card {
- border-color: rgba(148, 163, 184, 0.24);
- background: rgba(15, 23, 42, 0.78);
- }
- @media (max-width: 960px) {
- .docs-community-panel {
- grid-template-columns: 1fr;
- }
- .docs-community-cards {
- grid-template-columns: 1fr;
- }
- }
- @media (max-width: 640px) {
- .docs-community-panel {
- padding: 16px;
- }
- .docs-community-copy h3 {
- font-size: 21px;
- }
- .docs-community-qr-duo {
- grid-template-columns: 1fr;
- }
- .docs-community-qr img,
- .docs-community-support-qr img {
- height: 280px;
- }
- }
|