index.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283
  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 .image {
  142. float: left;
  143. margin: 27px 10px;
  144. width: 60px;
  145. }
  146. .header .title {
  147. float: left;
  148. font-size: 30px;
  149. color: white;
  150. letter-spacing: 3px;
  151. }
  152. .header .login{
  153. float: right;
  154. width: 270px;
  155. margin: 30px 60px 0 0px;
  156. }
  157. .header .login a:first-child{
  158. float: left;
  159. width: 40px;
  160. height: 40px;
  161. border: 1px solid #ccc;
  162. background-color: #cccccc3f;
  163. border-radius: 5px;
  164. }
  165. .header .login a:first-child img{
  166. float: left;
  167. padding: 10px;
  168. }
  169. .header .login a:nth-child(2){
  170. float: left;
  171. width: 100px;
  172. height: 40px;
  173. border: 1px solid #ccc;
  174. line-height: 40px;
  175. text-align: center;
  176. color: #ccc;
  177. background-color: #cccccc3f;
  178. border-radius: 5px;
  179. }
  180. .header .login a:nth-child(3){
  181. float: left;
  182. width: 100px;
  183. height: 40px;
  184. border: 1px solid #ccc;
  185. line-height: 40px;
  186. text-align: center;
  187. color: #ccc;
  188. background-color: #cccccc3f;
  189. border-radius: 5px;
  190. }
  191. .header .home-btn {
  192. float: left;
  193. margin-top: 20px;
  194. width: 74px;
  195. height: 74px;
  196. border: 1px solid #102262;
  197. border-radius: 5px;
  198. background: url(../../home/images/login/icon.png) no-repeat center center;
  199. background-size: 45% 45%;
  200. cursor: pointer;
  201. }
  202. .center {
  203. position: absolute;
  204. top: 20px;
  205. bottom: 0;
  206. left: 0;
  207. right: 0;
  208. margin: auto;
  209. width: 930px;
  210. height: 500px;
  211. z-index: 999;
  212. background: rgba(5, 19, 44, 0.6);
  213. }
  214. .center .list {
  215. display: block;
  216. float: left;
  217. margin: 60px 29px;
  218. }
  219. .center .list:nth-child(1) {
  220. position: relative;
  221. left: 75px;
  222. top: 60px;
  223. }
  224. .center .list:nth-child(2) {
  225. position: relative;
  226. left: 80px;
  227. top: 0;
  228. }
  229. .center .list:nth-child(3) {
  230. position: relative;
  231. left: 85px;
  232. top: 60px;
  233. }
  234. .center .list:nth-child(4) {
  235. position: relative;
  236. left: -187px;
  237. top: -145px;
  238. }
  239. .center .list:nth-child(5) {
  240. position: relative;
  241. top: -145px;
  242. left: 606px;
  243. }
  244. .center .list p {
  245. text-align: center;
  246. color: #00BAF1;
  247. font-size: 35px;
  248. margin-top: 190px;
  249. }