提交 2f6e43d4 编写于 作者: A Andrea Bolognani

docs: Adjust vertical whitespace in CSS

Ensure all CSS rules are separated with a single blank line.
上级 c62e7702
...@@ -16,7 +16,6 @@ div.body p:first-letter { ...@@ -16,7 +16,6 @@ div.body p:first-letter {
font-weight: bold; font-weight: bold;
} }
p, ul, ol, dl { p, ul, ol, dl {
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
...@@ -43,7 +42,6 @@ dl dd { ...@@ -43,7 +42,6 @@ dl dd {
margin-bottom: 0.5em; margin-bottom: 0.5em;
} }
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
font-weight: bold; font-weight: bold;
margin: 0px; margin: 0px;
...@@ -56,22 +54,27 @@ h1 { ...@@ -56,22 +54,27 @@ h1 {
margin-top: 0em; margin-top: 0em;
font-size: 2em; font-size: 2em;
} }
h2 { h2 {
margin-top: 1.0em; margin-top: 1.0em;
font-size: 1.6em; font-size: 1.6em;
} }
h3 { h3 {
margin-top: 1.0em; margin-top: 1.0em;
font-size: 1.4em; font-size: 1.4em;
} }
h4 { h4 {
margin-top: 1.0em; margin-top: 1.0em;
font-size: 1.2em; font-size: 1.2em;
} }
h5 { h5 {
margin-top: 0.75em; margin-top: 0.75em;
font-size: 1em; font-size: 1em;
} }
h6 { h6 {
margin-top: 0.75em; margin-top: 0.75em;
font-size: 0.8em; font-size: 0.8em;
......
...@@ -2,6 +2,7 @@ h1 { ...@@ -2,6 +2,7 @@ h1 {
font-weight: normal; font-weight: normal;
color: #3c857c; color: #3c857c;
} }
h1 strong { h1 strong {
font-weight: bold; font-weight: bold;
} }
...@@ -94,6 +95,7 @@ h2, h3, h4, h5, h6 { ...@@ -94,6 +95,7 @@ h2, h3, h4, h5, h6 {
#menu ul.l1 li .inactive { #menu ul.l1 li .inactive {
border-left: 6px solid #dfebea; border-left: 6px solid #dfebea;
} }
#menu ul.l1 li .active { #menu ul.l1 li .active {
border-left: 6px solid #a5c6c2; border-left: 6px solid #a5c6c2;
} }
...@@ -109,7 +111,6 @@ h2, h3, h4, h5, h6 { ...@@ -109,7 +111,6 @@ h2, h3, h4, h5, h6 {
padding-left: 3em; padding-left: 3em;
} }
#headerLogo { #headerLogo {
position: absolute; position: absolute;
top: 0px; top: 0px;
...@@ -118,6 +119,7 @@ h2, h3, h4, h5, h6 { ...@@ -118,6 +119,7 @@ h2, h3, h4, h5, h6 {
width: 400px; width: 400px;
background: url(libvirt-header-logo.png); background: url(libvirt-header-logo.png);
} }
#headerSearch { #headerSearch {
position: absolute; position: absolute;
top: 0px; top: 0px;
...@@ -142,7 +144,6 @@ h2, h3, h4, h5, h6 { ...@@ -142,7 +144,6 @@ h2, h3, h4, h5, h6 {
font-size: 1em; font-size: 1em;
} }
#sitemap ul li { #sitemap ul li {
list-style: none; list-style: none;
} }
...@@ -177,7 +178,6 @@ a { ...@@ -177,7 +178,6 @@ a {
color: #566866; color: #566866;
} }
div.api { div.api {
border: 1px solid #999999; border: 1px solid #999999;
background: #eeeeee; background: #eeeeee;
...@@ -203,7 +203,6 @@ div.api table td, div.variablelist table td { ...@@ -203,7 +203,6 @@ div.api table td, div.variablelist table td {
padding-left: 1em; padding-left: 1em;
} }
h1 a, h2 a, h3 a, h4 a, h5 a { h1 a, h2 a, h3 a, h4 a, h5 a {
color: inherit; color: inherit;
text-decoration: inherit; text-decoration: inherit;
...@@ -252,7 +251,6 @@ p.image { ...@@ -252,7 +251,6 @@ p.image {
width: 100%; width: 100%;
} }
#projects dl { #projects dl {
margin: 0px; margin: 0px;
border: 0px solid white; border: 0px solid white;
...@@ -285,9 +283,11 @@ p.image { ...@@ -285,9 +283,11 @@ p.image {
#projects #p1 dt, #projects #p1 dd { #projects #p1 dt, #projects #p1 dd {
width: 33%; width: 33%;
} }
#projects #p2 dt, #projects #p2 dd { #projects #p2 dt, #projects #p2 dd {
width: 50%; width: 50%;
} }
#projects #p3 dt, #projects #p3 dd { #projects #p3 dt, #projects #p3 dd {
width: 99%; width: 99%;
} }
...@@ -318,7 +318,6 @@ p.image { ...@@ -318,7 +318,6 @@ p.image {
color: #ccc; color: #ccc;
} }
#sponsor { #sponsor {
color: #757575; color: #757575;
text-decoration: inherit; text-decoration: inherit;
...@@ -370,6 +369,7 @@ table.data tr.head th { ...@@ -370,6 +369,7 @@ table.data tr.head th {
table.data tbody td { table.data tbody td {
background: rgb(240,240,240); background: rgb(240,240,240);
} }
table.data tbody td.y { table.data tbody td.y {
background: rgb(220,255,220); background: rgb(220,255,220);
text-align: center; text-align: center;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册