From 799e38ef310308ba1969f83ccba849a606540109 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Wed, 7 Feb 2024 14:27:43 +0100 Subject: [PATCH] css: Move generic styles to 'generic.css' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Ján Tomko --- docs/css/generic.css | 59 ++++++++++++++++++++++++++++++++++++++++++++ docs/css/libvirt.css | 59 -------------------------------------------- 2 files changed, 59 insertions(+), 59 deletions(-) diff --git a/docs/css/generic.css b/docs/css/generic.css index d15d85e67a..df37ceea37 100644 --- a/docs/css/generic.css +++ b/docs/css/generic.css @@ -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; +} diff --git a/docs/css/libvirt.css b/docs/css/libvirt.css index 02942bcf75..58ac1d385b 100644 --- a/docs/css/libvirt.css +++ b/docs/css/libvirt.css @@ -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; -}