Shaped up the print stylesheet. It now validates, hides edit/delete images, sizes checkboxes appropriately, displays dotted borders under h2 elements, and puts each Todo's descriptions on the same line as its checkbox. Made the formatting more consistent, too.

git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@367 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
lukemelia 2006-12-09 04:38:20 +00:00
parent 7cf9cbf62b
commit a2b660bd77

View file

@ -1,74 +1,76 @@
/* LAYOUT ELEMENTS ========================================================== */
*
{
margin: 0;
padding: 0;
* {
margin: 0;
padding: 0;
}
body {
background: #fff;
color: #000;
width: 2.5in;
height: 4.7in;
font-size: 8.2pt;
font-family: "Lucida Grande", "Bitstream Vera Sans", Helvetica, Verdana, Arial, sans-serif;
}
background: #fff;
color: #000;
width: 2.5in;
height: 4.7in;
font-size: 8.2pt;
font-family: "Lucida Grande", "Bitstream Vera Sans", Helvetica, Verdana, Arial, sans-serif;
}
img {
max-width: 2.2in;
max-height: 4.3in;
}
max-width: 2.2in;
max-height: 4.3in;
border:0;
}
/* Josh added */
#navcontainer, #input_box, #footer, .big-box, .refresh, .badge, h1 {
display:none;
}
#navcontainer, #input_box, #footer, .big-box, .refresh, .badge, h1, .icon, #minilinks {
display:none;
}
.contexts {
margin: 0 0 2em 0;
border-top: 1px solid #000;
page-break-before: always;
}
margin: 0 0 2em 0;
border-top: 1px solid #000;
page-break-before: always;
}
.contexts:first-child {
page-break-before: avoid;
}
page-break-before: avoid;
}
h2 {
font-size: 1.4em;
font-weight: bold;
margin-bottom: .3em;
padding: .2em 0;
border-bottom: 1px dotted #000;
}
font-size: 1.4em;
font-weight: bold;
margin-bottom: .3em;
padding: .2em 0;
border-bottom: 1pt dotted #000;
}
a, p, blockquote, ul, li, ol, dt, dd, dl, table {
margin: 0 0 .3em 0;
}
margin: 0 0 .3em 0;
}
.notes {
margin: .12em 1.2em;
padding: .3em;
}
margin: .12em 1.2em;
padding: .3em;
}
.description {
margin-top: 0;
margin-left: 0;
margin-bottom: .3em;
padding: .2em;
}
margin-left: 12pt;
}
ul {
list-style-type: circle;
}
list-style-type: circle;
}
li {
margin: .1em 0 .1em 2em;
line-height: 1.4em;
}
margin: .1em 0 .1em 2em;
line-height: 1.4em;
}
.checkbox {
float: left;
size: 25px;
}
.item-container {
clear:both;
padding-top: .3em;
padding-bottom: .3em;
}
.item-checkbox {
width: 10pt;
height: 10pt;
display:block;
float:left;
}