htmleaf-demo.css 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. @font-face {
  2. font-family: 'icomoon';
  3. src:url('jquery_table/fontsaaa/icomoon.eot?rretjt');
  4. src:url('jquery_table/fontsaaa/icomoon.eot?#iefixrretjt') format('embedded-opentype'),
  5. url('jquery_table/fontsaaa/icomoon.woff?rretjt') format('woff'),
  6. url('jquery_table/fontsaaa/icomoon.ttf?rretjt') format('truetype'),
  7. url('jquery_table/fontsaaa/icomoon.svg?rretjt#icomoon') format('svg');
  8. font-weight: normal;
  9. font-style: normal;
  10. }
  11. [class^="icon-"], [class*=" icon-"] {
  12. font-family: 'icomoon';
  13. speak: none;
  14. font-style: normal;
  15. font-weight: normal;
  16. font-variant: normal;
  17. text-transform: none;
  18. line-height: 1;
  19. /* Better Font Rendering =========== */
  20. -webkit-font-smoothing: antialiased;
  21. -moz-osx-font-smoothing: grayscale;
  22. }
  23. body, html { font-size: 100%; padding: 0; margin: 0;}
  24. /* Reset */
  25. *,
  26. *:after,
  27. *:before {
  28. -webkit-box-sizing: border-box;
  29. -moz-box-sizing: border-box;
  30. box-sizing: border-box;
  31. }
  32. /* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
  33. .clearfix:before,
  34. .clearfix:after {
  35. content: " ";
  36. display: table;
  37. }
  38. .clearfix:after {
  39. clear: both;
  40. }
  41. body{
  42. font-family: "Microsoft YaHei","Segoe UI", "Lucida Grande", Helvetica, Arial,sans-serif;
  43. }
  44. .htmleaf-links a{ color: rgba(255, 255, 255, 0.6);outline: none;text-decoration: none;-webkit-transition: 0.2s;transition: 0.2s;}
  45. .htmleaf-links a:hover,.htmleaf-links a:focus{color:#74777b;text-decoration: none;}
  46. .htmleaf-container{
  47. margin: 0 auto;
  48. }
  49. .bgcolor-1 { background: #f0efee; }
  50. .bgcolor-2 { background: #f9f9f9; }
  51. .bgcolor-3 { background: #e8e8e8; }/*light grey*/
  52. .bgcolor-4 { background: #2f3238; color: #fff; }/*Dark grey*/
  53. .bgcolor-5 { background: #df6659; color: #521e18; }/*pink1*/
  54. .bgcolor-6 { background: #2fa8ec; }/*sky blue*/
  55. .bgcolor-7 { background: #d0d6d6; }/*White tea*/
  56. .bgcolor-8 { background: #3d4444; color: #fff; }/*Dark grey2*/
  57. .bgcolor-9 { background: #ef3f52; color: #fff;}/*pink2*/
  58. .bgcolor-10{ background: #64448f; color: #fff;}/*Violet*/
  59. .bgcolor-11{ background: #3755ad; color: #fff;}/*dark blue*/
  60. .bgcolor-12{ background: #3498DB; color: #fff;}/*light blue*/
  61. .bgcolor-20{ background: #494A5F;color: #D5D6E2;}
  62. /* Header */
  63. .htmleaf-header{
  64. padding: 1em 190px 1em;
  65. letter-spacing: -1px;
  66. text-align: center;
  67. background: #66677c;
  68. }
  69. .htmleaf-header h1 {
  70. color: #D5D6E2;
  71. font-weight: 600;
  72. font-size: 2em;
  73. line-height: 1;
  74. margin-bottom: 0;
  75. }
  76. .htmleaf-header h1 span {
  77. display: block;
  78. font-size: 60%;
  79. font-weight: 400;
  80. padding: 0.8em 0 0.5em 0;
  81. color: #c3c8cd;
  82. }
  83. /*nav*/
  84. .htmleaf-demo a{color: #fff;text-decoration: none;}
  85. .htmleaf-demo{width: 100%;padding-bottom: 1.2em;}
  86. .htmleaf-demo a{display: inline-block;margin: 0.5em;padding: 0.6em 1em;border: 3px solid #fff;font-weight: 700;}
  87. .htmleaf-demo a:hover{opacity: 0.6;}
  88. .htmleaf-demo a.current{background:#1d7db1;color: #fff; }
  89. /* Top Navigation Style */
  90. .htmleaf-links {
  91. position: relative;
  92. display: inline-block;
  93. white-space: nowrap;
  94. font-size: 1.5em;
  95. text-align: center;
  96. }
  97. .htmleaf-links::after {
  98. position: absolute;
  99. top: 0;
  100. left: 50%;
  101. margin-left: -1px;
  102. width: 2px;
  103. height: 100%;
  104. background: #dbdbdb;
  105. content: '';
  106. -webkit-transform: rotate3d(0,0,1,22.5deg);
  107. transform: rotate3d(0,0,1,22.5deg);
  108. }
  109. .htmleaf-icon {
  110. display: inline-block;
  111. margin: 0.5em;
  112. padding: 0em 0;
  113. width: 1.5em;
  114. text-decoration: none;
  115. }
  116. .htmleaf-icon span {
  117. display: none;
  118. }
  119. .htmleaf-icon:before {
  120. margin: 0 5px;
  121. text-transform: none;
  122. font-weight: normal;
  123. font-style: normal;
  124. font-variant: normal;
  125. font-family: 'icomoon';
  126. line-height: 1;
  127. speak: none;
  128. -webkit-font-smoothing: antialiased;
  129. }
  130. /* footer */
  131. .htmleaf-footer{width: 100%;padding-top: 10px;}
  132. .htmleaf-small{font-size: 0.8em;}
  133. .center{text-align: center;}
  134. /****/
  135. .related {
  136. color: #fff;
  137. background: #494A5F;
  138. text-align: center;
  139. font-size: 1.25em;
  140. padding: 0.5em 0;
  141. overflow: hidden;
  142. }
  143. .related > a {
  144. vertical-align: top;
  145. width: calc(100% - 20px);
  146. max-width: 340px;
  147. display: inline-block;
  148. text-align: center;
  149. margin: 20px 10px;
  150. padding: 25px;
  151. font-family: "Microsoft YaHei","宋体","Segoe UI", "Lucida Grande", Helvetica, Arial,sans-serif, FreeSans, Arimo;
  152. }
  153. .related a {
  154. display: inline-block;
  155. text-align: left;
  156. margin: 20px auto;
  157. padding: 10px 20px;
  158. opacity: 0.8;
  159. -webkit-transition: opacity 0.3s;
  160. transition: opacity 0.3s;
  161. -webkit-backface-visibility: hidden;
  162. text-decoration: none;
  163. }
  164. .related a:hover,
  165. .related a:active {
  166. opacity: 1;
  167. }
  168. .related a img {
  169. max-width: 100%;
  170. opacity: 0.8;
  171. border-radius: 4px;
  172. }
  173. .related a:hover img,
  174. .related a:active img {
  175. opacity: 1;
  176. }
  177. .related h3{font-family: "Microsoft YaHei", sans-serif;font-size: 1.2em}
  178. .related a h3 {
  179. font-size: 0.85em;
  180. font-weight: 300;
  181. margin-top: 0.15em;
  182. color: #fff;
  183. }
  184. /* icomoon */
  185. .icon-htmleaf-home-outline:before {
  186. content: "\e5000";
  187. }
  188. .icon-htmleaf-arrow-forward-outline:before {
  189. content: "\e5001";
  190. }
  191. @media screen and (max-width: 1024px) {
  192. .htmleaf-header {
  193. padding: 2em 10% 2em;
  194. }
  195. .htmleaf-header h1 {
  196. font-size:1.4em;
  197. }
  198. .htmleaf-links{font-size: 1.4em}
  199. }
  200. @media screen and (max-width: 960px) {
  201. .htmleaf-header {
  202. padding: 2em 10% 2em;
  203. }
  204. .htmleaf-header h1 {
  205. font-size:1.2em;
  206. }
  207. .htmleaf-links{font-size: 1.2em}
  208. .related h3{font-size: 1em;}
  209. .related a h3 {
  210. font-size: 0.8em;
  211. }
  212. }
  213. @media screen and (max-width: 766px) {
  214. .htmleaf-header h1 {
  215. font-size:1.3em;
  216. }
  217. .htmleaf-links{font-size: 1.3em}
  218. }
  219. @media screen and (max-width: 640px) {
  220. .htmleaf-header {
  221. padding: 2em 10% 2em;
  222. }
  223. .htmleaf-header h1 {
  224. font-size:1em;
  225. }
  226. .htmleaf-links{font-size: 1em}
  227. .related h3{font-size: 0.8em;}
  228. .related a h3 {
  229. font-size: 0.6em;
  230. }
  231. }