This repository was archived by the owner on Aug 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 604
Expand file tree
/
Copy pathcode.scss
More file actions
64 lines (60 loc) · 1.26 KB
/
code.scss
File metadata and controls
64 lines (60 loc) · 1.26 KB
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
.codeWrapper {
padding: 0 10px;
overflow: hidden;
.codeInnerWrapper {
position: relative;
display: flex;
max-width: 530px;
border: 1px solid #DCDCDC;
border-radius: 6px;
background-color: #FFFFFF;
color: #727272;
flex-direction: row;
margin: 0 auto 40px;
font-family: Courier;
font-size: 16px;
line-height: 24px;
&::before {
content: '';
position: absolute;
display: block;
width: 0;
bottom: -14px;
margin: 0 auto;
left: 0;
right: 0;
border-width: 14px 14px 0;
border-style: solid;
border-color: #DCDCDC transparent;
}
&::after {
content: '';
position: absolute;
display: block;
width: 0;
bottom: -13px;
margin: 0 auto;
left: 0;
right: 0;
border-width: 13px 13px 0;
border-style: solid;
border-color: #fff transparent;
}
.codeLineNumbers {
padding: 13px;
max-width: 32px;
@include border-box;
background-color: rgba(152, 152, 152, 0.1);
opacity: 0.51;
}
.codeSource {
flex-grow: 1;
padding: 13px 20px;
white-space: pre;
overflow: hidden;
@media (max-width: 767px) {
overflow-x: scroll;
}
}
}
}