-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(nested-headings): nested headings for content grouping components
- Loading branch information
Showing
7 changed files
with
231 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,36 @@ | ||
@import url('https://fonts.googleapis.com/css2?family=Manrope:[email protected]&display=swap'); | ||
@import url("https://fonts.googleapis.com/css2?family=Manrope:[email protected]&display=swap"); | ||
.wmde-markdown.wmde-markdown-color { | ||
background-color: transparent; | ||
font-family: "Manrope", sans-serif ; | ||
font-family: "Manrope", sans-serif; | ||
} | ||
|
||
.wmde-markdown h1, .wmde-markdown h2 { | ||
.wmde-markdown h1, | ||
.wmde-markdown h2 { | ||
padding-left: 10px; | ||
scroll-margin-top: 100px; | ||
border-left: 8px solid #F7931A; | ||
border-left: 8px solid #f7931a; | ||
color: #000; | ||
border-bottom: none !important; | ||
padding-top: 6px; | ||
padding-bottom: 6px; | ||
margin: 8px 0px !important; | ||
font-size: 1.125rem; | ||
|
||
} | ||
|
||
.wmde-markdown h3, .wmde-markdown h4, .wmde-markdown h5, .wmde-markdown h6 { | ||
.wmde-markdown h3, | ||
.wmde-markdown h4, | ||
.wmde-markdown h5, | ||
.wmde-markdown h6 { | ||
color: #000; | ||
font-size: 1rem | ||
scroll-margin-top: 100px; | ||
font-size: 1rem; | ||
} | ||
|
||
span.code-line { | ||
white-space: pre-wrap; | ||
} | ||
.wmde-markdown pre code, .wmde-markdown pre tt{ | ||
.wmde-markdown pre code, | ||
.wmde-markdown pre tt { | ||
max-width: 100%; | ||
} | ||
.wmde-markdown pre > code { | ||
|
@@ -59,15 +64,18 @@ span.code-line { | |
} | ||
|
||
@media (min-width: 1024px) { | ||
|
||
.wmde-markdown h1, .wmde-markdown h2 { | ||
.wmde-markdown h1, | ||
.wmde-markdown h2 { | ||
padding-top: 10px; | ||
padding-bottom: 10px; | ||
margin: 12px 0px !important; | ||
font-size: 1.2rem; | ||
} | ||
|
||
.wmde-markdown h3, .wmde-markdown h4, .wmde-markdown h5, .wmde-markdown h6 { | ||
.wmde-markdown h3, | ||
.wmde-markdown h4, | ||
.wmde-markdown h5, | ||
.wmde-markdown h6 { | ||
color: #000; | ||
font-size: 1rem; | ||
} | ||
|
@@ -77,7 +85,8 @@ span.code-line { | |
font-size: 1rem; | ||
line-height: 2.1875rem; | ||
} | ||
.wmde-markdown ul,.wmde-markdown ol { | ||
.wmde-markdown ul, | ||
.wmde-markdown ol { | ||
margin: 0px !important; | ||
font-weight: 400; | ||
font-size: 1rem; | ||
|
@@ -86,17 +95,20 @@ span.code-line { | |
} | ||
|
||
@media (min-width: 1536px) { | ||
|
||
.wmde-markdown h1, .wmde-markdown h2 { | ||
.wmde-markdown h1, | ||
.wmde-markdown h2 { | ||
margin: 12px 0px !important; | ||
font-size: 1.75rem; | ||
} | ||
|
||
.wmde-markdown h3,.wmde-markdown h4, .wmde-markdown h5, .wmde-markdown h6 { | ||
.wmde-markdown h3, | ||
.wmde-markdown h4, | ||
.wmde-markdown h5, | ||
.wmde-markdown h6 { | ||
font-size: 1rem; | ||
} | ||
|
||
.wmde-markdown p { | ||
line-height: 2rem; | ||
} | ||
} | ||
} |
Oops, something went wrong.