default.css 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  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: #f9f7f6;
  44. color: #404d5b;
  45. font-weight: 500;
  46. font-size: 1.05em;
  47. font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", "FontAwesome", sans-serif;
  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. overflow: hidden;
  54. }
  55. .bgcolor-1 { background: #f0efee; }
  56. .bgcolor-2 { background: #f9f9f9; }
  57. .bgcolor-3 { background: #e8e8e8; }/*light grey*/
  58. .bgcolor-4 { background: #2f3238; color: #fff; }/*Dark grey*/
  59. .bgcolor-5 { background: #df6659; color: #521e18; }/*pink1*/
  60. .bgcolor-6 { background: #2fa8ec; }/*sky blue*/
  61. .bgcolor-7 { background: #d0d6d6; }/*White tea*/
  62. .bgcolor-8 { background: #3d4444; color: #fff; }/*Dark grey2*/
  63. .bgcolor-9 { background: #ef3f52; color: #fff;}/*pink2*/
  64. .bgcolor-10{ background: #64448f; color: #fff;}/*Violet*/
  65. .bgcolor-11{ background: #3755ad; color: #fff;}/*dark blue*/
  66. .bgcolor-12{ background: #3498DB; color: #fff;}/*light blue*/
  67. /* Header */
  68. .htmleaf-header{
  69. padding: 1em 190px 1em;
  70. letter-spacing: -1px;
  71. text-align: center;
  72. }
  73. .htmleaf-header h1 {
  74. font-weight: 600;
  75. font-size: 2em;
  76. line-height: 1;
  77. margin-bottom: 0;
  78. font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", "FontAwesome", sans-serif;
  79. }
  80. .htmleaf-header h1 span {
  81. font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", "FontAwesome", sans-serif;
  82. display: block;
  83. font-size: 60%;
  84. font-weight: 400;
  85. padding: 0.8em 0 0.5em 0;
  86. color: #c3c8cd;
  87. }
  88. /*nav*/
  89. .htmleaf-demo a{color: #1d7db1;text-decoration: none;}
  90. .htmleaf-demo{width: 100%;padding-bottom: 1.2em;}
  91. .htmleaf-demo a{display: inline-block;margin: 0.5em;padding: 0.6em 1em;border: 3px solid #1d7db1;font-weight: 700;}
  92. .htmleaf-demo a:hover{opacity: 0.6;}
  93. .htmleaf-demo a.current{background:#1d7db1;color: #fff; }
  94. /* Top Navigation Style */
  95. .htmleaf-links {
  96. position: relative;
  97. display: inline-block;
  98. white-space: nowrap;
  99. font-size: 1.5em;
  100. text-align: center;
  101. }
  102. .htmleaf-links::after {
  103. position: absolute;
  104. top: 0;
  105. left: 50%;
  106. margin-left: -1px;
  107. width: 2px;
  108. height: 100%;
  109. background: #dbdbdb;
  110. content: '';
  111. -webkit-transform: rotate3d(0,0,1,22.5deg);
  112. transform: rotate3d(0,0,1,22.5deg);
  113. }
  114. .htmleaf-icon {
  115. display: inline-block;
  116. margin: 0.5em;
  117. padding: 0em 0;
  118. width: 1.5em;
  119. text-decoration: none;
  120. }
  121. .htmleaf-icon span {
  122. display: none;
  123. }
  124. .htmleaf-icon:before {
  125. margin: 0 5px;
  126. text-transform: none;
  127. font-weight: normal;
  128. font-style: normal;
  129. font-variant: normal;
  130. font-family: 'icomoon';
  131. line-height: 1;
  132. speak: none;
  133. -webkit-font-smoothing: antialiased;
  134. }
  135. /* footer */
  136. .htmleaf-footer{width: 100%;padding-top: 10px;}
  137. .htmleaf-small{font-size: 0.8em;}
  138. .center{text-align: center;}
  139. /****/
  140. .related {
  141. color: #fff;
  142. background: #333;
  143. text-align: center;
  144. font-size: 1.25em;
  145. padding: 0.5em 0;
  146. overflow: hidden;
  147. }
  148. .related > a {
  149. vertical-align: top;
  150. width: calc(100% - 20px);
  151. max-width: 340px;
  152. display: inline-block;
  153. text-align: center;
  154. margin: 20px 10px;
  155. padding: 25px;
  156. font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", "FontAwesome", sans-serif;
  157. }
  158. .related a {
  159. display: inline-block;
  160. text-align: left;
  161. margin: 20px auto;
  162. padding: 10px 20px;
  163. opacity: 0.8;
  164. -webkit-transition: opacity 0.3s;
  165. transition: opacity 0.3s;
  166. -webkit-backface-visibility: hidden;
  167. }
  168. .related a:hover,
  169. .related a:active {
  170. opacity: 1;
  171. }
  172. .related a img {
  173. max-width: 100%;
  174. opacity: 0.8;
  175. border-radius: 4px;
  176. }
  177. .related a:hover img,
  178. .related a:active img {
  179. opacity: 1;
  180. }
  181. .related h3{font-family: "Microsoft YaHei", sans-serif;}
  182. .related a h3 {
  183. font-weight: 300;
  184. margin-top: 0.15em;
  185. color: #fff;
  186. }
  187. /* icomoon */
  188. .icon-htmleaf-home-outline:before {
  189. content: "\e5000";
  190. }
  191. .icon-htmleaf-arrow-forward-outline:before {
  192. content: "\e5001";
  193. }
  194. @media screen and (max-width: 50em) {
  195. .htmleaf-header {
  196. padding: 3em 10% 4em;
  197. }
  198. .htmleaf-header h1 {
  199. font-size:2em;
  200. }
  201. }
  202. @media screen and (max-width: 40em) {
  203. .htmleaf-header h1 {
  204. font-size: 1.5em;
  205. }
  206. }
  207. @media screen and (max-width: 30em) {
  208. .htmleaf-header h1 {
  209. font-size:1.2em;
  210. }
  211. }