demo.css 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  1. /*** layout ***/
  2. body, html {
  3. font-family: verdana;
  4. font-size: 11px;
  5. line-height:20px;
  6. color: #333;
  7. background-color: #FEFEFE;
  8. margin: 0;
  9. text-rendering: optimizeLegibility;
  10. background-image: url('http://res.eqh5.com/group1/M00/CB/22/yq0KXVbLxByAHYd-AABNIFqL3Rc349.svg');
  11. }
  12. a {
  13. color: #3399FF;
  14. text-decoration: none;
  15. }
  16. code {
  17. padding: 1px 3px;
  18. color: #D14;
  19. background-color: #F7F7F9;
  20. border: 1px solid #E1E1E8;
  21. border-radius: 5px;
  22. }
  23. h2 {
  24. display: inline-block;
  25. }
  26. .no-margin-top {
  27. margin-top: 0px;
  28. }
  29. /*** header ***/
  30. header {
  31. position: fixed;
  32. left: 0px;
  33. top: 0px;
  34. width: 100%;
  35. height: 40px;
  36. line-height: 40px;
  37. background-color: #1B1B1B;
  38. background-image: linear-gradient(to bottom, #222222, #111111);
  39. background-repeat: repeat-x;
  40. border-color: #252525;
  41. box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
  42. border-width: 0 0 1px;
  43. color: #FFF;
  44. font-size: 10px;
  45. text-align: left;
  46. vertical-align: middle;
  47. z-index: 100;
  48. }
  49. .header-logo {
  50. position: absolute;
  51. display: block;
  52. width: 100%;
  53. height: 100%;
  54. left: 10px;
  55. top: 10px;
  56. background-image:url('./images/logo.png');
  57. }
  58. #header-links {
  59. display: none;
  60. position: absolute;
  61. width: 100%;
  62. left: 0px;
  63. top: 40px;
  64. }
  65. #header-links a {
  66. display: block;
  67. font-size: 9px;
  68. font-weight: bold;
  69. font-family: Verdana;
  70. color: #FAFAFA;
  71. text-transform: uppercase;
  72. margin-left: 0px;
  73. text-align: center;
  74. background-color: #1B1B1B;
  75. border-top: solid 1px #CACACA;
  76. line-height: 14px;
  77. padding: 10px;
  78. }
  79. #header-links a:hover {
  80. color: #636363;
  81. }
  82. /*** menu ***/
  83. #header-menu-button {
  84. position: absolute;
  85. right: 6px;
  86. top: 6px;
  87. display: block;
  88. color: #757575;
  89. background-color: #e1e1e1;
  90. background-repeat: repeat-x;
  91. background-image: -moz-linear-gradient(top, #ebebeb, #e1e1e1);
  92. background-image: -ms-linear-gradient(top, #ebebeb, #e1e1e1);
  93. background-image: -webkit-linear-gradient(top, #ebebeb, #e1e1e1);
  94. background-image: -o-linear-gradient(top, #ebebeb, #e1e1e1);
  95. background-image: linear-gradient(top, #ebebeb, #e1e1e1);
  96. box-shadow: inset 0 0 8px 2px #c6c6c6, 0 1px 0 0 #f4f4f4;
  97. border: none;
  98. border-radius: 3px;
  99. -webkit-border-radius: 3px;
  100. padding: 6px 10px;
  101. font-size: 11px;
  102. line-height: 16px;
  103. cursor: pointer;
  104. }
  105. /*** content ***/
  106. #plugin-name {
  107. padding-bottom: 30px;
  108. font-size: 24px;
  109. border-bottom: solid #CACACA 1px;
  110. }
  111. #github-button {
  112. display: block;
  113. float: left;
  114. margin-right: 2px;
  115. width: 16px;
  116. height: 16px;
  117. cursor: pointer;
  118. background-image: url('./img/addthis-github.png');
  119. }
  120. #addthis-toolbox {
  121. position: absolute;
  122. right: 15px;
  123. top: 40px;
  124. }
  125. #content {
  126. position: relative;
  127. background: #FEFEFE;
  128. max-width: 728px;
  129. padding: 20px;
  130. margin: 30px auto;
  131. }
  132. .content-box {
  133. padding-left: 10px;
  134. }
  135. #content ul {
  136. padding-left: 30px;
  137. }
  138. /*** footer ***/
  139. footer {
  140. position: fixed;
  141. left: 0px;
  142. bottom: -1px;
  143. width: 100%;
  144. height: 40px;
  145. line-height: 40px;
  146. background-color: #1B1B1B;
  147. background-image: linear-gradient(to bottom, #222222, #111111);
  148. background-repeat: repeat-x;
  149. border-color: #252525;
  150. box-shadow: 10px 1px 10px rgba(0, 0, 0, 0.5);
  151. border-width: 0 0 1px;
  152. color: #FFF;
  153. font-size: 10px;
  154. text-align: left;
  155. vertical-align: middle;
  156. z-index: 100;
  157. }
  158. #footer-icons {
  159. position: absolute;
  160. right: 10px;
  161. top: 0px;
  162. }
  163. #footer-icons a {
  164. display: inline-block;
  165. *display: inline;
  166. zoom: 1;
  167. width: 17px;
  168. height: 17px;
  169. margin: 12px 0 0 10px;
  170. background-repeat: no-repeat;
  171. background-position: center center;
  172. }
  173. #linkedin-icon { background-image: url('./img/linkedin-icon.png'); width: 18px; }
  174. #stumbleupon-icon { background-image: url('./img/stumbleupon-icon.png'); }
  175. #googleplus-icon { background-image: url('./img/googleplus-icon.png'); }
  176. #youtube-icon { background-image: url('./img/youtube-icon.png'); width: 17px; height: 18px; }
  177. #facebook-icon { background-image: url('./img/facebook-icon.png'); width: 8px; }
  178. #twitter-icon { background-image: url('./img/twitter-icon.png'); width: 20px; }
  179. #github-icon { background-image: url('./img/github-icon.png'); width: 20px; }
  180. #rss-icon { background-image: url('./img/rss-icon.png'); }
  181. /*** media ***/
  182. @media screen and (min-width: 600px) {
  183. #header-logo {
  184. left: 50px;
  185. }
  186. #footer-icons {
  187. left: auto;
  188. right: 50px;
  189. }
  190. #header-links {
  191. display: block !important;
  192. width: auto;
  193. top: 0px;
  194. left: auto;
  195. right: 50px;
  196. }
  197. #header-links a {
  198. display: inline;
  199. font-size: 10px;
  200. margin-left: 20px;
  201. text-align: left;
  202. background-color: none;
  203. border-top: 0px;
  204. margin-left: 10px;
  205. line-height: inherit;
  206. padding: 0px;
  207. }
  208. #header-menu-button {
  209. display: none;
  210. }
  211. #plugin-name {
  212. font-size: 30px;
  213. }
  214. #addthis-toolbox {
  215. top: 44px;
  216. }
  217. }
  218. /*** ads ***/
  219. .websanova-plugins-page-horizontal-responsive { display:block; margin:0 auto; width: 320px; height: 50px; }
  220. @media(min-width: 520px) { .websanova-plugins-page-horizontal-responsive { width: 468px; height: 60px; } }
  221. @media(min-width: 800px) { .websanova-plugins-page-horizontal-responsive { width: 728px; height: 90px; } }
  222. .adsblock {
  223. position: relative;
  224. margin: 0 auto;
  225. }
  226. .ads2block {
  227. margin-top: 20px;
  228. }
  229. .adsblock-mobile-banner {
  230. width: 320px;
  231. height: 50px;
  232. }
  233. .adsblock-banner {
  234. display: none;
  235. width: 468px;
  236. height: 60px;
  237. }
  238. .adsblock-leaderboard {
  239. display: none;
  240. width: 728px;
  241. height: 90px;
  242. }
  243. @media (min-width:520px) {
  244. .adsblock-mobile-banner { display: none; }
  245. .adsblock-banner { display: block; }
  246. }
  247. @media (min-width:800px) {
  248. .adsblock-mobile-banner { display: none; }
  249. .adsblock-banner { display: none; }
  250. .adsblock-leaderboard { display: block; }
  251. }