-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
176 lines (129 loc) · 2.5 KB
/
style.css
File metadata and controls
176 lines (129 loc) · 2.5 KB
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
body {
font-family: sans-serif;
}
button {
display: block;
}
label {
display: block;
}
table {
border-collapse: collapse;
margin: 10px;
/*
height: 7in;
width: 10.5in;
*/
}
table,
td {
border: 1px solid black;
}
textarea {
width: 80%;
max-width: 500px;
height: 300px;
}
/*square up the boxes*/
td {
width: 0.3in;/*(10.5-2)/23 */
height: 0.3in;
font-size: 0.15in;
}
tr:nth-child(1) td {
font-size: 0.1in;
}
/*
td div {
width:0.3in;
text-align: center;
}
*/
/*center the headings */
tr:nth-child(1) td,
tr:nth-child(2) td,
tr:nth-child(3) td {
text-align: center;
}
/* center the days they are there*/
td:nth-child(2) {
text-align: center;
}
/*heavy border below dates */
tr:nth-child(3) td {
border-top-width: 3px;
}
/*heavy vert border for weekends*/
.weekendBorder {
border-left-width: 3px;
}
/*heavy horiz border for peopleGroups*/
.peopleGroup td {
border-top-width: 3px;
}
/*remove borders from the top row exvept the bottom*/
tr:nth-child(1) td {
border-top-color: transparent;
border-left-color: transparent;
border-right-color: transparent;
border-bottom-width: 3px;
}
/*remove top left borders for topleft cells*/
tr:nth-child(1) td:nth-child(1),
tr:nth-child(1) td:nth-child(2),
tr:nth-child(2) td:nth-child(1),
tr:nth-child(2) td:nth-child(2),
tr:nth-child(3) td:nth-child(1),
tr:nth-child(3) td:nth-child(2) {
border-color: transparent;
}
/*line up the names and fix the borders*/
tr td:nth-child(1) {
padding: 0;
padding-right: 10px;
padding-left: 10px;
border-right-color: transparent;
width: 1.75in;
}
tr td:nth-child(2) {
border-left-color: transparent;
width: 0.25in;
}
/*graying out of days for kid that can be there*/
.wantHighlighing .MWF td.Mon,
.wantHighlighing .MWF td.Wed,
.wantHighlighing .MWF td.Fri,
.wantHighlighing .TTH td.Tue,
.wantHighlighing .TTH td.Thu {
background-color: hsl(0, 0%, 90%);
}
/*fix the headings*/
#rollmakerOutput h1,
#rollmakerOutput h2 {
text-align: center;
margin: 0;
}
#rollmakerOutput h2 {
font-size: 15px;
}
/*make it print right*/
@media print {
#settings {
display: none;
}
#rollmakerOutput h2 {
page-break-before: always;
}
}
/*days off*/
.dayOff {
max-width: 18px;
white-space: nowrap;
vertical-align: top;
background-color: hsl(0, 0%, 90%);
}
.dayOff > div {
transform: translateY(15px) rotate(90deg);
font-weight: bold;
color: black;
}