Advertisement
Guest User

Untitled

a guest
Jan 24th, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.18 KB | None | 0 0
  1. span.twitch-status-tag {
  2. display: inline-block;
  3. text-decoration: none;
  4. }
  5.  
  6. iframe.twitch-player {
  7. width: 100%;
  8. }
  9.  
  10. iframe.twitch-chat {
  11. width: 100%;
  12. min-height: 480px;
  13. }
  14.  
  15. .twitch-player-container:after {
  16. clear: both;
  17. display: block;
  18. content: ' ';
  19. }
  20.  
  21. .twitch-player-container .twitch-player-col,
  22. .twitch-player-container .twitch-chat-col {
  23. width: 100%;
  24. float: none;
  25. margin-left: 0;
  26. }
  27.  
  28. .twitch-player-container.with-chat .twitch-player-col {
  29. width: 66%;
  30. float: left;
  31. }
  32.  
  33. .twitch-player-container.with-chat .twitch-chat-col {
  34. width: 33%;
  35. float: left;
  36. margin-left: 1%;
  37. }
  38.  
  39. .twitch-player-container.with-chat.narrow-player .twitch-player-col,
  40. .twitch-player-container.with-chat.narrow-player .twitch-chat-col {
  41. width: 100%;
  42. float: none;
  43. margin-left: 0;
  44. }
  45.  
  46. .twitch-player-container.with-chat.narrow-player .twitch-chat-col {
  47. margin-left: 0;
  48. margin-top: .5em;
  49. }
  50.  
  51. .twitch-thumbnail-image, .twitch-offline-image {
  52. overflow: hidden;
  53. }
  54.  
  55. .twitch-thumbnail-image img, .twitch-offline-image img {
  56. width: 100%;
  57. }
  58.  
  59. .twitch-viewers, .twitch-followers {
  60. float: right;
  61. margin-left: .5em;
  62. }
  63.  
  64. .twitch-offline-caption, .twitch-play-button {
  65. position: relative;
  66. text-align: center;
  67. color: #F44336;
  68. text-shadow: 2px 2px 2px rgba(0, 0, 0, 1);
  69. font-size: 3em;
  70. }
  71.  
  72. .twitch-offline-caption {
  73. font-weight: bold;
  74. font-size: 2em;
  75. background-color: rgba(0, 0, 0, 0.5);
  76. }
  77.  
  78. .twitch-play-button {
  79. cursor: pointer;
  80. }
  81.  
  82. .twitch-channel-topic {
  83. font-weight: bold;
  84. }
  85.  
  86. .twitch-game {
  87. font-style: italic;
  88. font-size: 0.9em;
  89. }
  90.  
  91. .twitch-game a {
  92. font-style: normal;
  93. text-decoration: underline;
  94. }
  95.  
  96. body .twitch-preview-offline a,
  97. body .twitch-preview-offline a:hover {
  98. text-decoration: none;
  99. }
  100.  
  101. .twitch-online:before, .twitch-offline:before, .twitch-play-button:before, .twitch-viewers:before, .twitch-followers:before {
  102. font-family: "fontello";
  103. font-style: normal;
  104. font-weight: normal;
  105. speak: none;
  106.  
  107. display: inline-block;
  108. text-decoration: inherit;
  109. width: 1em;
  110. margin-right: .2em;
  111. text-align: center;
  112. /* opacity: .8; */
  113.  
  114. /* For safety - reset parent styles, that can break glyph codes*/
  115. font-variant: normal;
  116. text-transform: none;
  117.  
  118. /* fix buttons height, for twitter bootstrap */
  119. line-height: 1em;
  120.  
  121. /* Animation center compensation - margins should be symmetric */
  122. /* remove if not needed */
  123. margin-left: .2em;
  124.  
  125. /* you can be more comfortable with increased icons size */
  126. /* font-size: 120%; */
  127.  
  128. /* Uncomment for 3D effect */
  129. /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
  130. }
  131.  
  132. .twitch-online:before {
  133. content: '\e800';
  134. color: red;
  135.  
  136. -webkit-animation-name: twitch-blinker;
  137. -webkit-animation-duration: 1s;
  138. -webkit-animation-timing-function: linear;
  139. -webkit-animation-iteration-count: infinite;
  140.  
  141. -moz-animation-name: twitch-blinker;
  142. -moz-animation-duration: 1s;
  143. -moz-animation-timing-function: linear;
  144. -moz-animation-iteration-count: infinite;
  145.  
  146. animation-name: twitch-blinker;
  147. animation-duration: 1s;
  148. animation-timing-function: linear;
  149. animation-iteration-count: infinite;
  150. }
  151.  
  152. .twitch-offline:before {
  153. content: '\e806';
  154. color: #F44336
  155. }
  156.  
  157. .twitch-play-button:before {
  158. content: '\e803';
  159. color: #F44336;
  160. }
  161. .twitch-play-button:hover:before {
  162. content: '\e803';
  163. color: #FFF;
  164. }
  165.  
  166. .twitch-viewers:before {
  167. content: '\e807';
  168. }
  169.  
  170. .twitch-followers:before {
  171. content: '\e801';
  172. }
  173.  
  174. .twitch-online {
  175. font-weight: bold;
  176. color: #FFF;
  177. background-color: #000;
  178. margin-left: .5em;
  179. line-height: 1em;
  180. padding: 4px;
  181.  
  182. border: 1px solid #9C27B0;
  183. -webkit-border-radius: 3px;
  184. -moz-border-radius: 3px;
  185. border-radius: 3px;
  186. }
  187.  
  188. .twitch-offline {
  189. font-weight: normal;
  190. margin-left: .5em;
  191. line-height: 1em;
  192. color: #9C27B0;
  193. }
  194.  
  195. .twitch-is-online {display:none}
  196. .twitch-is-offline {display:none}
  197. .twitch-is-loading {}
  198.  
  199. @-moz-keyframes twitch-blinker {
  200. 0% { opacity: 1.0; }
  201. 50% { opacity: 0.0; }
  202. 100% { opacity: 1.0; }
  203. }
  204.  
  205. @-webkit-keyframes twitch-blinker {
  206. 0% { opacity: 1.0; }
  207. 50% { opacity: 0.0; }
  208. 100% { opacity: 1.0; }
  209. }
  210.  
  211. @keyframes twitch-blinker {
  212. 0% { opacity: 1.0; }
  213. 50% { opacity: 0.0; }
  214. 100% { opacity: 1.0; }
  215. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement