libvirt/docs/generic.css
Cole Robinson f4a212d7f9 docs: website: more header spacing tweaks
- remove top padding for h1. this means page titles sit flush with the top
  of the side bar (like 'The virtualization API' on the front page)
- up the top padding for the remaining sections. makes it visually easier
  to tell adjacent header sections apart, especially in dense wiki pages
- use two different spacing levels for h2-h4 and h5-h6,
  gives pages some more visual flexibility
- use a slightly lower bottom padding... this makes top padding stick out
  more which makes it visually easier to differentiate between adjacent
  header sections
2016-03-28 13:27:47 -04:00

79 lines
939 B
CSS

body {
margin: 0em;
padding: 0px;
color: rgb(0,0,0);
font-family: sans-serif;
font-size: 90%;
background: #ffffff;
}
p:first-line {
margin-right: 1em;
}
div.body p:first-letter {
font-size: 1.2em;
font-weight: bold;
}
p, ul, ol, dl {
padding: 0px;
margin: 0px;
line-height: 150%;
}
p {
margin-top: 1em;
margin-bottom: 1em;
}
ul, ol {
margin-left: 2em;
}
dt {
margin-left: 1em;
margin-right: 2em;
}
dl dd {
margin-left: 2em;
margin-right: 2em;
margin-bottom: 0.5em;
}
h1, h2, h3, h4, h5, h6 {
font-weight: bold;
margin: 0px;
padding: 0px;
margin-bottom: 0.25em;
border-bottom: 1px solid #aaa;
}
h1 {
margin-top: 0em;
font-size: 2em;
}
h2 {
margin-top: 1.0em;
font-size: 1.6em;
}
h3 {
margin-top: 1.0em;
font-size: 1.4em;
}
h4 {
margin-top: 1.0em;
font-size: 1.2em;
}
h5 {
margin-top: 0.75em;
font-size: 1em;
}
h6 {
margin-top: 0.75em;
font-size: 0.8em;
}