Skip to content

Commit

Permalink
fix: markdown style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nextchamp-saqib committed Dec 10, 2023
1 parent 2e80250 commit c5b61cc
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 7 deletions.
10 changes: 3 additions & 7 deletions wiki/public/scss/edit_wiki.scss
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ $font-sizes-mobile: (
line-height: 1.7;
max-width: calc(100vw - 6rem);

> :first-child {
margin-bottom: 0 !important;
}

a:not(.dropdown-item, .btn) {
color: var(--text-color);
text-decoration: underline;
Expand Down Expand Up @@ -170,13 +166,13 @@ $font-sizes-mobile: (

// for byline
& + p {
margin-top: 1.5rem !important;
margin-top: 1rem !important;
line-height: 1.4;
}
}

& > p {
margin-top: 1.5rem !important;
margin-top: 1rem !important;
}

h2 {
Expand All @@ -202,7 +198,7 @@ $font-sizes-mobile: (
h4 {
font-size: map-get($font-sizes-mobile, "lg");
line-height: 1.56;
margin-top: 1rem !important;
margin-top: 1.25rem !important;
}

h5:not(.modal-title) {
Expand Down
20 changes: 20 additions & 0 deletions wiki/public/scss/wiki.scss
Original file line number Diff line number Diff line change
Expand Up @@ -715,13 +715,33 @@ body.dark {
text-align: left;
}

h4 {
font-size: 15px;
font-weight: 600;
line-height: 16px;
letter-spacing: 0.02em;
text-align: left;
}

a.btn-primary-light {
background-color: var(--btn-secondary-color) !important;
}

ul[data-type="taskList"] input {
margin-top: 0;
}

li {
font-size: 14px;
font-weight: 420;
line-height: 21px;
letter-spacing: 0.02em;
text-align: left;

&::marker {
font-size: 14px;
}
}
}

@include media-breakpoint-down(md) {
Expand Down

0 comments on commit c5b61cc

Please sign in to comment.