Commit b200b4a8 authored by sajolida's avatar sajolida
Browse files

Merge remote-tracking branch...

Merge remote-tracking branch 'cbrownstein/web/15120-improve-command-line-presentation' into web/15120-improve-command-line-presentation
parents bf25f1c3 710b1b0e
......@@ -95,7 +95,7 @@
You should get something like this:
<p class="pre command">dd if=/Users/me/tails-amd64-3.0.iso of=/dev/rdisk9 bs=16m && sync</p>
<p class="pre command-example">dd if=/Users/me/tails-amd64-3.0.iso of=/dev/rdisk9 bs=16m && sync</p>
If no error message is returned, Tails is being copied on the USB
stick. The copy takes some time, generally a few minutes.
......@@ -104,12 +104,12 @@
<p>If you get a <span class="guilabel">Permission denied</span> error, try
adding <code>sudo</code> at the beginning of the command:</p>
<p class="pre command">sudo dd if=[tails.iso] of=[device] bs=16m && sync</p>
<p class="pre command">sudo dd if=<span class="placeholder">tails.iso</span> of=<span class="placeholder">device</span> bs=16m && sync</p>
<p>If you get an <span class="guilabel">invalid number ‘16m’</span> error, try
using <code>16M</code> instead:</p>
<p class="pre command">dd if=[tails.iso] of=[device] bs=16M && sync</p>
<p class="pre command">dd if=<span class="placeholder">tails.iso</span> of=<span class="placeholder">device</span> bs=16M && sync</p>
</div>
......
......@@ -463,25 +463,28 @@ pre, p.pre {
max-width: 90%;
}
p.command {
p.command, p.command-example, p.output {
margin: 0px;
}
p.command::before {
p.command::before, p.command-example::before {
content: '$ ';
}
p.command-example, p.output {
white-space: pre;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
span.placeholder {
color: #ec407a;
font-style: italic;
font-weight: bold;
}
p.output {
margin: 0px;
white-space: pre;
}
div.inlinepage {
margin-bottom: 18px;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment