ckt的看板部分
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.

232 lines
5.6 KiB

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