CSS   38

pdf.css

Guest on 10th October 2021 06:46:40 AM

  1. .pdf-canvas, .pdf-content canvas {
  2.   border:1px solid black;
  3. }
  4.  
  5. /* CSS classes used by TextLayerBuilder to style the text layer divs */
  6.  
  7. .textLayer {
  8.   position: absolute;
  9.   left: 0;
  10.   top: 0;
  11.   right: 0;
  12.   bottom: 0;
  13.   color: #000;
  14.   font-family: sans-serif;
  15.   overflow: hidden;
  16. }
  17.  
  18. .textLayer > div {
  19.   color: transparent;
  20.   position: absolute;
  21.   line-height: 1;
  22.   white-space: pre;
  23.   cursor: text;
  24. }
  25.  
  26. .textLayer .highlight {
  27.   margin: -1px;
  28.   padding: 1px;
  29.  
  30.   background-color: rgba(180, 0, 170, 0.2);
  31.   border-radius: 4px;
  32. }
  33.  
  34. .textLayer .highlight.begin {
  35.   border-radius: 4px 0 0 4px;
  36. }
  37.  
  38. .textLayer .highlight.end {
  39.   border-radius: 0 4px 4px 0;
  40. }
  41.  
  42. .textLayer .highlight.middle {
  43.   border-radius: 0;
  44. }
  45.  
  46. .textLayer .highlight.selected {
  47.   background-color: rgba(0, 100, 0, 0.2);
  48. }

Raw Paste


Login or Register to edit or fork this paste. It's free.