forked from docsifyjs/docsify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_base.css
63 lines (55 loc) · 1.05 KB
/
_base.css
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
/* Base */
/* ========================================================================== */
*,
*::before,
*::after {
box-sizing: border-box;
border: 0;
font: inherit;
-webkit-text-size-adjust: none;
text-size-adjust: none;
}
html,
body {
height: 100vh;
}
html {
background: var(--color-bg);
color: var(--color-text);
font-family: var(--font-family);
font-feature-settings:
'liga' 1,
'calt' 1; /* NOTE: Fix for Chrome */
font-optical-sizing: auto;
font-size: var(--font-size);
font-weight: var(--font-weight);
line-height: var(--line-height);
scroll-padding-top: var(--scroll-padding-top);
}
body {
overflow-x: hidden;
margin: 0;
&:not(.ready) {
overflow: hidden;
[data-cloak],
.app-nav,
> nav {
display: none;
}
}
/* Loading animation */
&.loading {
&::before {
position: fixed;
}
/* Content or cover loaded */
&:has(:where(#main, .cover-main):not(:empty)) {
&::before {
display: none;
}
}
}
}
[tabindex='-1']:focus {
outline: none !important;
}