25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 

175 satır
3.4 KiB

  1. @charset "UTF-8";
  2. .artwork {
  3. position: absolute;
  4. right: 0;
  5. top: 0;
  6. height: 100%;
  7. width: calc(43vw - 160px);
  8. @media(max-width: 1199px) {
  9. width: 50vw;
  10. margin: 1% -18%;
  11. max-height: 90vw;
  12. }
  13. @media(max-width: 767px) {
  14. margin: 3% -24%;
  15. height: 94%;
  16. }
  17. @media(max-width: 567px) {
  18. margin: 5% -32%;
  19. height: 90%;
  20. }
  21. .foreground, .background {
  22. position: absolute;
  23. left: 0;
  24. right: 0;
  25. top: 0;
  26. transform-origin: right top;
  27. height: 75%;
  28. transform: rotate(-3deg);
  29. overflow: hidden;
  30. &:before {
  31. content: "";
  32. @include fullsize;
  33. background-color: $color-primary;
  34. background-color: var(--theme-color-primary, $color-primary);
  35. margin: -16% 0;
  36. border-top-left-radius: 26% 50%;
  37. border-bottom-left-radius: 26% 50%;
  38. }
  39. }
  40. .background {
  41. transform: rotate(-9deg);
  42. left: -3vw;
  43. margin-left: -60px;
  44. @media(max-width: 999px) {
  45. margin-left: -45px;
  46. margin-top: 5px;
  47. }
  48. @media(max-width: 567px) {
  49. margin-left: -30px;
  50. margin-top: 10px;
  51. }
  52. &:before {
  53. background: linear-gradient(-10deg, $color-gradient-01 10%, $color-gradient-02 55%, $color-gradient-03 90%);
  54. background: linear-gradient(-10deg, var(--theme-color-gradient-01, $color-gradient-01) 10%, var(--theme-color-gradient-02, $color-gradient-02) 55%, var(--theme-color-gradient-03, $color-gradient-03) 90%);
  55. }
  56. }
  57. }
  58. section[data-type="artwork-background-image"] {
  59. color: white;
  60. &:before {
  61. content: "";
  62. position: relative;
  63. display: block;
  64. height: 20px;
  65. }
  66. .image-box {
  67. @include fullsize;
  68. &:after {
  69. content: "";
  70. @include fullsize;
  71. background: linear-gradient(120deg, rgba($color-primary, 1) 0%, rgba($color-primary, 0.2) 100%);
  72. background: linear-gradient(120deg, rgba(var(--theme-color-primary-rgb, $color-primary-rgb), 1) 0%, rgba(var(--theme-color-primary-rgb, $color-primary-rgb), 0.2) 100%);
  73. }
  74. img {
  75. position: relative;
  76. display: block;
  77. width: 100%;
  78. height: 100%;
  79. object-fit: cover;
  80. }
  81. }
  82. .artwork {
  83. z-index: 1;
  84. margin-top: 20px;
  85. .foreground, .background {
  86. &:before {
  87. background: $color-white;
  88. opacity: 0.7;
  89. }
  90. }
  91. .background:before {
  92. opacity: 0.3;
  93. }
  94. }
  95. }
  96. section[data-type="artwork-image"] {
  97. .image-box {
  98. position: absolute;
  99. display: block;
  100. width: calc(43vw - 160px);
  101. right: 0;
  102. top: 0;
  103. transform-origin: right top;
  104. height: 75%;
  105. transform: rotate(-3deg);
  106. overflow: hidden;
  107. @media(max-width: 1199px) {
  108. width: 50vw;
  109. margin: 1% -18%;
  110. max-height: 90vw;
  111. }
  112. @media(max-width: 767px) {
  113. margin: 3% -24%;
  114. max-height: 94%;
  115. }
  116. @media(max-width: 567px) {
  117. margin: 5% -32%;
  118. max-height: 90%;
  119. height: 70vw;
  120. }
  121. picture {
  122. @include fullsize;
  123. margin: -16% 0;
  124. border-top-left-radius: 26% 50%;
  125. border-bottom-left-radius: 26% 50%;
  126. overflow: hidden;
  127. }
  128. img {
  129. position: absolute;
  130. display: block;
  131. top: 10%;
  132. width: 130%;
  133. height: 84%;
  134. object-fit: cover;
  135. transform: rotate(3deg);
  136. max-width: none;
  137. }
  138. }
  139. .artwork .foreground {
  140. opacity: 0;
  141. }
  142. }
  143. [data-browser="ie"] section[data-type="artwork-image"] .image-box img {
  144. width: auto;
  145. max-width: none;
  146. left: 50%;
  147. height: 84%;
  148. transform: rotate(3deg) translate(-50%, 0);
  149. }