]> xenbits.xensource.com Git - libvirt.git/commitdiff
css: Move generic styles to 'generic.css'
authorPeter Krempa <pkrempa@redhat.com>
Wed, 7 Feb 2024 13:27:43 +0000 (14:27 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 8 Feb 2024 15:48:47 +0000 (16:48 +0100)
Move the few generic styles to the appropriate document. 'libvirt.css'
will now be a compilation of styles related only to libvirt.org.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
docs/css/generic.css
docs/css/libvirt.css

index d15d85e67a052aed3502760a75d400f5a178e316..df37ceea376260e5d126d45ddcc8d5d2515c619b 100644 (file)
@@ -83,3 +83,62 @@ dd code, p code, tt {
 pre {
   font-size: 90%;
 }
+
+pre {
+    border: 1px solid #999999;
+    background: #eeeeee;
+    color: black;
+    padding: 1em;
+}
+
+a {
+    color: rgb(0, 95, 97);
+}
+
+table {
+    border-collapse: collapse;
+    min-width: 60%;
+    margin-left: auto;
+    margin-right: auto;
+}
+
+table th {
+    background: rgb(0, 95, 97);
+    color: rgb(255, 255, 255);
+    padding: 0.5em;
+}
+
+table th a {
+    color: inherit;
+    text-decoration: inherit;
+}
+
+table td, table th {
+    border: 1px solid rgb(60, 133, 124);
+}
+
+table td {
+    padding: 4px;
+}
+
+table tr:hover td, table col:hover td {
+    background: #eeeeee;
+}
+
+table tr td:hover {
+    background: #c5dbd8;
+}
+
+.literal, code {
+    font-family: monospace;
+    background: #eeeeee;
+}
+
+th p, td p {
+    margin-top: 0px;
+    margin-bottom: 0px;
+}
+
+span.del {
+    text-decoration: line-through;
+}
index 02942bcf75faefd1593f40901bf100499f85a54c..58ac1d385b4e5ae36fa7d13ea361c33d0e10dc24 100644 (file)
@@ -8,51 +8,6 @@ main#knowledge-base,
     width: inherit;
 }
 
-pre {
-    border: 1px solid #999999;
-    background: #eeeeee;
-    color: black;
-    padding: 1em;
-}
-
-a {
-    color: rgb(0, 95, 97);
-}
-
-table {
-    border-collapse: collapse;
-    min-width: 60%;
-    margin-left: auto;
-    margin-right: auto;
-}
-
-table th {
-    background: rgb(0, 95, 97);
-    color: rgb(255, 255, 255);
-    padding: 0.5em;
-}
-
-table th a {
-    color: inherit;
-    text-decoration: inherit;
-}
-
-table td, table th {
-    border: 1px solid rgb(60, 133, 124);
-}
-
-table td {
-    padding: 4px;
-}
-
-table tr:hover td, table col:hover td {
-    background: #eeeeee;
-}
-
-table tr td:hover {
-    background: #c5dbd8;
-}
-
 span.since {
     color: #3c857c;
     font-style: italic;
@@ -171,17 +126,3 @@ img.diagram {
 .removedhv {
     color: darkred;
 }
-
-.literal, code {
-    font-family: monospace;
-    background: #eeeeee;
-}
-
-th p, td p {
-    margin-top: 0px;
-    margin-bottom: 0px;
-}
-
-span.del {
-    text-decoration: line-through;
-}