index.css 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  1. html {
  2. margin: 0;
  3. padding: 0;
  4. }
  5. html,
  6. body {
  7. width: 100%;
  8. height: 100%;
  9. margin: 0px;
  10. padding: 0px;
  11. font-family: 'Lato', sans-serif;
  12. font-size: 16px;
  13. }
  14. .social-icon a {
  15. position: fixed;
  16. background: white;
  17. color: white;
  18. display: inline-block;
  19. width: 100px;
  20. height: 100px;
  21. transform: translate(-50%, -50%) rotate(45deg);
  22. transition: .15s ease;
  23. z-index: 30;
  24. }
  25. .social-icon i {
  26. position: absolute;
  27. font-size: 1.8em;
  28. pointer-events: none;
  29. z-index: 1000;
  30. }
  31. .social-icon:hover a {
  32. transform: translate(-50%, -50%) rotate(45deg) scale(1.05);
  33. }
  34. .youtube a {
  35. top: 100%;
  36. left: 0%;
  37. box-shadow: 0px 0px 15px 5px rgba(230, 33, 23, 0.5);
  38. }
  39. .youtube i {
  40. left: 8px;
  41. bottom: 8px;
  42. color: #E62117;
  43. }
  44. .github a {
  45. top: 100%;
  46. left: 100%;
  47. box-shadow: 0px 0px 15px 3px rgba(126, 126, 126, 0.5);
  48. }
  49. .github i {
  50. right: 8px;
  51. bottom: 8px;
  52. }
  53. #canvas-container-1 {
  54. height: 100%;
  55. width: 80%;
  56. margin: 0 auto;
  57. }
  58. #canvas-1 {
  59. display: block;
  60. position: relative;
  61. top: 50%;
  62. left: 50%;
  63. transform: translate(-50%, -50%);
  64. }
  65. #site-link {
  66. color: #0099ff;
  67. display: inline-block;
  68. position: fixed;
  69. bottom: 4%;
  70. left: 50%;
  71. transform: translate(-50%, 0%);
  72. font-variant: small-caps;
  73. }
  74. body {
  75. background: url(../../home/images/bg_1.jpg);
  76. background-size: cover;
  77. }
  78. .fn_1 {
  79. width: 200px;
  80. height: 170px;
  81. background: url(../../home/images/fn_1.png) no-repeat;
  82. background-size: 100%;
  83. }
  84. .fn_1:hover {
  85. background: url(../../home/images/fn_1_h.png) no-repeat;
  86. background-size: 100%;
  87. }
  88. .fn_2 {
  89. width: 200px;
  90. height: 170px;
  91. background: url(../../home/images/fn_3.png) no-repeat;
  92. background-size: 100%;
  93. }
  94. .fn_2:hover {
  95. background: url(../../home/images/fn_3_h.png) no-repeat;
  96. background-size: 100%;
  97. }
  98. .fn_3 {
  99. width: 200px;
  100. height: 170px;
  101. background: url(../../home/images/fn_2.png) no-repeat;
  102. background-size: 100%;
  103. }
  104. .fn_3:hover {
  105. background: url(../../home/images/fn_2_h.png) no-repeat;
  106. background-size: 100%;
  107. }
  108. .fn_4 {
  109. width: 200px;
  110. height: 170px;
  111. background: url(../../home/images/fn_4.png) no-repeat;
  112. background-size: 100%;
  113. }
  114. .fn_4:hover {
  115. background: url(../../home/images/fn_4_h.png) no-repeat;
  116. background-size: 100%;
  117. }
  118. .fn_5 {
  119. width: 200px;
  120. height: 170px;
  121. background: url(../../home/images/fn_5.png) no-repeat;
  122. background-size: 100%;
  123. }
  124. .fn_5:hover {
  125. background: url(../../home/images/fn_5_h.png) no-repeat;
  126. background-size: 100%;
  127. }
  128. .sci-wheel {
  129. position: absolute;
  130. top: 0;
  131. right: 0;
  132. width: 100px;
  133. }
  134. .header {
  135. width: 100%;
  136. height: 100px;
  137. line-height: 100px;
  138. padding: 0 40px;
  139. background: rgba(0, 0, 0, 0.3);
  140. }
  141. .header img {
  142. float: left;
  143. margin: 27px 10px;
  144. width: 60px;
  145. }
  146. .header p {
  147. float: left;
  148. font-size: 30px;
  149. color: white;
  150. letter-spacing: 3px;
  151. }
  152. .header .home-btn {
  153. float: left;
  154. margin-top: 20px;
  155. width: 74px;
  156. height: 74px;
  157. border: 1px solid #102262;
  158. border-radius: 5px;
  159. background: url(../../home/images/login/icon.png) no-repeat center center;
  160. background-size: 45% 45%;
  161. cursor: pointer;
  162. }
  163. .center {
  164. position: absolute;
  165. top: -50px;
  166. bottom: 0;
  167. left: 0;
  168. right: 0;
  169. margin: auto;
  170. width: 930px;
  171. height: 500px;
  172. z-index: 999;
  173. background: rgba(5, 19, 44, 0.6);
  174. }
  175. .center .list {
  176. display: block;
  177. float: left;
  178. margin: 60px 29px;
  179. }
  180. .center .list:nth-child(1) {
  181. position: relative;
  182. left: 75px;
  183. top: 60px;
  184. }
  185. .center .list:nth-child(2) {
  186. position: relative;
  187. left: 80px;
  188. top: 0;
  189. }
  190. .center .list:nth-child(3) {
  191. position: relative;
  192. left: 85px;
  193. top: 60px;
  194. }
  195. .center .list:nth-child(4) {
  196. position: relative;
  197. left: -187px;
  198. top: -145px;
  199. }
  200. .center .list:nth-child(5) {
  201. position: relative;
  202. top: -145px;
  203. left: 606px;
  204. }
  205. .center .list p {
  206. text-align: center;
  207. color: #00BAF1;
  208. font-size: 35px;
  209. margin-top: 190px;
  210. }