perksofthesewalls

Sidebar Slideshow

Mar 1st, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.82 KB | None | 0 0
  1. Sidebar:
  2.  
  3. 1. [](https://www.reddit.com/r/warriors/#1)
  4. 2. [](https://www.reddit.com/r/warriors/#2)
  5. 3. [](https://www.reddit.com/r/warriors/#3)
  6. 4. [](https://www.reddit.com/r/warriors/#4)
  7.  
  8.  
  9. Stylesheet:
  10.  
  11. /* ----------Slideshow Sidebar---------- */
  12. .side .usertext-body .md > ol:last-of-type li:nth-of-type(1) a:after{
  13. content:"Image 1 Text"
  14. }
  15. .side .usertext-body .md > ol:last-of-type li:nth-of-type(2) a:after{
  16. content:"Image 2 Text"
  17. }
  18. .side .usertext-body .md > ol:last-of-type li:nth-of-type(3) a:after{
  19. content:"Image 3 Text"
  20. }
  21. .side .usertext-body .md > ol:last-of-type li:nth-of-type(4) a:after{
  22. content:"Image 4 Text"
  23. }
  24.  
  25.  
  26.  
  27. .submit-page .side .usertext-body .md > ol:last-of-type li a {
  28. top: 338px;
  29. }
  30.  
  31. .side .usertext-body .md > ol:last-of-type li a:after{
  32. position:absolute;
  33. bottom:0;
  34. left: 0px;
  35. line-height: 1;
  36. background: -moz-linear-gradient(top,rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%);
  37. background: -webkit-linear-gradient(top,rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%);
  38. background: -o-linear-gradient(top,rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%);
  39. background: -ms-linear-gradient(top,rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%);
  40. background: linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%);
  41. font-size: 12px;
  42. font-weight: bold;
  43. font-family: Arial, sans-serif;
  44. width: 96.5%;
  45. color:#fff;
  46. padding: 5px;
  47. border-radius: 0px 0px 5px 5px;
  48. text-align:center;
  49. }
  50. .side .usertext-body .md > ol:last-of-type li a {
  51. display: block;
  52. width: 300px;
  53. height: 376px;
  54. position: absolute;
  55. top: 388px;
  56. right: 46px;
  57. border-radius: 5px;
  58. }
  59.  
  60. @keyframes fadeInOut1 {
  61. 0%{opacity:1} 20%{opacity:1} 25%{opacity:0;z-index:1} 26%{z-index:0} 93%{z-index:0} 94%{opacity:0;z-index:1} 100%{opacity:1}
  62. }
  63. @-webkit-keyframes fadeInOut1 {
  64. 0%{opacity:1} 20%{opacity:1} 25%{opacity:0;z-index:1} 26%{z-index:0} 93%{z-index:0} 94%{opacity:0;z-index:1} 100%{opacity:1}
  65. }
  66. @-moz-keyframes fadeInOut1 {
  67. 0%{opacity:1} 20%{opacity:1} 25%{opacity:0;z-index:1} 26%{z-index:0} 93%{z-index:0} 94%{opacity:0;z-index:1} 100%{opacity:1}
  68. }
  69. @-o-keyframes fadeInOut1 {
  70. 0%{opacity:1} 20%{opacity:1} 25%{opacity:0;z-index:1} 26%{z-index:0} 93%{z-index:0} 94%{opacity:0;z-index:1} 100%{opacity:1}
  71. }
  72. @keyframes fadeInOut2 {
  73. 18%{z-index:0} 19%{opacity:0;z-index:1} 25%{opacity:1} 45%{opacity:1} 50%{opacity:0;z-index:1} 51%{z-index:0}
  74. }
  75. @-webkit-keyframes fadeInOut2 {
  76. 18%{z-index:0} 19%{opacity:0;z-index:1} 25%{opacity:1} 45%{opacity:1} 50%{opacity:0;z-index:1} 51%{z-index:0}
  77. }
  78. @-moz-keyframes fadeInOut2 {
  79. 18%{z-index:0} 19%{opacity:0;z-index:1} 25%{opacity:1} 45%{opacity:1} 50%{opacity:0;z-index:1} 51%{z-index:0}
  80. }
  81. @-o-keyframes fadeInOut2 {
  82. 18%{z-index:0} 19%{opacity:0;z-index:1} 25%{opacity:1} 45%{opacity:1} 50%{opacity:0;z-index:1} 51%{z-index:0}
  83. }
  84. @keyframes fadeInOut3 {
  85. 43%{z-index:0} 44%{opacity:0;z-index:1} 50%{opacity:1} 70%{opacity:1} 75%{opacity:0;z-index:1} 76%{z-index:0}
  86. }
  87. @-webkit-keyframes fadeInOut3 {
  88. 43%{z-index:0} 44%{opacity:0;z-index:1} 50%{opacity:1} 70%{opacity:1} 75%{opacity:0;z-index:1} 76%{z-index:0}
  89. }
  90. @-moz-keyframes fadeInOut3 {
  91. 43%{z-index:0} 44%{opacity:0;z-index:1} 50%{opacity:1} 70%{opacity:1} 75%{opacity:0;z-index:1} 76%{z-index:0}
  92. }
  93. @-o-keyframes fadeInOut3 {
  94. 43%{z-index:0} 44%{opacity:0;z-index:1} 50%{opacity:1} 70%{opacity:1} 75%{opacity:0;z-index:1} 76%{z-index:0}
  95. }
  96. @keyframes fadeInOut4 {
  97. 0%{opacity:0;z-index:1} 1%{z-index:0} 68%{z-index:0} 69%{opacity:0;z-index:1} 75%{opacity:1} 95%{opacity:1} 100%{opacity:0;z-index:1}
  98. }
  99. @-webkit-keyframes fadeInOut4 {
  100. 0%{opacity:0;z-index:1} 1%{z-index:0} 68%{z-index:0} 69%{opacity:0;z-index:1} 75%{opacity:1} 95%{opacity:1} 100%{opacity:0;z-index:1}
  101. }
  102. @-moz-keyframes fadeInOut4 {
  103. 0%{opacity:0;z-index:1} 1%{z-index:0} 68%{z-index:0} 69%{opacity:0;z-index:1} 75%{opacity:1} 95%{opacity:1} 100%{opacity:0;z-index:1}
  104. }
  105. @-o-keyframes fadeInOut4 {
  106. 0%{opacity:0;z-index:1} 1%{z-index:0} 68%{z-index:0} 69%{opacity:0;z-index:1} 75%{opacity:1} 95%{opacity:1} 100%{opacity:0;z-index:1}
  107. }
  108.  
  109. .side .usertext-body .md > ol:last-of-type a {
  110. background:url(%%Image1%%);
  111. opacity: 0;
  112. z-index: 0;
  113. -webkit-animation: fadeInOut1 36s linear infinite;
  114. animation: fadeInOut1 36s linear infinite;
  115. }
  116.  
  117. .side .usertext-body .md > ol:last-of-type li:nth-of-type(2) a{
  118. animation-name: fadeInOut2;
  119. -webkit-animation-name: fadeInOut2;
  120. background:url(%%Image2%%);
  121. }
  122. .side .usertext-body .md > ol:last-of-type li:nth-of-type(3) a{
  123. animation-name: fadeInOut3;
  124. -webkit-animation-name: fadeInOut3;
  125. background:url(%%Image3%%);
  126. }
  127. .side .usertext-body .md > ol:last-of-type li:nth-of-type(4) a{
  128. animation-name: fadeInOut4;
  129. -webkit-animation-name: fadeInOut4;
  130. background:url(%%Image4%%);
  131. }
Add Comment
Please, Sign In to add comment