You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

240 lines
5.7 KiB

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