2016-02-29 14:08:40 +08:00
|
|
|
.markdown {
|
|
|
|
color: #666;
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 1.8;
|
|
|
|
}
|
|
|
|
|
2016-03-15 17:40:31 +08:00
|
|
|
.highlight {
|
|
|
|
line-height: 1.5;
|
2016-02-29 14:08:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.markdown img {
|
|
|
|
vertical-align: middle;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.markdown h1 {
|
|
|
|
color: #404040;
|
2016-07-17 15:20:30 +08:00
|
|
|
font-weight: 500;
|
2016-02-29 14:08:40 +08:00
|
|
|
line-height: 40px;
|
|
|
|
margin-bottom: 24px;
|
2016-04-18 13:43:33 +08:00
|
|
|
margin-top: 8px;
|
2016-09-29 11:21:19 +08:00
|
|
|
font-family: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimSun, sans-serif;
|
2016-03-15 11:19:57 +08:00
|
|
|
|
|
|
|
.subtitle {
|
|
|
|
font-weight: normal;
|
2016-07-26 19:45:55 +08:00
|
|
|
font-size: 90%;
|
2016-06-13 14:56:59 +08:00
|
|
|
margin-left: 12px;
|
2016-03-15 11:19:57 +08:00
|
|
|
}
|
2016-02-29 14:08:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.markdown h2,
|
|
|
|
.markdown h3,
|
|
|
|
.markdown h4,
|
|
|
|
.markdown h5,
|
|
|
|
.markdown h6 {
|
|
|
|
color: #404040;
|
2016-09-29 11:21:19 +08:00
|
|
|
font-family: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimSun, sans-serif;
|
2016-02-29 14:08:40 +08:00
|
|
|
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 ul > li {
|
|
|
|
list-style: circle;
|
2016-08-04 17:59:07 +08:00
|
|
|
&:empty {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-02-29 14:08:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.markdown > ul li,
|
|
|
|
.markdown blockquote ul > li {
|
|
|
|
margin-left: 20px;
|
|
|
|
padding-left: 4px;
|
|
|
|
}
|
|
|
|
|
2016-04-18 16:59:04 +08:00
|
|
|
.markdown > ul li > p,
|
|
|
|
.markdown > ol li > p {
|
|
|
|
margin: 0.2em 0;
|
2016-02-29 14:08:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.markdown ol > li {
|
|
|
|
list-style: decimal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.markdown > ol li,
|
|
|
|
.markdown blockquote ol > li {
|
|
|
|
margin-left: 20px;
|
|
|
|
padding-left: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.markdown code {
|
|
|
|
margin: 0 3px;
|
2016-04-26 16:14:07 +08:00
|
|
|
background: #f7f7f7;
|
2016-09-10 14:13:56 +08:00
|
|
|
padding: .2em .4em;
|
2016-04-26 16:14:07 +08:00
|
|
|
border-radius: 3px;
|
2016-10-07 20:41:51 +08:00
|
|
|
font-size: .9em;
|
2016-09-10 14:13:56 +08:00
|
|
|
border: 1px solid #eee;
|
2016-02-29 14:08:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.markdown pre {
|
|
|
|
border-radius: 6px;
|
|
|
|
background: #f7f7f7;
|
2016-06-15 15:56:31 +08:00
|
|
|
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
2016-02-29 14:08:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.markdown pre code {
|
|
|
|
border: none;
|
|
|
|
background: #f7f7f7;
|
|
|
|
margin: 0;
|
2016-10-18 00:18:03 +08:00
|
|
|
padding: 0;
|
2016-04-26 18:21:35 +08:00
|
|
|
font-size: 13px;
|
|
|
|
color: #666;
|
2016-05-10 14:44:23 +08:00
|
|
|
overflow: auto;
|
2016-02-29 14:08:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.markdown strong,
|
|
|
|
.markdown b {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.markdown > table {
|
|
|
|
border-collapse: collapse;
|
|
|
|
border-spacing: 0px;
|
|
|
|
empty-cells: show;
|
|
|
|
border: 1px solid #e9e9e9;
|
2016-04-18 13:43:33 +08:00
|
|
|
width: 100%;
|
2016-10-18 00:18:03 +08:00
|
|
|
margin: 16px 0;
|
2016-02-29 14:08:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
2016-03-15 17:40:31 +08:00
|
|
|
.markdown .waiting {
|
|
|
|
color: #ccc;
|
2016-05-15 19:18:20 +08:00
|
|
|
cursor: not-allowed;
|
2016-03-15 17:40:31 +08:00
|
|
|
}
|
|
|
|
|
2016-08-19 16:11:32 +08:00
|
|
|
.markdown a.edit-button {
|
2016-08-17 18:33:19 +08:00
|
|
|
line-height: 12px;
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: 10px;
|
|
|
|
height: 12px;
|
2016-08-19 16:11:32 +08:00
|
|
|
|
|
|
|
i {
|
|
|
|
color: #999;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: #2db7f5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-08-17 18:33:19 +08:00
|
|
|
.anticon {
|
|
|
|
display: block;
|
2016-09-18 09:54:47 +08:00
|
|
|
font-size: 16px;
|
2016-08-17 18:33:19 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-02-29 14:08:40 +08:00
|
|
|
.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;
|
2016-03-25 17:43:24 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.markdown.api-container table {
|
2016-05-23 18:35:01 +08:00
|
|
|
font-family: Consolas, Menlo, Courier, monospace;
|
2016-03-25 17:43:24 +08:00
|
|
|
font-size: 13px;
|
|
|
|
}
|
2016-04-06 16:10:24 +08:00
|
|
|
|
2016-04-11 11:55:44 +08:00
|
|
|
.layout-demo,
|
2016-04-10 15:39:24 +08:00
|
|
|
[id^="components-layout-demo-"] {
|
2016-04-11 11:55:44 +08:00
|
|
|
.demo-row,
|
2016-04-10 15:39:24 +08:00
|
|
|
.code-box-demo .demo-row {
|
2016-05-22 01:38:49 +08:00
|
|
|
background-image: linear-gradient(90deg, #F5F5F5 4.16666667%, transparent 4.16666667%, transparent 8.33333333%, #F5F5F5 8.33333333%, #F5F5F5 12.5%, transparent 12.5%, transparent 16.66666667%, #F5F5F5 16.66666667%, #F5F5F5 20.83333333%, transparent 20.83333333%, transparent 25%, #F5F5F5 25%, #F5F5F5 29.16666667%, transparent 29.16666667%, transparent 33.33333333%, #F5F5F5 33.33333333%, #F5F5F5 37.5%, transparent 37.5%, transparent 41.66666667%, #F5F5F5 41.66666667%, #F5F5F5 45.83333333%, transparent 45.83333333%, transparent 50%, #F5F5F5 50%, #F5F5F5 54.16666667%, transparent 54.16666667%, transparent 58.33333333%, #F5F5F5 58.33333333%, #F5F5F5 62.5%, transparent 62.5%, transparent 66.66666667%, #F5F5F5 66.66666667%, #F5F5F5 70.83333333%, transparent 70.83333333%, transparent 75%, #F5F5F5 75%, #F5F5F5 79.16666667%, transparent 79.16666667%, transparent 83.33333333%, #F5F5F5 83.33333333%, #F5F5F5 87.5%, transparent 87.5%, transparent 91.66666667%, #F5F5F5 91.66666667%, #F5F5F5 95.83333333%, transparent 95.83333333%);
|
|
|
|
overflow: hidden;
|
2016-09-30 14:24:41 +08:00
|
|
|
margin-bottom: 8px;
|
2016-04-10 15:39:24 +08:00
|
|
|
}
|
2016-06-06 11:40:54 +08:00
|
|
|
.ant-row-flex,
|
|
|
|
.code-box-demo .ant-row-flex {
|
2016-04-10 15:39:24 +08:00
|
|
|
background: #F5F5F5;
|
|
|
|
}
|
2016-06-06 11:40:54 +08:00
|
|
|
.ant-row > div,
|
|
|
|
.code-box-demo .ant-row > div,
|
|
|
|
.ant-row-flex > div,
|
|
|
|
.code-box-demo .ant-row-flex > div {
|
2016-04-10 15:39:24 +08:00
|
|
|
padding: 5px 0;
|
|
|
|
text-align: center;
|
2016-09-30 14:24:41 +08:00
|
|
|
border-radius: 0;
|
2016-04-10 15:39:24 +08:00
|
|
|
min-height: 30px;
|
2016-09-30 14:24:41 +08:00
|
|
|
margin-top: 8px;
|
|
|
|
margin-bottom: 8px;
|
2016-04-10 15:39:24 +08:00
|
|
|
color: #fff;
|
|
|
|
}
|
2016-06-06 11:40:54 +08:00
|
|
|
.code-box-demo .ant-row > div:not(.gutter-row),
|
|
|
|
.code-box-demo .ant-row-flex > div:not(.gutter-row) {
|
2016-09-30 14:24:41 +08:00
|
|
|
background: #00A0E9;
|
|
|
|
padding: 16px 0;
|
|
|
|
&:nth-child(2n+1) {
|
|
|
|
background: fade(#00A0E9, 70%);
|
|
|
|
}
|
2016-04-10 15:39:24 +08:00
|
|
|
}
|
2016-06-06 11:40:54 +08:00
|
|
|
.ant-row .demo-col,
|
|
|
|
.code-box-demo .ant-row .demo-col {
|
2016-04-10 15:39:24 +08:00
|
|
|
text-align: center;
|
2016-09-30 14:24:41 +08:00
|
|
|
padding: 30px 0;
|
2016-04-10 15:39:24 +08:00
|
|
|
color: #fff;
|
|
|
|
font-size: 18px;
|
|
|
|
border: none;
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2016-06-06 11:40:54 +08:00
|
|
|
.ant-row .demo-col-1,
|
|
|
|
.ant-row .demo-col-1 {
|
2016-09-30 14:24:41 +08:00
|
|
|
background: fade(#00A0E9, 70%);
|
2016-04-10 15:39:24 +08:00
|
|
|
}
|
2016-06-06 11:40:54 +08:00
|
|
|
.ant-row .demo-col-2,
|
|
|
|
.code-box-demo .ant-row .demo-col-2 {
|
2016-09-30 14:24:41 +08:00
|
|
|
background: fade(#00A0E9, 50%);
|
2016-04-10 15:39:24 +08:00
|
|
|
}
|
2016-06-06 11:40:54 +08:00
|
|
|
.ant-row .demo-col-3,
|
|
|
|
.code-box-demo .ant-row .demo-col-3{
|
2016-04-10 15:39:24 +08:00
|
|
|
background: rgba(255, 255, 255, 0.2);
|
|
|
|
color: #999;
|
|
|
|
}
|
2016-06-06 11:40:54 +08:00
|
|
|
.ant-row .demo-col-4,
|
|
|
|
.code-box-demo .ant-row .demo-col-4 {
|
2016-09-30 14:24:41 +08:00
|
|
|
background: fade(#00A0E9, 60%);
|
2016-04-10 15:39:24 +08:00
|
|
|
}
|
2016-06-06 11:40:54 +08:00
|
|
|
.ant-row .demo-col-5,
|
|
|
|
.code-box-demo .ant-row .demo-col-5 {
|
2016-04-10 15:39:24 +08:00
|
|
|
background: rgba(255, 255, 255, 0.5);
|
|
|
|
color: #999;
|
|
|
|
}
|
|
|
|
.code-box-demo .height-100 {
|
|
|
|
height: 100px;
|
2016-09-30 14:24:41 +08:00
|
|
|
line-height: 100px;
|
2016-04-10 15:39:24 +08:00
|
|
|
}
|
|
|
|
.code-box-demo .height-50 {
|
|
|
|
height: 50px;
|
2016-09-30 14:24:41 +08:00
|
|
|
line-height: 50px;
|
2016-04-10 15:39:24 +08:00
|
|
|
}
|
|
|
|
.code-box-demo .height-120 {
|
|
|
|
height: 120px;
|
2016-09-30 14:24:41 +08:00
|
|
|
line-height: 120px;
|
2016-04-10 15:39:24 +08:00
|
|
|
}
|
|
|
|
.code-box-demo .height-80 {
|
|
|
|
height: 80px;
|
2016-09-30 14:24:41 +08:00
|
|
|
line-height: 80px;
|
2016-04-10 15:39:24 +08:00
|
|
|
}
|
2016-04-06 16:10:24 +08:00
|
|
|
}
|
2016-04-18 16:59:04 +08:00
|
|
|
|
|
|
|
// For Changelog
|
|
|
|
.markdown {
|
|
|
|
ul.ant-timeline {
|
|
|
|
li.ant-timeline-item {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0 0 30px 0;
|
|
|
|
.ant-timeline-item-content {
|
|
|
|
font-size: 14px;
|
|
|
|
padding-left: 32px;
|
|
|
|
position: relative;
|
2016-05-10 14:22:05 +08:00
|
|
|
top: -14px;
|
2016-04-18 16:59:04 +08:00
|
|
|
> h2 {
|
|
|
|
margin-top: 0;
|
|
|
|
padding-top: 0.5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
li.ant-timeline-item:first-child {
|
|
|
|
margin-top: 40px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|