custom.css 2.2 KB

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