index.less 599 Bytes
Newer Older
ι™ˆεΈ…'s avatar
commit  
ι™ˆεΈ… committed
1
.copy-block {
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
2
  position: fixed;
ι™ˆεΈ…'s avatar
commit  
ι™ˆεΈ… committed
3 4
  right: 80px;
  bottom: 40px;
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
5
  z-index: 99;
ι™ˆεΈ…'s avatar
commit  
ι™ˆεΈ… committed
6 7 8 9
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
10 11
  width: 40px;
  height: 40px;
ι™ˆεΈ…'s avatar
commit  
ι™ˆεΈ… committed
12 13 14 15 16 17
  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
18
}
ι™ˆεΈ…'s avatar
commit  
ι™ˆεΈ… committed
19

ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
20 21 22
.copy-block-view {
  position: relative;
  .copy-block-code {
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
23
    display: inline-block;
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
24 25 26 27 28
    margin: 0 0.2em;
    padding: 0.2em 0.4em 0.1em;
    font-size: 85%;
    border-radius: 3px;
  }
ι™ˆεΈ…'s avatar
commit  
ι™ˆεΈ… committed
29
}