-
Notifications
You must be signed in to change notification settings - Fork 0
/
language-tabs.css
53 lines (48 loc) · 1.09 KB
/
language-tabs.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
#gatsby-focus-wrapper {
background-color: rgb(240, 232, 232) !important;
}
.gatsby-highlight {
position: relative;
-webkit-overflow-scrolling: touch;
}
.gatsby-highlight:not(:last-child) {
margin-top: 2rem;
}
.gatsby-highlight pre[class*="language-"] {
-webkit-overflow-scrolling: touch;
padding: 1rem 0.75rem;
border-radius: 0.25rem;
}
.gatsby-highlight pre[class*="language-"]::before {
background: black;
border-radius: 0 0 0.25rem 0.25rem;
color: white;
font-size: 12px;
letter-spacing: 0.025rem;
padding: 0.1rem 0.5rem;
position: absolute;
right: 1rem;
text-align: right;
text-transform: uppercase;
top: 0;
}
.gatsby-highlight pre[class~="language-javascript"]::before {
content: "js";
background: #f7df1e;
color: black;
}
.gatsby-highlight pre[class~="language-js"]::before {
content: "js";
background: #f7df1e;
color: black;
}
.gatsby-highlight pre[class~="language-html"]::before {
content: "html";
background: #005a9c;
color: white;
}
.gatsby-highlight pre[class~="language-css"]::before {
content: "css";
background: #ff9800;
color: white;
}