-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprint-to-do.css
73 lines (64 loc) · 1.29 KB
/
print-to-do.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
@charset "utf-8";
/* CSS Document */
/*
* Author name : Armagan Tekdoner
* Student Number : 200253439
* Assignment Name: To Do List Web App
* Instructor : Derek Buttineau
* Date : April 2014
* File name : print-to-do.css
* url : http://webdesign4.georgianc.on.ca/~200253439/comp1073/to-do/print-to-do.css
*/
/* css file for printing only */
/* only the list of items to buy is displayed */
body{
/* printer-friendly font */
font-family: "Courier New", Courier, monospace;
color: #000;
}
header,
aside,
section:first-of-type,
footer{
display: none;
}
section:last-of-type{
width: 511pt;
background-color: #fff;
z-index: 100;
}
section:last-of-type h2{
float: left;
font-size: 14pt;
font-weight: 500;
}
section:last-of-type table{
position: relative;
float: left;
text-align: left;
width: 500pt;
}
section:last-of-type caption{
font-size: 14pt;
margin-top: 10pt;
width: 400pt;
}
section:last-of-type table td{
font-size: 12pt;
margin-left: 80pt;
width: 400pt;
}
section:last-of-type div{
position: relative;
float: left;
text-align: left;
width: 500pt;
}
/* printer button */
section:last-of-type button,
/* cross sign */
section:last-of-type td:last-of-type,
/* check mark */
section:last-of-type td:nth-last-of-type(2){
display: none;
}