forked from nvaccess/nvda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
92 lines (79 loc) · 1.31 KB
/
styles.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
body {
margin: 0 auto;
max-width: 50em;
font-family: "Helvetica", "Arial", sans-serif;
line-height: 1.5;
padding: 4em 1em;
color: #333;
}
:lang(ar) body *, :lang(fa) body * {
font-family: "Simplified Arabic", "Traditional Arabic", "Arial", sans-serif !important;
}
h1 {
color:white;
background-color: #472F5F; /* NVDA purple */
}
h2 {
margin-top: 1em;
padding-top: 1em;
}
h2, h3, h4, a {
color: #472F5F; /* NVDA purple */
}
strong {
color: #000;
}
/* tables */
table, td, th {
border:1px solid black;
}
table{
border-collapse: collapse;
}
td, th {
padding: 0.25em;
}
th {
color: #472F5F; /* NVDA purple */
}
/* code / pre */
code,
pre {
background: #f6f8fa;
border-bottom: 1px solid #d8dee9;
color: #33104e;
}
code {
padding: 2px 4px;
vertical-align: text-bottom;
}
pre {
padding: 1em;
border-left: 2px solid #69c;
}
/*
Definition list
Note these are not exposed correctly in NVDA: #3858
*/
dl {
display: grid;
grid-template-columns: auto;
}
/* Term of a definition */
dl > dt {
grid-column-start: 1;
font-style: italic;
font-weight: bold;
font-size: small;
}
/* Definition of a term */
dl > dd {
display: inherit;
grid-column-start: 2;
margin-inline-start: 1em;
font-size: small;
font-style: italic;
}
thead:has(tr > th.hideHeaderRow) {
display: none;
}