Skip to content

Commit 86401b5

Browse files
committed
style: refine styles for changelog important sections in UpdateChangelogModal.vue
1 parent 8d7ffdf commit 86401b5

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

src/components/UpdateChangelogModal.vue

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -234,25 +234,25 @@ async function openRelease() {
234234
}
235235
236236
.markdown-content :deep(.changelog-important) {
237-
margin: 0 0 1.5rem;
238-
padding: 1rem 1.25rem;
239-
border: 2px solid rgb(220 38 38);
240-
border-radius: 1rem;
237+
margin: 0 0 0.875rem;
238+
padding: 0.6rem 0.75rem;
239+
border: 1.5px solid rgb(220 38 38);
240+
border-radius: 0.625rem;
241241
background: linear-gradient(135deg, rgb(254 242 242), rgb(255 247 237));
242-
box-shadow: 0 12px 30px -20px rgb(220 38 38 / 0.65);
242+
box-shadow: 0 6px 14px -16px rgb(220 38 38 / 0.38);
243243
}
244244
245245
:root.dark .markdown-content :deep(.changelog-important) {
246246
border-color: rgb(248 113 113);
247247
background: linear-gradient(135deg, rgb(69 10 10), rgb(67 20 7));
248-
box-shadow: 0 14px 34px -22px rgb(248 113 113 / 0.7);
248+
box-shadow: 0 8px 18px -18px rgb(248 113 113 / 0.42);
249249
}
250250
251251
.markdown-content :deep(.changelog-important-label) {
252-
margin: 0 0 0.6rem;
253-
font-size: 0.8rem;
252+
margin: 0 0 0.28rem;
253+
font-size: 0.62rem;
254254
font-weight: 800;
255-
letter-spacing: 0.14em;
255+
letter-spacing: 0.08em;
256256
text-transform: uppercase;
257257
color: rgb(185 28 28);
258258
}
@@ -262,9 +262,9 @@ async function openRelease() {
262262
}
263263
264264
.markdown-content :deep(.changelog-important-title) {
265-
margin: 0 0 0.6rem;
266-
font-size: 1.7rem;
267-
line-height: 1.15;
265+
margin: 0 0 0.28rem;
266+
font-size: 1.08rem;
267+
line-height: 1.18;
268268
font-weight: 800;
269269
color: rgb(127 29 29);
270270
}
@@ -275,8 +275,8 @@ async function openRelease() {
275275
276276
.markdown-content :deep(.changelog-important-body) {
277277
margin: 0;
278-
font-size: 1rem;
279-
line-height: 1.6;
278+
font-size: 0.82rem;
279+
line-height: 1.4;
280280
font-weight: 600;
281281
color: rgb(153 27 27);
282282
}

0 commit comments

Comments
 (0)