-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsnip.css
73 lines (59 loc) · 1.18 KB
/
snip.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
.cs-card {
margin-top: .75rem;
margin-bottom: 1rem;
border-radius: .75rem;
width: 100%;
overflow: hidden;
background: #2a2a2a;
color: white;
box-shadow: 0px 4px 8px #00000050;
}
.cs-card-content {
margin: 1.5rem;
}
.cs-card-info {
text-transform: uppercase;
letter-spacing: 0.1rem;
margin-bottom: .6rem;
color: #bfbfbf;
}
.cs-card-answer {
overflow: auto;
max-height: 15rem;
}
pre {
background: #1a1a1a;
counter-reset: line;
overflow: auto;
}
/* WIP - LINE COUNT
* pre code:before {
* counter-increment: line;
* content: counter(line);
* display: inline-block;
* padding: 0 .5em;
* margin-right: .5em;
* color: #888
* }
*/
/* ========== */
/* SCROLLBARS */
/* Answer */
.cs-card-answer::-webkit-scrollbar {
background-color: #131616;
color: #b9af9d;
}
/* Code blocks */
pre::-webkit-scrollbar {
background-color: #1a1a1a;
color: #b9af9d;
}
/* Common */
.cs-card-answer::-webkit-scrollbar-corner,
pre::-webkit-scrollbar-corner {
background-color: #090b0c;
}
.cs-card-answer::-webkit-scrollbar-thumb,
pre::-webkit-scrollbar-thumb {
background-color: #404444;
}