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.

276 lines
3.9 KiB

  1. /*!
  2. * # Semantic UI 2.0.0 - Ad
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2013 Contributors
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Advertisement
  13. *******************************/
  14. .ui.ad {
  15. display: block;
  16. overflow: hidden;
  17. margin: 1em 0em;
  18. }
  19. .ui.ad:first-child {
  20. margin: 0em;
  21. }
  22. .ui.ad:last-child {
  23. margin: 0em;
  24. }
  25. .ui.ad iframe {
  26. margin: 0em;
  27. padding: 0em;
  28. border: none;
  29. overflow: hidden;
  30. }
  31. /*--------------
  32. Common
  33. ---------------*/
  34. /* Leaderboard */
  35. .ui.leaderboard.ad {
  36. width: 728px;
  37. height: 90px;
  38. }
  39. /* Medium Rectangle */
  40. .ui[class*="medium rectangle"].ad {
  41. width: 300px;
  42. height: 250px;
  43. }
  44. /* Large Rectangle */
  45. .ui[class*="large rectangle"].ad {
  46. width: 336px;
  47. height: 280px;
  48. }
  49. /* Half Page */
  50. .ui[class*="half page"].ad {
  51. width: 300px;
  52. height: 600px;
  53. }
  54. /*--------------
  55. Square
  56. ---------------*/
  57. /* Square */
  58. .ui.square.ad {
  59. width: 250px;
  60. height: 250px;
  61. }
  62. /* Small Square */
  63. .ui[class*="small square"].ad {
  64. width: 200px;
  65. height: 200px;
  66. }
  67. /*--------------
  68. Rectangle
  69. ---------------*/
  70. /* Small Rectangle */
  71. .ui[class*="small rectangle"].ad {
  72. width: 180px;
  73. height: 150px;
  74. }
  75. /* Vertical Rectangle */
  76. .ui[class*="vertical rectangle"].ad {
  77. width: 240px;
  78. height: 400px;
  79. }
  80. /*--------------
  81. Button
  82. ---------------*/
  83. .ui.button.ad {
  84. width: 120px;
  85. height: 90px;
  86. }
  87. .ui[class*="square button"].ad {
  88. width: 125px;
  89. height: 125px;
  90. }
  91. .ui[class*="small button"].ad {
  92. width: 120px;
  93. height: 60px;
  94. }
  95. /*--------------
  96. Skyscrapers
  97. ---------------*/
  98. /* Skyscraper */
  99. .ui.skyscraper.ad {
  100. width: 120px;
  101. height: 600px;
  102. }
  103. /* Wide Skyscraper */
  104. .ui[class*="wide skyscraper"].ad {
  105. width: 160px;
  106. }
  107. /*--------------
  108. Banners
  109. ---------------*/
  110. /* Banner */
  111. .ui.banner.ad {
  112. width: 468px;
  113. height: 60px;
  114. }
  115. /* Vertical Banner */
  116. .ui[class*="vertical banner"].ad {
  117. width: 120px;
  118. height: 240px;
  119. }
  120. /* Top Banner */
  121. .ui[class*="top banner"].ad {
  122. width: 930px;
  123. height: 180px;
  124. }
  125. /* Half Banner */
  126. .ui[class*="half banner"].ad {
  127. width: 234px;
  128. height: 60px;
  129. }
  130. /*--------------
  131. Boards
  132. ---------------*/
  133. /* Leaderboard */
  134. .ui[class*="large leaderboard"].ad {
  135. width: 970px;
  136. height: 90px;
  137. }
  138. /* Billboard */
  139. .ui.billboard.ad {
  140. width: 970px;
  141. height: 250px;
  142. }
  143. /*--------------
  144. Panorama
  145. ---------------*/
  146. /* Panorama */
  147. .ui.panorama.ad {
  148. width: 980px;
  149. height: 120px;
  150. }
  151. /*--------------
  152. Netboard
  153. ---------------*/
  154. /* Netboard */
  155. .ui.netboard.ad {
  156. width: 580px;
  157. height: 400px;
  158. }
  159. /*--------------
  160. Mobile
  161. ---------------*/
  162. /* Large Mobile Banner */
  163. .ui[class*="large mobile banner"].ad {
  164. width: 320px;
  165. height: 100px;
  166. }
  167. /* Mobile Leaderboard */
  168. .ui[class*="mobile leaderboard"].ad {
  169. width: 320px;
  170. height: 50px;
  171. }
  172. /*******************************
  173. Types
  174. *******************************/
  175. /* Mobile Sizes */
  176. .ui.mobile.ad {
  177. display: none;
  178. }
  179. @media only screen and (max-width: 767px) {
  180. .ui.mobile.ad {
  181. display: block;
  182. }
  183. }
  184. /*******************************
  185. Variations
  186. *******************************/
  187. .ui.centered.ad {
  188. margin-left: auto;
  189. margin-right: auto;
  190. }
  191. .ui.test.ad {
  192. position: relative;
  193. background: #545454;
  194. }
  195. .ui.test.ad:after {
  196. position: absolute;
  197. top: 50%;
  198. left: 50%;
  199. width: 100%;
  200. text-align: center;
  201. -webkit-transform: translateX(-50%) translateY(-50%);
  202. -ms-transform: translateX(-50%) translateY(-50%);
  203. transform: translateX(-50%) translateY(-50%);
  204. content: 'Ad';
  205. color: #ffffff;
  206. font-size: 1em;
  207. font-weight: bold;
  208. }
  209. .ui.mobile.test.ad:after {
  210. font-size: 0.85714286em;
  211. }
  212. .ui.test.ad[data-text]:after {
  213. content: attr(data-text);
  214. }
  215. /*******************************
  216. Theme Overrides
  217. *******************************/
  218. /*******************************
  219. User Variable Overrides
  220. *******************************/