mirror of https://github.com/docker/docs.git
Styled ordered list.
This commit is contained in:
parent
c9ea32ad8b
commit
da43f8087d
|
|
@ -424,10 +424,28 @@ p {
|
|||
p strong {
|
||||
font-weight: 700;
|
||||
}
|
||||
ol {
|
||||
font-size: 1.2rem;
|
||||
line-height: 1.7rem;
|
||||
margin-bottom: 1rem;
|
||||
margin-left: 1.8rem;
|
||||
}
|
||||
ol li {
|
||||
list-style-type: decimal;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
pre {
|
||||
border-radius: 0.3rem;
|
||||
padding: 0.5rem;
|
||||
margin-bottom: 1rem;
|
||||
padding: 0.2rem 0.5rem;
|
||||
display: inline-block;
|
||||
font-size: 1rem;
|
||||
font-family: Menlo, monospace;
|
||||
color: #24b8eb;
|
||||
background-color: rgba(36, 184, 235, 0.05);
|
||||
}
|
||||
code {
|
||||
border-radius: 0.3rem;
|
||||
padding: 0.2rem 0.5rem;
|
||||
display: inline-block;
|
||||
font-size: 1rem;
|
||||
font-family: Menlo, monospace;
|
||||
|
|
|
|||
|
|
@ -286,10 +286,31 @@ p {
|
|||
}
|
||||
}
|
||||
|
||||
ol {
|
||||
font-size: 1.2rem;
|
||||
line-height: 1.7rem;
|
||||
margin-bottom: 1rem;
|
||||
margin-left: 1.8rem;
|
||||
li {
|
||||
list-style-type: decimal;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
pre {
|
||||
border-radius: 0.3rem;
|
||||
padding: 0.5rem;
|
||||
margin-bottom: 1rem;
|
||||
padding: 0.2rem 0.5rem;
|
||||
//margin-bottom: 1rem;
|
||||
display: inline-block;
|
||||
font-size: 1rem;
|
||||
font-family: Menlo, monospace;
|
||||
color: @brand-primary;
|
||||
background-color: fade(@brand-primary, 5%);
|
||||
}
|
||||
|
||||
code {
|
||||
border-radius: 0.3rem;
|
||||
padding: 0.2rem 0.5rem;
|
||||
display: inline-block;
|
||||
font-size: 1rem;
|
||||
font-family: Menlo, monospace;
|
||||
|
|
|
|||
Loading…
Reference in New Issue