Advertisement
Guest User

Untitled

a guest
Feb 27th, 2020
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.56 KB | None | 0 0
  1. /* === GLOBAL SETTINGS === */
  2.  
  3. * {
  4.   margin: 0;
  5.   padding: 0;
  6. }
  7.  
  8. /* ===============
  9.    LAYOUT
  10.    =============== */
  11.  
  12. html,
  13. body {
  14.   height: 100%;
  15. }
  16.  
  17. body {
  18.   width: 100%;
  19.   font-family: "Roboto";
  20. }
  21.  
  22. .container {
  23.   width: 80%;
  24.   min-height: 100%;
  25.   margin: 0 auto;
  26. }
  27.  
  28. .wrapper-content {
  29.   overflow: auto;
  30.   padding-bottom: 165px;
  31. }
  32.  
  33. /* ===header=== */
  34.  
  35. header {
  36.   height: 200px;
  37.   display: flex;
  38.   justify-content: space-between;
  39.   align-items: center;
  40. }
  41.  
  42. .name {
  43.   font-size: 18px;
  44.   font-weight: bold;
  45. }
  46.  
  47. .contactme {
  48.   width: 34px;
  49.   height: 34px;
  50. }
  51.  
  52. /* ===section=== */
  53.  
  54. .intro {
  55.   width: 70%;
  56. }
  57.  
  58. .intro h1 {
  59.   font-size: 20px;
  60.   font-weight: 900;
  61.   padding-bottom: 20px;
  62. }
  63.  
  64. .intro p {
  65.   font-size: 14px;
  66.   font-weight: 900;
  67. }
  68.  
  69. /* ===main=== */
  70.  
  71. .cards {
  72.   display: flex;
  73.   flex-direction: column;
  74.   margin-top: 20px;
  75.   padding-bottom: 20px;
  76. }
  77.  
  78. .work h1 {
  79.   font-size: 16px;
  80.   font-weight: 900;
  81.   padding-top: 40px;
  82. }
  83.  
  84. .project1,
  85. .project2,
  86. .project3 {
  87.   width: 100%;
  88.   height: 150px;
  89.   border-radius: 10px;
  90.   background-color: black;
  91. }
  92.  
  93. .project2 {
  94.   margin: 20px 0px;
  95. }
  96.  
  97. .wrapper-btn {
  98.   display: flex;
  99.   justify-content: center;
  100. }
  101.  
  102. .morebtn {
  103.   font-weight: 900;
  104.   width: 137px;
  105.   height: 40px;
  106.   border: 3px solid black;
  107.   border-radius: 100px;
  108.   background-color: white;
  109. }
  110.  
  111. /* ===footer=== */
  112.  
  113. footer {
  114.   width: 100%;
  115.   height: 165px;
  116.   background-color: black;
  117.   position: relative;
  118.   margin-top: -100px;
  119.   clear: both;
  120.   display: flex;
  121.   flex-direction: column;
  122.   justify-content: center;
  123.   align-items: center;
  124. }
  125.  
  126. .socialicons {
  127.   display: flex;
  128. }
  129.  
  130. .socialicons img {
  131.   width: 24px;
  132.   height: 24px;
  133.   margin: 10px 30px;
  134. }
  135.  
  136. footer p {
  137.   color: white;
  138.   padding-top: 30px;
  139.   font-size: 10px;
  140.   font-weight: medium;
  141. }
  142.  
  143. @media only screen and (max-width: 800px) {
  144.   .intro {
  145.     width: 100%;
  146.   }
  147. }
  148.  
  149. @media only screen and (min-width: 800px) {
  150.   .cards {
  151.     flex-direction: row;
  152.   }
  153.   .project1,
  154.   .project2,
  155.   .project3 {
  156.     width: 400px;
  157.     height: 200px;
  158.   }
  159.  
  160.   .project2 {
  161.     margin: 0px 20px;
  162.   }
  163.  
  164.   .more-cards {
  165.     display: flex;
  166.     flex-direction: row;
  167.     margin-top: 20px;
  168.     padding-bottom: 20px;
  169.   }
  170.  
  171.   .project4,
  172.   .project5,
  173.   .project6 {
  174.     width: 100%;
  175.     height: 180px;
  176.     border-radius: 10px;
  177.     background-color: black;
  178.   }
  179.  
  180.   .project5 {
  181.     margin: 0px 20px;
  182.   }
  183. }
  184.  
  185. @media only screen and (min-width: 1000px) {
  186.   .container {
  187.     width: 1000px;
  188.   }
  189.  
  190.   header {
  191.     padding: 0px 30px;
  192.   }
  193. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement