In this repo i store all my websites, each in a different branch
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

140 lines
2.5 KiB

  1. /* Needed for the lightbox */
  2. html, body {
  3. height:100%; width:100%;
  4. }
  5. /* Element wrapper */
  6. .sp-wrap {
  7. display:none;
  8. line-height:0;
  9. font-size:0;
  10. position:relative;
  11. /**************
  12. Set max-width to your thumbnail width
  13. ***************/
  14. max-width: 100%;
  15. }
  16. /* Thumbnails */
  17. .sp-thumbs {
  18. margin-top:15px;
  19. text-align: center;
  20. width: 100%;
  21. display:inline-block;
  22. }
  23. .sp-thumbs img {
  24. width:70px;
  25. /*height:50px;*/
  26. }
  27. .sp-thumbs a:link, .sp-thumbs a:visited {
  28. opacity:.4;
  29. display:inline-block;
  30. margin:0 5px;
  31. -webkit-transition: all .2s ease-out;
  32. -moz-transition: all .2s ease-out;
  33. -ms-transition: all .2s ease-out;
  34. -o-transition: all .2s ease-out;
  35. transition: all .2s ease-out;
  36. }
  37. .sp-thumbs a:hover{
  38. opacity:1;
  39. }
  40. .sp-thumbs a:active, .sp-current {
  41. opacity:1!important;
  42. position: relative;
  43. }
  44. .sp-current:after {
  45. /*content:'';
  46. border:6px solid transparent;
  47. border-top:6px solid #F0353A;
  48. position: absolute;
  49. left:50%;
  50. top:0;
  51. margin-left:-6px;*/
  52. }
  53. /* Unzoomed, big thumbnail */
  54. .sp-large {
  55. position:relative;
  56. overflow:hidden;
  57. top:0;
  58. left:0;
  59. }
  60. .sp-large a img {
  61. max-width:100%;
  62. height:auto;
  63. cursor: -webkit-zoom-in;
  64. cursor: -moz-zoom-in;
  65. }
  66. .sp-large a {
  67. display:block;
  68. }
  69. /* Panning Zoomed Image */
  70. .sp-zoom {
  71. position:absolute;
  72. left:0;
  73. top:0;
  74. cursor:crosshair;
  75. display:none;
  76. }
  77. /* Button to go full size */
  78. .sp-full-screen {
  79. position: absolute;
  80. z-index: 1;
  81. display: block;
  82. right: 0;
  83. top: 0;
  84. line-height: 1em;
  85. }
  86. .sp-full-screen a:link,
  87. .sp-full-screen a {
  88. background: #f7f7f7;
  89. color: #323232;
  90. padding:8px 10px;
  91. text-decoration: none;
  92. text-align: center;
  93. display: block;
  94. outline:none;
  95. text-transform:uppercase;
  96. font-size:12px;
  97. letter-spacing:2px;
  98. }
  99. .sp-full-screen a i {
  100. margin-right:5px;
  101. }
  102. /* Lightbox */
  103. .sp-lightbox {
  104. position: fixed;
  105. top:0;
  106. left:0;
  107. height: 100%;
  108. width:100%;
  109. background:rgb(0,0,0);
  110. background:rgba(0,0,0,.8);
  111. z-index: 999;
  112. display: none;
  113. }
  114. .sp-lightbox img {
  115. position: absolute;
  116. margin: auto;
  117. top: 0;
  118. bottom: 0;
  119. left: 0;
  120. right: 0;
  121. max-width: 100%;
  122. max-height: 100%;
  123. }
  124. /* Remove margin in mobile view */
  125. @media screen and (max-width: 400px) {
  126. .sp-wrap {
  127. margin:0 0 15px 0;
  128. }
  129. }