Advertisement
isabelleromhagen

Stylesheet

Sep 18th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.43 KB | None | 0 0
  1. body {
  2.  
  3. background-color: rgb(0, 0, 0);
  4. }
  5.  
  6.  
  7. h1 {
  8.  
  9. text-align: center;
  10. color: white;
  11. margin: 15px;
  12. padding: 45px;
  13. font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  14.  
  15. }
  16.  
  17.  
  18. header {
  19.  
  20. background-color: rgb(0, 0, 0);
  21. margin: 40px;
  22. }
  23.  
  24.  
  25. hr {
  26. display: block;
  27. height: 1px;
  28. border: 0;
  29. border-top: 1 px solid rgb(0, 0, 0);
  30. margin: 1em 0;
  31. padding: 0;
  32.  
  33. }
  34.  
  35. nav {
  36. font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  37. padding: 10px;
  38. align-content: space-around;
  39. margin: 20px
  40.  
  41. }
  42.  
  43. ul {
  44. list-style-type: none; /* removes the bullets */
  45. margin: 0; /* removes the browser default*/
  46. padding: 60; /* removes the browser default*/
  47. border: solid; color: white;
  48. text-align: center;
  49.  
  50.  
  51. }
  52.  
  53. a {
  54. padding-bottom: 20px;
  55. margin: 40px;
  56. color: white;
  57.  
  58. }
  59.  
  60. .button {
  61.  
  62. padding: 5px;
  63. background-color: rgb(48, 161, 37);
  64. border: none;
  65. border-radius: 5px;
  66. color: white;
  67. display: inline-block;
  68. font-size: 16px;
  69. text-emphasis-color: black;
  70. text-emphasis: none;
  71. align-self: center;
  72.  
  73. }
  74.  
  75.  
  76.  
  77. .button:hover {background-color: #2b8bb8;}
  78.  
  79.  
  80.  
  81.  
  82. li {
  83. display: inline;
  84. border: 1px; color: black;
  85. margin: 30;
  86.  
  87. }
  88.  
  89. img {
  90.  
  91. display: block;
  92. margin-left: auto;
  93. margin-right: auto;
  94. width: 40%;
  95. border-radius: 8%;
  96.  
  97. }
  98.  
  99. section {
  100.  
  101. background-color: rgb(0, 0, 0);
  102. }
  103.  
  104. article {
  105.  
  106. text-align: center;
  107. font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  108. border: solid; color: white;
  109. padding: 15px;
  110. margin: 20px;
  111. }
  112.  
  113.  
  114. footer {
  115. position: fixed;
  116. bottom: 0;
  117. width: 100%;
  118. text-align: center;
  119. background-color: black;
  120. color: white;
  121. }
  122.  
  123. table {
  124.  
  125. width: 50%;
  126. margin-left: auto;
  127. margin-right: auto;
  128. }
  129.  
  130.  
  131. .switch {
  132. align-self: flex-end;
  133. margin: 0.9375rem;
  134. color: white;
  135.  
  136.  
  137. }
  138. .inner-switch {
  139. display: inline-block;
  140. cursor: pointer;
  141. border: 1px solid #555;
  142. border-radius: 1.25rem;
  143. width: 3.125rem;
  144. text-align: center;
  145. font-size: 1rem;
  146. padding: 0.1875rem;
  147. margin-left: 0.3125rem;
  148. color: white;
  149. background-color: rgb(48, 161, 37);
  150.  
  151. }
  152.  
  153. .light,
  154.  
  155. .light * {
  156. background-color: bisque;
  157. color: rgb(0, 0, 0);
  158. border-color: rgb(0, 0, 0);
  159. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement