_moreref.scss 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. @charset "UTF-8";
  2. .moreref {
  3. &>.bg {
  4. top: 39%;
  5. }
  6. .copywriting {
  7. padding: 0.8em;
  8. .subtitle {
  9. margin-bottom: 0.2em;
  10. }
  11. .title {
  12. margin-bottom: 0.8em;
  13. }
  14. }
  15. .container {
  16. padding-bottom: 4em;
  17. }
  18. &__list {
  19. display: flex;
  20. justify-content: center;
  21. align-items: flex-start;
  22. }
  23. &__item {
  24. display: flex;
  25. flex-direction: column;
  26. justify-content: flex-start;
  27. align-items: center;
  28. text-decoration: none;
  29. margin: 0 1.2em;
  30. &-line {
  31. .moreref__pic {
  32. padding: 0;
  33. overflow: hidden;
  34. }
  35. }
  36. }
  37. &__pic {
  38. border: 1px solid rgba($gray, 0.3);
  39. border-radius: 0.7em;
  40. padding: 1em,;
  41. height: 13.8em;
  42. margin-bottom: 1.5em;
  43. img {
  44. height: 100%;
  45. width: auto;
  46. }
  47. }
  48. &__name {
  49. background-color: $blue;
  50. padding: 0.5em 2em;
  51. border-radius: 2em;
  52. box-shadow: 0 0 0 1em transparent;
  53. animation: pulse2 2s infinite;
  54. cursor: pointer;
  55. transition: 0.3s;
  56. p {
  57. color: $white;
  58. font-size: 1.1em;
  59. cursor: pointer;
  60. }
  61. // &:hover {
  62. // animation: none;
  63. // transform: scale(1.1);
  64. // }
  65. }
  66. @keyframes pulse2 {
  67. 0% {
  68. box-shadow: 0 0 0 0 $blue;
  69. }
  70. }
  71. &__logo {
  72. width: 18em;
  73. margin: 7em auto 0;
  74. img {
  75. width: 100%;
  76. }
  77. }
  78. }
  79. @media screen and (max-width: 992px) {
  80. .moreref {
  81. .container {
  82. padding-bottom: 0;
  83. }
  84. .copywriting {
  85. padding: 2em 0 3em;
  86. }
  87. &__list {
  88. flex-direction: column;
  89. align-items: center;
  90. justify-content: flex-start;
  91. }
  92. &__item {
  93. margin: 0 0 7em;
  94. }
  95. &__pic {
  96. height: 30em;
  97. margin-bottom: 2em;
  98. }
  99. &__name {
  100. background-color: #0699d2;
  101. padding: 1em 3.5em 1.3em;
  102. border-radius: 3.5em;
  103. p {
  104. font-size: 2.1em;
  105. }
  106. }
  107. &__logo {
  108. width: 46em;
  109. margin: 3em auto 7em;
  110. }
  111. }
  112. }