Advertisement
Guest User

Untitled

a guest
Dec 15th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.02 KB | None | 0 0
  1. * {
  2. box-sizing: border-box;
  3. }
  4.  
  5. html,
  6. body {
  7. height: 100%;
  8. width: 100%;
  9. margin: 0;
  10. font-family: 'Alegreya Sans', sans-serif;
  11. }
  12.  
  13. .row {
  14. height: 100%;
  15. width: 100%;
  16. display: flex;
  17. }
  18.  
  19. #side {
  20. background-color: #222;
  21. text-align: center;
  22. color: white;
  23. font-size: 20px;
  24. height: 100%;
  25. position: static;
  26. }
  27.  
  28. #side img {
  29. padding-top: 20px;
  30. width: 50%;
  31. height: 20%;
  32. }
  33.  
  34. #side ul {
  35. margin: 0px;
  36. padding: 0;
  37. list-style-type: none;
  38. }
  39.  
  40. #side li {
  41. padding: 5px;
  42. }
  43.  
  44. #main {
  45. background-color: #d1d1d1;
  46. width: 80%;
  47. height: 100%;
  48. padding: 0;
  49. margin: 0;
  50. }
  51.  
  52. #Window {
  53. width: 31.3%;
  54. margin: 1%;
  55. border-radius: 5px;
  56. }
  57.  
  58. #Window h2 {
  59. font-size: 20px;
  60. margin: 1%;
  61. text-align: center;
  62. }
  63.  
  64. #Window p {
  65. font-size: 14px;
  66. justify-content: flex-start;
  67. }
  68.  
  69. #Window img {
  70. height: 150px;
  71. width: 100%;
  72. }
  73.  
  74. #menu {
  75. padding: 15px;
  76. width: 100%;
  77. background-color: #181818;
  78. }
  79.  
  80. #wrapper {
  81. display: flex;
  82. flex-wrap: wrap;
  83. }
  84.  
  85. #menu a {
  86. text-decoration: none;
  87. color: white;
  88. font-size: 25px;
  89. }
  90.  
  91. #menu a:active {
  92. color: #e44d26;
  93. }
  94.  
  95. #Window:last-child {
  96. clear: both;
  97. }
  98.  
  99. @media (min-width: 1000px) {
  100. #side {
  101. height: 100%;
  102. width: 20%;
  103. font-size: 20px;
  104. background-color: #222;
  105. scroll-snap-type: inherit;
  106. }
  107. #side img {
  108. align-items: center;
  109. width: 50%;
  110. }
  111. #main {
  112. background-color: #d1d1d1;
  113. width: 80%;
  114. }
  115. #Window {
  116. width: 31.3%;
  117. margin: 1%;
  118. border-radius: 5px;
  119. background-color: white;
  120. }
  121. #Window h1 {
  122. font-size: 10px;
  123. margin: 1%;
  124. }
  125. #Window p {
  126. font-size: 14px;
  127. justify-content: flex-start;
  128. }
  129. #Window img {
  130. height: 150px;
  131. }
  132. }
  133.  
  134. @media (max-width: 1000px) {
  135. #side {
  136. width: 200px;
  137. }
  138. #Window {
  139. width: 48%;
  140. margin: 1%;
  141. }
  142. #side img {
  143. padding-top: 20px;
  144. width: 60%;
  145. height: 20%;
  146. }
  147. #main {
  148. width: calc(100% - 200px);
  149. }
  150. #Window{
  151. width: 48%;
  152. margin: 1%;
  153. }
  154. }
  155.  
  156. @media (max-width: 799px) {
  157. .row{
  158. flex-direction: column;
  159. }
  160. #side {
  161. height: auto;
  162. width: 100%;
  163. text-align: center;
  164. color: white;
  165. font-size: 35px;
  166. height: auto;
  167. }
  168. #menu ul{
  169. display: flex;
  170.  
  171. }
  172. #side img {
  173. width: 150px;
  174. }
  175. #main {
  176. width: 100%;
  177. height: auto;
  178. }
  179. #wrapper{
  180. justify-content: center;
  181. }
  182. #Window {
  183. width: 65%;
  184. margin: 2%;
  185. }
  186. #Window img {
  187. height: 250px;
  188. }
  189. #Window h1 {
  190. font-size: 15px;
  191. color: black;
  192. }
  193. #Window p {
  194. font-size: 20px;
  195. justify-content: center;
  196. color: #555;
  197. }
  198. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement