Styled ordered list.

This commit is contained in:
Sean Li 2015-07-13 10:44:45 -07:00
parent c9ea32ad8b
commit da43f8087d
3 changed files with 46 additions and 7 deletions

View File

@ -87,12 +87,12 @@
</div> </div>
<div class="answer"> <div class="answer">
<p> <p>
To migrate a VM name <code>boot2docker-vm</code>from Boot2Docker to Docker Machine, please type the following command in your terminal: To migrate a VM name <code>boot2docker-vm</code> from Boot2Docker to Docker Machine, please type the following command in your terminal:
</p> </p>
<ol> <ol>
<li>Open a terminal or the Docker CLI on your system.</li> <li>Open a terminal or the Docker CLI on your system.</li>
<li>Type the following command. <br> <li>Type the following command.<br>
<pre>docker-machine create -d virtualbox --virtualbox-import-boot2docker-vm boot2docker-vm docker-vm</pre> <pre>docker-machine create -d virtualbox --virtualbox-import-boot2docker-vm boot2docker-vm docker-vm</pre>
</li> </li>
<li>Use the <code>docker-machine</code> command to interact with the migrated VM. </li> <li>Use the <code>docker-machine</code> command to interact with the migrated VM. </li>
</ol> </ol>

View File

@ -424,10 +424,28 @@ p {
p strong { p strong {
font-weight: 700; 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 { pre {
border-radius: 0.3rem; border-radius: 0.3rem;
padding: 0.5rem; padding: 0.2rem 0.5rem;
margin-bottom: 1rem; 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; display: inline-block;
font-size: 1rem; font-size: 1rem;
font-family: Menlo, monospace; font-family: Menlo, monospace;

View File

@ -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 { pre {
border-radius: 0.3rem; border-radius: 0.3rem;
padding: 0.5rem; padding: 0.2rem 0.5rem;
margin-bottom: 1rem; //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; display: inline-block;
font-size: 1rem; font-size: 1rem;
font-family: Menlo, monospace; font-family: Menlo, monospace;