File size: 973 Bytes
1b72d7e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
/**
 * @author https://github.com/txs
 * 当配置文件 CODE_MAC_BAR 开启时,此样式会被动态引入,将开启代码组件左上角的mac图标
 **/
.code-toolbar {
  position: relative;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  width: 100%;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
}

.collapse-wrapper .code-toolbar {
    margin-bottom: 0;
}

.toolbar-item{
  white-space: nowrap;
}

.toolbar-item > button {
  margin-top: -0.1rem;
}

pre[class*='language-'] {
  margin-top: 0rem !important;
  // margin-bottom: 0rem !important;
  padding-top: 1.5rem !important;

}

.pre-mac {
  position: absolute;
  left: 0.9rem;
  top: 0.5rem;
  z-index: 10;
}

.pre-mac > span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 5px;
  float: left;
}

.pre-mac > span:nth-child(1) {
  background: red;
}

.pre-mac > span:nth-child(2) {
  background: sandybrown;
}

.pre-mac > span:nth-child(3) {
  background: limegreen;
}