Selaa lähdekoodia

Move the style of the commands in download.html to style.css

Jaime Marquínez Ferrándiz 12 vuotta sitten
vanhempi
sitoutus
8f273b2c05
2 muutettua tiedostoa jossa 11 lisäystä ja 2 poistoa
  1. 2 2
      download.html.in
  2. 9 0
      style.css

+ 2 - 2
download.html.in

@@ -30,11 +30,11 @@
 </p>
 
 <p>To install it right away for all UNIX users (Linux, OS X, etc.), type:
-<code style="display:block; margin-top: 0.4em; padding: 0.7em; background: #ccc; background: rgba(200, 200, 200, 0.4); white-space: pre;">sudo wget @PROGRAM_URL@ -O /usr/local/bin/youtube-dl<br/>sudo chmod a+x /usr/local/bin/youtube-dl</code>
+<code class="commands">sudo wget @PROGRAM_URL@ -O /usr/local/bin/youtube-dl<br/>sudo chmod a+x /usr/local/bin/youtube-dl</code>
 </p>
 
 <p>To check the signature, type:
-<code style="display:block; margin-top: 0.4em; padding: 0.7em; background: #ccc; background: rgba(200, 200, 200, 0.4); white-space: pre;">sudo wget @PROGRAM_URL@.sig -O youtube-dl.sig<br/>gpg --verify youtube-dl.sig /usr/local/bin/youtube-dl<br/>rm youtube-dl.sig</code>
+<code class="commands">sudo wget @PROGRAM_URL@.sig -O youtube-dl.sig<br/>gpg --verify youtube-dl.sig /usr/local/bin/youtube-dl<br/>rm youtube-dl.sig</code>
 </p>
 
 <p>The following GPG keys will be used to sign the binaries and the git tags:</p>

+ 9 - 0
style.css

@@ -140,3 +140,12 @@ tt {
     background-color: #448888;
     border: 2px solid #008888;
 }
+
+code.commands {
+    display:block;
+    margin-top: 0.4em;
+    padding: 0.7em;
+    background: #ccc;
+    background: rgba(200, 200, 200, 0.4);
+    white-space: pre;
+}