Skip to content

Commit 58cc6d2

Browse files
committed
Markup: PDF generation
Tried to keep the css together but it doesn't feel super logically grouped so I wound up rearranging everything. Sorry future git-blamer. Units of measurements are all over the place, here's what defines them: - mm for page-related units - pt for text-related units - em for horizontal units - ex for vertical units Highly specific rules come from a loyalty to the Ecma specification template first, previous years' standards second. There should be no changes that impact screen rendering. Any changes to the primary stylesheet come from inline styles that existed in both ECMA-262 and ECMA-402. The cover SVGs aren't really used by ecmarkup directly, but are rather to be viewed as source files for the two specifications.
1 parent c0c4f82 commit 58cc6d2

9 files changed

+1033
-127
lines changed

css/elements.css

Lines changed: 36 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ body {
100100
font-size: 18px;
101101
line-height: 1.5;
102102
font-family:
103-
IBM Plex Serif,
103+
'IBM Plex Serif',
104104
serif;
105105
font-variant-numeric: slashed-zero;
106106
padding: 0;
@@ -158,7 +158,7 @@ span.e-user-code::before {
158158
vertical-align: middle;
159159
text-transform: uppercase;
160160
font-family:
161-
IBM Plex Sans,
161+
'IBM Plex Sans',
162162
sans-serif;
163163
font-weight: 900;
164164
font-size: x-small;
@@ -183,8 +183,8 @@ span.e-user-code::before {
183183
code {
184184
font-weight: bold;
185185
font-family:
186-
Comic Code,
187-
IBM Plex Mono,
186+
'Comic Code',
187+
'IBM Plex Mono',
188188
monospace;
189189
white-space: pre;
190190
}
@@ -251,7 +251,7 @@ var.referenced6 {
251251

252252
emu-const {
253253
font-family:
254-
IBM Plex Sans,
254+
'IBM Plex Sans',
255255
sans-serif;
256256
font-variant: small-caps;
257257
text-transform: uppercase;
@@ -453,7 +453,7 @@ emu-rhs emu-nt {
453453
emu-t {
454454
display: inline-block;
455455
font-family:
456-
IBM Plex Mono,
456+
'IBM Plex Mono',
457457
monospace;
458458
font-weight: bold;
459459
white-space: nowrap;
@@ -490,7 +490,7 @@ emu-params,
490490
emu-opt {
491491
margin-right: 1ex;
492492
font-family:
493-
IBM Plex Mono,
493+
'IBM Plex Mono',
494494
monospace;
495495
}
496496

@@ -506,7 +506,7 @@ emu-opt {
506506
emu-gprose {
507507
font-size: 0.9em;
508508
font-family:
509-
IBM Plex Sans,
509+
'IBM Plex Sans',
510510
sans-serif;
511511
}
512512

@@ -920,7 +920,7 @@ tr.del > td {
920920
height: 18px;
921921
font-size: 12px;
922922
margin: 0 5px 0 10px;
923-
font-family: IBM Plex Sans;
923+
font-family: 'IBM Plex Sans', sans-serif;
924924
}
925925
#menu-pins .unpin-all:hover {
926926
background: #ddd;
@@ -1368,10 +1368,18 @@ li.menu-search-result-term:before {
13681368
padding-right: 5px;
13691369
}
13701370

1371+
emu-normative-optional:before {
1372+
display: block;
1373+
color: #884400;
1374+
content: "NORMATIVE OPTIONAL";
1375+
}
1376+
1377+
emu-normative-optional,
13711378
[normative-optional],
13721379
[deprecated],
13731380
[legacy] {
13741381
border-left: 5px solid #ff6600;
1382+
display: block;
13751383
padding: 0.5em;
13761384
background: #ffeedd;
13771385
}
@@ -1425,3 +1433,22 @@ li.menu-search-result-term:before {
14251433
background-color: #eee;
14261434
box-shadow: inset 0 -1px 0 #ccc;
14271435
}
1436+
1437+
#metadata-block {
1438+
margin: 4em 0;
1439+
padding: 10px;
1440+
border: 1px solid #ee8421;
1441+
}
1442+
1443+
#metadata-block h1 {
1444+
font-size: 1.5em;
1445+
margin-top: 0;
1446+
}
1447+
#metadata-block > ul {
1448+
list-style-type: none;
1449+
margin: 0; padding: 0;
1450+
}
1451+
1452+
#ecma-logo {
1453+
width: 500px;
1454+
}

0 commit comments

Comments
 (0)