mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-20 16:03:32 +08:00
update site code style
This commit is contained in:
parent
e44faf9d48
commit
88a22815b8
@ -556,13 +556,6 @@ footer ul li > a {
|
||||
margin: 20px 0;
|
||||
}
|
||||
|
||||
.markdown code,
|
||||
.markdown kbd,
|
||||
.markdown pre,
|
||||
.markdown samp {
|
||||
font-family: Consolas, monospace;
|
||||
}
|
||||
|
||||
.markdown p,
|
||||
.markdown pre {
|
||||
margin: 1.2em 0;
|
||||
@ -590,14 +583,13 @@ footer ul li > a {
|
||||
}
|
||||
|
||||
.markdown pre {
|
||||
background: #F7F7F7;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
.markdown pre code {
|
||||
background: #F7F7F7;
|
||||
border: none;
|
||||
padding: 12px 20px;
|
||||
padding: 1em 2em;
|
||||
background: #f9f9f9;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
@ -35,11 +35,11 @@
|
||||
}
|
||||
|
||||
code {
|
||||
background: #f6f6f6;
|
||||
background: #f7f7f7;
|
||||
padding: 1px 6px;
|
||||
border-radius: 3px;
|
||||
color: #888;
|
||||
font-size: 90%;
|
||||
font-size: 0.8rem;
|
||||
border: 1px solid #e9e9e9;
|
||||
white-space: nowrap;
|
||||
}
|
||||
@ -48,11 +48,10 @@ pre code {
|
||||
display: block;
|
||||
background: white;
|
||||
color: #666;
|
||||
font-family: Consolas, monospace;
|
||||
line-height: 1.5;
|
||||
border: 1px solid #e9e9e9;
|
||||
padding: 10px 15px;
|
||||
border-radius: 6px;
|
||||
font-size: 14px;
|
||||
font-size: 0.9rem;
|
||||
white-space: pre;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user