site.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. .wy-grid-for-nav {
  2. position:relative;
  3. }
  4. .wy-body-for-nav {
  5. background: #f2f2f2 url('https://formbuilder.online/assets/img/noise.png') repeat fixed;
  6. }
  7. .wy-nav-content {
  8. max-width: inherit;
  9. }
  10. .wy-side-nav-search {
  11. background-image: url('https://formbuilder.online/docs/img/logo-bg.svg'), linear-gradient(to bottom, #000, #92278F);
  12. background-size: cover, 100% 100%;
  13. background-position: 50% 0, 50% 0%;
  14. }
  15. pre {
  16. color: #f8f8f2 !important;
  17. background-color: #23241f !important;
  18. }
  19. code {
  20. padding: 3px 5px !important;
  21. }
  22. p {
  23. line-height: 1.7em !important;
  24. }
  25. .wy-menu-vertical li.current > a {
  26. color: #000;
  27. background: #f2f2f2 url('https://formbuilder.online/assets/img/noise.png') repeat 50% 50%;
  28. }
  29. .wy-menu-vertical ul {
  30. padding-left: 0;
  31. }
  32. .wy-menu-vertical a {
  33. font-weight: normal;
  34. }
  35. .wy-menu-vertical p.caption {
  36. margin-bottom: 0;
  37. }
  38. .wy-side-nav-search > a {
  39. font-size: 200%;
  40. }
  41. .wy-nav-content-wrap {
  42. background-color: transparent;
  43. }
  44. code.hljs {
  45. position: relative;
  46. overflow: hidden;
  47. }
  48. code.hljs .btn {
  49. opacity: 0;
  50. transition: opacity 333ms;
  51. position: absolute;
  52. top: 0;
  53. right: 0;
  54. background-color: #cfcfcf;
  55. border-radius: 0 0 0 5px;
  56. box-shadow: none;
  57. padding: 4px 6px;
  58. }
  59. code.hljs:hover .btn {
  60. opacity: 1;
  61. transition: opacity 333ms;
  62. }
  63. .success {
  64. background: rgb(60, 227, 95) !important;
  65. }
  66. .info {
  67. background: rgb(74, 199, 214) !important;
  68. }
  69. .warning {
  70. background: rgb(255, 121, 0) !important;
  71. }
  72. .danger {
  73. background: rgb(252, 69, 69) !important;
  74. }
  75. .toast {
  76. padding: 10px 30px;
  77. position: fixed;
  78. width: auto;
  79. line-height: 50px;
  80. background: #3ce35f;
  81. color: #fff;
  82. bottom: 0;
  83. right: 20px;
  84. transform: translate(0, 100%);
  85. animation: 2500ms toast ease-in-out forwards;
  86. z-index: 120;
  87. }
  88. .home-link img {
  89. display: inline-block;
  90. margin: 0;
  91. padding: 0;
  92. width: 32px;
  93. border-radius: 0;
  94. background-color: transparent;
  95. }
  96. @media screen and (min-width: 1400px) {
  97. .wy-nav-content {
  98. margin: 0;
  99. background: transparent;
  100. max-width: inherit;
  101. }
  102. }
  103. @keyframes toast {
  104. 0% {
  105. transform: translate(0, 100%);
  106. bottom: 0;
  107. right: 20px;
  108. }
  109. 7% {
  110. transform: translate(0, 0);
  111. bottom: 20px;
  112. right: 20px;
  113. }
  114. 90% {
  115. transform: translate(0, 0);
  116. bottom: 20px;
  117. right: 20px;
  118. }
  119. 100% {
  120. transform: translate(120%, 0);
  121. bottom: 20px;
  122. right: 0;
  123. }
  124. }