examples.css 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. @CHARSET "ISO-8859-1";
  2. /* Reset CSS
  3. * --------------------------------------- */
  4. body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,
  5. form,fieldset,input,textarea,p,blockquote,th,td {
  6. padding: 0;
  7. margin: 0;
  8. }
  9. a{
  10. text-decoration:none;
  11. }
  12. table {
  13. border-spacing: 0;
  14. }
  15. fieldset,img {
  16. border: 0;
  17. }
  18. address,caption,cite,code,dfn,em,strong,th,var {
  19. font-weight: normal;
  20. font-style: normal;
  21. }
  22. strong{
  23. font-weight: bold;
  24. }
  25. ol,ul {
  26. list-style: none;
  27. margin:0;
  28. padding:0;
  29. }
  30. caption,th {
  31. text-align: left;
  32. }
  33. h1,h2,h3,h4,h5,h6 {
  34. font-weight: normal;
  35. font-size: 100%;
  36. margin:0;
  37. padding:0;
  38. color:#444;
  39. }
  40. q:before,q:after {
  41. content:'';
  42. }
  43. abbr,acronym { border: 0;
  44. }
  45. /* Custom CSS
  46. * --------------------------------------- */
  47. body{
  48. font-family: arial,helvetica;
  49. color: #333;
  50. color: rgba(0,0,0,0.5);
  51. }
  52. .wrap{
  53. margin-left: auto;
  54. margin-right: auto;
  55. width: 960px;
  56. position: relative;
  57. }
  58. h1{
  59. font-size: 6em;
  60. }
  61. p{
  62. font-size: 2em;
  63. }
  64. .intro p{
  65. width: 50%;
  66. margin: 0 auto;
  67. font-size: 1.5em;
  68. }
  69. .section{
  70. text-align:center;
  71. }
  72. #menu li {
  73. display:inline-block;
  74. margin: 10px;
  75. color: #000;
  76. background:#fff;
  77. background: rgba(255,255,255, 0.5);
  78. -webkit-border-radius: 10px;
  79. border-radius: 10px;
  80. }
  81. #menu li.active{
  82. background:#666;
  83. background: rgba(0,0,0, 0.5);
  84. color: #fff;
  85. }
  86. #menu li a{
  87. text-decoration:none;
  88. color: #000;
  89. }
  90. #menu li.active a:hover{
  91. color: #000;
  92. }
  93. #menu li:hover{
  94. background: rgba(255,255,255, 0.8);
  95. }
  96. #menu li a,
  97. #menu li.active a{
  98. padding: 9px 18px;
  99. display:block;
  100. }
  101. #menu li.active a{
  102. color: #fff;
  103. }
  104. #menu{
  105. position:fixed;
  106. top:0;
  107. left:0;
  108. height: 40px;
  109. z-index: 70;
  110. width: 100%;
  111. padding: 0;
  112. margin:0;
  113. }
  114. .twitter-share-button{
  115. position: fixed;
  116. z-index: 99;
  117. right: 149px;
  118. top: 9px;
  119. }
  120. #download{
  121. margin: 10px 0 0 0;
  122. padding: 15px 10px;
  123. color: #fff;
  124. text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
  125. background-color: #49afcd;
  126. background-image: -moz-linear-gradient(top, #5bc0de, #2f96b4);
  127. background-image: -ms-linear-gradient(top, #5bc0de, #2f96b4);
  128. background-image: -webkit-gradient(linear,0 0,0 100%,from( #5bc0de),to( #2f96b4));
  129. background-image: -webkit-linear-gradient(top, #5bc0de, #2f96b4);
  130. background-image: -o-linear-gradient(top, #5bc0de, #2f96b4);
  131. background-image: linear-gradient(top, #5bc0de, #2f96b4);
  132. background-repeat: repeat-x;
  133. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#2f96b4', GradientType=0);
  134. border-color: #2f96b4 #2f96b4 #1f6377;
  135. border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);
  136. filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  137. -webkit-border-radius: 6px;
  138. -moz-border-radius: 6px;
  139. border-radius: 6px;
  140. vertical-align: middle;
  141. cursor: pointer;
  142. display: inline-block;
  143. -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
  144. -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
  145. box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
  146. }
  147. #download a{
  148. text-decoration:none;
  149. color:#fff;
  150. }
  151. #download:hover{
  152. text-shadow: 0 -1px 0 rgba(0,0,0,.25);
  153. background-color: #2F96B4;
  154. background-position: 0 -15px;
  155. -webkit-transition: background-position .1s linear;
  156. -moz-transition: background-position .1s linear;
  157. -ms-transition: background-position .1s linear;
  158. -o-transition: background-position .1s linear;
  159. transition: background-position .1s linear;
  160. }
  161. #infoMenu{
  162. height: 20px;
  163. color: #f2f2f2;
  164. position:fixed;
  165. z-index:70;
  166. bottom:0;
  167. width:100%;
  168. text-align:right;
  169. font-size:0.9em;
  170. padding:8px 0 8px 0;
  171. }
  172. #infoMenu ul{
  173. padding: 0 40px;
  174. }
  175. #infoMenu li a{
  176. display: block;
  177. margin: 0 22px 0 0;
  178. color: #333;
  179. }
  180. #infoMenu li a:hover{
  181. text-decoration:underline;
  182. }
  183. #infoMenu li{
  184. display:inline-block;
  185. position:relative;
  186. }
  187. #examplesList{
  188. display:none;
  189. background: #282828;
  190. -webkit-border-radius: 6px;
  191. -moz-border-radius: 6px;
  192. border-radius: 6px;
  193. padding: 20px;
  194. float: left;
  195. position: absolute;
  196. bottom: 29px;
  197. right: 0;
  198. width:638px;
  199. text-align:left;
  200. }
  201. #examplesList ul{
  202. padding:0;
  203. }
  204. #examplesList ul li{
  205. display:block;
  206. margin: 5px 0;
  207. }
  208. #examplesList ul li a{
  209. color: #BDBDBD;
  210. margin:0;
  211. }
  212. #examplesList ul li a:hover{
  213. color: #f2f2f2;
  214. }
  215. #examplesList .column{
  216. float: left;
  217. margin: 0 20px 0 0;
  218. }
  219. #examplesList h3{
  220. color: #f2f2f2;
  221. font-size: 1.2em;
  222. margin: 0 0 15px 0;
  223. border-bottom: 1px solid rgba(0, 0, 0, 0.4);
  224. -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
  225. -moz-box-shadow: 0 1px 0 rgba(255,255,255,0.1);
  226. box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
  227. padding: 0 0 5px 0;
  228. }
  229. /* Demos Menu
  230. * --------------------------------------- */
  231. #demosMenu{
  232. position:fixed;
  233. bottom: 10px;
  234. right:10px;
  235. z-index: 999;
  236. }