mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-12 23:35:38 +08:00
165 lines
2.4 KiB
Plaintext
165 lines
2.4 KiB
Plaintext
.markdown {
|
|
color: #666;
|
|
font-size: 14px;
|
|
line-height: 1.8;
|
|
}
|
|
|
|
.markdown > * {
|
|
// width: 100%!important;
|
|
}
|
|
|
|
.markdown img {
|
|
vertical-align: middle;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.markdown h1 {
|
|
color: #404040;
|
|
font-weight: 500;
|
|
line-height: 40px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.markdown h2,
|
|
.markdown h3,
|
|
.markdown h4,
|
|
.markdown h5,
|
|
.markdown h6 {
|
|
color: #404040;
|
|
margin: 1.6em 0 0.6em 0;
|
|
font-weight: 500;
|
|
clear: both;
|
|
}
|
|
|
|
.markdown h1 { font-size: 28px; }
|
|
.markdown h2 { font-size: 22px; }
|
|
.markdown h3 { font-size: 18px; }
|
|
.markdown h4 { font-size: 16px; }
|
|
.markdown h5 { font-size: 14px; }
|
|
.markdown h6 { font-size: 12px; }
|
|
|
|
.markdown hr {
|
|
height: 1px;
|
|
border: 0;
|
|
background: #e9e9e9;
|
|
margin: 16px 0;
|
|
clear: both;
|
|
}
|
|
|
|
.markdown p,
|
|
.markdown pre {
|
|
margin: 1em 0;
|
|
}
|
|
|
|
.markdown > p,
|
|
.markdown > blockquote,
|
|
.markdown > .highlight,
|
|
.markdown > ol,
|
|
.markdown > ul {
|
|
width: 80%;
|
|
}
|
|
|
|
.markdown ul > li {
|
|
list-style: circle;
|
|
}
|
|
|
|
.markdown > ul li,
|
|
.markdown blockquote ul > li {
|
|
margin-left: 20px;
|
|
padding-left: 4px;
|
|
}
|
|
|
|
.markdown > ul li p,
|
|
.markdown > ol li p {
|
|
margin: 0.6em 0;
|
|
}
|
|
|
|
.markdown ol > li {
|
|
list-style: decimal;
|
|
}
|
|
|
|
.markdown > ol li,
|
|
.markdown blockquote ol > li {
|
|
margin-left: 20px;
|
|
padding-left: 4px;
|
|
}
|
|
|
|
.markdown code {
|
|
margin: 0 3px;
|
|
}
|
|
|
|
.markdown pre {
|
|
border-radius: 6px;
|
|
background: #f7f7f7;
|
|
}
|
|
|
|
.markdown pre code {
|
|
border: none;
|
|
padding: 1em 2em;
|
|
background: #f7f7f7;
|
|
margin: 0;
|
|
}
|
|
|
|
.markdown strong,
|
|
.markdown b {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.markdown > table {
|
|
border-collapse: collapse;
|
|
border-spacing: 0px;
|
|
empty-cells: show;
|
|
border: 1px solid #e9e9e9;
|
|
width: 80%;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.markdown > table th {
|
|
white-space: nowrap;
|
|
color: #5C6B77;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.markdown > table th,
|
|
.markdown > table td {
|
|
border: 1px solid #e9e9e9;
|
|
padding: 8px 16px;
|
|
text-align: left;
|
|
}
|
|
|
|
.markdown > table th {
|
|
background: #F7F7F7;
|
|
}
|
|
|
|
.markdown blockquote {
|
|
font-size: 90%;
|
|
color: #999;
|
|
border-left: 4px solid #e9e9e9;
|
|
padding-left: 0.8em;
|
|
margin: 1em 0;
|
|
}
|
|
|
|
.markdown blockquote p {
|
|
margin: 0;
|
|
}
|
|
|
|
.markdown .anchor {
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.markdown h1:hover .anchor,
|
|
.markdown h2:hover .anchor,
|
|
.markdown h3:hover .anchor,
|
|
.markdown h4:hover .anchor,
|
|
.markdown h5:hover .anchor,
|
|
.markdown h6:hover .anchor {
|
|
opacity: 1;
|
|
display: inline-block;
|
|
}
|
|
|
|
.markdown > br,
|
|
.markdown > p > br {
|
|
clear: both;
|
|
} |