Commit b697191e authored by Phillip Webb's avatar Phillip Webb

Format docbook css

parent 01137b6f
...@@ -19,13 +19,13 @@ code { ...@@ -19,13 +19,13 @@ code {
color: #6D180B; color: #6D180B;
} }
:not(pre) > code { :not(pre)>code {
background-color: #F2F2F2; background-color: #F2F2F2;
border: 1px solid #CCCCCC; border: 1px solid #CCCCCC;
border-radius: 4px; border-radius: 4px;
padding: 1px 3px 0; padding: 1px 3px 0;
text-shadow: none; text-shadow: none;
white-space: nowrap; white-space: nowrap;
} }
body>*:first-child { body>*:first-child {
...@@ -54,12 +54,12 @@ h1,h2,h3 { ...@@ -54,12 +54,12 @@ h1,h2,h3 {
} }
h1 { h1 {
margin: 70px 0 30px; margin: 70px 0 30px;
padding-top: 20px; padding-top: 20px;
} }
div.part h1 { div.part h1 {
border-top: 1px dotted #CCCCCC; border-top: 1px dotted #CCCCCC;
} }
h1,h1 code { h1,h1 code {
...@@ -138,7 +138,7 @@ div.table { ...@@ -138,7 +138,7 @@ div.table {
text-align: center; text-align: center;
} }
div.table table, div.informaltable table { div.table table,div.informaltable table {
display: table; display: table;
width: 100%; width: 100%;
} }
...@@ -160,7 +160,7 @@ div.table td { ...@@ -160,7 +160,7 @@ div.table td {
color: #6D180B; color: #6D180B;
} }
pre.programlisting, pre.screen { pre.programlisting,pre.screen {
font-size: 15px; font-size: 15px;
padding: 6px 10px; padding: 6px 10px;
background-color: #F8F8F8; background-color: #F8F8F8;
...@@ -169,7 +169,7 @@ pre.programlisting, pre.screen { ...@@ -169,7 +169,7 @@ pre.programlisting, pre.screen {
clear: both; clear: both;
overflow: auto; overflow: auto;
line-height: 1.4; line-height: 1.4;
font-family: Consolas,"Liberation Mono",Courier,monospace; font-family: Consolas, "Liberation Mono", Courier, monospace;
} }
table { table {
...@@ -211,7 +211,8 @@ div.table-contents td p { ...@@ -211,7 +211,8 @@ div.table-contents td p {
margin: 0; margin: 0;
} }
div.important *,div.note *,div.tip *,div.warning *,div.navheader *,div.navfooter *,div.calloutlist * { div.important *,div.note *,div.tip *,div.warning *,div.navheader *,div.navfooter *,div.calloutlist *
{
border: none !important; border: none !important;
background: none !important; background: none !important;
margin: 0; margin: 0;
...@@ -224,30 +225,29 @@ div.important p,div.note p,div.tip p,div.warning p { ...@@ -224,30 +225,29 @@ div.important p,div.note p,div.tip p,div.warning p {
div.important code,div.note code,div.tip code,div.warning code { div.important code,div.note code,div.tip code,div.warning code {
background-color: #F2F2F2 !important; background-color: #F2F2F2 !important;
border: 1px solid #CCCCCC !important; border: 1px solid #CCCCCC !important;
border-radius: 4px !important; border-radius: 4px !important;
padding: 1px 3px 0 !important; padding: 1px 3px 0 !important;
text-shadow: none !important; text-shadow: none !important;
white-space: nowrap !important; white-space: nowrap !important;
} }
.note th,.tip th,.warning th { .note th,.tip th,.warning th {
display: none; display: none;
} }
.note tr:first-child td,.tip tr:first-child td,.warning tr:first-child td { .note tr:first-child td,.tip tr:first-child td,.warning tr:first-child td
{
border-right: 1px solid #CCCCCC !important; border-right: 1px solid #CCCCCC !important;
padding-top: 10px; padding-top: 10px;
} }
div.calloutlist p,div.calloutlist td {
div.calloutlist p, div.calloutlist td {
padding: 0; padding: 0;
margin: 0; margin: 0;
} }
div.calloutlist > table > tbody > tr > td:first-child { div.calloutlist>table>tbody>tr>td:first-child {
padding-left: 10px; padding-left: 10px;
width: 30px !important; width: 30px !important;
} }
...@@ -270,21 +270,21 @@ dl,dt { ...@@ -270,21 +270,21 @@ dl,dt {
margin-bottom: 0; margin-bottom: 0;
} }
div.toc > dl > dt { div.toc>dl>dt {
font-size: 32px; font-size: 32px;
font-weight: bold; font-weight: bold;
margin: 30px 0 10px 0; margin: 30px 0 10px 0;
display: block; display: block;
} }
div.toc > dl > dd > dl > dt { div.toc>dl>dd>dl>dt {
font-size: 24px; font-size: 24px;
font-weight: bold; font-weight: bold;
margin: 20px 0 10px 0; margin: 20px 0 10px 0;
display: block; display: block;
} }
div.toc > dl > dd > dl > dd > dl > dt { div.toc>dl>dd>dl>dd>dl>dt {
font-weight: bold; font-weight: bold;
font-size: 20px; font-size: 20px;
margin: 10px 0 0 0; margin: 10px 0 0 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment