zzsc-demo.css 4.9 KB

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