default.css 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
  1. /* @font-face {
  2. font-family: 'icomoon';
  3. src:url('fonts/icomoon.eot?yrquyl');
  4. src:url('fonts/icomoon.eot?#iefixyrquyl') format('embedded-opentype'),
  5. url('fonts/icomoon.woff?yrquyl') format('woff'),
  6. url('fonts/icomoon.ttf?yrquyl') format('truetype'),
  7. url('fonts/icomoon.svg?yrquyl#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: white; */text-decoration: none;outline: none;}
  49. a:hover,a:focus{color:#74777b;};
  50. .htmleaf-container{
  51. margin: 0 auto;
  52. text-align: center;
  53. overflow: hidden;
  54. }
  55. .htmleaf-content {
  56. font-size: 150%;
  57. padding: 3em 0;
  58. }
  59. .htmleaf-content h2 {
  60. margin: 0 0 2em;
  61. opacity: 0.1;
  62. }
  63. .htmleaf-content p {
  64. margin: 1em 0;
  65. padding: 5em 0 0 0;
  66. font-size: 0.65em;
  67. }
  68. .bgcolor-1 { background: #f0efee; }
  69. .bgcolor-2 { background: #f9f9f9; }
  70. .bgcolor-3 { background: #e8e8e8; }/*light grey*/
  71. .bgcolor-4 { background: #2f3238; color: #fff; }/*Dark grey*/
  72. .bgcolor-5 { background: #df6659; color: #521e18; }/*pink1*/
  73. .bgcolor-6 { background: #2fa8ec; }/*sky blue*/
  74. .bgcolor-7 { background: #d0d6d6; }/*White tea*/
  75. .bgcolor-8 { background: #3d4444; color: #fff; }/*Dark grey2*/
  76. .bgcolor-9 { background: #ef3f52; color: #fff;}/*pink2*/
  77. .bgcolor-10{ background: #64448f; color: #fff;}/*Violet*/
  78. .bgcolor-11{ background: #3755ad; color: #fff;}/*dark blue*/
  79. .bgcolor-12{ background: #3498DB; color: #fff;}/*light blue*/
  80. /* Header */
  81. .htmleaf-header{
  82. padding: 1em 190px 1em;
  83. letter-spacing: -1px;
  84. text-align: center;
  85. }
  86. .htmleaf-header h1 {
  87. font-weight: 600;
  88. font-size: 2em;
  89. line-height: 1;
  90. margin-bottom: 0;
  91. /*text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);*/
  92. }
  93. .htmleaf-header h1 span {
  94. 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;/* */
  95. display: block;
  96. font-size: 60%;
  97. font-weight: 400;
  98. padding: 0.8em 0 0.5em 0;
  99. color: #c3c8cd;
  100. }
  101. /*nav*/
  102. .htmleaf-demo a{color: #1d7db1;text-decoration: none;}
  103. .htmleaf-demo{width: 100%;padding-bottom: 1.2em;}
  104. .htmleaf-demo a{display: inline-block;margin: 0.5em;padding: 0.6em 1em;border: 3px solid #1d7db1;font-weight: 700;}
  105. .htmleaf-demo a:hover{opacity: 0.6;}
  106. .htmleaf-demo a.current{background:#1d7db1;color: #fff; }
  107. /* Top Navigation Style */
  108. .htmleaf-links {
  109. position: relative;
  110. display: inline-block;
  111. white-space: nowrap;
  112. font-size: 1.5em;
  113. text-align: center;
  114. }
  115. .htmleaf-links::after {
  116. position: absolute;
  117. top: 0;
  118. left: 50%;
  119. margin-left: -1px;
  120. width: 2px;
  121. height: 100%;
  122. background: #dbdbdb;
  123. content: '';
  124. -webkit-transform: rotate3d(0,0,1,22.5deg);
  125. transform: rotate3d(0,0,1,22.5deg);
  126. }
  127. .htmleaf-icon {
  128. display: inline-block;
  129. margin: 0.5em;
  130. padding: 0em 0;
  131. width: 1.5em;
  132. text-decoration: none;
  133. }
  134. .htmleaf-icon span {
  135. display: none;
  136. }
  137. .htmleaf-icon:before {
  138. margin: 0 5px;
  139. text-transform: none;
  140. font-weight: normal;
  141. font-style: normal;
  142. font-variant: normal;
  143. font-family: 'icomoon';
  144. line-height: 1;
  145. speak: none;
  146. -webkit-font-smoothing: antialiased;
  147. }
  148. /* footer */
  149. .htmleaf-footer{width: 100%;padding-top: 10px;}
  150. .htmleaf-small{font-size: 0.8em;}
  151. .center{text-align: center;}
  152. /****/
  153. .related {
  154. color: #fff;
  155. background: #333;
  156. text-align: center;
  157. font-size: 1.25em;
  158. padding: 0.5em 0;
  159. overflow: hidden;
  160. }
  161. .related > a {
  162. vertical-align: top;
  163. width: calc(100% - 20px);
  164. max-width: 340px;
  165. display: inline-block;
  166. text-align: center;
  167. margin: 20px 10px;
  168. padding: 25px;
  169. 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;
  170. }
  171. .related a {
  172. display: inline-block;
  173. text-align: left;
  174. margin: 20px auto;
  175. padding: 10px 20px;
  176. opacity: 0.8;
  177. -webkit-transition: opacity 0.3s;
  178. transition: opacity 0.3s;
  179. -webkit-backface-visibility: hidden;
  180. }
  181. .related a:hover,
  182. .related a:active {
  183. opacity: 1;
  184. }
  185. .related a img {
  186. max-width: 100%;
  187. opacity: 0.8;
  188. border-radius: 4px;
  189. }
  190. .related a:hover img,
  191. .related a:active img {
  192. opacity: 1;
  193. }
  194. .related a h3 {
  195. font-weight: 300;
  196. margin-top: 0.15em;
  197. color: #fff;
  198. }
  199. /* icomoon */
  200. .icon-home:before {
  201. content: "\e600";
  202. }
  203. .icon-pacman:before {
  204. content: "\e623";
  205. }
  206. .icon-users2:before {
  207. content: "\e678";
  208. }
  209. .icon-bug:before {
  210. content: "\e699";
  211. }
  212. .icon-eye:before {
  213. content: "\e610";
  214. }
  215. .icon-eye-blocked:before {
  216. content: "\e611";
  217. }
  218. .icon-eye2:before {
  219. content: "\e612";
  220. }
  221. .icon-arrow-up-left3:before {
  222. content: "\e72f";
  223. }
  224. .icon-arrow-up3:before {
  225. content: "\e730";
  226. }
  227. .icon-arrow-up-right3:before {
  228. content: "\e731";
  229. }
  230. .icon-arrow-right3:before {
  231. content: "\e732";
  232. }
  233. .icon-arrow-down-right3:before {
  234. content: "\e733";
  235. }
  236. .icon-arrow-down3:before {
  237. content: "\e734";
  238. }
  239. .icon-arrow-down-left3:before {
  240. content: "\e735";
  241. }
  242. .icon-arrow-left3:before {
  243. content: "\e736";
  244. }
  245. @media screen and (max-width: 50em) {
  246. .htmleaf-header {
  247. padding: 3em 10% 4em;
  248. }
  249. .htmleaf-header h1 {
  250. font-size:2em;
  251. }
  252. }
  253. @media screen and (max-width: 40em) {
  254. .htmleaf-header h1 {
  255. font-size: 1.5em;
  256. }
  257. }
  258. @media screen and (max-width: 30em) {
  259. .htmleaf-header h1 {
  260. font-size:1.2em;
  261. }
  262. }