index.less 814 Bytes
Newer Older
ι™ˆεΈ…'s avatar
commit  
ι™ˆεΈ… committed
1 2 3 4 5 6 7 8
.copy-block {
  position: absolute;
  right: 80px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
9 10
  width: 40px;
  height: 40px;
ι™ˆεΈ…'s avatar
commit  
ι™ˆεΈ… committed
11 12 13 14 15 16
  font-size: 20px;
  background: #fff;
  border-radius: 40px;
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14),
    0 1px 10px 0 rgba(0, 0, 0, 0.12);
  cursor: pointer;
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
17
}
ι™ˆεΈ…'s avatar
commit  
ι™ˆεΈ… committed
18

ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
.copy-block-view {
  position: relative;
  :global {
    .ant-typography-copy {
      position: absolute;
      right: 5px;
      bottom: 0px;
    }
  }
  .copy-block-code {
    color: #fff;
    margin: 0 0.2em;
    padding: 0.2em 0.4em 0.1em;
    font-size: 85%;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 3px;
    display: inline-block;
  }
ι™ˆεΈ…'s avatar
commit  
ι™ˆεΈ… committed
37 38
  .copy-block-text {
    font-size: 12px;
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
39
    margin: 0;
ι™ˆεΈ…'s avatar
commit  
ι™ˆεΈ… committed
40 41
  }
}