A tumblelog CMS built on AJAX, PHP and MySQL.

lightbox.css 1.7KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. #lightbox{
  2. position: absolute;
  3. left: 0;
  4. width: 100%;
  5. z-index: 100;
  6. text-align: center;
  7. line-height: 0;
  8. }
  9. #lightbox a img{ border: none; }
  10. #outerImageContainer{
  11. position: relative;
  12. background-color: #fff;
  13. width: 250px;
  14. height: 250px;
  15. margin: 0 auto;
  16. }
  17. #imageContainer{
  18. padding: 10px;
  19. }
  20. #loading{
  21. position: absolute;
  22. top: 40%;
  23. left: 0%;
  24. height: 25%;
  25. width: 100%;
  26. text-align: center;
  27. line-height: 0;
  28. }
  29. #hoverNav{
  30. position: absolute;
  31. top: 0;
  32. left: 0;
  33. height: 100%;
  34. width: 100%;
  35. z-index: 10;
  36. }
  37. #imageContainer>#hoverNav{ left: 0;}
  38. #hoverNav a{ outline: none;}
  39. #prevLink, #nextLink{
  40. width: 49%;
  41. height: 100%;
  42. background: transparent url(../images/blank.gif) no-repeat; /* Trick IE into showing hover */
  43. display: block;
  44. }
  45. #prevLink { left: 0; float: left;}
  46. #nextLink { right: 0; float: right;}
  47. #prevLink:hover, #prevLink:visited:hover { background: url(../images/prevlabel.gif) left 15% no-repeat; }
  48. #nextLink:hover, #nextLink:visited:hover { background: url(../images/nextlabel.gif) right 15% no-repeat; }
  49. #imageDataContainer{
  50. font: 10px Verdana, Helvetica, sans-serif;
  51. background-color: #fff;
  52. margin: 0 auto;
  53. line-height: 1.4em;
  54. overflow: auto;
  55. width: 100%
  56. }
  57. #imageData{ padding:0 10px; color: #666; }
  58. #imageData #imageDetails{ width: 70%; float: left; text-align: left; }
  59. #imageData #caption{ font-weight: bold; }
  60. #imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em; }
  61. #imageData #bottomNavClose{ width: 66px; float: right; margin: 1.0em;}
  62. #overlay{
  63. position: absolute;
  64. top: 0;
  65. left: 0;
  66. z-index: 90;
  67. width: 100%;
  68. height: 500px;
  69. background-color: #000;
  70. }
  71. /* * * * * V 0.3 * * * * * /
  72. /* html,body thanks to Torben - http://blog.schreiter.info/ */
  73. html, body {
  74. height:100%;
  75. min-height:100%;
  76. }