-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #707 from ae-utbm/update-mistune
Update mistune (0.8 => 3.0)
- Loading branch information
Showing
11 changed files
with
369 additions
and
366 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
.markdown { | ||
--bg-lightgrey: rgb(240, 241, 245); | ||
--border-lightgrey: rgb(215, 216, 220); | ||
|
||
h1, | ||
h2, | ||
h3, | ||
h4, | ||
h5, | ||
h6 { | ||
padding-top: 20px; | ||
} | ||
|
||
ul, | ||
ol, | ||
p { | ||
line-height: 22px; | ||
} | ||
|
||
code { | ||
overflow: auto; | ||
max-width: 100%; | ||
font-family: Consolas; | ||
font-size: 14px; | ||
border-radius: 4px; | ||
border: 1px solid var(--border-lightgrey); | ||
background-color: var(--bg-lightgrey); | ||
padding: 1px 2px; | ||
} | ||
|
||
pre code { | ||
// code that is not inlined | ||
margin: 15px; | ||
padding: 10px; | ||
display: block; | ||
border-radius: 5px; | ||
font-size: 1em; | ||
|
||
@media screen and (max-width: 500px) { | ||
margin: 10px 0; | ||
} | ||
} | ||
|
||
blockquote { | ||
background-color: var(--bg-lightgrey); | ||
border: unset; | ||
border-left: 5px solid #ccc; | ||
border-radius: 4px; | ||
margin: 15px; | ||
padding: 10px 15px; | ||
display: block; | ||
width: fit-content; | ||
|
||
p:first-of-type { | ||
margin-top: 0; | ||
} | ||
|
||
@media screen and (max-width: 500px) { | ||
margin: 10px 0; | ||
padding: 8px 10px; | ||
} | ||
} | ||
|
||
table { | ||
width: auto; | ||
min-width: 30%; | ||
} | ||
|
||
a:hover { | ||
text-decoration: underline; | ||
} | ||
.footnotes { | ||
font-size: 85%; | ||
} | ||
} |
Oops, something went wrong.