Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

CRP2

By: utnalove on Aug 23rd, 2012  |  syntax: CSS  |  size: 0.89 KB  |  hits: 39  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #crp_related ul {
  2.   list-style: none;
  3.   float: left;
  4.   margin: 0;
  5. }
  6. #crp_related li, #crp_related a {
  7.   float: left;
  8.   overflow: hidden;
  9.   position: relative;
  10.   text-align: center;
  11. }
  12. #crp_related li {
  13.   margin: .7em;
  14.   border: 1px solid #ddd;
  15.   padding: 6px;
  16. }
  17. #crp_related li:hover {
  18.   background: #eee;
  19.   border-color: #bbb;
  20. }
  21. #crp_related a {
  22.   height: 150px;
  23. }
  24. #crp_related a:hover {
  25.   text-decoration: none;
  26. }
  27. #crp_related img {
  28.   max-width: 150px;
  29.   margin: auto;
  30. }
  31. #crp_related .crp_title {
  32.   position: absolute;
  33.   height: inherit;
  34.   bottom: 6px;
  35.   left: 6px;
  36.   padding: 3px;
  37.   width: 144px;  /* = 150px - (3px * 2) */
  38.   color: #fff;
  39.   font-size: .9em;
  40.   text-shadow: #000 .1em .1em .2em;
  41.   background: rgb(0.5, 0.5, 0.5);
  42.   background: rgba(0, 0, 0, 0.5);
  43. }
  44. #crp_related li:hover .crp_title {
  45.   background: rgb(0.2, 0.2, 0.2);
  46.   background: rgba(0, 0, 0, 0.8);
  47. }