Enhancements of the CSS. Reduce indents, add spacing between table

columns, make admonishments a bit wider.  Thanks to Allan Jude and db@
for help with this.

Reviewed by:	gabor
This commit is contained in:
Warren Block 2013-07-21 14:42:14 +00:00
parent 76b6402002
commit 8ec1643f75
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=42347

View file

@ -187,7 +187,7 @@ body img.navheader {
} }
ol { ol {
margin: 0 0 0 5%; margin: 0 0 0 1em;
line-height: 1.2; line-height: 1.2;
} }
@ -199,10 +199,11 @@ body pre {
body td, body th { body td, body th {
line-height: 1.2; line-height: 1.2;
padding-right: 1.5em;
} }
ul, body dir, body menu { ul, body dir, body menu {
margin: 0 0 0 5%; margin: 0 0 0 1em;
line-height: 1.2; line-height: 1.2;
} }
@ -263,7 +264,7 @@ div.programlisting {
.note, .tip, .important, .warning, .caution, .example, div.procedure { .note, .tip, .important, .warning, .caution, .example, div.procedure {
border-radius: 6px; border-radius: 6px;
padding: 2ex 2ex; padding: 2ex 2ex;
margin: .75em 3em .75em 3em; margin: .75em 3em .75em 1em;
line-height: 1.3; line-height: 1.3;
} }
@ -271,14 +272,14 @@ div.programlisting {
color: #222; color: #222;
background: #eee; background: #eee;
border: 1px solid #ccc; border: 1px solid #ccc;
width: 85%; width: 90%;
} }
.tip { .tip {
color: #004F00; color: #004F00;
background: #d8ecd6; background: #d8ecd6;
border: 1px solid green; border: 1px solid green;
width: 85%; width: 90%;
} }
.important { .important {
@ -291,14 +292,14 @@ div.programlisting {
color: #9F1313; color: #9F1313;
background: #f8e8e8; background: #f8e8e8;
border: 1px solid #e59595; border: 1px solid #e59595;
width: 85%; width: 90%;
} }
.caution { .caution {
color: #3E3535; color: #3E3535;
background: #FFC; background: #FFC;
border: 1px solid #e59595; border: 1px solid #e59595;
width: 85%; width: 90%;
} }
.example { .example {
@ -345,3 +346,8 @@ div.programlisting {
pre.screen strong { pre.screen strong {
font-weight: normal; font-weight: normal;
} }
.procedure ol {
line-height: 1.2;
margin: 0 0 0 -1em;
}