Advertisement
Mokiienko

scss.homework_10

Feb 23rd, 2020
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.15 KB | None | 0 0
  1. $color-header: rgb(73,77,85);
  2. $color-darcgray: rgb(219,221,222);
  3. $color-mediumturquoise: rgb(64,186,189);
  4. $color-palevioletred: rgb(216,98,150);
  5. $color-light: rgb(249,249,251);
  6. $color-deepskyblue: rgb(3,169,244);
  7. $color-royalblue: rgb(25,118,210);
  8. $color-green: rgb(117,193,129);
  9. $color-pink: rgb(234,83,149);
  10. $color-cyan: rgb(88,187,238);
  11. $color-purple: rgb(138,64,167);
  12. $color-orange: rgb(248,140,48);
  13. $color-footer: rgb(38,40,44);
  14.  
  15. html, body {
  16. margin: 0;
  17. min-height: 100%;
  18. height: 100%;
  19. font-size: 18px;
  20. font-family: Roboto;
  21. text-align: center;
  22. background: $color-light;
  23. }
  24.  
  25. body {
  26. margin-top: 250px;
  27. }
  28.  
  29. header, main, footer, p, h1, h2, h3 div {
  30. margin: 0 auto;
  31. display: block;
  32. box-sizing: border-box;
  33. }
  34.  
  35. header .container-header {
  36. padding: 50px;
  37. background: $color-header;
  38. color: $color-light;
  39. line-height: 2.5;
  40. position: fixed;
  41. left: 0; right: 0;
  42. top: 0;
  43. z-index: 1;
  44. }
  45.  
  46. .header-icon {
  47. width: 30px;
  48. }
  49.  
  50. .text-normal {
  51. color: $color-mediumturquoise;
  52. font-weight: normal;
  53. }
  54.  
  55. .text-bolt {
  56. font-weight: bolt;
  57. }
  58.  
  59. .subtitle {
  60. font-weight: 500;
  61. line-height: 1.8;
  62. }
  63.  
  64. .heart {
  65. color: $color-palevioletred;
  66. }
  67.  
  68. .social-btn img {
  69. width: 10px;
  70. }
  71.  
  72. .btn-tw {
  73. padding: 2px 6px;
  74. background: $color-deepskyblue;
  75. color: $color-light;
  76. border-radius: 3px;
  77. border: 0;
  78. font-size: 10px;
  79. text-decoration: none;
  80. cursor: pointer;
  81. }
  82.  
  83. .btn-fb {
  84. padding: 2px 6px;
  85. background: $color-royalblue;
  86. color: $color-light;
  87. border-radius: 3px;
  88. border: 0;
  89. font-size: 10px;
  90. text-decoration: none;
  91. cursor: pointer;
  92. }
  93.  
  94. button > span {
  95. font-weight: bold;
  96. }
  97.  
  98. .container-information {
  99. padding: 60px;
  100. color: $color-header;
  101. line-height: 1.5;
  102. }
  103.  
  104. .content {
  105. margin: 0 auto;
  106. max-width: 80%;
  107. }
  108.  
  109. .content > h2 {
  110. font-weight: 500;
  111. }
  112.  
  113. .content > p {
  114. padding: 20px;
  115. font-size: 14px;
  116. font-weight: 400;
  117. }
  118.  
  119. .btn-download {
  120. margin: 20px;
  121. padding: 5px;
  122. background: $color-mediumturquoise;
  123. color: $color-light;
  124. border-radius: 3px;
  125. border: 0;
  126. opacity: 1;
  127. font-size: 14px;
  128. font-weight: 600;
  129. text-decoration: none;
  130. cursor: pointer;
  131. }
  132.  
  133. .btn-download:hover {
  134. opacity: 0.8;
  135. transition: 0.5s;
  136.  
  137. }
  138.  
  139. .btn-download img {
  140. width: 15px;
  141. }
  142.  
  143. .flex-container {
  144. width: 80%;
  145. margin: 0 auto;
  146. display: flex;
  147. flex-wrap: wrap;
  148. flex-direction: row;
  149. font-size: 14px;
  150. font-weight: 400;
  151. }
  152.  
  153. .flex-option {
  154. margin: 25px 10px;
  155. width: calc(30% - 2px);
  156. border: 1px solid $color-darcgray;
  157. border-radius: 3px;
  158. cursor: pointer;
  159. transition: all 1s ease-out;
  160. }
  161.  
  162. .flex-option:hover {
  163. transform: scale(1.05);
  164. }
  165.  
  166. .icons-information {
  167. width: 30px;
  168. }
  169.  
  170. .flex-green {
  171. padding: 40px;
  172. border-top: 3px solid $color-green;
  173. border-radius: 3px;
  174. }
  175.  
  176. .flex-pink {
  177. padding: 40px;
  178. border-top: 3px solid $color-pink;
  179. border-radius: 3px;
  180. }
  181.  
  182. .flex-royalblue {
  183. padding: 40px;
  184. border-top: 3px solid $color-royalblue;
  185. border-radius: 3px;
  186. }
  187.  
  188. .flex-purple {
  189. padding: 40px;
  190. border-top: 3px solid $color-purple;
  191. border-radius: 3px;
  192. }
  193.  
  194. .flex-mediumturquoise {
  195. padding: 40px;
  196. border-top: 3px solid $color-mediumturquoise;
  197. border-radius: 3px;
  198. }
  199.  
  200. .flex-orange {
  201. padding: 40px;
  202. border-top: 3px solid $color-orange;
  203. border-radius: 3px;
  204. }
  205.  
  206. footer {
  207. padding: 20px;
  208. background: $color-footer;
  209. color: $color-light;
  210. font-size: 14px;
  211. }
  212.  
  213. .link-footer {
  214. color: $color-mediumturquoise;
  215. cursor: pointer;
  216. }
  217.  
  218. .link-footer:hover {
  219. color: $color-royalblue;
  220. transition: 0.5s;
  221. }
  222.  
  223. @media screen and (min-width: 991px) and (max-width: 1200px) {
  224. div.flex-container {
  225. width: 80%; }
  226.  
  227. .flex-container .flex-option {
  228. width: calc(30% - 22px); } }
  229.  
  230.  
  231. @media screen and (min-width: 0px) and (max-width: 990px) {
  232. div.flex-container {
  233. width: 80%; }
  234.  
  235. .flex-container .flex-option {
  236. width: calc(50% - 22px); } }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement