|
| 1 | +@import url(https://fonts.googleapis.com/css?family=Space+Mono:regular,italic,700,700italic); |
| 2 | +@import url(https://fonts.googleapis.com/css?family=Space+Grotesk:regular,italic,700,700italic); |
| 3 | + |
| 4 | +:root { |
| 5 | + --vp-c-brand: #ff7340; |
| 6 | + --vp-c-brand-light: #ff5719; |
| 7 | + --vp-c-brand-lighter: #ff7340; |
| 8 | + --vp-c-brand-lighter: rgba(255, 135, 23, 0.25); |
| 9 | + --vp-c-brand-dark: #ff622d; |
| 10 | + --vp-c-brand-darker: #e23c00; |
| 11 | + |
| 12 | + --vp-c-sponsor: #fd1d7c; |
| 13 | + |
| 14 | + /* Typography */ |
| 15 | + --vp-font-family-base: "Space Grotesk", "Inter var experimental", "Inter var", |
| 16 | + -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, |
| 17 | + Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; |
| 18 | + |
| 19 | + /* Code Snippet font */ |
| 20 | + --vp-font-family-mono: "Space Mono", Menlo, Monaco, Consolas, "Courier New", |
| 21 | + monospace; |
| 22 | +} |
| 23 | + |
| 24 | +/* Custom Stlye */ |
| 25 | +.custom-layout { |
| 26 | + background-color: var(--vp-c-bg-soft); |
| 27 | + color: var(--vp-c-text-1); |
| 28 | + padding: 1.5rem; |
| 29 | + display: flex; |
| 30 | + flex-direction: column; |
| 31 | + align-items: center; |
| 32 | + justify-content: center; |
| 33 | + text-align: center; |
| 34 | + gap: 1rem; |
| 35 | + min-height: 400px; |
| 36 | + max-width: 1152px; |
| 37 | + margin: 6rem auto 0; |
| 38 | + border-radius: 10px; |
| 39 | +} |
| 40 | + |
| 41 | +.custom-layout h1 { |
| 42 | + font-size: 2.2rem; |
| 43 | + font-weight: 600; |
| 44 | +} |
| 45 | + |
| 46 | +.custom-layout .btn { |
| 47 | + background-color: var(--vp-button-brand-bg); |
| 48 | + color: var(--vp-button-brand-text); |
| 49 | + border-radius: 20px; |
| 50 | + padding: 0.5rem 1.4rem; |
| 51 | +} |
| 52 | + |
| 53 | +/* Logo theme switching */ |
| 54 | +.feature-icon img { |
| 55 | + transition: opacity 0.3s ease; |
| 56 | +} |
| 57 | + |
| 58 | +.feature-icon .light-logo { |
| 59 | + display: block; |
| 60 | +} |
| 61 | + |
| 62 | +.feature-icon .dark-logo { |
| 63 | + display: none; |
| 64 | +} |
| 65 | + |
| 66 | +.dark .feature-icon .light-logo { |
| 67 | + display: none; |
| 68 | +} |
| 69 | + |
| 70 | +.dark .feature-icon .dark-logo { |
| 71 | + display: block; |
| 72 | +} |
0 commit comments