Repository navigation
Expand file tree
/
Copy pathprint.css
More file actions
89 lines (80 loc) · 4.35 KB
/
Copy pathprint.css
File metadata and controls
89 lines (80 loc) · 4.35 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
@page {
size: 6.25in 9.25in;
margin: 0;
}
@page :left { margin-left: var(--gutter); }
@page :right{ margin-right: var(--gutter); }
:root {
--gutter: 0.3in;
--bleed: 0.125in;
--margin: 0.3in;
--section-padding: 0.08in;
}
#count-0 {
font-size: 1rem;
--section-padding: 1.6rem;
}
.template { display: none; }
html { margin: 0 var(--bleed); } /* this can handle left-right bleed, but not top-bottom */
body { margin: 0; padding: 0 var(--margin); }
.odd body { margin-left: var(--gutter); }
.even body { margin-right: var(--gutter); }
thead th { padding: 0; overflow: visible; }
thead h1 { margin: calc(var(--margin) + var(--bleed)) var(--section-padding) 0; height: 0; white-space: nowrap; font-family: "HelveticaNeueLT Pro 53 Ex"; text-transform: uppercase; font-weight: normal; letter-spacing: 0.3em; }
table h1 { font-size: 2.5em; padding-inline: var(--section-padding); }
tfoot td { height: calc(var(--margin) + var(--bleed) - var(--section-padding)); }
table, tr, th, td, thead, tbody, tfoot { margin: 0; padding: 0; border: 0; }
* { color-adjust: exact; box-sizing: border-box; }
table { page-break-before: always; }
section { break-inside: avoid; }
section { box-decoration-break: clone; }
html { font-family: "Helvetica Neue LT Pro"; }
p, h3 { color: black; /* cmyk 270% */ }
body { font-size: 0.5em; }
main { column-count: 2; column-gap: var(--section-padding); }
section { border-radius: 0.5em; border: 1pt solid; padding-top: var(--section-padding); margin: 0 0 var(--section-padding); background-color: white; box-sizing: border-box; display: flex; flex-direction: column; }
section { RASTERIZED-box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); }
.odd table h1 { text-align: left; transform-origin: top right; transform: rotate(90deg) translateX(100%) translateY(-1.6em); }
.even table h1 { text-align: right; transform-origin: top left; transform: rotate(-90deg) translateX(-100%) translateY(-1.6em); }
h3 { margin: 0; font-size: 1.5em; }
h4 { margin: 0; font-size: 1.25em; font-family: "HelveticaNeueLT Pro 65 Md"; }
h4, p > span, time, em, footer svg { color: hsl(207, 14%, 43%); }
h4, time{ font-weight: normal; }
.Icon { object-fit: cover; border-radius: 50%; margin-right: 0.5em; }
.Icon, .Logo { height: 1.5em; }
p { font-size: 1.5em; letter-spacing: -0.01em; margin: calc(var(--section-padding) * 0.6) var(--section-padding) var(--section-padding); word-break: break-word; line-height: 1.2; }
.Compact p { margin-top: 0; }
p ~ img { width: 100%; }
header { display: flex; justify-content: space-between; margin: 0 var(--section-padding); }
.Compact header { display: none; }
div { display: flex; align-items: center; }
aside { line-height: 1.1; }
section > footer { flex-grow: 1; display: flex; align-items: center; justify-content: space-between; line-height: 1; font-size: 1.2em; margin: 0 var(--section-padding); }
section > footer svg { height: 0.9em; fill: currentColor; }
.Compact section > footer > :not(time) { display: none; }
main a + a, em + a { margin-left: 1.2em; }
em { font-style: normal; margin-left: 0.3em; vertical-align: text-top; }
time { font-size: 1.25em; flex-grow: 1; text-align: right; }
table { width: 100%; }
article { display: flex; flex-direction: column; justify-content: center; height: 99vh; text-align: center; font-family: "Palatino Linotype"; page-break-after: always; }
article > * { font-weight: normal; }
article > h1 { font-size: 9em; text-transform: uppercase; letter-spacing: 0.3em; margin: 0; }
article > h1 + h1 { font-size: 7em; }
article > nav { font-size: 4em; margin-top: 20vh; }
article > h2 { font-size: 6em; margin-top: 10vh; }
/*body::before {
THIS RASTERIZES IN PRINT DUE TO MASKING
position: fixed;
top: 0; right: 0; bottom: 0; left: 0;
content: "";
background-color: hsl(var(--hue), 19%, 90%);
mask-image: url("image/flourish.svg");
z-index: -1;
}*/
html { background-color: hsl(var(--hue), 33%, 97%); background-attachment: fixed; background-size: contain; background-position: var(--bleed) var(--bleed); background-repeat: repeat-y; }
a, a:visited, .Logo { color: #1da1f2; text-decoration: none; fill: currentColor; }
a:hover, a:focus { text-decoration: underline; }
time a { color: inherit ! important; }
.Flourish, section { color: hsl(var(--hue), 19%, 90%); fill: currentColor; }
.Flourish { position: fixed; z-index: -1; left: var(--bleed); top: var(--bleed); }
.Fourish + .Flourish { top: calc(100vw - var(--bleed)); }