default.css 5.6 KB

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