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.

840 lines
19 KiB

9 years ago
8 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
  1. /*!
  2. * # Semantic UI 2.2.6 - 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. Theme
  13. *******************************/
  14. /*
  15. */
  16. /*******************************
  17. Theme Selection
  18. *******************************/
  19. /* To override a theme for an individual element
  20. specify theme name below
  21. */
  22. /* Global */
  23. /* Elements */
  24. /* Collections */
  25. /* Modules */
  26. /* Views */
  27. /*******************************
  28. Folders
  29. *******************************/
  30. /* Path to theme packages */
  31. /* Path to site override folder */
  32. /*******************************
  33. Import Theme
  34. *******************************/
  35. /*******************************
  36. Import Directives
  37. *******************************/
  38. /*------------------
  39. Theme
  40. -------------------*/
  41. /*--------------------
  42. Site Variables
  43. ---------------------*/
  44. /* Default site.variables */
  45. /*******************************
  46. Site Settings
  47. *******************************/
  48. /*-------------------
  49. Fonts
  50. --------------------*/
  51. /*-------------------
  52. Base Sizes
  53. --------------------*/
  54. /* This is the single variable that controls them all */
  55. /* The size of page text */
  56. /*-------------------
  57. Border Radius
  58. --------------------*/
  59. /* See Power-user section below
  60. for explanation of @px variables
  61. */
  62. /*-------------------
  63. Brand Colors
  64. --------------------*/
  65. /*--------------
  66. Page Heading
  67. ---------------*/
  68. /*--------------
  69. Form Input
  70. ---------------*/
  71. /* This adjusts the default form input across all elements */
  72. /* Input Text Color */
  73. /* Line Height Default For Inputs in Browser */
  74. /*-------------------
  75. Focused Input
  76. --------------------*/
  77. /* Used on inputs, textarea etc */
  78. /* Used on dropdowns, other larger blocks */
  79. /*-------------------
  80. Sizes
  81. --------------------*/
  82. /*
  83. Sizes are all expressed in terms of 14px/em (default em)
  84. This ensures these "ratios" remain constant despite changes in EM
  85. */
  86. /*-------------------
  87. Page
  88. --------------------*/
  89. /*-------------------
  90. Paragraph
  91. --------------------*/
  92. /*-------------------
  93. Links
  94. --------------------*/
  95. /*-------------------
  96. Highlighted Text
  97. --------------------*/
  98. /*-------------------
  99. Loader
  100. --------------------*/
  101. /*-------------------
  102. Grid
  103. --------------------*/
  104. /*-------------------
  105. Transitions
  106. --------------------*/
  107. /*-------------------
  108. Breakpoints
  109. --------------------*/
  110. /*-------------------
  111. Site Colors
  112. --------------------*/
  113. /*--- Colors ---*/
  114. /*--- Light Colors ---*/
  115. /*--- Neutrals ---*/
  116. /*--- Colored Backgrounds ---*/
  117. /*--- Colored Headers ---*/
  118. /*--- Colored Text ---*/
  119. /*--- Colored Border ---*/
  120. /*-------------------
  121. Alpha Colors
  122. --------------------*/
  123. /*-------------------
  124. Accents
  125. --------------------*/
  126. /* Differentiating Neutrals */
  127. /* Differentiating Layers */
  128. /*******************************
  129. Power-User
  130. *******************************/
  131. /*-------------------
  132. Emotive Colors
  133. --------------------*/
  134. /* Positive */
  135. /* Negative */
  136. /* Info */
  137. /* Warning */
  138. /*-------------------
  139. Paths
  140. --------------------*/
  141. /* For source only. Modified in gulp for dist */
  142. /*-------------------
  143. Em Sizes
  144. --------------------*/
  145. /*
  146. This rounds @size values to the closest pixel then expresses that value in (r)em.
  147. This ensures all size values round to exact pixels
  148. */
  149. /* em */
  150. /* rem */
  151. /*-------------------
  152. Icons
  153. --------------------*/
  154. /* Maximum Glyph Width of Icon */
  155. /*-------------------
  156. Neutral Text
  157. --------------------*/
  158. /*-------------------
  159. Brand Colors
  160. --------------------*/
  161. /*-------------------
  162. Borders
  163. --------------------*/
  164. /*-------------------
  165. Derived Values
  166. --------------------*/
  167. /* Loaders Position Offset */
  168. /* Rendered Scrollbar Width */
  169. /* Maximum Single Character Glyph Width, aka Capital "W" */
  170. /* Used to match floats with text */
  171. /* Header Spacing */
  172. /* Minimum Mobile Width */
  173. /* Positive / Negative Dupes */
  174. /* Responsive */
  175. /*-------------------
  176. Exact Pixel Values
  177. --------------------*/
  178. /*
  179. These are used to specify exact pixel values in em
  180. for things like borders that remain constantly
  181. sized as emSize adjusts
  182. Since there are many more sizes than names for sizes,
  183. these are named by their original pixel values.
  184. */
  185. /* Columns */
  186. /*******************************
  187. States
  188. *******************************/
  189. /*-------------------
  190. Disabled
  191. --------------------*/
  192. /*-------------------
  193. Hover
  194. --------------------*/
  195. /*--- Shadows ---*/
  196. /*--- Colors ---*/
  197. /*--- Emotive ---*/
  198. /*--- Brand ---*/
  199. /*--- Dark Tones ---*/
  200. /*--- Light Tones ---*/
  201. /*-------------------
  202. Focus
  203. --------------------*/
  204. /*--- Colors ---*/
  205. /*--- Emotive ---*/
  206. /*--- Brand ---*/
  207. /*--- Dark Tones ---*/
  208. /*--- Light Tones ---*/
  209. /*-------------------
  210. Down (:active)
  211. --------------------*/
  212. /*--- Colors ---*/
  213. /*--- Emotive ---*/
  214. /*--- Brand ---*/
  215. /*--- Dark Tones ---*/
  216. /*--- Light Tones ---*/
  217. /*-------------------
  218. Active
  219. --------------------*/
  220. /*--- Colors ---*/
  221. /*--- Emotive ---*/
  222. /*--- Brand ---*/
  223. /*--- Dark Tones ---*/
  224. /*--- Light Tones ---*/
  225. /* Packaged site.variables */
  226. /*******************************
  227. Site Settings
  228. *******************************/
  229. /*-------------------
  230. Fonts
  231. --------------------*/
  232. /*-------------------
  233. Base Sizes
  234. --------------------*/
  235. /* This is the single variable that controls them all */
  236. /* The size of page text */
  237. /*-------------------
  238. Border Radius
  239. --------------------*/
  240. /* See Power-user section below
  241. for explanation of @px variables
  242. */
  243. /*-------------------
  244. Brand Colors
  245. --------------------*/
  246. /*--------------
  247. Page Heading
  248. ---------------*/
  249. /*--------------
  250. Form Input
  251. ---------------*/
  252. /* This adjusts the default form input across all elements */
  253. /* Input Text Color */
  254. /* Line Height Default For Inputs in Browser */
  255. /*-------------------
  256. Focused Input
  257. --------------------*/
  258. /* Used on inputs, textarea etc */
  259. /* Used on dropdowns, other larger blocks */
  260. /*-------------------
  261. Sizes
  262. --------------------*/
  263. /*
  264. Sizes are all expressed in terms of 14px/em (default em)
  265. This ensures these "ratios" remain constant despite changes in EM
  266. */
  267. /*-------------------
  268. Page
  269. --------------------*/
  270. /*-------------------
  271. Paragraph
  272. --------------------*/
  273. /*-------------------
  274. Links
  275. --------------------*/
  276. /*-------------------
  277. Highlighted Text
  278. --------------------*/
  279. /*-------------------
  280. Loader
  281. --------------------*/
  282. /*-------------------
  283. Grid
  284. --------------------*/
  285. /*-------------------
  286. Transitions
  287. --------------------*/
  288. /*-------------------
  289. Breakpoints
  290. --------------------*/
  291. /*-------------------
  292. Site Colors
  293. --------------------*/
  294. /*--- Colors ---*/
  295. /*--- Light Colors ---*/
  296. /*--- Neutrals ---*/
  297. /*--- Colored Backgrounds ---*/
  298. /*--- Colored Headers ---*/
  299. /*--- Colored Text ---*/
  300. /*--- Colored Border ---*/
  301. /*-------------------
  302. Alpha Colors
  303. --------------------*/
  304. /*-------------------
  305. Accents
  306. --------------------*/
  307. /* Differentiating Neutrals */
  308. /* Differentiating Layers */
  309. /*******************************
  310. Power-User
  311. *******************************/
  312. /*-------------------
  313. Emotive Colors
  314. --------------------*/
  315. /* Positive */
  316. /* Negative */
  317. /* Info */
  318. /* Warning */
  319. /*-------------------
  320. Paths
  321. --------------------*/
  322. /* For source only. Modified in gulp for dist */
  323. /*-------------------
  324. Em Sizes
  325. --------------------*/
  326. /*
  327. This rounds @size values to the closest pixel then expresses that value in (r)em.
  328. This ensures all size values round to exact pixels
  329. */
  330. /* em */
  331. /* rem */
  332. /*-------------------
  333. Icons
  334. --------------------*/
  335. /* Maximum Glyph Width of Icon */
  336. /*-------------------
  337. Neutral Text
  338. --------------------*/
  339. /*-------------------
  340. Brand Colors
  341. --------------------*/
  342. /*-------------------
  343. Borders
  344. --------------------*/
  345. /*-------------------
  346. Derived Values
  347. --------------------*/
  348. /* Loaders Position Offset */
  349. /* Rendered Scrollbar Width */
  350. /* Maximum Single Character Glyph Width, aka Capital "W" */
  351. /* Used to match floats with text */
  352. /* Header Spacing */
  353. /* Minimum Mobile Width */
  354. /* Positive / Negative Dupes */
  355. /* Responsive */
  356. /*-------------------
  357. Exact Pixel Values
  358. --------------------*/
  359. /*
  360. These are used to specify exact pixel values in em
  361. for things like borders that remain constantly
  362. sized as emSize adjusts
  363. Since there are many more sizes than names for sizes,
  364. these are named by their original pixel values.
  365. */
  366. /* Columns */
  367. /*******************************
  368. States
  369. *******************************/
  370. /*-------------------
  371. Disabled
  372. --------------------*/
  373. /*-------------------
  374. Hover
  375. --------------------*/
  376. /*--- Shadows ---*/
  377. /*--- Colors ---*/
  378. /*--- Emotive ---*/
  379. /*--- Brand ---*/
  380. /*--- Dark Tones ---*/
  381. /*--- Light Tones ---*/
  382. /*-------------------
  383. Focus
  384. --------------------*/
  385. /*--- Colors ---*/
  386. /*--- Emotive ---*/
  387. /*--- Brand ---*/
  388. /*--- Dark Tones ---*/
  389. /*--- Light Tones ---*/
  390. /*-------------------
  391. Down (:active)
  392. --------------------*/
  393. /*--- Colors ---*/
  394. /*--- Emotive ---*/
  395. /*--- Brand ---*/
  396. /*--- Dark Tones ---*/
  397. /*--- Light Tones ---*/
  398. /*-------------------
  399. Active
  400. --------------------*/
  401. /*--- Colors ---*/
  402. /*--- Emotive ---*/
  403. /*--- Brand ---*/
  404. /*--- Dark Tones ---*/
  405. /*--- Light Tones ---*/
  406. /* Component's site.variables */
  407. /*******************************
  408. Site Settings
  409. *******************************/
  410. /*-------------------
  411. Fonts
  412. --------------------*/
  413. /*-------------------
  414. Base Sizes
  415. --------------------*/
  416. /* This is the single variable that controls them all */
  417. /* The size of page text */
  418. /*-------------------
  419. Border Radius
  420. --------------------*/
  421. /* See Power-user section below
  422. for explanation of @px variables
  423. */
  424. /*-------------------
  425. Brand Colors
  426. --------------------*/
  427. /*--------------
  428. Page Heading
  429. ---------------*/
  430. /*--------------
  431. Form Input
  432. ---------------*/
  433. /* This adjusts the default form input across all elements */
  434. /* Input Text Color */
  435. /* Line Height Default For Inputs in Browser */
  436. /*-------------------
  437. Focused Input
  438. --------------------*/
  439. /* Used on inputs, textarea etc */
  440. /* Used on dropdowns, other larger blocks */
  441. /*-------------------
  442. Sizes
  443. --------------------*/
  444. /*
  445. Sizes are all expressed in terms of 14px/em (default em)
  446. This ensures these "ratios" remain constant despite changes in EM
  447. */
  448. /*-------------------
  449. Page
  450. --------------------*/
  451. /*-------------------
  452. Paragraph
  453. --------------------*/
  454. /*-------------------
  455. Links
  456. --------------------*/
  457. /*-------------------
  458. Highlighted Text
  459. --------------------*/
  460. /*-------------------
  461. Loader
  462. --------------------*/
  463. /*-------------------
  464. Grid
  465. --------------------*/
  466. /*-------------------
  467. Transitions
  468. --------------------*/
  469. /*-------------------
  470. Breakpoints
  471. --------------------*/
  472. /*-------------------
  473. Site Colors
  474. --------------------*/
  475. /*--- Colors ---*/
  476. /*--- Light Colors ---*/
  477. /*--- Neutrals ---*/
  478. /*--- Colored Backgrounds ---*/
  479. /*--- Colored Headers ---*/
  480. /*--- Colored Text ---*/
  481. /*--- Colored Border ---*/
  482. /*-------------------
  483. Alpha Colors
  484. --------------------*/
  485. /*-------------------
  486. Accents
  487. --------------------*/
  488. /* Differentiating Neutrals */
  489. /* Differentiating Layers */
  490. /*******************************
  491. Power-User
  492. *******************************/
  493. /*-------------------
  494. Emotive Colors
  495. --------------------*/
  496. /* Positive */
  497. /* Negative */
  498. /* Info */
  499. /* Warning */
  500. /*-------------------
  501. Paths
  502. --------------------*/
  503. /* For source only. Modified in gulp for dist */
  504. /*-------------------
  505. Em Sizes
  506. --------------------*/
  507. /*
  508. This rounds @size values to the closest pixel then expresses that value in (r)em.
  509. This ensures all size values round to exact pixels
  510. */
  511. /* em */
  512. /* rem */
  513. /*-------------------
  514. Icons
  515. --------------------*/
  516. /* Maximum Glyph Width of Icon */
  517. /*-------------------
  518. Neutral Text
  519. --------------------*/
  520. /*-------------------
  521. Brand Colors
  522. --------------------*/
  523. /*-------------------
  524. Borders
  525. --------------------*/
  526. /*-------------------
  527. Derived Values
  528. --------------------*/
  529. /* Loaders Position Offset */
  530. /* Rendered Scrollbar Width */
  531. /* Maximum Single Character Glyph Width, aka Capital "W" */
  532. /* Used to match floats with text */
  533. /* Header Spacing */
  534. /* Minimum Mobile Width */
  535. /* Positive / Negative Dupes */
  536. /* Responsive */
  537. /*-------------------
  538. Exact Pixel Values
  539. --------------------*/
  540. /*
  541. These are used to specify exact pixel values in em
  542. for things like borders that remain constantly
  543. sized as emSize adjusts
  544. Since there are many more sizes than names for sizes,
  545. these are named by their original pixel values.
  546. */
  547. /* Columns */
  548. /*******************************
  549. States
  550. *******************************/
  551. /*-------------------
  552. Disabled
  553. --------------------*/
  554. /*-------------------
  555. Hover
  556. --------------------*/
  557. /*--- Shadows ---*/
  558. /*--- Colors ---*/
  559. /*--- Emotive ---*/
  560. /*--- Brand ---*/
  561. /*--- Dark Tones ---*/
  562. /*--- Light Tones ---*/
  563. /*-------------------
  564. Focus
  565. --------------------*/
  566. /*--- Colors ---*/
  567. /*--- Emotive ---*/
  568. /*--- Brand ---*/
  569. /*--- Dark Tones ---*/
  570. /*--- Light Tones ---*/
  571. /*-------------------
  572. Down (:active)
  573. --------------------*/
  574. /*--- Colors ---*/
  575. /*--- Emotive ---*/
  576. /*--- Brand ---*/
  577. /*--- Dark Tones ---*/
  578. /*--- Light Tones ---*/
  579. /*-------------------
  580. Active
  581. --------------------*/
  582. /*--- Colors ---*/
  583. /*--- Emotive ---*/
  584. /*--- Brand ---*/
  585. /*--- Dark Tones ---*/
  586. /*--- Light Tones ---*/
  587. /* Site theme site.variables */
  588. /*******************************
  589. User Global Variables
  590. *******************************/
  591. /*-------------------
  592. Component Variables
  593. ---------------------*/
  594. /* Default */
  595. /*******************************
  596. Advertisement
  597. *******************************/
  598. /* Packaged Theme */
  599. /*******************************
  600. Advertisement
  601. *******************************/
  602. /* Site Theme */
  603. /*******************************
  604. User Variable Overrides
  605. *******************************/
  606. /*******************************
  607. Mix-ins
  608. *******************************/
  609. /*------------------
  610. Fonts
  611. -------------------*/
  612. /*------------------
  613. Overrides
  614. -------------------*/
  615. /* End Config */
  616. /*******************************
  617. Advertisement
  618. *******************************/
  619. .ui.ad {
  620. display: block;
  621. overflow: hidden;
  622. margin: 1em 0em;
  623. }
  624. .ui.ad:first-child {
  625. margin: 0em;
  626. }
  627. .ui.ad:last-child {
  628. margin: 0em;
  629. }
  630. .ui.ad iframe {
  631. margin: 0em;
  632. padding: 0em;
  633. border: none;
  634. overflow: hidden;
  635. }
  636. /*--------------
  637. Common
  638. ---------------*/
  639. /* Leaderboard */
  640. .ui.leaderboard.ad {
  641. width: 728px;
  642. height: 90px;
  643. }
  644. /* Medium Rectangle */
  645. .ui[class*="medium rectangle"].ad {
  646. width: 300px;
  647. height: 250px;
  648. }
  649. /* Large Rectangle */
  650. .ui[class*="large rectangle"].ad {
  651. width: 336px;
  652. height: 280px;
  653. }
  654. /* Half Page */
  655. .ui[class*="half page"].ad {
  656. width: 300px;
  657. height: 600px;
  658. }
  659. /*--------------
  660. Square
  661. ---------------*/
  662. /* Square */
  663. .ui.square.ad {
  664. width: 250px;
  665. height: 250px;
  666. }
  667. /* Small Square */
  668. .ui[class*="small square"].ad {
  669. width: 200px;
  670. height: 200px;
  671. }
  672. /*--------------
  673. Rectangle
  674. ---------------*/
  675. /* Small Rectangle */
  676. .ui[class*="small rectangle"].ad {
  677. width: 180px;
  678. height: 150px;
  679. }
  680. /* Vertical Rectangle */
  681. .ui[class*="vertical rectangle"].ad {
  682. width: 240px;
  683. height: 400px;
  684. }
  685. /*--------------
  686. Button
  687. ---------------*/
  688. .ui.button.ad {
  689. width: 120px;
  690. height: 90px;
  691. }
  692. .ui[class*="square button"].ad {
  693. width: 125px;
  694. height: 125px;
  695. }
  696. .ui[class*="small button"].ad {
  697. width: 120px;
  698. height: 60px;
  699. }
  700. /*--------------
  701. Skyscrapers
  702. ---------------*/
  703. /* Skyscraper */
  704. .ui.skyscraper.ad {
  705. width: 120px;
  706. height: 600px;
  707. }
  708. /* Wide Skyscraper */
  709. .ui[class*="wide skyscraper"].ad {
  710. width: 160px;
  711. }
  712. /*--------------
  713. Banners
  714. ---------------*/
  715. /* Banner */
  716. .ui.banner.ad {
  717. width: 468px;
  718. height: 60px;
  719. }
  720. /* Vertical Banner */
  721. .ui[class*="vertical banner"].ad {
  722. width: 120px;
  723. height: 240px;
  724. }
  725. /* Top Banner */
  726. .ui[class*="top banner"].ad {
  727. width: 930px;
  728. height: 180px;
  729. }
  730. /* Half Banner */
  731. .ui[class*="half banner"].ad {
  732. width: 234px;
  733. height: 60px;
  734. }
  735. /*--------------
  736. Boards
  737. ---------------*/
  738. /* Leaderboard */
  739. .ui[class*="large leaderboard"].ad {
  740. width: 970px;
  741. height: 90px;
  742. }
  743. /* Billboard */
  744. .ui.billboard.ad {
  745. width: 970px;
  746. height: 250px;
  747. }
  748. /*--------------
  749. Panorama
  750. ---------------*/
  751. /* Panorama */
  752. .ui.panorama.ad {
  753. width: 980px;
  754. height: 120px;
  755. }
  756. /*--------------
  757. Netboard
  758. ---------------*/
  759. /* Netboard */
  760. .ui.netboard.ad {
  761. width: 580px;
  762. height: 400px;
  763. }
  764. /*--------------
  765. Mobile
  766. ---------------*/
  767. /* Large Mobile Banner */
  768. .ui[class*="large mobile banner"].ad {
  769. width: 320px;
  770. height: 100px;
  771. }
  772. /* Mobile Leaderboard */
  773. .ui[class*="mobile leaderboard"].ad {
  774. width: 320px;
  775. height: 50px;
  776. }
  777. /*******************************
  778. Types
  779. *******************************/
  780. /* Mobile Sizes */
  781. .ui.mobile.ad {
  782. display: none;
  783. }
  784. @media only screen and (max-width: 767px) {
  785. .ui.mobile.ad {
  786. display: block;
  787. }
  788. }
  789. /*******************************
  790. Variations
  791. *******************************/
  792. .ui.centered.ad {
  793. margin-left: auto;
  794. margin-right: auto;
  795. }
  796. .ui.test.ad {
  797. position: relative;
  798. background: #545454;
  799. }
  800. .ui.test.ad:after {
  801. position: absolute;
  802. top: 50%;
  803. left: 50%;
  804. width: 100%;
  805. text-align: center;
  806. -webkit-transform: translateX(-50%) translateY(-50%);
  807. transform: translateX(-50%) translateY(-50%);
  808. content: 'Ad';
  809. color: #FFFFFF;
  810. font-size: 1em;
  811. font-weight: bold;
  812. }
  813. .ui.mobile.test.ad:after {
  814. font-size: 0.85714286em;
  815. }
  816. .ui.test.ad[data-text]:after {
  817. content: attr(data-text);
  818. }
  819. /*******************************
  820. Theme Overrides
  821. *******************************/
  822. /*******************************
  823. User Variable Overrides
  824. *******************************/
  825. /*# sourceMappingURL=ad.css.map */