Advertisement
Guest User

Untitled

a guest
Feb 20th, 2020
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.35 KB | None | 0 0
  1. <style lang="scss">
  2. @import url("https://fonts.googleapis.com/css?family=Roboto");
  3.  
  4. /*brown and mint*/
  5. /*dark brown 32292F
  6. light mint 99E1D9
  7. bisque F0F7F4
  8. dark mint 70ABAF
  9. light brown 705D56*/
  10.  
  11. *,
  12. *:before,
  13. *:after {
  14. box-sizing: border-box;
  15. }
  16.  
  17. body {
  18. margin: 0;
  19. padding: 0;
  20. }
  21.  
  22. main {
  23. padding: 40px;
  24. font-family: "Roboto", "sans-serif";
  25. background: #fff top center repeat;
  26. color: #444;
  27. background-image: url("https://raw.githubusercontent.com/VueVixens/projects/master/petshop/images/bg.jpg");
  28. }
  29.  
  30. h1,
  31. p {
  32. margin: 0 0 1em 0;
  33. }
  34.  
  35. img {
  36. max-width: 100%;
  37. display: block;
  38. margin: 0 auto;
  39. }
  40.  
  41. .app-container {
  42. max-width: 940px;
  43. margin: 0 auto;
  44. background-color: #fff;
  45. }
  46.  
  47. .app-container > * {
  48. border-radius: 5px;
  49. font-size: 150%;
  50. margin-bottom: 10px;
  51. }
  52.  
  53. .wrapper {
  54. display: grid;
  55. grid-gap: 10px;
  56. grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  57. grid-auto-rows: minmax(150px, auto);
  58. }
  59.  
  60. .wrapper > * {
  61. padding: 15px;
  62. border-radius: 5px;
  63. }
  64.  
  65. .light-mint {
  66. background-color: #99e1d9;
  67. }
  68.  
  69. .dark-mint {
  70. background-color: #70abaf;
  71. }
  72.  
  73. .light-brown {
  74. background-color: #705d56;
  75. color: #f0f7f4;
  76. }
  77.  
  78. .dark-brown {
  79. background-color: #32292f;
  80. color: #f0f7f4;
  81. }
  82.  
  83. .bisque {
  84. background-color: #f0f7f4;
  85. }
  86.  
  87. /*orange and green*/
  88. /*
  89. dark orange 771100
  90. orange CC6633
  91. light orange FF9900
  92. dark green 689980
  93. light green 86a193
  94. */
  95.  
  96. .orange-green {
  97. background-image: url("https://raw.githubusercontent.com/VueVixens/projects/master/petshop/images/bg2.jpg");
  98. .light-mint {
  99. background-color: #86a193;
  100. }
  101.  
  102. .dark-mint {
  103. background-color: #689980;
  104. }
  105.  
  106. .light-brown {
  107. background-color: #cc6633;
  108. }
  109.  
  110. .dark-brown {
  111. background-color: #771100;
  112. }
  113.  
  114. .bisque {
  115. background-color: #ff9900;
  116. }
  117. }
  118.  
  119. .panel {
  120. /* needed for the flex layout*/
  121. margin-left: 5px;
  122. margin-right: 5px;
  123. flex: 1 1 200px;
  124. }
  125.  
  126. .tall-panel {
  127. grid-row-end: span 2;
  128. }
  129.  
  130. .app-header,
  131. .app-footer {
  132. flex: 0 1 100%;
  133. padding: 15px;
  134. text-align: center;
  135. }
  136.  
  137. /* We need to set the margin used on flex items to 0 as we have gaps in grid. */
  138. @supports (display: grid) {
  139. .wrapper > * {
  140. margin: 0;
  141. }
  142. }
  143. </style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement