-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy pathassembler.css
More file actions
45 lines (38 loc) · 910 Bytes
/
assembler.css
File metadata and controls
45 lines (38 loc) · 910 Bytes
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
/* Assembler build type specific styles */
/* Elastic global nav is position:static (scrolls with page).
The secondary nav (Docs sub-header) is sticky on md+ viewports. */
:root {
--offset-top: 0px;
}
@media screen and (min-width: 768px) {
:root {
--offset-top: calc(var(--spacing) * 18);
}
}
/* Air-gapped: uses elastic-docs-header web component instead of elastic nav */
body.air-gapped {
--offset-top: 48px;
}
body.air-gapped elastic-docs-header .euiHeader {
padding-inline: calc((100vw - var(--max-layout-width)) / 2 + 8px);
}
@keyframes website-search-enter {
from {
opacity: 0;
translate: 0 1rem;
}
to {
opacity: 1;
translate: 0 0;
}
}
#elastic-website-search-input-container {
animation: website-search-enter 0.2s ease-out 0.6s both;
}
#elastic-nav {
@media screen and (min-width: 1200px) {
[data-component='Container'] {
max-width: var(--max-layout-width);
}
}
}