mirror of
https://github.com/mkdocs/mkdocs.git
synced 2026-03-27 09:58:31 +07:00
The result is exactly equivalent, just different syntax -- one that doesn't look weird in vanilla Markdown parsers such as on GitHub. The output HTML before/after is equivalent , other than adding `<p class="admonition-title">Block</p>` in two cases, which I hid with CSS. This also contributes to fixing the currently-present markdownlint MD053 violations, as it can't scan inside admonitions. Add 'markdown-callouts' to dependencies and bump Markdown dep.
54 lines
838 B
CSS
54 lines
838 B
CSS
div.col-md-9 h1:first-of-type {
|
|
text-align: center;
|
|
font-size: 60px;
|
|
font-weight: 300;
|
|
}
|
|
|
|
div.col-md-9>p:first-of-type {
|
|
text-align: center;
|
|
}
|
|
|
|
div.col-md-9 p.admonition-title:first-of-type {
|
|
text-align: left;
|
|
}
|
|
|
|
div.col-md-9 h1:first-of-type .headerlink {
|
|
display: none;
|
|
}
|
|
|
|
code.no-highlight {
|
|
color: black;
|
|
}
|
|
|
|
div.admonition.block>.admonition-title {
|
|
display: none;
|
|
}
|
|
|
|
/* Definition List styles */
|
|
|
|
dd {
|
|
padding-left: 20px;
|
|
}
|
|
|
|
/* Homepage */
|
|
|
|
body.homepage div.jumbotron {
|
|
margin-top: 1.5rem;
|
|
padding-top: 1rem;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
body.homepage div.jumbotron div.card {
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
body.homepage>div.container>div.row>div.col-md-3 {
|
|
display: none;
|
|
}
|
|
|
|
body.homepage>div.container>div.row>div.col-md-9 {
|
|
margin-left: 0;
|
|
flex: 0 0 100%;
|
|
max-width: 100%;
|
|
}
|