|
| 1 | +/* |
| 2 | +DrFed: A web-based platform for developing and debugging ActivityPub apps |
| 3 | +Copyright (C) 2026 DrFed team |
| 4 | +
|
| 5 | +This program is free software: you can redistribute it and/or modify |
| 6 | +it under the terms of the GNU Affero General Public License as published by |
| 7 | +the Free Software Foundation, either version 3 of the License, or |
| 8 | +(at your option) any later version. |
| 9 | +
|
| 10 | +This program is distributed in the hope that it will be useful, |
| 11 | +but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | +GNU Affero General Public License for more details. |
| 14 | +
|
| 15 | +You should have received a copy of the GNU Affero General Public License |
| 16 | +along with this program. If not, see <https://www.gnu.org/licenses/>. |
| 17 | +*/ |
| 18 | + |
| 19 | +:root { |
| 20 | + --vp-font-family-base: system-ui, -apple-system, "Segoe UI", sans-serif; |
| 21 | + --vp-font-family-mono: |
| 22 | + ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; |
| 23 | + --drfed-font-serif: Georgia, "Times New Roman", serif; |
| 24 | + |
| 25 | + --vp-c-bg: #fdfcfb; |
| 26 | + --vp-c-bg-alt: #f4f2f0; |
| 27 | + --vp-c-bg-elv: #ffffff; |
| 28 | + --vp-c-bg-soft: #f5f3f1; |
| 29 | + --vp-c-text-1: #26211f; |
| 30 | + --vp-c-text-2: #6a615c; |
| 31 | + --vp-c-text-3: #756b65; |
| 32 | + --vp-c-divider: #e9e5e1; |
| 33 | + --vp-c-border: #dad4cf; |
| 34 | + --vp-c-gutter: #e9e5e1; |
| 35 | + --vp-c-brand-1: #b83254; |
| 36 | + --vp-c-brand-2: #c23a5c; |
| 37 | + --vp-c-brand-3: #b83254; |
| 38 | + --vp-c-brand-soft: #f7e3e7; |
| 39 | + --vp-c-default-1: #dad4cf; |
| 40 | + --vp-c-default-2: #e9e5e1; |
| 41 | + --vp-c-default-3: #f4f2f0; |
| 42 | + --vp-c-default-soft: #f4f2f0; |
| 43 | + |
| 44 | + --vp-home-hero-name-color: var(--vp-c-brand-1); |
| 45 | + --vp-button-alt-border: var(--vp-c-border); |
| 46 | + --vp-button-alt-hover-border: var(--vp-c-brand-1); |
| 47 | + --vp-nav-height: 68px; |
| 48 | +} |
| 49 | + |
| 50 | +.dark { |
| 51 | + --vp-c-bg: #181613; |
| 52 | + --vp-c-bg-alt: #1e1b17; |
| 53 | + --vp-c-bg-elv: #201d19; |
| 54 | + --vp-c-bg-soft: #272420; |
| 55 | + --vp-c-text-1: #f0ece8; |
| 56 | + --vp-c-text-2: #bab1aa; |
| 57 | + --vp-c-text-3: #a39990; |
| 58 | + --vp-c-divider: #332f2a; |
| 59 | + --vp-c-border: #453f39; |
| 60 | + --vp-c-gutter: #332f2a; |
| 61 | + --vp-c-brand-1: #f78da4; |
| 62 | + --vp-c-brand-2: #ef6a88; |
| 63 | + --vp-c-brand-3: #f78da4; |
| 64 | + --vp-c-brand-soft: #322a27; |
| 65 | + --vp-c-default-1: #453f39; |
| 66 | + --vp-c-default-2: #332f2a; |
| 67 | + --vp-c-default-3: #272420; |
| 68 | + --vp-c-default-soft: #272420; |
| 69 | + --vp-button-brand-text: #26211f; |
| 70 | + --vp-button-brand-hover-text: #26211f; |
| 71 | + --vp-button-brand-active-text: #26211f; |
| 72 | +} |
| 73 | + |
| 74 | +.VPNavBarTitle .title { |
| 75 | + font-family: var(--drfed-font-serif); |
| 76 | + font-size: 24px; |
| 77 | + letter-spacing: -0.03em; |
| 78 | +} |
| 79 | + |
| 80 | +.VPNavBarTitle .logo { |
| 81 | + height: 32px; |
| 82 | + border-radius: 50%; |
| 83 | +} |
| 84 | + |
| 85 | +.VPHero .name { |
| 86 | + font-family: var(--vp-font-family-mono); |
| 87 | + font-size: 14px; |
| 88 | + font-weight: 500; |
| 89 | + letter-spacing: 0.14em; |
| 90 | + line-height: 1.6; |
| 91 | + text-transform: uppercase; |
| 92 | +} |
| 93 | + |
| 94 | +.VPHero .text { |
| 95 | + margin-top: 20px; |
| 96 | + max-width: 760px; |
| 97 | + font-family: var(--drfed-font-serif); |
| 98 | + font-size: clamp(40px, 5.5vw, 72px); |
| 99 | + font-weight: 400; |
| 100 | + letter-spacing: -0.045em; |
| 101 | + line-height: 1.08; |
| 102 | +} |
| 103 | + |
| 104 | +.VPHero .tagline { |
| 105 | + max-width: 540px; |
| 106 | + padding-top: 24px; |
| 107 | + font-size: 18px; |
| 108 | + line-height: 1.65; |
| 109 | +} |
| 110 | + |
| 111 | +.VPButton { |
| 112 | + border-radius: 999px; |
| 113 | +} |
| 114 | + |
| 115 | +.VPFeature { |
| 116 | + border-color: var(--vp-c-divider); |
| 117 | + border-radius: 14px; |
| 118 | + background: var(--vp-c-bg-elv); |
| 119 | +} |
| 120 | + |
| 121 | +.VPFeature .title { |
| 122 | + font-family: var(--drfed-font-serif); |
| 123 | + font-size: 22px; |
| 124 | + font-weight: 400; |
| 125 | + letter-spacing: -0.02em; |
| 126 | +} |
| 127 | + |
| 128 | +.VPFeature .details { |
| 129 | + margin-top: 8px; |
| 130 | + line-height: 1.7; |
| 131 | +} |
| 132 | + |
| 133 | +.vp-doc h1, |
| 134 | +.vp-doc h2 { |
| 135 | + font-family: var(--drfed-font-serif); |
| 136 | + font-weight: 400; |
| 137 | + letter-spacing: -0.025em; |
| 138 | +} |
| 139 | + |
| 140 | +.vp-doc h1 { |
| 141 | + font-size: clamp(34px, 4vw, 44px); |
| 142 | + line-height: 1.15; |
| 143 | +} |
| 144 | + |
| 145 | +.vp-doc h2 { |
| 146 | + font-size: 28px; |
| 147 | +} |
| 148 | + |
| 149 | +.vp-doc p, |
| 150 | +.vp-doc li { |
| 151 | + line-height: 1.75; |
| 152 | +} |
| 153 | + |
| 154 | +.vp-doc div[class*="language-"] { |
| 155 | + border: 1px solid var(--vp-c-divider); |
| 156 | + border-radius: 12px; |
| 157 | +} |
| 158 | + |
| 159 | +.VPSidebarItem.is-active > .item .link > .text { |
| 160 | + font-weight: 700; |
| 161 | +} |
| 162 | + |
| 163 | +.VPFooter { |
| 164 | + background: var(--vp-c-bg-alt); |
| 165 | +} |
0 commit comments