A different take on LBRY
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.

_layout.scss 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. html,
  2. app,
  3. body, {
  4. width: 100%; height: 100%;
  5. }
  6. html {
  7. &::before {
  8. top: 0; right: 0;
  9. bottom: 0; left: 0;
  10. animation: gradientMove 9s ease infinite;
  11. background: linear-gradient(314deg, $lbry-teal-2, $lbry-blue-3);
  12. background-size: 400%;
  13. content: "";
  14. position: fixed;
  15. transition: background-position 1s ease;
  16. }
  17. }
  18. app {
  19. min-height: 100vh;
  20. display: flex;
  21. flex-direction: column;
  22. }
  23. body {
  24. @include font-sans;
  25. min-width: 320px; min-height: 100vh;
  26. color: $lbry-black;
  27. display: flex;
  28. flex-direction: column;
  29. font-size: 12px;
  30. overflow-x: hidden;
  31. position: relative;
  32. z-index: 0;
  33. }
  34. main {
  35. @include clearfix;
  36. flex: 1;
  37. position: relative;
  38. }
  39. noscript {
  40. @include center;
  41. width: 100%; height: 100%;
  42. top: 0; left: 0;
  43. font-weight: 600;
  44. line-height: 1.33;
  45. position: fixed;
  46. text-align: center;
  47. z-index: 50;
  48. span {
  49. padding: 1rem;
  50. background-color: $lbry-red-3;
  51. color: $lbry-white;
  52. font-size: 1rem;
  53. }
  54. }
  55. code {
  56. @include font-mono;
  57. }
  58. .inner-wrap {
  59. max-width: 1000px;
  60. margin-right: auto;
  61. margin-left: auto;
  62. @media (max-width: 900px) {
  63. padding-right: 2rem;
  64. padding-left: 2rem;
  65. }
  66. &::after {
  67. @include clearfix;
  68. }
  69. }
  70. .center {
  71. margin-right: auto;
  72. margin-left: auto;
  73. text-align: center;
  74. }
  75. .flex-center {
  76. align-items: center;
  77. display: flex;
  78. flex-direction: row;
  79. }
  80. .flex-row {
  81. width: 100%;
  82. display: flex;
  83. flex-direction: row;
  84. justify-content: space-between;
  85. }
  86. .heading-title {
  87. padding: 0.2rem 1rem;
  88. background-color: $lbry-black;
  89. color: $lbry-white;
  90. display: inline-block;
  91. letter-spacing: 0.1rem;
  92. line-height: 1.33;
  93. margin-bottom: 1rem;
  94. text-transform: lowercase;
  95. }
  96. ::selection {
  97. background-color: $lbry-yellow-3;
  98. color: rgba($lbry-black, 0.95);
  99. }