App.scss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
  2. @mixin flex($dis, $jst,$al) {
  3. display: $dis;
  4. justify-content: $jst;
  5. align-items: $al;
  6. }
  7. $margin: 0 auto;
  8. *{
  9. box-sizing: border-box;
  10. font-family: 'Roboto', sans-serif;
  11. }
  12. .header{
  13. border: 1px solid #C4C4C4;
  14. height: 100px;
  15. margin-bottom: 30px;
  16. &__container{
  17. display: flex;
  18. justify-content: space-between;
  19. width: 640px;
  20. margin: 0 auto;
  21. }
  22. &__icons{
  23. padding: 21px 28px 16px 0;
  24. }
  25. }
  26. .stories{
  27. border: 1px solid #C4C4C4;
  28. width: 640px;
  29. height: 164px;
  30. padding: 30px 0 27px;
  31. @include flex(flex, center, center);
  32. margin: 0 auto;
  33. &__icons{
  34. width: 80px;
  35. height: 80px;
  36. border-radius: 50%;
  37. border: 2px;
  38. background:linear-gradient(45deg, #EBAF4D, #D60A66);
  39. @include flex(flex, center, center);
  40. position: relative;
  41. }
  42. &__img_gr{
  43. width: 74px;
  44. height: 74px;
  45. border: 2px solid white;
  46. background-color: white;
  47. border-radius: 50%;
  48. z-index: 1;
  49. position: absolute;
  50. }
  51. &__icons_name{
  52. padding: 118px 0 0 0;
  53. @include flex(flex, center, center);
  54. width: 78px;
  55. position: absolute;
  56. font-size: 14px;
  57. }
  58. }
  59. .stories_contant{
  60. margin-bottom: 30px;
  61. justify-content: space-around;
  62. }
  63. .main{
  64. margin-bottom: 30px;
  65. &__headerPosts{
  66. border: 1px solid #C4C4C4;
  67. width: 640px;
  68. height: 60px;
  69. margin: $margin;
  70. display: flex;
  71. }
  72. &__logoHeaderContainer{
  73. padding: 12px 16px 12px 24px;
  74. }
  75. &__textIntellectfoxHeader{
  76. display: flex;
  77. font-weight: 700;
  78. justify-content: center;
  79. align-items: center;
  80. }
  81. &__containerPosts{
  82. height: 640px;
  83. width: 640px;
  84. border: 1px solid #C4C4C4;
  85. margin: $margin;
  86. display: flex;
  87. }
  88. &__footerPosts{
  89. height: 113px;
  90. width: 640px;
  91. border: 1px solid #C4C4C4;
  92. margin: $margin;
  93. display: flex;
  94. flex-direction: column;
  95. }
  96. &__likes{
  97. display: flex;
  98. }
  99. &__textPostLikes{
  100. font-weight: 700;
  101. padding: 29px 0 0 0;
  102. }
  103. &__markLike{
  104. font-weight: 700;
  105. padding: 29px 0 0 5px;
  106. }
  107. }
  108. .foxgram_logo{
  109. padding: 21px 243px 16px 0;
  110. }
  111. .logo_heart{
  112. display: flex;
  113. }
  114. .heart_img{
  115. padding: 24px 16px 16px 24px;
  116. }
  117. .footer_container{
  118. display: flex;
  119. }
  120. .text_intellectfox_footer{
  121. font-weight: 700;
  122. padding: 0 16px 24px 24px;
  123. }
  124. .footer_text{
  125. flex-direction: row;
  126. }