Repository navigation
Expand file tree
/
Copy pathapp.css
More file actions
42 lines (42 loc) · 1.52 KB
/
Copy pathapp.css
File metadata and controls
42 lines (42 loc) · 1.52 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
:root {
--sidebar-width: 20rem;
--sm-nav-height: 0px;
--top-nav-height: 65px;
--sub-nav-height: 45px;
--scroll-width: 8px;
--body-width: calc(100vw - var(--sidebar-width));
--pb-scroll: 0;
}
@media (max-width: 768px) {
:root {
--pb-scroll: 8rem; /* fix scrolling to bottom */
--sm-nav-height: 45px;
}
.md\:pb-scroll { padding-bottom: var(--pb-scroll) !important }
}
.top-sm-nav { top: calc(var(--sm-nav-height)) }
.top-top-nav { top: calc(var(--sm-nav-height) + var(--top-nav-height)) }
.top-sub-nav { top: calc(var(--sm-nav-height) + var(--top-nav-height) + var(--sub-nav-height)) }
.w-sidebar { width: var(--sidebar-width); }
.max-w-sidebar { max-width: var(--sidebar-width); }
.h-top-nav { height: calc(100vh - var(--sm-nav-height) - var(--top-nav-height)) }
.h-sub-nav { height: calc(100vh - var(--sm-nav-height) - var(--top-nav-height) - var(--sub-nav-height)) }
.w-body { width: 100vw }
@media (min-width: 768px) {
.md\:w-sidebar { width: var(--sidebar-width) }
.md\:pl-sidebar { padding-left: var(--sidebar-width) }
.md\:w-sidebar { width: calc(100vw - var(--sidebar-width)) !important }
.md\:w-body { width: calc(100vw - var(--sidebar-width)) }
}
.icon-right .icon {
right: 1em;
}
.notes a {
color: rgb(30 64 175); /*text-blue-800*/
}
.bg-gray-50 .hljs, .lg\:bg-gray-50 .hljs {
background-color: transparent;
}
[lang=json] .hljs-attr { color: rgb(17 24 39) }
[lang=json] .hljs-string { color: rgb(21 128 61) }
.language-typescript .hljs-attr { color: rgb(17 24 39) }