default.css 5.4 KB

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