Advertisement
Guest User

Untitled

a guest
Jan 17th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.10 KB | None | 0 0
  1. $search-font-size-title: 17px;
  2. @import "../../app/shared/shared.scss";
  3.  
  4. $back-color:rgba($color: #000000, $alpha: 0.43);
  5. $search-color: rgba(27, 26, 26, 0.747);
  6.  
  7. @keyframes search-animations {
  8. 0% {
  9. opacity: 0;
  10. transform: translateY(-70px);
  11. }
  12.  
  13. 100% {
  14. opacity: 1;
  15. transform: translateY(0px);
  16. }
  17.  
  18. }
  19.  
  20.  
  21. .main-container {
  22.  
  23.  
  24. position: absolute;
  25. display: grid;
  26. grid-template-columns: 15% 70% 15%;
  27. grid-template-rows: minmax(140px, 25%) 75%;
  28. width: 100%;
  29. height: calc(100% - 134px);
  30. // height: 100%;
  31. grid-template-areas: " . main-block . "
  32. "main-inform-block main-inform-block main-inform-block";
  33.  
  34.  
  35. .main-block {
  36. display: flex;
  37. justify-content: center;
  38. align-items: center;
  39. grid-area: main-block;
  40.  
  41. .search-block {
  42. width: 640px;
  43.  
  44. .main-search-tittle {
  45. font-family: 'DJBSkritchSkratch', DJBSkritchSkratch;
  46. font-weight: 800;
  47. color: white;
  48. display: flex;
  49. font-size: $search-font-size-title;
  50. justify-content: center;
  51. margin: 0 0 15px 0;
  52. animation: search-animations 2s;
  53.  
  54. }
  55.  
  56.  
  57. .main-search-bar {
  58. animation-name: test;
  59. animation: search-animations 2s;
  60. height: 50px;
  61. width: 140px;
  62. border-radius: 15px;
  63. text-align: center;
  64. min-width: 100%;
  65. background-color: $search-color;
  66. font-family: 'DJBSkritchSkratch', DJBSkritchSkratch;
  67. font-weight: 800;
  68. color: white;
  69. }
  70. }
  71.  
  72.  
  73. @media screen and (max-width: $shared-medium-width) {
  74. .main-search-bar {
  75. // width: 70vw;
  76.  
  77. }
  78.  
  79. .main-search-tittle {
  80. font-size: $search-font-size-title - 2px;
  81. }
  82. }
  83.  
  84.  
  85. }
  86.  
  87. .main-inform-block {
  88.  
  89. grid-area: main-inform-block;
  90. background-color: $back-color;
  91. display: flex;
  92.  
  93. .main-inform-item {
  94. margin: 0 auto;
  95. width: 100%;
  96. display: flex;
  97. justify-content: center;
  98. align-items: center;
  99. }
  100. }
  101.  
  102.  
  103. }
  104. @media screen and (max-width: $shared-medium-width) {
  105.  
  106.  
  107. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement