custom.css 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. .wy-nav-side p.caption {
  2. color: #F5F5F5;
  3. }
  4. div.wy-side-nav-search {
  5. background: #F37626;
  6. }
  7. .wy-nav-content iframe {
  8. margin: auto;
  9. display: block;
  10. }
  11. .wy-breadcrumbs-aside img {
  12. height: 1em !important;
  13. }
  14. .wy
  15. /* Elevation
  16. *
  17. * We style box-shadows using Material Design's idea of elevation. These particular numbers are taken from here:
  18. *
  19. * https://github.com/material-components/material-components-web
  20. * https://material-components-web.appspot.com/elevation.html
  21. */
  22. .rst-content img.jp-screenshot {
  23. border: none;
  24. /* MD Elevation 8 */
  25. box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2),
  26. 0px 8px 10px 1px rgba(0, 0, 0, 0.14),
  27. 0px 3px 14px 2px rgba(0, 0, 0, 0.12);
  28. margin-bottom: 24px;
  29. }
  30. /*
  31. * The div.jp-youtube-video styling is done to get the YouTube video to size dynamically
  32. * to 100% of the content width.
  33. */
  34. .rst-content div.jp-youtube-video {
  35. position: relative;
  36. width: 100%;
  37. height: 0px;
  38. /* This must be equal to the inverse of the aspect ratio of the video */
  39. /* The current value is: 56.25% = 315/560 */
  40. padding-bottom: 56.25%;
  41. border: none;
  42. /* MD Elevation 8 */
  43. box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2),
  44. 0px 8px 10px 1px rgba(0, 0, 0, 0.14),
  45. 0px 3px 14px 2px rgba(0, 0, 0, 0.12);
  46. margin-bottom: 24px;
  47. }
  48. .rst-content div.jp-youtube-video iframe {
  49. position: absolute;
  50. left: 0px;
  51. top: 0px;
  52. width: 100%;
  53. height: 100%;
  54. }