Debian Codegraph @

documentation/assets/css/theme.css

raw
1 /*
2 This file is from the SIL Fontdocs project (https://github.com/silnrsi/fontdocs).
3 Copyright (c) 2021 SIL International (http://www.sil.org/). This Font Software is
4 released under the MIT license (http://opensource.org/licenses/MIT).
5 */
6 html {
7 font-family: sans-serif;
8 line-height: 1.1;
9 }
10
11 article,
12 aside,
13 figcaption,
14 figure,
15 footer,
16 header,
17 hgroup,
18 main,
19 nav,
20 section {
21 display: block;
22 }
23
24 .container {
25 width: 90%;
26 padding-right: 0px;
27 padding-left: 0px;
28 margin-right: auto;
29 margin-left: auto;
30 }
31
32 body {
33 margin: 0;
34 font-family: -apple-system, "Helvetica Neue", "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
35 /* font-family: Cambria, Georgia, Times, "Times New Roman", "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", serif; */
36 font-size: 1rem;
37 font-weight: 400;
38 line-height: 1.4;
39 color: #000000;
40 text-align: start;
41 background-color: #fff;
42 }
43
44 h1 {
45 font-size: 2.4rem;
46 font-weight: 700;
47 margin-top: 2rem;
48 margin-bottom: 1rem;
49 page-break-after: avoid;
50 }
51
52 h2 {
53 font-size: 1.8rem;
54 font-weight: 700;
55 margin-top: 1.3rem;
56 margin-bottom: 0.2rem;
57 page-break-after: avoid;
58 }
59
60 h3 {
61 font-size: 1.4rem;
62 font-weight: 700;
63 margin-top: 1.2rem;
64 margin-bottom: 0.2rem;
65 page-break-after: avoid;
66 }
67
68 h4 {
69 font-size: 1.2rem;
70 font-weight: 700;
71 }
72
73 h4,
74 h5,
75 h6 {
76 margin-top: 1.2em;
77 margin-bottom: 0rem;
78 page-break-after: avoid;
79 }
80
81 p {
82 margin-top: 0;
83 margin-bottom: 1rem;
84 }
85
86 ol,
87 ul,
88 dl {
89 margin-top: 0;
90 margin-bottom: 1rem;
91 }
92
93 ol ol,
94 ul ul,
95 ol ul,
96 ul ol {
97 margin-bottom: 0;
98 }
99
100 strong {
101 font-weight: bolder;
102 }
103
104 small {
105 font-size: 0.8rem;
106 }
107
108 a {
109 color: #018ADF;
110 text-decoration: none;
111 background-color: transparent;
112 }
113
114 pre {
115 display: block;
116 background-color: #edf2f5;
117 padding: 0.5rem 0;
118 }
119
120 code {
121 display: inline-block;
122 background-color: #edf2f5;
123 font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
124 font-size: 0.9rem;
125 }
126
127 td code {
128 background-color: transparent;
129 }
130
131 blockquote {
132 display: block;
133 margin-block-start: 1em;
134 margin-block-end: 1em;
135 margin-inline-start: 0px;
136 margin-inline-end: 40px;
137 padding-left: 30px;
138 border-left: 10px solid #edf2f5;
139 }
140
141 img {
142 vertical-align: middle;
143 border-style: none;
144 }
145
146 figcaption {
147 padding-top: 0.75rem;
148 padding-bottom: 0.75rem;
149 color: #6c757d;
150 text-align: left;
151 caption-side: bottom;
152 }
153
154 table {
155 width: 100%;
156 margin-bottom: 1rem;
157 border-collapse: collapse;
158 }
159
160 thead {
161 vertical-align: bottom;
162 }
163
164 th {
165 padding: 0.3rem 1rem 0.4rem 1rem;
166 vertical-align: top;
167 background-color: #a6afb4;
168 }
169
170 tr {
171 vertical-align: bottom;
172 page-break-before: avoid;
173 }
174
175 tbody tr:nth-child(odd) {
176 background-color: #dce5eb;
177 }
178
179 tbody tr:nth-child(even) {
180 background-color: #edf2f5;
181 }
182
183 td {
184 padding: 0.3rem 1rem 0.4rem 1rem;
185 vertical-align: text-bottom;
186 }
187
188 kbd{
189 background-color: #6c757d;
190 color: #fff;
191 padding: 0.2rem 0.3rem;
192 }
193
194 footer {
195 margin-top: 2rem;
196 margin-bottom: 1rem;
197 color: #999999;
198 }
199
200 .affects {
201 font-size: 0.8rem;
202 color: #333333;
203 }
204
205 .footnote-ref {
206 font-weight: 700;
207 padding-left: 0.15rem;
208 }
209
210 .normal {
211 /* used for all product site web font example spans to remove inherited styling */
212 font-size: 1.5rem;
213 }
214
215 @media print {
216 html {
217 font-size: 10pt;
218 }
219 }