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.

114 lines
2.4 KiB

  1. .bss-slides{
  2. position: relative;
  3. display: block;
  4. line-height: 0;/*removes the gap if you put a border on the slideshow div*/
  5. }
  6. figcaption {
  7. line-height: 1.5; /* restores line-height to the child element*/
  8. }
  9. .bss-slides figure{
  10. position: absolute;
  11. top: 0;
  12. width: 100%;
  13. }
  14. .bss-slides figure:first-child{
  15. position: relative;
  16. }
  17. .bss-slides figure img{
  18. opacity: 0;
  19. transition: opacity 1.2s;
  20. backface-visibility: hidden;
  21. }
  22. .bss-slides .bss-show{
  23. z-index: 2;
  24. }
  25. .bss-slides .bss-show img{
  26. opacity: 1;
  27. backface-visibility: hidden;
  28. position: relative;
  29. }
  30. .bss-slides figcaption{
  31. position: absolute;
  32. font-family: sans-serif;
  33. font-size: .8em;
  34. bottom: .75em;
  35. right: .35em;
  36. padding: .25em;
  37. color: #fff;
  38. background: #000;
  39. background: rgba(0,0,0, .25);
  40. border-radius: 2px;
  41. opacity: 0;
  42. transition: opacity 1.2s;
  43. }
  44. .bss-slides .bss-show figcaption{
  45. z-index: 3;
  46. opacity: 1;
  47. }
  48. .bss-slides figcaption a{
  49. color: #fff;
  50. }
  51. .bss-next, .bss-prev{
  52. color: #fff;
  53. position: absolute;
  54. background: #000;
  55. background: rgba(0,0,0, .6);
  56. top: 50%;
  57. z-index: 4;
  58. font-size: 2em;
  59. margin-top: -1.2em;
  60. opacity: .3;
  61. user-select: none;
  62. }
  63. .bss-next:hover, .bss-prev:hover{
  64. cursor: pointer;
  65. opacity: 1;
  66. }
  67. .bss-next{
  68. right: -1px;
  69. padding: 10px 5px 15px 10px;
  70. border-top-left-radius: 3px;
  71. border-bottom-left-radius: 3px;
  72. }
  73. .bss-prev{
  74. left: 0;
  75. padding: 10px 10px 15px 5px;
  76. border-top-right-radius: 3px;
  77. border-bottom-right-radius: 3px;
  78. }
  79. .bss-fullscreen{
  80. display: block;
  81. width: 32px;
  82. height: 32px;
  83. background: rgba(0,0,0,.4) url(../img/arrows-alt_ffffff_64.png);
  84. background-size: contain;
  85. position: absolute;
  86. top: 5px;
  87. left: 5px;
  88. cursor: pointer;
  89. opacity: .3;
  90. }
  91. .bss-fullscreen:hover{
  92. opacity: .8;
  93. }
  94. :-webkit-full-screen .bss-fullscreen{
  95. background: rgba(0,0,0,.4) url(../img/compress_ffffff_64.png);
  96. background-size: contain;
  97. }
  98. :-moz-full-screen .bss-fullscreen{
  99. background: rgba(0,0,0,.4) url(../img/compress_ffffff_64.png);
  100. background-size: contain;
  101. }
  102. :-ms-fullscreen .bss-fullscreen{
  103. background: rgba(0,0,0,.4) url(../img/compress_ffffff_64.png);
  104. background-size: contain;
  105. }
  106. :full-screen .bss-fullscreen{
  107. background: rgba(0,0,0,.4) url(../img/compress_ffffff_64.png);
  108. background-size: contain;
  109. }
  110. :fullscreen .bss-fullscreen{
  111. background: rgba(0,0,0,.4) url(../img/compress_ffffff_64.png);
  112. background-size: contain;
  113. }