Advertisement
Guest User

Untitled

a guest
Dec 8th, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.04 KB | None | 0 0
  1. .background-white {
  2.     background: white;
  3. }
  4.  
  5. .background-blue {
  6.    background: lightblue;
  7. }
  8.  
  9. * {
  10.     margin: 0;
  11.     padding: 0;
  12.     box-sizing: border-box;
  13. }
  14.  
  15. html {
  16.     font-family: 'Roboto';
  17.     font-size: 10px;
  18. }
  19.  
  20. body {
  21.     font-size: 1.6rem;
  22. }
  23.  
  24. .profile-photo {
  25.     height: 25rem;
  26.     width: 25rem;
  27.     border-radius: 50%;
  28.     border: 0.5rem solid  rgba(14,47,124, 0.5);
  29.     box-shadow: 0 0 0.5rem 0.5rem #4267b2;
  30. }
  31. .portfolio {
  32.     color: #646464;
  33. }
  34.  
  35. a {
  36.     text-decoration: none;
  37. }
  38.  
  39. ul li {
  40.     list-style: none;
  41. }
  42.  
  43. ul li a {
  44.     display: block;
  45.     width: 100%;
  46.     color: white;
  47.     padding: 1.5rem
  48. }
  49.  
  50. ul li a:hover {
  51.     background: #2e4774;
  52. }
  53.  
  54. main {
  55.     width: 80rem;
  56.     margin: 0 auto;
  57.     min-height: calc(100vh - 14.5rem);
  58.     padding-left: 1.5rem;
  59.     padding-right: 1.5rem;
  60.     padding: 0 1.5rem 0 1.5rem;
  61. }
  62.  
  63. .weather {
  64.     height: 15rem;
  65.     width: 30rem;
  66.     margin: 1rem auto;
  67.     padding: 1rem;
  68.     border: 0.5rem solid #4267b2;
  69.     border-radius: 2rem;
  70. }
  71.  
  72.  
  73. h1 {
  74.     font-size: 4rem;
  75.     padding: 2rem;
  76. }
  77.  
  78. h2 {
  79.     padding: 1rem;
  80. }
  81.  
  82. h3 {
  83.     padding-bottom: 1rem;
  84. }
  85.  
  86. .toggle-background {
  87.     display: block;
  88.     margin: 2rem auto;
  89.     padding: 1rem;
  90.     font-size: 2rem;
  91.     color: #fff;
  92.     background: #4267b2;
  93.     border: none;
  94.     border-radius: 1rem;
  95.     outline: none;
  96. }
  97.  
  98. .toggle-background:focus {
  99.     box-shadow: 0 0 0 0.2rem #BC243C;
  100. }
  101.  
  102. .toggle-background:hover {
  103.     background: #29487d;
  104.     cursor: pointer;
  105. }
  106.  
  107. #description > div {
  108.     margin-top: 2rem;
  109. }
  110.  
  111. .underline-container {
  112.     display: none;
  113. }
  114.  
  115. .underline {
  116.     width: 15rem;
  117.     height: 1rem;
  118.     margin: 2rem auto 0 auto;
  119.     background: #4267b2;
  120.     border-radius: 5rem;
  121. }
  122.  
  123. footer {
  124.     margin-top: 4rem;
  125.     padding: 1rem;
  126.     text-align: center;
  127.     color: #fff;
  128. }
  129.  
  130.  
  131. @media screen and (min-width: 768px) {
  132.     li a {
  133.         padding: 2rem 5rem;
  134.     }
  135.     #description > div {
  136.         width:30%;
  137.     }
  138.  
  139.     p + .underline {
  140.         display:none;
  141.     }
  142. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement