Replace inline styles with style block

This commit is contained in:
Jan Piotrowski 2017-05-05 13:38:58 +02:00
parent 49ac21145a
commit 4835182ad5

View File

@ -175,9 +175,18 @@ docType: "<$ doc.docType $>"
<# --- Install commands --- #>
<h2>Installation</h2>
<ol>
<li style="font-size:15px; margin-bottom:10px;">Install the Cordova and Ionic Native plugins:<br>
<pre style="margin-top:10px;"><code class="nohighlight">$ <@ if prop.install @><$ prop.install $><@ else @>ionic plugin add --save <$ prop.plugin $><@ endif @>
<style>
.installation li {
font-size:15px;
margin-bottom:10px;
}
.installation li pre {
margin-top:10px;
}
</style>
<ol class="installation">
<li>Install the Cordova and Ionic Native plugins:<br>
<pre><code class="nohighlight">$ <@ if prop.install @><$ prop.install $><@ else @>ionic plugin add --save <$ prop.plugin $><@ endif @>
$ npm install --save @ionic-native/<$ doc.npmId $>
</code></pre>
</li>