This repository has been archived by the owner on Dec 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
style.css
97 lines (84 loc) · 1.58 KB
/
style.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
@import url('https://cdn.jsdelivr.net/gh/devicons/[email protected]/devicon.min.css');
.vpc-shiki {
border-radius: 4px;
}
.vpc-shiki code {
display: block;
overflow-x: auto;
padding: .5em;
position: relative;
font-size: 0.875rem;
line-height: 1.125rem;
text-indent: 0;
white-space: pre-wrap;
background: transparent;
border: none;
}
.vpc-shiki [class^=devicon-], .vpc-shiki [class*=" devicon-"] {
margin-right: 8px;
user-select: none;
}
.vpc-shiki-plain code {
padding-top: 8px;
}
.vpc-shiki-btns {
font-size: 1em;
position: absolute;
right: 0;
bottom: 0;
opacity: 0;
}
.vpc-shiki:not(.vpc-shiki-preview):hover .vpc-shiki-btns {
opacity: 1;
}
.vpc-shiki-btn {
border-radius: 4px 4px 0 0;
padding: 4px 8px;
}
.vpc-shiki-btn ~ .vpc-shiki-btn {
margin-left: 4px;
}
.vpc-shiki-btn:last-child {
border-radius: 4px 0;
}
.vpc-shiki-spinner-container {
align-items: center;
background-color: rgba(0, 0, 0, .6);
display: flex;
position: absolute;
justify-content: center;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
.vpc-shiki-preview {
margin-bottom: 2em;
}
.vpc-shiki-lang {
padding: 0 5px;
margin-bottom: 6px;
font-weight: bold;
text-transform: capitalize;
display: flex;
align-items: center;
}
.vpc-shiki-table {
border-collapse: collapse;
width: 100%;
}
.vpc-shiki-table tr {
height: 19px;
width: 100%;
}
.vpc-shiki td:first-child {
border-right: 1px solid transparent;
padding-left: 5px;
padding-right: 8px;
user-select: none;
}
.vpc-shiki td:last-child {
padding-left: 8px;
word-break: break-word;
width: 100%;
}