Skip to content

Commit

Permalink
style: use default letter-spacing from website bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
BreadGenie committed Nov 23, 2023
1 parent dd9ffe2 commit 10d7601
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions wiki/public/scss/edit_wiki.scss
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ $font-sizes-mobile: (
font-size: map-get($font-sizes-desktop, "base");
color: var(--editor-button-text-color);
line-height: 1.7;
letter-spacing: -0.011em;
max-width: calc(100vw - 6rem);

> :first-child {
Expand Down Expand Up @@ -167,13 +166,8 @@ $font-sizes-mobile: (
h1 {
font-size: map-get($font-sizes-desktop, "3xl");
line-height: 1.5;
letter-spacing: -0.021em;
font-weight: 600;

@include media-breakpoint-up(md) {
letter-spacing: -0.024em;
}

// for byline
&+p {
margin-top: 1.5rem !important;
Expand All @@ -188,38 +182,32 @@ $font-sizes-mobile: (
h2 {
font-size: map-get($font-sizes-mobile, "2xl");
line-height: 1.56;
letter-spacing: -0.015em;
margin: 3rem 0 1rem !important;

@include media-breakpoint-up(md) {
font-size: map-get($font-sizes-desktop, "2xl");
letter-spacing: -0.0195em;
}
}

h3 {
font-size: map-get($font-sizes-mobile, "xl");
line-height: 1.56;
letter-spacing: -0.014em;
margin: 2rem 0 1rem !important;

@include media-breakpoint-up(md) {
font-size: map-get($font-sizes-desktop, "xl");
letter-spacing: -0.0175em;
}
}

h4 {
font-size: map-get($font-sizes-mobile, "lg");
line-height: 1.56;
letter-spacing: -0.014em;
margin-top: 1rem !important;
}

h5:not(.modal-title) {
font-size: map-get($font-sizes-mobile, "base");
line-height: 1.5;
letter-spacing: -0.011em;
font-weight: 600;
margin-top: 1rem !important;
}
Expand Down

0 comments on commit 10d7601

Please sign in to comment.