mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-02 11:00:16 +01:00
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:
parent
7cf9cbf62b
commit
a2b660bd77
1 changed files with 52 additions and 50 deletions
|
|
@ -1,74 +1,76 @@
|
||||||
/* LAYOUT ELEMENTS ========================================================== */
|
* {
|
||||||
*
|
margin: 0;
|
||||||
{
|
padding: 0;
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
color: #000;
|
color: #000;
|
||||||
width: 2.5in;
|
width: 2.5in;
|
||||||
height: 4.7in;
|
height: 4.7in;
|
||||||
font-size: 8.2pt;
|
font-size: 8.2pt;
|
||||||
font-family: "Lucida Grande", "Bitstream Vera Sans", Helvetica, Verdana, Arial, sans-serif;
|
font-family: "Lucida Grande", "Bitstream Vera Sans", Helvetica, Verdana, Arial, sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
max-width: 2.2in;
|
max-width: 2.2in;
|
||||||
max-height: 4.3in;
|
max-height: 4.3in;
|
||||||
}
|
border:0;
|
||||||
|
}
|
||||||
|
|
||||||
/* Josh added */
|
#navcontainer, #input_box, #footer, .big-box, .refresh, .badge, h1, .icon, #minilinks {
|
||||||
#navcontainer, #input_box, #footer, .big-box, .refresh, .badge, h1 {
|
display:none;
|
||||||
display:none;
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.contexts {
|
.contexts {
|
||||||
margin: 0 0 2em 0;
|
margin: 0 0 2em 0;
|
||||||
border-top: 1px solid #000;
|
border-top: 1px solid #000;
|
||||||
page-break-before: always;
|
page-break-before: always;
|
||||||
}
|
}
|
||||||
|
|
||||||
.contexts:first-child {
|
.contexts:first-child {
|
||||||
page-break-before: avoid;
|
page-break-before: avoid;
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
font-size: 1.4em;
|
font-size: 1.4em;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
margin-bottom: .3em;
|
margin-bottom: .3em;
|
||||||
padding: .2em 0;
|
padding: .2em 0;
|
||||||
border-bottom: 1px dotted #000;
|
border-bottom: 1pt dotted #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
a, p, blockquote, ul, li, ol, dt, dd, dl, table {
|
a, p, blockquote, ul, li, ol, dt, dd, dl, table {
|
||||||
margin: 0 0 .3em 0;
|
margin: 0 0 .3em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.notes {
|
.notes {
|
||||||
margin: .12em 1.2em;
|
margin: .12em 1.2em;
|
||||||
padding: .3em;
|
padding: .3em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.description {
|
.description {
|
||||||
margin-top: 0;
|
margin-left: 12pt;
|
||||||
margin-left: 0;
|
}
|
||||||
margin-bottom: .3em;
|
|
||||||
padding: .2em;
|
|
||||||
}
|
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
list-style-type: circle;
|
list-style-type: circle;
|
||||||
}
|
}
|
||||||
|
|
||||||
li {
|
li {
|
||||||
margin: .1em 0 .1em 2em;
|
margin: .1em 0 .1em 2em;
|
||||||
line-height: 1.4em;
|
line-height: 1.4em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.checkbox {
|
.item-container {
|
||||||
float: left;
|
clear:both;
|
||||||
size: 25px;
|
padding-top: .3em;
|
||||||
}
|
padding-bottom: .3em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.item-checkbox {
|
||||||
|
width: 10pt;
|
||||||
|
height: 10pt;
|
||||||
|
display:block;
|
||||||
|
float:left;
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue