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.

81 lines
1.5 KiB

  1. .newpage {
  2. background: linear-gradient(to bottom, darken(mc('blue', '900'), 10%) 0%, mc('purple', '500') 100%);
  3. height: 100%;
  4. display: flex;
  5. flex-direction: column;
  6. justify-content: center;
  7. align-items: center;
  8. color: mc('grey', '50');
  9. &::before {
  10. content: '';
  11. display:block;
  12. width: 100%;
  13. height: 100%;
  14. position: absolute;
  15. top: 0;
  16. left: 0;
  17. background-image: url('../static/svg/motif-circuit.svg');
  18. background-position: center center;
  19. background-repeat: repeat;
  20. background-size: 200px;
  21. z-index: 0;
  22. opacity: .75;
  23. animation: onboardingBgReveal 80s linear infinite;
  24. @include keyframes(onboardingBgReveal) {
  25. 0% {
  26. background-position-y: 0;
  27. }
  28. 100% {
  29. background-position-y: -2000px;
  30. }
  31. }
  32. }
  33. &::after {
  34. content: '';
  35. position: absolute;
  36. background-color: transparent;
  37. background-image: url('../static/svg/motif-overlay.svg');
  38. background-attachment: fixed;
  39. background-size: cover;
  40. opacity: .5;
  41. top: 0;
  42. left: 0;
  43. width: 100vw;
  44. height: 100vh;
  45. }
  46. &-content {
  47. display: flex;
  48. flex-direction: column;
  49. justify-content: center;
  50. align-items: center;
  51. z-index: 2;
  52. }
  53. img {
  54. height: 250px;
  55. margin-bottom: 3rem;
  56. z-index: 2;
  57. animation-duration: 2s;
  58. @include until($tablet) {
  59. height: 200px;
  60. }
  61. }
  62. h1 {
  63. font-size: 1.5rem;
  64. margin-bottom: 1rem;
  65. z-index: 2;
  66. }
  67. h2 {
  68. margin-bottom: 3rem;
  69. z-index: 2;
  70. }
  71. .v-btn {
  72. z-index: 2;
  73. }
  74. }