1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-02-02 13:47:13 +03:00
libvirt/docs/css/libvirt.css
Peter Krempa 93030fa381 css: Move styles for the generated API documents to libvirt-api.css
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2024-02-08 16:48:47 +01:00

188 lines
3.1 KiB
CSS

main#the-virtualization-api,
#the-virtualization-api.document,
main#documentation,
#documentation.document,
main#knowledge-base,
#knowledge-base.document
{
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;
font-weight: bold;
}
span.removed {
color: darkred;
font-style: italic;
font-weight: bold;
}
img.diagram {
background: rgb(230,230,230);
border: 2px dotted rgb(178,178,178);
padding: 1em;
display: block;
margin-left: auto;
margin-right: auto;
}
#the-virtualization-api section,
#the-virtualization-api .section,
#documentation section,
#documentation .section,
#knowledge-base section,
#knowledge-base .section
{
width: 24%;
margin-left: 7%;
margin-bottom: 2em;
float: left;
background: rgb(230, 230, 230);
}
#the-virtualization-api section h2,
#the-virtualization-api .section h1,
#documentation section h2,
#documentation .section h1,
#knowledge-base section h2,
#knowledge-base .section h1 {
margin-top: 0px;
padding: 0.5em;
padding-left: 1em;
padding-right: 1em;
background: rgb(0, 95, 97);
color: rgb(255, 255, 255);
text-align: center;
font-size: 1.6em;
}
#the-virtualization-api > h1 {
border: 0px;
text-indent: 100%; white-space: nowrap; overflow: hidden;
background: url(../logos/logo-banner-dark-800.png) no-repeat center center;
height: 300px;
}
#documentation > h1,
#knowledge-base > h1 {
text-align: center;
padding: 1em;
}
#the-virtualization-api dd,
#documentation dd,
#knowledge-base dd {
font-size: smaller;
}
#the-virtualization-api a,
#documentation a,
#knowledge-base a {
text-decoration: none;
}
#the-virtualization-api ul,
#the-virtualization-api p,
#the-virtualization-api dl,
#documentation ul,
#documentation p,
#documentation dl,
#knowledge-base ul,
#knowledge-base p,
#knowledge-base dl {
padding: 0.5em;
margin: 0px;
}
#the-virtualization-api li p
{
padding-left: 0.5em;
padding-top: 0px;
padding-bottom: 0px;
}
#the-virtualization-api ul,
#documentation ul,
#knowledge-base ul {
margin-left: 1em;
}
#the-virtualization-api dt,
#documentation dt,
#knowledge-base dt {
margin: 0px;
}
#the-virtualization-api dd,
#documentation dd,
#knowledge-base dd {
margin: 0px;
margin-bottom: 1em;
}
.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;
}