-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.css
102 lines (102 loc) · 1.96 KB
/
index.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
101
102
.ctner {
width: 100%;
margin: 0 auto;
position: relative;
}
.ctner-header {
background-color: #e5e7eb;
display: flex;
justify-content: space-between;
color: rgb(17 24 39);
font-family: 'Inter', monospace !important;
font-size: 14px;
padding: 10px;
border-radius: 3px 3px 0 0;
}
.ctner-header a {
text-decoration: none;
color: rgb(17 24 39);
font-weight: bold;
}
.code-editor-container {
border-radius: 0 0 3px 3px;
overflow-x: auto;
padding-top: 5px;
padding-bottom: 5px;
position: relative;
font-size: 14px;
}
.code-editor-container {
counter-reset: line;
}
.code-editor-container pre {
padding-left: 50px !important;
white-space: pre !important;
}
.code-editor-container code {
font-family: 'Inter', monospace !important;
font-size: 14px;
}
.code-editor-container code .line {
padding-right: 10px;
}
.code-editor-container .line-number {
position: absolute;
left: 0;
color: #cccccc;
text-align: right;
width: 30px;
font-size: 12px;
height: 18px;
overflow: hidden;
padding-top: 2px;
}
.code-editor-container code .line-diff {
width: 100vw;
display: inline-block;
}
.code-editor-container code .line-diff-delete {
background-color: rgba(229,83,75,0.15);
}
.code-editor-container code .line-diff-add {
background-color: rgba(87,171,90,0.3);
}
.code-editor-container code .line-diff-current {
background-color: #475569;
}
.code-editor-container code .line-diff-blur {
filter: blur(4px);
}
.ic {
width: 1.5rem;
height: 1.5rem;
}
.btn-copy {
position: fixed;
top: 60px;
right: 20px;
background-color: rgba(0, 0, 0, 0.25);
border: 1px solid darkgrey;
cursor: pointer;
padding: 5px;
border-radius: 5px;
}
.hidden {
display: none;
}
.show {
display: block;
}
.no-content {
font-family: 'Inter', monospace !important;
display: flex;
flex-direction: column;
align-items: center;
color: white;
margin-top: 15px;
margin-bottom: 40px;
}
.no-content a {
text-decoration: none;
color: aquamarine;
}