index.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  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: 0.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 .left {
  142. float: left;
  143. width: 50%;
  144. }
  145. .header .left .image {
  146. float: left;
  147. margin: 27px 10px;
  148. width: 60px;
  149. }
  150. .header .left .title {
  151. float: left;
  152. font-size: 30px;
  153. color: white;
  154. letter-spacing: 3px;
  155. }
  156. .header .right {
  157. float: left;
  158. width: 50%;
  159. text-align: right;
  160. padding: 0 70px 0 0;
  161. }
  162. .header .right button {
  163. background: #409eff;
  164. color: #fff;
  165. padding: 4px 4px;
  166. font-size: 14px;
  167. border-radius: 5px;
  168. }
  169. .header .right button:hover {
  170. cursor: pointer;
  171. }
  172. .center {
  173. position: absolute;
  174. top: 20px;
  175. bottom: 0;
  176. left: 0;
  177. right: 0;
  178. margin: auto;
  179. width: 930px;
  180. height: 500px;
  181. z-index: 999;
  182. background: rgba(5, 19, 44, 0.6);
  183. }
  184. .center .list {
  185. display: block;
  186. float: left;
  187. margin: 60px 29px;
  188. }
  189. .center .list:nth-child(1) {
  190. position: relative;
  191. left: 75px;
  192. top: 60px;
  193. }
  194. .center .list:nth-child(2) {
  195. position: relative;
  196. left: 80px;
  197. top: 0;
  198. }
  199. .center .list:nth-child(3) {
  200. position: relative;
  201. left: 85px;
  202. top: 60px;
  203. }
  204. .center .list:nth-child(4) {
  205. position: relative;
  206. left: -187px;
  207. top: -145px;
  208. }
  209. .center .list:nth-child(5) {
  210. position: relative;
  211. top: -145px;
  212. left: 606px;
  213. }
  214. .center .list p {
  215. text-align: center;
  216. color: #00baf1;
  217. font-size: 35px;
  218. margin-top: 190px;
  219. }