|
| 1 | +.Changelog { |
| 2 | + max-width: 1000px; |
| 3 | + margin-inline: auto; |
| 4 | + display: flex; |
| 5 | + flex-direction: column; |
| 6 | + gap: 4rem; |
| 7 | + position: relative; |
| 8 | + --left-pane: 10rem; |
| 9 | +} |
| 10 | +.Changelog::before { |
| 11 | + content: ''; |
| 12 | + position: absolute; |
| 13 | + top: 2.5rem; |
| 14 | + left: var(--left-pane); |
| 15 | + width: 2px; |
| 16 | + bottom: 2rem; |
| 17 | + background-color: var(--bs-secondary-bg); |
| 18 | + border-right: 1px solid var(--bs-secondary-bg); |
| 19 | +} |
| 20 | + |
| 21 | +.ChangelogItem { |
| 22 | + display: grid; |
| 23 | + gap: 4rem; |
| 24 | + grid-template-columns: var(--left-pane) 1fr; |
| 25 | +} |
| 26 | + |
| 27 | +.ChangelogItem summary { |
| 28 | + list-style: none; |
| 29 | +} |
| 30 | +.ChangelogItem summary::-webkit-details-marker { |
| 31 | + display: none; |
| 32 | +} |
| 33 | + |
| 34 | +.ChangelogItem__Anchor { |
| 35 | + align-self: start; |
| 36 | + position: sticky; |
| 37 | + top: 2rem; |
| 38 | + display: flex; |
| 39 | + padding-block-start: 1rem; |
| 40 | + flex-direction: column; |
| 41 | + align-content: stretch; |
| 42 | + justify-content: center; |
| 43 | + text-align: center; |
| 44 | +} |
| 45 | +.ChangelogItem__Anchor::after { |
| 46 | + content: ''; |
| 47 | + position: absolute; |
| 48 | + right: -.5rem; |
| 49 | + width: 1rem; |
| 50 | + height: 1rem; |
| 51 | + border-radius: 50%; |
| 52 | + background-color: var(--bs-body-color); |
| 53 | +} |
| 54 | + |
| 55 | +.ChangelogItem__Version { |
| 56 | + font-size: 1.25rem; |
| 57 | + font-weight: 400; |
| 58 | + display: block; |
| 59 | + color: var(--bs-code-color); |
| 60 | + opacity: .90; |
| 61 | + transition: all 150ms ease-in-out; |
| 62 | +} |
| 63 | +.ChangelogItem__Version:hover { |
| 64 | + opacity: 1; |
| 65 | +} |
| 66 | + |
| 67 | +.ChangelogItem__Date { |
| 68 | + font-size: 0.85rem; |
| 69 | + font-weight: 400; |
| 70 | + color: var(--bs-secondary); |
| 71 | + display: block; |
| 72 | + font-stretch: semi-condensed; |
| 73 | +} |
| 74 | + |
| 75 | +.ChangelogItem__Content { |
| 76 | + padding: 1.5rem; |
| 77 | + border-radius: 0.5rem; |
| 78 | + background-color: #eef0f91a; |
| 79 | + border: 1px solid var(--bs-secondary-bg); |
| 80 | +} |
| 81 | +[data-bs-theme="dark"] .ChangelogItem__Content { |
| 82 | + background-color: #1c2024; |
| 83 | +} |
| 84 | + |
| 85 | +.ChangelogItem__Head { |
| 86 | + display: flex; |
| 87 | + flex-direction: row; |
| 88 | + align-items: center; |
| 89 | + gap: 1rem; |
| 90 | + justify-content: space-between; |
| 91 | +} |
| 92 | +.ChangelogItem__Head svg { |
| 93 | + transition: 150ms ease-in-out; |
| 94 | + transform: rotate(0deg); |
| 95 | + opacity: .5; |
| 96 | +} |
| 97 | +.ChangelogItem [open] .ChangelogItem__Head svg { |
| 98 | + transform: rotate(180deg); |
| 99 | + opacity: .75; |
| 100 | + transition: all 150ms ease-in-out; |
| 101 | +} |
| 102 | + |
| 103 | +.ChangelogItem__Title { |
| 104 | + font-size: 1.1rem; |
| 105 | + font-weight: 400; |
| 106 | + color: var(--bs-body-color); |
| 107 | + margin-block-end: 0; |
| 108 | +} |
| 109 | +.ChangelogItem [open] .ChangelogItem__Title { |
| 110 | + font-size: 1.25rem; |
| 111 | +} |
| 112 | + |
| 113 | +.ChangelogItem__Text { |
| 114 | + margin-top: 1rem; |
| 115 | + padding-block-start: 1rem; |
| 116 | + border-block-start: 1px solid var(--bs-secondary-bg-subtle); |
| 117 | +} |
| 118 | + |
| 119 | +.ChangelogItem__Text h2 { |
| 120 | + margin-bottom: 1rem; |
| 121 | + color: var(--bs-body-color); |
| 122 | + font-size: 1.2rem; |
| 123 | +} |
| 124 | + |
| 125 | +.ChangelogItem__Text h3 { |
| 126 | + color: var(--bs-body-color); |
| 127 | + font-size: 1.15rem; |
| 128 | + font-family: var(--font-family-text); |
| 129 | + font-weight: 500; |
| 130 | + letter-spacing: 0; |
| 131 | + margin-block-start: 2rem; |
| 132 | + margin-block-end: .25rem; |
| 133 | + line-height: 1.4; |
| 134 | +} |
| 135 | + |
| 136 | +.ChangelogItem__Text ul, |
| 137 | +.ChangelogItem__Text li { |
| 138 | + list-style: outside disc; |
| 139 | + line-height: 1.8; |
| 140 | + padding-left: 0.25rem; |
| 141 | + margin-inline-start: .5rem; |
| 142 | +} |
| 143 | +.ChangelogItem__Text a { |
| 144 | + color: #a3bfe8; |
| 145 | +} |
| 146 | +.ChangelogItem__Text a:hover { |
| 147 | + color: #2072ea; |
| 148 | +} |
| 149 | +.ChangelogItem__Text p:last-child { |
| 150 | + margin-bottom: 0; |
| 151 | +} |
| 152 | + |
| 153 | +@media screen and (max-width: 980px) { |
| 154 | + .Changelog { |
| 155 | + --left-pane: 2rem; |
| 156 | + } |
| 157 | + .ChangelogItem { |
| 158 | + gap: 2rem; |
| 159 | + grid-template-columns: auto 1fr; |
| 160 | + } |
| 161 | + .ChangelogItem { |
| 162 | + grid-template-columns: auto 1fr; |
| 163 | + } |
| 164 | + .ChangelogItem__Anchor::after { |
| 165 | + right: 2rem; |
| 166 | + scale: 0.6; |
| 167 | + } |
| 168 | + .ChangelogItem::before { |
| 169 | + left: 2rem; |
| 170 | + } |
| 171 | + .Changelog::before { |
| 172 | + left: var(--left-pane); |
| 173 | + } |
| 174 | +} |
0 commit comments