-
Notifications
You must be signed in to change notification settings - Fork 2
/
docsify-vite-coverpage.css
100 lines (83 loc) · 1.62 KB
/
docsify-vite-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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
.cover .mask {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: #fff;
}
section.cover img:first-child {
filter: drop-shadow(0px 0px 100px var(--theme-color, #42b983));
}
section.cover .cover-main > p:last-child a {
letter-spacing: -.1px;
padding: 12px 22px;
background-color: #ebebef;
border: none;
color: #000000;
font-size: 14px;
font-weight: 600;
margin: 8px 5px;
}
section.cover .cover-main > p:last-child a:last-child:hover {
color: #ffffff;
}
section.cover h1 span {
color: var(--theme-color, #42b983);
}
section.cover h1,
section.cover blockquote {
font-weight: 700;
}
section.cover p:nth-last-child(2),
section.cover ul {
line-height: 1.5;
font-weight: 500;
}
@media only screen and (min-width: 960px) {
section.cover .cover-main {
margin: 0 72px;
}
section.cover .cover-main,
section.cover h1,
section.cover blockquote {
text-align: left;
}
section.cover h1,
section.cover blockquote {
font-size: 56px;
margin: 0;
}
section.cover p:nth-last-child(2),
section.cover ul {
font-size: 24px;
}
section.cover p {
max-width: 576px;
}
section.cover .cover-main > p:last-child {
margin-left: -8px;
}
section.cover blockquote {
margin-top: -52px;
line-height: -1px;
}
section.cover p:nth-last-child(2),
section.cover ul {
margin-top: -32px;
}
section.cover p {
line-height: 1;
}
section.cover ul {
margin-left: 0;
}
section.cover img:first-child {
float: right;
position: absolute;
top: 50%;
left: 75%;
transform: translate(-50%, -50%);
width: 270px;
}
}