showcase.css 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. .showscale_page {
  2. height: 120vw;
  3. background-color: #dcb495;
  4. display: flex;
  5. flex-direction: column;
  6. align-items: center;
  7. }
  8. .header_block {
  9. width: 100%;
  10. height: 20vw;
  11. background-position: center;
  12. display: flex;
  13. flex-direction: column;
  14. align-items: center;
  15. justify-content: center;
  16. background: linear-gradient( rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85) ), url(../images/showcase.jpg);background-repeat: repeat; background-position: center;
  17. }
  18. .header_title {
  19. color: #ffffff;
  20. font-size: 7vw;
  21. }
  22. .header_title_2 {
  23. color: #ffffff;
  24. text-align: center;
  25. font-size: 1.5vw;
  26. width: 50vw;
  27. }
  28. .templates_block {
  29. width: 95%;
  30. margin-top: 5vw;
  31. }
  32. .templates_title {
  33. display: flex;
  34. justify-content: center;
  35. font-size: 3.5vw;
  36. }
  37. .templates_list {
  38. height: 30vw;
  39. margin-top: 2vw;
  40. border: 0.2vw solid #694a2d;
  41. border-radius: 2vw;
  42. overflow-x: auto;
  43. overflow-y: hidden;
  44. display: flex;
  45. align-items: center;
  46. justify-content: flex-start;
  47. }
  48. .template {
  49. display: flex;
  50. justify-content: start;
  51. flex-direction: column;
  52. align-items: center;
  53. min-height: 28vw;
  54. min-width: 25vw;
  55. max-width: 25vw;
  56. background-color: #9E795A;
  57. margin: 1vw;
  58. border-radius: 2vw;
  59. }
  60. .template_title {
  61. margin-top: 1vw;
  62. max-width: 90%;
  63. text-align: center;
  64. color: #ffffff;
  65. font-size: 2vw;
  66. font-weight: 500;
  67. }
  68. .description {
  69. background-color: #EDCBB0;
  70. max-width: 90;
  71. height: auto;
  72. height: 15vw;
  73. min-width: 85%;
  74. max-width: 85%;
  75. border-radius: 0.5vw;
  76. }
  77. .description_text {
  78. margin: 0.8vw;
  79. overflow-wrap: normal; /* не поддерживает IE, Firefox; является копией word-wrap */
  80. word-wrap: normal;
  81. word-break: normal; /* не поддерживает Opera12.14, значение keep-all не поддерживается IE, Chrome */
  82. line-break: auto; /* нет поддержки для русского языка */
  83. hyphens: manual;
  84. }
  85. .description {
  86. overflow-y: auto;
  87. }
  88. .description::-webkit-scrollbar {
  89. width: 0.8vw; /* ширина scrollbar */
  90. }
  91. .description::-webkit-scrollbar-thumb {
  92. background-color: #d49d51; /* цвет плашки */
  93. border-radius: 5vw; /* закругления плашки */
  94. border: 0.25vw solid #ffffff;
  95. }
  96. .open_button {
  97. margin-top: 1vw;
  98. background-color: #ffffff;
  99. color: #000000;
  100. width: 15vw;
  101. height: 4.5vw;
  102. vertical-align: middle;
  103. border-radius: 5vw;
  104. display: flex;
  105. align-items: center;
  106. justify-content: center;
  107. }
  108. .open_button:hover {
  109. text-decoration: none;
  110. color: #000000;
  111. }
  112. .open_button_text {
  113. font-size: 1.5vw;
  114. margin-top: 15px;
  115. display: flex;
  116. align-items: center;
  117. justify-content: center;
  118. }
  119. .open_button, .open_button_link {
  120. display: flex;
  121. align-items: center;
  122. justify-content: center;
  123. width: 15vw;
  124. height: 4.5vw;
  125. color: #000000;
  126. }
  127. .open_button_link:hover {
  128. text-decoration: none;
  129. color: #000000;
  130. }