Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
73 lines (60 loc) · 1.62 KB
/
Copy pathstyles.css
File metadata and controls
73 lines (60 loc) · 1.62 KB
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
:root,
html[data-theme='light'],
html[data-theme='dark'] {
--primary: #3b82f6;
--ring: #3b82f6;
--sidebar-primary: #3b82f6;
--sidebar-ring: #3b82f6;
}
/* Umami-specific overrides on top of the Shiso theme. */
.docs-markdown [data-slot='zoomable-image'] {
display: block;
margin: 4rem auto;
}
.docs-markdown [data-slot='zoomable-image'] img {
max-width: 100%;
box-shadow: 2px 2px 16px rgb(0 0 0 / 10%);
}
/* Below Shiso's lg breakpoint the header's right-side controls overflow into
the brand, so show only the logo mark and drop the keyboard hint. */
@media (max-width: 63.999rem) {
header > div > div:first-child > a > span,
header kbd {
display: none;
}
/* Drop the empty tab column so the search control can fill the space. */
header > div {
grid-template-columns: auto minmax(0, 1fr);
column-gap: 1.25rem;
}
header > div > div:nth-child(2) {
display: none;
}
header > div > div:last-child {
justify-self: stretch;
}
header > div > div:last-child > button:first-child {
flex: 1;
}
main [data-slot='sheet-trigger'] {
margin-top: 1rem;
}
}
/* Between Shiso's lg breakpoint and wide desktops, the centered tabs collide
with the search control. Give the tabs the leftover space instead so they
scroll rather than overlap. */
@media (min-width: 64rem) and (max-width: 79.999rem) {
header > div {
grid-template-columns: auto minmax(0, 1fr) auto;
column-gap: 1.5rem;
}
header > div > div:nth-child(2) {
justify-self: stretch;
}
header > div > div:nth-child(2) > nav {
justify-content: safe center;
}
header kbd {
display: none;
}
}