Advertisement
pan7nikt

index.css

Sep 13th, 2022
818
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.12 KB | None | 0 0
  1. #container
  2. {
  3.     text-align: center;
  4.     clear: both;
  5.     height: 2160px;
  6.     width: 960px;
  7.     border-radius: 5px;
  8.     border-style: solid;
  9.     border-color: black;
  10.     border-width: 2px;
  11.     background-color: red;
  12. }
  13.  
  14. #banner
  15. {
  16.     height: 12%;
  17.     width: 100%;
  18.     float: left;
  19.     background-color: blue;
  20. }
  21.  
  22. #navbar
  23. {
  24.     height: 2%;
  25.     width: 100%;
  26.     float: left;
  27.     background-color: #355e70;
  28. }
  29.  
  30. #content
  31. {
  32.     font-size: 0px;
  33.     height: 83%;
  34.     width: 100%;
  35.     float: left;
  36.     background-color: purple;
  37. }
  38.  
  39. #highlights
  40. {
  41.     margin-left: 20px;
  42.     margin-top: 10px;
  43.     height: calc(15% - 10px);
  44.     width: 60%;
  45.     background-color: #d2e3ea;
  46.     display: inline-block;
  47.     vertical-align: top;
  48. }
  49.  
  50. #contactinfo
  51. {
  52.     margin-top: 10px;
  53.     margin-left: 25px;
  54.     height: calc(15% - 10px);
  55.     width: 33%;
  56.     background-color: #d2e3ea;
  57.     vertical-align: top;
  58.     display: inline-block;
  59.     margin-right: 20px;
  60. }
  61.  
  62. #welcome
  63. {
  64.     margin-left: 20px;
  65.     margin-top: 10px;
  66.     height: calc(40% - 10px);
  67.     width: 60%;
  68.     background-color: #d2e3ea;
  69.     color: black;
  70.     font-size: 10px;
  71. }
  72.  
  73. #who
  74. {
  75.     margin-left: 20px;
  76.     margin-top: 10px;
  77.     height: calc(30% - 10px);
  78.     width: 60%;
  79.     background-color: #d2e3ea;
  80.     font-size: 10px;
  81.     color: black;
  82.     text-align: center;
  83. }
  84.  
  85. #newsletter
  86. {
  87.     margin-left: 20px;
  88.     margin-top: 10px;
  89.     margin-bottom: 10px;
  90.     height: calc(15% - 20px);
  91.     width: 60%;
  92.     background-color: #d2e3ea;
  93. }
  94.  
  95. #stopka
  96. {
  97.     height: 3%;
  98.     width: 100%;
  99.     float: left;
  100.     background-color: blue;
  101. }
  102.  
  103. .topbar
  104. {
  105.     color: #285c79;
  106.     width: 100%;
  107.     height: 40px;
  108.     float: left;
  109.     background-color: #82bede;
  110. }
  111.  
  112. .arrowbutton
  113. {
  114.     margin-top: 2%;
  115.     margin-bottom: auto;
  116.     margin-left: 16px;
  117.     float: left;
  118. }
  119.  
  120. p
  121. {
  122.     margin-top: 2%;
  123.     margin-left: 16px;
  124.     text-align: left;
  125.     font-size: 10px;
  126. }
  127.  
  128. #welcome p
  129. {
  130.     float: left;
  131. }
  132.  
  133. #worldmap
  134. {
  135.     margin-top: 10px;
  136.     width: 80%;
  137.     height: 60%;
  138. }
  139.  
  140. .topbutton
  141. {
  142.     border: none;
  143.     background-color: #98c0cf;
  144.     margin-left: 7px;
  145.     position: relative;
  146.     top: 50%;
  147.     transform: translateY(-50%);
  148.     float: left;
  149.     width: 100px;
  150.     height: 25px;
  151. }
  152.  
  153. .readmorebtn
  154. {
  155.     border: none;
  156.     background-color: #98c0cf;
  157.     position: relative;
  158.     right: 47%;
  159.     transform: translateX(+50%);
  160.     width: 100px;
  161.     height: 25px;
  162. }
  163.  
  164. .welcomebtn
  165. {
  166.     margin-top: 50px;
  167.     border: none;
  168.     background-color: #98c0cf;
  169.     margin-left: calc(25%/7);
  170.     margin-right: calc(25%/7);
  171.     width: 25%;
  172.     height: 35px;
  173. }
  174.  
  175. .welcomeimg
  176. {
  177.     margin-top: 20px;
  178.     margin-left: calc((100%-96px)/8);
  179.     margin-right: calc((100%-96px)/8);
  180. }
  181.  
  182. .welcomep
  183. {
  184.     margin-top: 20px;
  185.     margin-left: calc(25%/6);
  186.     margin-right: calc(25%/6);
  187.     width: 25%;
  188.     font-size: 12px;
  189. }
  190.  
  191. h1
  192. {
  193.     color: #0a4972;
  194. }
  195.  
  196. h2
  197. {
  198.     color: #0a4972;
  199. }
  200.  
  201. h3
  202. {
  203.     color: #7db3cd;
  204. }
  205.  
  206. #who .contentHeader
  207. {
  208.     margin-top: 25px;
  209.     color: #0a4972;
  210.     font-size: 20px;
  211.     text-align: center;
  212. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement