Files
libguestfs/website/standard.css
Richard W.M. Jones 47b095b928 website: Put website into a separate directory.
Move the random set of HTML files we build from html/ into
the website/ directory.

Also in the website/ directory, put the index.html file from
http://libguestfs.org, which was previously not under version control.
It is generated from index.html.in so we can automatically add the
current version and release date.

Also in the website/ directory, put various CSS file, images, etc.
which are required by the website and were also previously not under
version control.

Change the 'make website' rule to 'make maintainer-upload-website'.
As the name suggests, it is only useful for the maintainer, and will
fail with an error for anyone else.
2015-10-31 17:09:29 +00:00

181 lines
2.5 KiB
CSS

/* CSS for et.redhat.com/~rjones/
* $Id: standard.css,v 1.15 2009/07/22 10:32:02 rjones Exp $
*/
body {
margin-left: 1em;
}
body p, body ul, ol, body dl {
margin-left: 2em;
width: 35em;
}
li {
padding-bottom: 0.5em;
}
/* Headings. */
h1 {
font-size: 140%;
border-bottom: 1px solid #000;
}
h2 {
border-bottom: 1px solid #eee;
}
h1, h2, h3, h4 {
color: #333;
}
/* Code sections. */
code {
font-size: 120%;
}
pre {
background-color: #fcfcfc;
/*border: 1px dotted #888;*/
border-left: 6px solid #f0f0f0;
padding: 5px;
margin-left: 1em;
font-size: 120%;
}
/* Notes. */
p.note {
margin-left: 2em;
margin-right: 1em;
/*border: 1px dotted #888;*/
padding-left: 36px;
background: url(../images/note.png) no-repeat;
}
p.warning {
margin-left: 2em;
margin-right: 1em;
border: 1px dotted #800;
padding-left: 36px;
background: url(../images/warning.png) no-repeat #fee;
}
/* Highlighted text. */
span.highlight {
color: red;
}
/* Images. */
img.frame_img {
border: 1px solid #888;
padding: 6px;
}
/* Floating images with text around. */
img.leftpara {
float: left;
clear: left;
margin-right: 1em;
margin-bottom: 1em;
}
img.rightpara {
float: right;
clear: right;
margin-left: 1em;
margin-bottom: 1em;
}
/* Nice-looking tables. */
table.top_table {
border-collapse: collapse;
}
table.top_table th {
vertical-align: top;
padding: 3px;
border-bottom: 1px solid #ddd;
}
table.top_table td {
vertical-align: top;
padding: 3px;
}
table.top_table td.number {
text-align: right;
}
table.top_table th.divider {
text-align: center;
padding: 6px;
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
}
table.left_table {
border-collapse: collapse;
}
table.left_table th {
text-align: right;
vertical-align: top;
padding: 3px;
padding-right: 1em;
}
table.left_table td {
vertical-align: top;
padding: 3px;
}
table.left_table td.number {
text-align: right;
}
table.left_table th.divider {
text-align: center;
padding: 6px;
border-top: 1px solid #eee;
border-bottom: 1px solid #eee;
}
/* <ul> styled as menus. */
ul.menu {
width: 60em;
padding: 0px;
margin-left: 1em;
list-style: none;
}
ul.menu li {
display: inline;
border-left: 1px solid #666;
padding-left: 5px;
}
ul.menu li.first {
border-left: none;
padding-left: 0px;
}
/* Highlight for Javascript "go" sections. */
.jsgo {
border: 1px solid #fff;
cursor: pointer;
cursor: hand;
}
.jsgo:hover {
border: 1px solid #ccc;
background: #eef;
}