custom.css 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. body.wy-body-for-nav {
  2. font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  3. line-height: 1.5em;
  4. color: #333; /*$color-grey-1*/
  5. background-color: #e6e6e6; /*$color-grey-4*/
  6. }
  7. div.wy-nav-side {
  8. background-color: #333; /*color-grey-1*/
  9. }
  10. div.wy-side-nav-search {
  11. background-color: #007d7e; /*color-teal*/
  12. }
  13. .wy-nav-top {
  14. background-color: #007d7e; /*color-teal*/
  15. }
  16. .wy-side-nav-search>a:hover, .wy-side-nav-search .wy-dropdown>a:hover {
  17. background: None; /*background for logo*/
  18. }
  19. .wy-side-nav-search>div.version {
  20. color: white;
  21. }
  22. .wy-side-nav-search input[type=text] {
  23. border-color: #d9d9d9; /*color-grey-3*/
  24. }
  25. .logo {
  26. transition: all 0.25s cubic-bezier(0.28, 0.15, 0, 2.1);
  27. }
  28. .logo:hover {
  29. transform: rotate(4deg);
  30. }
  31. /* Wagtail Space */
  32. a.wagtailspace {
  33. background: #00676a;
  34. color: white;
  35. padding: 15px;
  36. border-radius: 6px;
  37. margin-bottom: 1.25em;
  38. display: flex;
  39. justify-content: space-between;
  40. align-items: flex-start;
  41. }
  42. .wagtailspace svg {
  43. margin-right: 1em;
  44. width: 56px;
  45. }
  46. .wagtailspace div {
  47. text-align: left;
  48. flex-grow: 2;
  49. }
  50. .wagtailspace strong {
  51. font-size: 1.25em;
  52. }
  53. .wagtailspace .close {
  54. margin-left: 1em;
  55. margin-bottom: 1em;
  56. cursor: pointer;
  57. font-weight: bold;
  58. font-size: 1.25em;
  59. }
  60. /* Bounce the UFO on hover */
  61. @-webkit-keyframes bounce {
  62. 0%, 100% {
  63. -webkit-transform: translateY(0);
  64. }
  65. 50% {
  66. -webkit-transform: translateY(-5px);
  67. }
  68. }
  69. @keyframes bounce {
  70. 0%, 100% {
  71. transform: translateY(0);
  72. }
  73. 50% {
  74. transform: translateY(-5px);
  75. }
  76. }
  77. a.wagtailspace:hover svg {
  78. -webkit-animation-duration: .5s;
  79. animation-duration: .5s;
  80. -webkit-animation-fill-mode: both;
  81. animation-fill-mode: both;
  82. -webkit-animation-timing-function: linear;
  83. animation-timing-function: linear;
  84. animation-iteration-count: infinite;
  85. -webkit-animation-iteration-count: infinite;
  86. -webkit-animation-name: bounce;
  87. animation-name: bounce;
  88. }