You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

187 lines
4.1 KiB

4 years ago
  1. :root {
  2. --vertical-rhythm: 5rem;
  3. --logo-animation-filter-start: drop-shadow(0 -25px 45px #ff2e88) brightness(1) drop-shadow(0 -55px 35px #ff2e88) brightness(1) drop-shadow(0 -35px 155px #ff9800) brightness(4);
  4. --logo-animation-filter-end: drop-shadow(0 -20px 45px #ff2e88) brightness(.1) drop-shadow(0 0 5px #ff2e88) brightness(.7) drop-shadow(0 -20px 135px #ff2e88) brightness(2);
  5. }
  6. main, footer, header, caption {
  7. text-align: center;
  8. }
  9. nav[itemtype*="SiteNavigationElement"] {
  10. opacity: 0;
  11. transition: opacity 300ms ease;
  12. }
  13. nav[itemtype*="SiteNavigationElement"]:focus-within {
  14. opacity: 1;
  15. transition: opacity 300ms ease;
  16. }
  17. @media screen and (max-width: 768px) {
  18. nav[itemtype*="SiteNavigationElement"] {
  19. display: none;
  20. }
  21. .hack header h1 {
  22. margin-top: 2rem !important;
  23. }
  24. .grid {
  25. flex-direction: row;
  26. }
  27. .cell {
  28. flex: 1;
  29. }
  30. }
  31. .shaded {
  32. filter: var(--logo-animation-filter-start);
  33. opacity: 0;
  34. }
  35. .animated {
  36. /* FIXME: Animation disabled due to browser conflict with Web Miner */
  37. animation: reveal 2s both;
  38. opacity: 1; /* remove with fix */
  39. filter: var(--logo-animation-filter-end); /* remove with fix */
  40. }
  41. @keyframes reveal {
  42. from {
  43. filter: var(--logo-animation-filter-start);
  44. }
  45. to {
  46. filter: var(--logo-animation-filter-end);
  47. opacity: 1;
  48. }
  49. }
  50. .hack .grid {
  51. justify-content: center;
  52. }
  53. .hack header h1:after {
  54. content: none;
  55. }
  56. .hack header h1 {
  57. font-family: Futura,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif;
  58. padding: 0;
  59. margin: 1rem;
  60. font-size: 3em;
  61. display: inline-block;
  62. background-color: #2a3439;
  63. color: transparent;
  64. text-shadow: 0 2px 3px rgba(255, 255, 255, 0.1);
  65. -webkit-background-clip: text;
  66. -moz-background-clip: text;
  67. background-clip: text;
  68. filter: brightness(3);
  69. }
  70. .hack header h1 sup {
  71. font-size: 1rem;
  72. }
  73. .hack header h1 sup:before {
  74. content: " ";
  75. }
  76. .hack header h2:before,
  77. .hack section h2:before {
  78. content: unset;
  79. }
  80. .hack header h2,
  81. .hack section h2 {
  82. margin-top: .8rem;
  83. font-size: 1.2em;
  84. }
  85. .hack header h2 {
  86. margin-top: -1rem;
  87. }
  88. .hack .install.cta {
  89. margin-top: -1rem;
  90. margin-bottom: 2rem;
  91. }
  92. .hack .install.cta form[action*="quick-install"] {
  93. width: unset;
  94. }
  95. .hack .install.cta form[action*="quick-install"] button {
  96. border-radius: 4px;
  97. color: #ccc;
  98. background-color: #ff2e8860;
  99. transition: all 0.25s ease;
  100. }
  101. .hack .install.cta form[action*="quick-install"] button:hover,
  102. .hack .install.cta form[action*="quick-install"] button:focus {
  103. background-color: #ff2e8880;
  104. color: #fff;
  105. }
  106. .hack .install.cta form[action*="quick-install"] button svg {
  107. stroke: #ff9800;
  108. }
  109. .hack section:not(.capabilities) {
  110. margin: var(--vertical-rhythm) 0;
  111. }
  112. .hack section.logo a {
  113. border-bottom: none;
  114. background-color: inherit;
  115. }
  116. .hack section.hero {
  117. margin-top: -3rem;
  118. margin-bottom: 0;
  119. }
  120. .hack section.hero img {
  121. pointer-events: none;
  122. }
  123. .hack section.feature ul li {
  124. display: inline;
  125. padding-left: unset;
  126. }
  127. .hack section.feature ul > li::after {
  128. position: unset;
  129. content: "";
  130. }
  131. .hack section.feature ul > li:not(:last-of-type)::after {
  132. content: " | ";
  133. }
  134. .hack section.hero figure {
  135. margin: 0;
  136. line-height: 0;
  137. min-height: 266px;
  138. }
  139. @media screen and (min-width: 768px) {
  140. .hack section.hero figure img {
  141. margin: -3em 0 -2em;
  142. }
  143. }
  144. .hack section.tagline p {
  145. margin: 0;
  146. font-size: 1.1rem;
  147. line-height: 1.6;
  148. }
  149. .hack section.capabilities table a {
  150. display: block;
  151. }
  152. .hack footer section.cta {
  153. margin-top: 6rem;
  154. }
  155. .hack footer section.cta a {
  156. border-bottom: none;
  157. background-color: inherit;
  158. color: #ff9800;
  159. display: inline-block;
  160. }
  161. .hack footer section.cta a:hover {
  162. color: #fff;
  163. }
  164. .hack footer section.cta a small {
  165. display: block;
  166. }
  167. .hack.dark table tbody td:first-child {
  168. color: inherit;
  169. font-weight: initial;
  170. }
  171. .hack.dark table tr th {
  172. background-color: #1976d220;
  173. }
  174. .hack.dark table tr td a {
  175. border: 1px solid #2196f340;
  176. padding: 0.25rem;
  177. }
  178. .hack.dark table tr td a:hover {
  179. transition: all 300ms ease;
  180. background-color: #ff2e8860;
  181. border-color: #2196f360;
  182. }
  183. .hack.dark table tr td a:not(:hover) {
  184. transition: all 300ms ease;
  185. background-color: #ff2e8825;
  186. }