-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathspec.css
116 lines (112 loc) · 1.93 KB
/
spec.css
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
@import "shared.css";
:root {
--flag-colour: gold;
--flag-border-size: 3px;
}
body {
line-height: 1.4;
font-size: 1.2rem;
}
.nav-back {
max-width: var(--spec-width);
margin: auto;
text-transform: uppercase;
text-align: right;
}
main {
max-width: var(--spec-width);
}
header {
padding: 4rem 0 1rem 0.5rem;
}
h1 {
font-weight: 400;
font-size: 2rem;
margin: 0.5rem 0;
text-decoration: underline;
text-decoration-color: var(--green);
text-decoration-thickness: 5px;
}
header th {
font-weight: normal;
text-transform: uppercase;
text-align: left;
vertical-align: top;
}
header td {
padding-left: 1rem;
}
header table p {
margin: 0;
}
section, ul, ol {
margin: 0 1rem 1rem 1rem;
max-width: 70ch;
}
section section {
margin: 0 0 1rem 0;
}
ul, ol {
padding-left: 1rem;
max-width: calc(70ch - 1rem);
}
ul > li {
list-style-type: square;
}
dt {
font-weight: bold;
}
h2 {
font-weight: 400;
font-size: var(--header-font-size);
text-decoration: underline;
text-decoration-thickness: 5px;
text-transform: uppercase;
}
h3 {
margin-bottom: 0;
}
h3 + p {
margin-top: 0;
}
header table a, a.ref {
text-decoration: none;
}
a.dfn-ref {
text-decoration-color: var(--purple);
/* text-decoration-thickness: 1px; */
color: inherit;
}
pre {
/* white-space: pre-wrap; */
overflow: auto;
}
div.flag {
border: var(--flag-border-size) solid var(--flag-colour);
padding: 1rem;
position: relative;
margin-top: 3rem;
}
div.flag::before {
content: "Issue";
display: block;
position: absolute;
top: -2.4rem;
background: var(--flag-colour);
left: calc(-1 * var(--flag-border-size));
border: var(--flag-border-size) solid var(--flag-colour);
padding: 0.4rem 1rem;
text-transform: uppercase;
line-height: 1;
}
dt {
font-weight: bold;
}
@media only screen and (max-width:800px) {
header table, header tr, header th, header td {
display: block;
}
.nav-back {
font-size: 1rem;
}
}