/
program.scss
88 lines (70 loc) · 1.37 KB
/
program.scss
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
@import "variables";
details.program summary {
margin: 1em 0;
font-size: 110%;
font-weight: bold;
}
details>summary {
list-style-type: '‹ ';
}
details[open]>summary {
list-style-type: '› ';
}
table.program {
// table-layout: fixed;
width: 100%;
border-collapse: collapse;
}
table.program tr td {
padding: 8px 16px;
}
table.program tr.empty {
border-top: 1px dashed $darkgrey;
border-bottom: 1px dashed $darkgrey;
}
table.program td:first-child {
min-width: 110px;
text-align: right;
vertical-align: top;
}
table.program tr:first-child td:first-child {
border-radius: .5em 0 0 0;
}
table.program tr:first-child td:last-child {
border-radius: 0 .5em 0 0;
}
table.program tr:last-child td:first-child {
border-radius: 0 0 0 .5em;
}
table.program tr:last-child td:last-child {
border-radius: 0 0 .5em 0;
}
table.program tr:nth-child(even) td {
background: transparentize($verylightgrey, .1);
}
table.program tr:nth-child(odd) td {
background: transparentize($verylightgrey, .7);
}
table.program tr.empty td {
background: none;
min-height: 40px;
}
table.program tr.empty td::before {
content: '';
display: block;
min-height: 1em;
}
table.program .inv {
font-variant: small-caps;
color: $secondcolor;
margin-left: 16px;
font-size: 95%;
}
table.program .inv::before {
content: '[';
font-size: 90%;
}
table.program .inv::after {
content: ']';
font-size: 90%;
}