home.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. div#scrollwrapper {
  2. padding: 15px 20px;
  3. border: 1px solid #ccc;
  4. border-width: 1px 0;
  5. float: left;
  6. margin: 10px 25px;
  7. position: relative; /* non-static for sg_left/right */
  8. }
  9. div#sg_left {
  10. position: absolute;
  11. top: -1px;
  12. left: 0;
  13. bottom: -1px;
  14. width: 3%;
  15. background: -moz-linear-gradient(left, rgba(255,255,255,1), rgba(255,255,255,0));
  16. background: -webkit-linear-gradient(left, rgba(255,255,255,1), rgba(255,255,255,0));
  17. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffffff00', GradientType=1);
  18. z-index: 1;
  19. }
  20. div#sg_right {
  21. position: absolute;
  22. top: -1px;
  23. right: 0;
  24. bottom: -1px;
  25. width: 11%;
  26. background: -moz-linear-gradient(right, rgba(255,255,255,1), rgba(255,255,255,0));
  27. background: -webkit-linear-gradient(right, rgba(255,255,255,1), rgba(255,255,255,0));
  28. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff00', endColorstr='#ffffffff', GradientType=1);
  29. z-index: 1;
  30. }
  31. .scrollable {
  32. height: 330px;
  33. overflow: hidden;
  34. position: relative;
  35. width: 800px;
  36. float: left;
  37. }
  38. .scrollable .items {
  39. clear: both;
  40. position: absolute;
  41. width: 20000em;
  42. }
  43. .items div {
  44. float: left;
  45. width: 740px;
  46. }
  47. .scrollable .items img {
  48. -moz-border-radius: 4px;
  49. -webkit-border-radius: 4px;
  50. border-radius: 4px;
  51. background-color: #fff;
  52. border: 1px solid #ccc;
  53. float: left;
  54. height: 300px;
  55. margin-right: 12px;
  56. }
  57. .scrollable .items img ~ p {
  58. margin-right: 50px;
  59. }
  60. .scrollable .active {
  61. border: 2px solid #000;
  62. cursor: default;
  63. position: relative;
  64. }
  65. a.browse {
  66. background: url(../img/scrollable.png) no-repeat;
  67. display: block;
  68. width: 30px;
  69. height: 30px;
  70. margin: 200px 10px;
  71. cursor: pointer;
  72. font-size: 1px;
  73. position: absolute;
  74. }
  75. a.right {
  76. background-position: 0 -30px;
  77. clear:right;
  78. margin-right: 0px;
  79. right:25px;
  80. }
  81. a.right:hover {
  82. background-position:-30px -30px;
  83. }
  84. a.right:active {
  85. background-position:-60px -30px;
  86. }
  87. a.left {
  88. margin-left: 0px;
  89. left:25px;
  90. }
  91. a.left:hover {
  92. background-position:-30px 0;
  93. }
  94. a.left:active {
  95. background-position:-60px 0;
  96. }
  97. a.disabled {
  98. visibility: hidden !important;
  99. }
  100. #signup {
  101. float: right;
  102. font-size: 200%;
  103. border: 1px solid #ccc;
  104. display: block;
  105. padding: 10px;
  106. -moz-border-radius: 3px;
  107. -webkit-border-radius: 3px;
  108. border-radius: 3px;
  109. line-height: 1;
  110. text-decoration: none;
  111. }