media-desktop.scss 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. @import "variables";
  2. @media screen AND (min-width: 1280px) AND (max-width: 9999px) {
  3. .map {
  4. display: grid;
  5. grid-template-columns: 250px 1fr;
  6. grid-gap: 50px;
  7. border: 1px solid $color2;
  8. border-radius: 10px;
  9. padding: 10px;
  10. margin-bottom: 20px;
  11. .info {
  12. display: flex;
  13. flex-direction: column;
  14. justify-content: space-evenly;
  15. }
  16. }
  17. header {
  18. padding: 10px 0;
  19. display: grid;
  20. grid-template-columns: 320px 1fr;
  21. align-items: center;
  22. > .logo {
  23. text-align: center;
  24. // Hide Anchor underline
  25. text-decoration: none;
  26. flex-shrink: 0;
  27. border-right: 3px solid #efa20c;
  28. padding-right: 10px;
  29. margin-right: 10px;
  30. width: 310px;
  31. > img {
  32. margin: auto;
  33. width: 180px;
  34. }
  35. > .text {
  36. display: none;
  37. }
  38. &:hover {
  39. cursor: pointer;
  40. }
  41. }
  42. > .organization {
  43. text-align: center;
  44. font-size: 1.2rem;
  45. > * {
  46. &:last-child {
  47. margin-top: 10px;
  48. font-size: 1.6em;
  49. font-weight: 700;
  50. }
  51. }
  52. }
  53. > .logo-art {
  54. flex-shrink: 0;
  55. width: initial;
  56. }
  57. }
  58. main {
  59. grid-template-columns: 300px 1fr;
  60. grid-gap: 20px;
  61. .article-title {
  62. font-size: 1.5rem;
  63. text-align: center;
  64. letter-spacing: 4px;
  65. }
  66. }
  67. footer {
  68. .sign-in {
  69. display: inline;
  70. position: absolute;
  71. right: 20px;
  72. top: 50%;
  73. transform: translateY(-50%);
  74. }
  75. }
  76. .block {
  77. &.flex {
  78. font-size: 1rem;
  79. }
  80. .fas {
  81. font-size: 30px;
  82. }
  83. > .icon {
  84. width: 40px;
  85. margin-left: 5px;
  86. }
  87. }
  88. .notice-container {
  89. .carousel {
  90. height: 300px;
  91. > .slider {
  92. > .slide {
  93. > .image {
  94. flex-basis: 35%;
  95. height: 100%;
  96. background-image: linear-gradient(
  97. -225deg,
  98. #e3fdf5 0%,
  99. #ffe6fa 100%
  100. );
  101. > img {
  102. object-fit: contain;
  103. &.blur {
  104. position: absolute;
  105. top: 0;
  106. bottom: 0;
  107. left: 0;
  108. right: 0;
  109. z-index: 1;
  110. object-fit: cover;
  111. filter: blur(10px);
  112. }
  113. }
  114. }
  115. > .content {
  116. flex-basis: 65%;
  117. height: 100%;
  118. padding: 40px;
  119. justify-content: center;
  120. }
  121. &.expand {
  122. top: 0;
  123. padding: 100px;
  124. }
  125. }
  126. }
  127. }
  128. }
  129. .news-container {
  130. grid-auto-flow: dense;
  131. grid-template-columns: 1fr;
  132. grid-auto-rows: 300px;
  133. > .news {
  134. padding: 10px 10px 10px 200px;
  135. > .image {
  136. position: absolute;
  137. width: 160px;
  138. height: 140px;
  139. left: 20px;
  140. top: 50%;
  141. transform: translateY(-50%);
  142. transform-origin: center;
  143. transition: all 250ms linear;
  144. > img {
  145. width: 100%;
  146. height: 100%;
  147. display: block;
  148. object-fit: contain;
  149. object-position: center;
  150. position: relative;
  151. z-index: 2;
  152. &.blur {
  153. position: absolute;
  154. top: 0;
  155. bottom: 0;
  156. left: 0;
  157. right: 0;
  158. z-index: 1;
  159. object-fit: cover;
  160. filter: grayscale(1);
  161. opacity: 0;
  162. transition: opacity 250ms linear;
  163. }
  164. }
  165. &:hover:not(.no) {
  166. width: 100%;
  167. height: 100%;
  168. top: 0;
  169. left: 0;
  170. right: 0;
  171. bottom: 0;
  172. transform: translateY(0);
  173. >.blur{
  174. opacity: 0.25;
  175. }
  176. }
  177. }
  178. }
  179. }
  180. .news-pagination {
  181. > a {
  182. padding: 5px 15px;
  183. }
  184. }
  185. a {
  186. &.gradient-button {
  187. width: 140px;
  188. height: 30px;
  189. font-size: 1rem;
  190. }
  191. }
  192. }