makispaiktis

Codecademy - 3rd Course (Tables) - CSS

Aug 13th, 2019 (edited)
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.29 KB | None | 0 0
  1. body {
  2.   background: #EEE;
  3.   margin: 0;
  4.   padding: 0;
  5. }
  6.  
  7. /* Navigation */
  8.  
  9. .navigation {
  10.   box-sizing: border-box;
  11.   background-color: #3587A4;
  12.   overflow: auto;
  13.   padding: 18px 50px;
  14.   position: relative;
  15.   top: 0;
  16.   width: 100%;
  17.   z-index: 999;
  18. }
  19.  
  20. ul {
  21.   padding: 0;
  22.   margin: 0;
  23. }
  24.  
  25. li {
  26.   color: #FFF;
  27.   display: inline-block;
  28.   font-family: 'Oxygen', sans-serif;
  29.   font-size: 16px;
  30.   font-weight: 300;
  31.   letter-spacing: 2px;
  32.   margin: 0;
  33.   padding: 20px 18px 10px 18px;
  34.   text-transform: uppercase;
  35. }
  36.  
  37. .active {
  38.   color: #88CCF1;
  39. }
  40.  
  41. /* Table */
  42.  
  43. table {
  44.   height: 40%;
  45.   left: 10%;
  46.   margin: 20px auto;
  47.   overflow-y: scroll;
  48.   position: static;
  49.   width: 80%;
  50. }
  51.  
  52. thead th {
  53.   background: #88CCF1;
  54.   color: #FFF;
  55.   font-family: 'Lato', sans-serif;
  56.   font-size: 16px;
  57.   font-weight: 100;
  58.   letter-spacing: 2px;
  59.   text-transform: uppercase;
  60. }
  61.  
  62. tr {
  63.   background: #f4f7f8;
  64.   border-bottom: 1px solid #FFF;
  65.   margin-bottom: 5px;
  66. }
  67.  
  68. th, td {
  69.   font-family: 'Lato', sans-serif;
  70.   font-size: 18px;
  71.   font-weight: 400;
  72.   padding: 20px;
  73.   text-align: left;
  74.   width: 33.3333%;
  75. }
  76.  
  77. .search {
  78.   background-color: #FFF;
  79.   border: 1px solid #DDD;
  80.   border-radius: 3px;
  81.   color: #AAA;
  82.   padding: 20px;
  83.   margin: 50px auto 0px auto;
  84.   width: 77%;
  85. }
Add Comment
Please, Sign In to add comment