Skip to content

Commit

Permalink
fix(antdsite): add blockquote styles in markdown.
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyi7099 committed Aug 17, 2019
1 parent 5ca2bac commit fcebf39
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions packages/antdsite/src/default-theme/assets/markdown.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.markdown {
// color: @site-text-color;
color: @site-text-color;
font-size: 14px;
line-height: 2;

Expand All @@ -24,7 +24,7 @@
}

.markdown h1.__internal {
// color: @site-heading-color;
color: @site-heading-color;
font-weight: 500;
margin-bottom: 20px;
margin-top: -3.6rem;
Expand All @@ -43,7 +43,7 @@
.markdown h4.__internal,
.markdown h5.__internal,
.markdown h6.__internal {
// color: @site-heading-color;
color: @site-heading-color;
font-family: Lato, @font-family;
font-weight: 500;
clear: both;
Expand Down Expand Up @@ -72,7 +72,7 @@
.markdown hr {
height: 1px;
border: 0;
// background: #e9e9e9;
background: #e9e9e9;
margin: 16px 0;
clear: both;
}
Expand Down Expand Up @@ -137,29 +137,29 @@
border-collapse: collapse;
border-spacing: 0;
empty-cells: show;
// border: 1px solid @site-border-color-split;
border: 1px solid @site-border-color-split;
width: 100%;
margin: 8px 0 16px;
}

.markdown > table th {
white-space: nowrap;
// color: #5c6b77;
color: #5c6b77;
font-weight: 500;
// background: rgba(0, 0, 0, 0.02);
background: rgba(0, 0, 0, 0.02);
}

.markdown > table th,
.markdown > table td {
// border: 1px solid @site-border-color-split;
border: 1px solid @site-border-color-split;
padding: 16px 24px;
text-align: left;
}

.markdown blockquote {
font-size: 90%;
// color: @site-text-color-secondary;
// border-left: 4px solid @site-border-color-split;
color: @site-text-color-secondary;
border-left: 4px solid @site-border-color-split;
padding-left: 0.8em;
margin: 1em 0;
}
Expand Down Expand Up @@ -188,10 +188,10 @@
font-weight: 400;

i {
// color: @site-text-color-secondary;
color: @site-text-color-secondary;

&:hover {
// color: @primary-color;
color: @primary-color;
}
}

Expand Down

0 comments on commit fcebf39

Please sign in to comment.