forked from docsifyjs/docsify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_coverpage.css
73 lines (63 loc) · 1.3 KB
/
_coverpage.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
64
65
66
67
68
69
70
71
72
73
/* Cover */
/* ========================================================================== */
.cover {
display: none;
position: relative;
z-index: var(--z-cover);
min-height: 100vh;
width: 100%;
align-items: center;
background: var(--cover-bg);
color: var(--cover-color);
&:before {
content: '';
position: absolute;
inset: 0 0 0 0;
background: var(--cover-bg-overlay);
-webkit-backdrop-filter: brightness(var(--cover-bg-brightness));
backdrop-filter: brightness(var(--cover-bg-brightness));
}
&.show {
display: flex;
}
a:not(.anchor) {
text-decoration-color: var(--theme-color);
}
blockquote {
font-size: var(--font-size-xl);
line-height: var(--heading-line-height);
text-align: center;
&,
& > p {
margin-block: 1rem;
}
}
h1 {
position: relative;
color: var(--cover-title-color);
font: var(--cover-title-font);
a {
&,
&:hover {
text-decoration-color: transparent;
}
}
small {
font-weight: var(--font-weight);
position: absolute;
bottom: 0;
}
}
ul {
margin-bottom: 1.5rem;
padding: 0;
list-style-type: none;
}
}
.cover-main {
position: relative;
z-index: 1;
flex: 1;
margin: 5vh var(--content-margin-inline);
text-align: center;
}