-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathprint-cover.html
265 lines (217 loc) · 5.62 KB
/
print-cover.html
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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
---
---
<!DOCTYPE html>
<!-- SPDX-License-Identifier: CC0-1.0 -->
<!-- SPDX-FileCopyrightText: 2021-2024 The Foundation for Public Code <[email protected]>, https://standard.publiccode.net/AUTHORS -->
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>{{ site.title }}</title>
<style>
html {
font-family: Mulish;
font-size: 16pt;
margin: 0;
padding: 0;
}
*,
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
article {
position: relative;
}
article>section {
width: 21.6cm;
height: 30.3cm;
top: 0;
bottom: 0;
position: absolute;
}
#back {
left: 0;
}
#back>* {
position: absolute;
left: 2.3cm;
width: 16cm;
}
#front {
right: 0;
}
#front>* {
position: absolute;
left: 2cm;
width: 16cm;
}
/* Back */
#back-text {
position: absolute;
top: 2.3cm;
}
#back-text>p {
margin-bottom: 1em;
}
#back img[alt="hand pointing"] {
right: 0;
top: 18cm;
width: 18cm;
left: auto;
}
#logo {
bottom: 2cm;
}
#logo>img {
height: 2cm;
}
ol {
column-count: 2;
font-size: 12pt;
list-style-position: inside;
}
/* Front */
div#title-block {
position: absolute;
top: 2.3cm;
}
h1.title {
font-size: 3.5em;
font-weight: 700;
}
/* Audience blocks */
ul.audiences {
position: absolute;
top: 10cm;
list-style: none;
font-size: 1.25em;
padding-left: 0;
}
.audiences li,
.audiences lh {
display: block;
margin-bottom: .5cm;
}
.audiences lh {
margin-bottom: 1cm;
}
.audiences li {
padding-left: 1.2cm;
}
.audiences li::before {
margin-top: -.03cm;
}
[id$="public-policy-makers-what-you-need-to-do"]:before,
[id$="managers-what-you-need-to-do"]:before,
[id$="developers-and-designers-what-you-need-to-do"]:before {
display: block;
position: absolute;
content: 'A';
text-align: center;
width: 1cm;
height: 1cm;
color: white;
display: inline-block;
margin-left: -1.2cm;
box-sizing: border-box;
padding: 0.20cm;
font-size: .5cm;
font-weight: 900;
}
[id$="public-policy-makers-what-you-need-to-do"]:before {
background-color: #00EFB5;
content: 'P';
}
[id$="managers-what-you-need-to-do"]:before {
background-color: #FF6D1C;
content: 'M';
}
[id$="developers-and-designers-what-you-need-to-do"]:before {
background-color: #8626FF;
content: 'D';
}
/* Hands */
#front img[alt="hands shaking"] {
left: 0;
right: 0;
top: 18cm;
width: 21.6cm;
}
/* Version info */
#version-info {
bottom: 2cm;
font-size: .75em;
}
/* Print specific */
@media print {
@page {
/* A4 times 2 plus a back of about 6mm and a 3mm bleed on every side */
size: 43.2cm 30.3cm;
margin: 0;
padding: 0;
background-color: white;
}
}
/* Screen mock-up when using a browser */
@media screen {
body {
background-color: whitesmoke;
}
article {
display: block;
background-color: white;
min-height: 30.3cm;
max-height: 30.3cm;
min-width: 43.2cm;
max-width: 43.2cm;
}
}
</style>
</head>
<body>
<article>
<section id="back">
<div id="back-text">
<p>
The Standard for Public Code supports the collaborative creation of codebases that are usable, open, legible, accountable, accessible and sustainable.
The Standard includes guidance to policymakers, managers, designers and developers creating and managing codebases.
</p>
<p>
The standard specifies the criteria:
{% assign sorted = site.pages | sort:"order" %}
<ol>
{% for page in sorted %}{% if page.dir == "/criteria/" %}{% if page.name != "index.md" %}{% if page.title %}
<li>{{page.title}}</li>{% endif%}
{% endif%} {% endif%}{% endfor %}
</ol>
</p>
</div>
<img src="assets/hand-point.svg" alt="hand pointing">
<section id="logo">
<img src="https://brand.publiccode.net/logo/mark-and-name-over-two-lines.svg" alt="Foundation for Public Code logo">
</section>
</section>
<section id="front">
<div id="title-block">
<p>Request for contributions</p>
<h1 class="title">Standard for Public Code</h1>
</div>
<ul class="audiences">
<lh>What public code is and how to implement it for:</lh>
<li id="first-page-public-policy-makers-what-you-need-to-do">Public policy makers</li>
<li id="first-page-managers-what-you-need-to-do">Managers</li>
<li id="first-page-developers-and-designers-what-you-need-to-do">Developers and designers</li>
</ul>
<img src="assets/hands-shake.svg" alt="hands shaking">
<div id="version-info">
<p><strong>Draft</strong><br/>Version <span class="standard-version">0.8.0</span></p>
<p><img src="/assets/cc-zero-badge.svg" alt="Licensed CC0" height="46"> <img src="/assets/dpg-badge.svg" alt="Digital Public Goods approval badge" width="92" height="46"></p>
<p>https://standard.publiccode.net/</p>
</div>
</section>
</article>
</body>
</html>