Advertisement
piffy

CSS Esercizio Debug (.css)

Sep 22nd, 2022
965
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.82 KB | None | 0 0
  1. .top-bar, #search-box, .nav-list li, .nav-list a {
  2.     background-color: #002D45;
  3.     font-family: Proxima Nova,helvetica neue,helvetica,sans-serif;
  4.     font-weight: bold;
  5.     font-size: 110%;
  6.     color: #ffffff;
  7. }
  8.  
  9. .top-bar {
  10.     color: #FFFFFF;
  11.     height: 40px;
  12.     margin: 0px;
  13.     padding: 1px;
  14.     display: flex;
  15.     align-items: center;
  16. }
  17.  
  18. .nav-list {
  19.     list-style-type: none;
  20.     padding: 0;
  21.         display: inline;
  22. }
  23.  
  24. .nav-list li {
  25.         float: "left";
  26. }
  27.  
  28. .nav-list a {
  29.     display: inline;
  30.     padding: 8px;
  31.         text-decoration: none;
  32. }
  33.  
  34. #search-box {
  35.     margin-left: auto;
  36.     margin-right: 0;
  37.     padding: 10px;
  38.  }
  39.  
  40. #search-controls {
  41.     background-color: #ffffff;
  42.     padding: 15px 15px;
  43.     font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
  44.     font-size: 70%;
  45.     display: flex;
  46.     align-items: center;
  47. }
  48.  
  49.  
  50. #filter-parts {
  51.     float: right;
  52.     margin-left: auto;
  53.     margin-right: 0;
  54.     padding-right: 5px;
  55.  }
  56.  
  57. .catalog-part {
  58.   margin: 2px;
  59.   padding: 0px 5px;
  60.   float: left;
  61.   border-style: solid;
  62.   border-color: #808285;
  63.   border-width: 1px;
  64.   width: 150px;
  65.   height: 200px;
  66.   line-height: 200px;
  67.     display: table-cell;
  68.   position: relative;
  69. }
  70.  
  71. .catalog-part img {
  72.   height: auto;
  73.     vertical-align: middle;
  74.   width: 100%;
  75. }
  76.  
  77. .overlay {
  78.   position: absolute;
  79.   top: 0;
  80.   bottom: 0;
  81.   left: 0;
  82.   right: 0;
  83.   height: 100%;
  84.   width: 100%;
  85.   opacity: 0;
  86.   transition: 0.5s ease;
  87.   background-color: #f4f4f4;
  88.     display: inline-table;
  89. }
  90.  
  91. .catalog-part:hover .overlay {
  92.   opacity: 0.75;
  93. }
  94.  
  95. p {
  96.     font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
  97.   line-height: 1;
  98.     overflow: scroll;
  99. }
  100.  
  101. .catalog-part p {
  102.     vertical-align: middle;
  103.     text-align: center;
  104.   color: black;
  105.     display: table-cell;
  106.     font-size: 80%;
  107.     font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
  108. }
  109.  
  110.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement