FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
binaryninja-api/docs/docs.css at dev · Vector35/binaryninja-api · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
Vector35
/
binaryninja-api
Public
Notifications
You must be signed in to change notification settings
Fork
294
Star
1.3k
Code
Issues
1.9k
Pull requests
37
Discussions
Actions
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
binaryninja-api
/
docs
/
docs.css
Copy path
More file actions
More file actions
Latest commit
History
History
History
436 lines (384 loc) · 13.1 KB
Breadcrumbs
binaryninja-api
/
docs
/
docs.css
Copy path
File metadata and controls
436 lines (384 loc) · 13.1 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
@font-face
{
font-display
:
swap;
font-family
:
'Roboto Mono'
;
font-style
:
normal;
font-weight
:
400
;
src
:
url
(
'./fonts/roboto-mono-v22-latin-regular.woff2'
)
format
(
'woff2'
);
}
@font-face
{
font-display
:
swap;
font-family
:
'Roboto Mono'
;
font-style
:
italic;
font-weight
:
400
;
src
:
url
(
'./fonts/roboto-mono-v22-latin-italic.woff2'
)
format
(
'woff2'
);
}
@font-face
{
font-display
:
swap;
font-family
:
'Roboto Mono'
;
font-style
:
normal;
font-weight
:
700
;
src
:
url
(
'./fonts/roboto-mono-v22-latin-700.woff2'
)
format
(
'woff2'
);
}
@font-face
{
font-display
:
swap;
font-family
:
'Roboto Mono'
;
font-style
:
italic;
font-weight
:
700
;
src
:
url
(
'./fonts/roboto-mono-v22-latin-700italic.woff2'
)
format
(
'woff2'
);
}
@font-face
{
font-display
:
swap;
font-family
:
'Open Sans'
;
font-style
:
normal;
font-weight
:
400
;
src
:
url
(
'./fonts/OpenSans-Regular.ttf'
)
format
(
'truetype'
);
}
@font-face
{
font-display
:
swap;
font-family
:
'Open Sans'
;
font-style
:
italic;
font-weight
:
400
;
src
:
url
(
'./fonts/OpenSans-Italic.ttf'
)
format
(
'truetype'
);
}
@font-face
{
font-display
:
swap;
font-family
:
'Open Sans'
;
font-style
:
normal;
font-weight
:
700
;
src
:
url
(
'./fonts/OpenSans-Bold.ttf'
)
format
(
'truetype'
);
}
@font-face
{
font-display
:
swap;
font-family
:
'Open Sans'
;
font-style
:
italic;
font-weight
:
700
;
src
:
url
(
'./fonts/OpenSans-BoldItalic.ttf'
)
format
(
'truetype'
);
}
@font-face
{
font-display
:
swap;
font-family
:
'Bebas Neue'
;
font-style
:
normal;
font-weight
:
700
;
src
:
url
(
'./fonts/bebas-neue-bold.woff2'
)
format
(
'woff2'
);
}
:
root
{
--md-text-font
:
"Open Sans"
;
--md-code-font
:
"Roboto Mono"
;
}
/* Display headings retain source casing for copy/paste and accessibility. */
.
md-typeset
h1
,
.
md-typeset
h2
{
font-family
:
var
(
--bn-font-display
);
font-weight
:
700
;
letter-spacing
:
0
;
}
.
md-typeset
.
admonition
:
is
(
h1
,
h2
) {
font-family
:
inherit;
}
.
md-nav--primary
.
md-nav__item
.
md-nav__link--active
,
.
md-nav--primary
.
md-nav__item
.
md-nav__link--active
:
is
(
:
focus
,
:
hover
) {
background
:
var
(
--bn-night
);
border-radius
:
0
;
color
:
var
(
--bn-white
);
}
.
md-nav--primary
.
md-nav__container
:
has
(
>
.
md-nav__link--active
) {
background
:
var
(
--bn-night
);
}
/* Balance the theme's top page spacing. */
.
md-main__inner
{
margin-bottom
:
1.5
rem
; }
/* Keep both header topic states at the same weight. */
.
md-header__topic
{
font-weight
:
700
; }
/* Header wordmark (img/wordmark-white.svg, white art — the header is dark in
both schemes). Sized from the ~2.4rem header height; the wordmark replaces
the site-name text on desktop, while the page-topic scroll swap stays. On
mobile the theme hides the logo, so the text brand stays there. */
.
md-header__button
.
md-logo
{
padding
:
.25
rem
.4
rem
; }
.
md-header__button
.
md-logo
img
{
height
:
1.5
rem
; }
@media
screen
and
(
min-width
:
76.25
em
) {
.
md-header__topic
:
first-child
{
display
:
none; }
}
/* Drawer (mobile nav) header: just the wordmark, centered ("User
Documentation" already appears as the first nav item below, and the
repo/source box is redundant in the drawer). The raw site_name text
node is hidden via font-size:0. Scoped to the theme's drawer breakpoint —
above it the theme hides this element (it duplicates the header logo).
On the light scheme the drawer background is light, so the logo swaps
to the dark-art wordmark variant (a filter can't be used: invert() would
turn the red NINJA cyan). */
@media
screen
and
(
max-width
:
76.1875
em
) {
.
md-nav--primary
.
md-nav__title
[
for
=
"__drawer"
] {
display
:
flex;
align-items
:
center;
justify-content
:
center;
font-size
:
0
;
height
:
auto;
padding
:
0.9
rem
0.8
rem
;
}
.
md-nav
.
md-nav__title
[
for
=
"__drawer"
] .
md-logo
{
height
:
auto;
width
:
auto;
margin
:
0
;
padding
:
0
;
}
.
md-nav
.
md-nav__title
[
for
=
"__drawer"
] .
md-logo
img
{
height
:
1.4
rem
;
width
:
auto; }
[
data-md-color-scheme
=
"binja"
] .
md-nav
.
md-nav__title
[
for
=
"__drawer"
] .
md-logo
img
{
content
:
url
(
"img/wordmark-two-color-dark.svg"
);
}
.
md-nav--primary
.
md-nav__source
{
display
:
none; }
}
/* Strengthen the in-page heading hierarchy. */
.
md-typeset
h1
{
font-weight
:
700
;
color
:
var
(
--md-typeset-color
); }
.
md-typeset
h2
{
font-weight
:
700
;
border-bottom
:
2
px
solid
var
(
--md-typeset-color
);
padding-bottom
:
4
px
; }
.
md-typeset
h3
{
font-weight
:
700
; }
.
md-typeset
h4
{
font-weight
:
700
; }
.
md-typeset
h5
{
font-weight
:
700
; }
/* Preserve a non-color link affordance in body content. */
.
md-typeset
a
{
text-decoration
:
underline; }
.
md-typeset
a
:
hover
{
text-decoration
:
none; }
/* Match the search result expansion affordance to body links. */
.
md-search-result__more
summary
div
{
text-decoration
:
underline; }
/* Highlight search matches without reducing text contrast. */
.
md-search-result
mark
{
color
:
var
(
--md-default-fg-color--light
);
text-decoration
:
none;
background-color
:
var
(
--md-search-highlight-color
);
}
.
juxtapose
{
margin-bottom
:
1
rem
;
}
.
jx-knightlab
{
display
:
none
!important
;
}
img
[
alt
$=
">"
] {
float
:
right;
display
:
inline-block;
padding-left
:
10
px
;
}
img
[
alt
$=
"<"
] {
float
:
left;
display
:
inline-block;
padding-right
:
10
px
;
}
img
[
alt
$=
"><"
] {
display
:
block;
max-width
:
100
%
;
height
:
auto;
margin
:
auto;
float
:
none
!important
;
}
.
lslide
{
margin
:
0
px
!important
;
text-align
:
center;
}
.
hiddenc
{
height
:
1
px
;
opacity
:
0
;
filter
:
alpha
(opacity=0);
overflow
:
hidden;
}
pre
{
overflow-x
:
auto;
}
ol
#
inline-slides-text
li
{
list-style-position
:
inside;
}
@media
screen
and
(
max-width
:
1020
px
) {
div
[
class
^=
"inline-slides"
] {
flex-wrap
:
wrap;
}
}
div
[
class
^=
"inline-slides"
] {
display
:
flex;
align-items
:
center;
justify-content
:
space-between;
}
div
[
class
^=
"inline-slides"
]
>
div
[
id
^=
"image-slider-container"
] {
margin-left
:
10
px
;
flex-shrink
:
1
;
}
h3
#
all-settings
+
p
+
div
table
tbody
tr
>
td
:
nth-child
(
2
) {
max-width
:
300
px
;
overflow
:
auto;
word-break
:
break-word;
white-space
:
break-spaces;
}
h3
#
all-settings
+
p
+
div
table
tbody
tr
>
td
:
nth-child
(
3
) {
max-width
:
600
px
;
overflow
:
auto;
word-break
:
break-word;
white-space
:
break-spaces;
}
h3
#
all-settings
+
p
+
div
table
tbody
tr
>
td
:
nth-child
(
5
) {
max-width
:
300
px
;
overflow
:
auto;
word-break
:
break-word;
white-space
:
break-spaces;
}
h3
#
all-settings
+
p
+
div
table
tbody
tr
>
td
:
nth-child
(
6
) {
max-width
:
500
px
;
overflow
:
auto;
word-break
:
break-word;
white-space
:
break-spaces;
}
.
md-grid
{
max-width
:
95
%
;
}
/* Map explicit brand tokens onto the theme palette. Local color literals are
* limited to structural translucencies; reusable colors belong in brand.css. */
/* Match the theme's two-attribute palette selectors so these overrides win. */
[
data-md-color-scheme
=
"slate"
][
data-md-color-primary
] {
--md-hue
:
6
;
--md-default-bg-color
:
var
(
--bn-jet
);
--md-default-fg-color
:
var
(
--bn-white-smoke
);
--md-default-fg-color--light
:
color-mix
(in srgb
,
var
(
--bn-white-smoke
)
75
%
,
transparent);
/* less transparent than theme default */
--md-primary-fg-color
:
var
(
--bn-red
);
--md-primary-fg-color--light
:
var
(
--bn-platinum
);
--md-primary-fg-color--dark
:
var
(
--bn-rosewood
);
--md-code-bg-color
:
var
(
--bn-night
);
--md-code-fg-color
:
var
(
--bn-platinum
);
--md-typeset-color
:
var
(
--bn-white-smoke
);
--md-typeset-a-color
:
var
(
--bn-link-dark
);
--md-accent-fg-color
:
var
(
--bn-link-dark
);
--md-nav-primary
:
var
(
--bn-red
);
--md-search-highlight-color
:
var
(
--bn-rosewood
);
}
[
data-md-color-scheme
=
"binja"
][
data-md-color-primary
] {
--md-hue
:
6
;
--md-default-bg-color
:
var
(
--bn-sea-salt
);
--md-default-fg-color
:
var
(
--bn-night
);
--md-default-fg-color--light
:
color-mix
(in srgb
,
var
(
--bn-night
)
75
%
,
transparent);
/* less transparent than theme default */
--md-primary-fg-color
:
var
(
--bn-red
);
--md-primary-fg-color--light
:
var
(
--bn-platinum
);
--md-primary-fg-color--dark
:
var
(
--bn-rosewood
);
--md-code-bg-color
:
var
(
--bn-white-smoke
);
--md-code-fg-color
:
var
(
--bn-jet
);
--md-typeset-color
:
var
(
--bn-night
);
--md-typeset-a-color
:
var
(
--bn-link-light
);
--md-accent-fg-color
:
var
(
--bn-link-light
);
--md-nav-primary
:
var
(
--bn-red
);
--md-search-highlight-color
:
var
(
--bn-platinum
);
}
/* Black header (and nav tabs, which sit inside it) in the light "binja" theme. */
[
data-md-color-scheme
=
"binja"
] .
md-header
,
[
data-md-color-scheme
=
"binja"
] .
md-tabs
{
background-color
:
var
(
--md-default-fg-color
);
color
:
var
(
--md-default-bg-color
);
}
/* Dark scheme: the theme's default header is the primary color (brand red),
which would swallow the two-color wordmark's red NINJA; use night, one
step darker than the jet page background. */
[
data-md-color-scheme
=
"slate"
] .
md-header
,
[
data-md-color-scheme
=
"slate"
] .
md-tabs
{
background-color
:
var
(
--bn-night
);
}
/* The search button's default (body-oriented) colors are dark-on-dark against
the black header, so give it light text/icon on a translucent light pill. */
[
data-md-color-scheme
=
"binja"
] .
md-header
.
md-search__button
{
background-color
:
rgba
(
255
,
255
,
255
,
0.12
);
color
:
var
(
--md-default-bg-color
);
}
[
data-md-color-scheme
=
"binja"
] .
md-header
.
md-search__button
:
hover
{
background-color
:
rgba
(
255
,
255
,
255
,
0.22
);
color
:
var
(
--md-default-bg-color
);
}
[
data-md-color-scheme
=
"binja"
] .
md-header
.
md-search__button
::
before
{
background-color
:
var
(
--md-default-bg-color
);
}
[
data-md-color-scheme
=
"binja"
] .
md-header
.
md-search__button
::
after
{
background
:
rgba
(
255
,
255
,
255
,
0.22
);
}
/* Inline code uses the link tone; syntax highlighting owns code-block color. */
[
data-md-color-scheme
=
"binja"
] .
md-typeset
code
{
color
:
var
(
--bn-link-light
); }
[
data-md-color-scheme
=
"slate"
] .
md-typeset
code
{
color
:
var
(
--bn-link-dark
); }
.
md-typeset
pre
>
code
{
color
:
var
(
--md-code-fg-color
); }
/* BEGIN GENERATED (scripts/gen_admonitions.py) — do not hand-edit */
.
md-typeset
.
admonition
{
margin
:
var
(
--bn-adm-margin-block
)
0
;
padding
:
0
var
(
--bn-adm-padding-inline
)
var
(
--bn-adm-padding-block-end
);
overflow
:
hidden;
border
:
0
;
border-radius
:
var
(
--bn-adm-radius
);
background
:
var
(
--bn-adm-card-bg
);
color
:
var
(
--bn-adm-card-fg
);
}
.
md-typeset
.
admonition
>
.
admonition-title
+
*
{
margin-top
:
0
;
}
.
md-typeset
.
admonition
>
:
last-child
{
margin-bottom
:
0
!important
;
}
.
md-typeset
.
admonition
a
{
color
:
inherit;
text-decoration
:
underline;
}
.
md-typeset
.
admonition
code
{
color
:
inherit;
background
:
rgba
(
128
,
128
,
128
,
0.18
);
}
.
md-typeset
.
admonition
>
.
admonition-title
{
position
:
relative;
margin
:
0
calc
(
-1
*
var
(
--bn-adm-padding-inline
))
var
(
--bn-adm-title-gap
);
padding
:
var
(
--bn-adm-title-padding-block
)
var
(
--bn-adm-padding-inline
)
var
(
--bn-adm-title-padding-block
)
calc
(
var
(
--bn-adm-padding-inline
)
+
var
(
--bn-adm-icon-size
)
+
var
(
--bn-adm-icon-gap
));
border-radius
:
0
;
background
:
transparent;
color
:
inherit;
font-family
:
inherit;
font-size
:
var
(
--bn-adm-title-font-size
);
font-weight
:
var
(
--bn-adm-title-font-weight
);
line-height
:
var
(
--bn-adm-title-line-height
);
letter-spacing
:
var
(
--bn-adm-title-letter-spacing
);
text-transform
:
var
(
--bn-adm-title-text-transform
);
}
.
md-typeset
.
admonition
>
.
admonition-title
::
before
{
position
:
absolute;
top
:
50
%
;
left
:
var
(
--bn-adm-padding-inline
);
width
:
var
(
--bn-adm-icon-size
);
height
:
var
(
--bn-adm-icon-size
);
transform
:
translateY
(
-55
%
);
background-color
:
currentColor;
-webkit-mask-image
:
var
(
--bn-adm-card-icon
);
mask-image
:
var
(
--bn-adm-card-icon
);
-webkit-mask-repeat
:
no-repeat;
mask-repeat
:
no-repeat;
-webkit-mask-size
:
contain;
mask-size
:
contain;
}
.
md-typeset
.
admonition
:
is
(.
note
,
.
info
,
.
abstract
,
.
summary
,
.
tldr
,
.
question
,
.
help
,
.
faq
,
.
important
,
.
seealso
) {
--bn-adm-card-bg
:
var
(
--bn-adm-info-bg
);
--bn-adm-card-fg
:
var
(
--bn-adm-info-fg
);
--bn-adm-card-icon
:
var
(
--bn-adm-icon-info
);
background-color
:
var
(
--bn-adm-card-bg
);
color
:
var
(
--bn-adm-card-fg
);
}
.
md-typeset
.
admonition
:
is
(.
tip
,
.
hint
,
.
success
,
.
check
,
.
done
) {
--bn-adm-card-bg
:
var
(
--bn-adm-success-bg
);
--bn-adm-card-fg
:
var
(
--bn-adm-success-fg
);
--bn-adm-card-icon
:
var
(
--bn-adm-icon-success
);
background-color
:
var
(
--bn-adm-card-bg
);
color
:
var
(
--bn-adm-card-fg
);
}
.
md-typeset
.
admonition
:
is
(.
warning
,
.
caution
,
.
attention
) {
--bn-adm-card-bg
:
var
(
--bn-adm-warning-bg
);
--bn-adm-card-fg
:
var
(
--bn-adm-warning-fg
);
--bn-adm-card-icon
:
var
(
--bn-adm-icon-warning
);
background-color
:
var
(
--bn-adm-card-bg
);
color
:
var
(
--bn-adm-card-fg
);
}
.
md-typeset
.
admonition
:
is
(.
danger
,
.
error
,
.
failure
,
.
fail
,
.
missing
,
.
bug
) {
--bn-adm-card-bg
:
var
(
--bn-adm-danger-bg
);
--bn-adm-card-fg
:
var
(
--bn-adm-danger-fg
);
--bn-adm-card-icon
:
var
(
--bn-adm-icon-danger
);
background-color
:
var
(
--bn-adm-card-bg
);
color
:
var
(
--bn-adm-card-fg
);
}
.
md-typeset
.
admonition
:
is
(.
example
,
.
quote
,
.
cite
) {
--bn-adm-card-bg
:
var
(
--bn-adm-example-bg
);
--bn-adm-card-fg
:
var
(
--bn-adm-example-fg
);
--bn-adm-card-icon
:
var
(
--bn-adm-icon-info
);
background-color
:
var
(
--bn-adm-card-bg
);
color
:
var
(
--bn-adm-card-fg
);
}
/* END GENERATED (scripts/gen_admonitions.py) */
Back
|
FazBrowse Home
|
New Git URL