footnote-hack.css 771 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /* Released as CC0: http://creativecommons.org/publicdomain/zero/1.0/ */
  2. /* by Bradley M. Kuhn <bkuhn@ebb.org> */
  3. .ui-tooltip, .arrow:after {
  4. background: black;
  5. border: 2px solid white;
  6. }
  7. .ui-tooltip {
  8. padding: 10px 20px;
  9. color: white;
  10. border-radius: 20px;
  11. box-shadow: 0 0 7px black;
  12. max-width: 50%;
  13. }
  14. .arrow {
  15. width: 70px;
  16. height: 16px;
  17. overflow: hidden;
  18. position: absolute;
  19. left: 50%;
  20. margin-left: -35px;
  21. bottom: -16px;
  22. }
  23. .arrow.top {
  24. top: -16px;
  25. bottom: auto;
  26. }
  27. .arrow.left {
  28. left: 20%;
  29. }
  30. .arrow:after {
  31. content: "";
  32. position: absolute;
  33. left: 20px;
  34. top: -20px;
  35. width: 25px;
  36. height: 25px;
  37. box-shadow: 6px 5px 9px -9px black;
  38. -webkit-transform: rotate(45deg);
  39. -ms-transform: rotate(45deg);
  40. transform: rotate(45deg);
  41. }
  42. .arrow.top:after {
  43. bottom: -20px;
  44. top: auto;
  45. }