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.

306 lines
4.4 KiB

  1. body {
  2. padding: 0;
  3. margin: 0;
  4. font-family: $core-font-standard;
  5. font-size: 14px;
  6. }
  7. a {
  8. color: #FFF;
  9. transition: color 0.4s ease;
  10. text-decoration: none;
  11. &:hover {
  12. color: mc('orange','600');
  13. text-decoration: underline;
  14. }
  15. }
  16. #bg {
  17. position: fixed;
  18. top: 0;
  19. left: 0;
  20. width: 100%;
  21. height: 100%;
  22. z-index: 1;
  23. background-color: #000;
  24. > div {
  25. background-size: cover;
  26. background-position: center center;
  27. width: 100%;
  28. height: 100%;
  29. position: absolute;
  30. top: 0;
  31. left: 0;
  32. opacity: 0;
  33. visibility: hidden;
  34. transition: opacity 3s ease, visibility 3s;
  35. animation: bg 30s linear infinite;
  36. &:nth-child(1) {
  37. animation-delay: 10s;
  38. }
  39. &:nth-child(2) {
  40. animation-delay: 20s;
  41. }
  42. }
  43. }
  44. #root {
  45. position: fixed;
  46. top: 15vh;
  47. left: 10vw;
  48. z-index: 2;
  49. color: #FFF;
  50. display: flex;
  51. flex-direction: column;
  52. h1 {
  53. font-size: 4rem;
  54. font-weight: bold;
  55. color: #FFF;
  56. padding: 0;
  57. margin: 0;
  58. animation: headerIntro 3s ease;
  59. }
  60. h2 {
  61. font-size: 1.5rem;
  62. font-weight: normal;
  63. color: rgba(255,255,255,0.7);
  64. padding: 0;
  65. margin: 0 0 25px 0;
  66. animation: headerIntro 3s ease;
  67. }
  68. h3 {
  69. font-size: 1.25rem;
  70. font-weight: normal;
  71. color: #FB8C00;
  72. padding: 0;
  73. margin: 0;
  74. animation: shake 1s ease;
  75. > .fa {
  76. margin-right: 7px;
  77. }
  78. }
  79. h4 {
  80. font-size: 0.8rem;
  81. font-weight: normal;
  82. color: rgba(255,255,255,0.7);
  83. padding: 0;
  84. margin: 0 0 15px 0;
  85. animation: fadeIn 3s ease;
  86. }
  87. form {
  88. display: flex;
  89. flex-direction: column;
  90. }
  91. input[type=text], input[type=password] {
  92. width: 350px;
  93. max-width: 80vw;
  94. border: 1px solid rgba(255,255,255,0.3);
  95. border-radius: 3px;
  96. background-color: rgba(0,0,0,0.2);
  97. padding: 0 15px;
  98. height: 40px;
  99. margin: 0 0 10px 0;
  100. color: #FFF;
  101. font-weight: bold;
  102. font-size: 14px;
  103. transition: all 0.4s ease;
  104. &:focus {
  105. outline: none;
  106. border-color: mc('orange','600');
  107. }
  108. }
  109. button {
  110. background-color: mc('orange','600');
  111. color: #FFF;
  112. border: 1px solid lighten(mc('orange','600'), 10%);
  113. border-radius: 3px;
  114. height: 40px;
  115. width: 125px;
  116. padding: 0;
  117. font-weight: bold;
  118. margin: 15px 0 0 0;
  119. transition: all 0.4s ease;
  120. cursor: pointer;
  121. span {
  122. font-weight: bold;
  123. }
  124. &:focus {
  125. outline: none;
  126. border-color: #FFF;
  127. }
  128. &:hover {
  129. background-color: darken(mc('orange','600'), 10%);
  130. }
  131. }
  132. #social {
  133. margin-top: 25px;
  134. > span {
  135. display: block;
  136. font-weight: bold;
  137. color: rgba(255,255,255,0.7);
  138. }
  139. button {
  140. margin-right: 5px;
  141. width: auto;
  142. padding: 0 15px;
  143. > i {
  144. margin-right: 10px;
  145. font-size: 16px;
  146. }
  147. &.ms {
  148. background-color: mc('blue','600');
  149. border-color: lighten(mc('blue','600'), 10%);
  150. &:focus {
  151. border-color: #FFF;
  152. }
  153. &:hover {
  154. background-color: darken(mc('blue','600'), 10%);
  155. }
  156. }
  157. &.google {
  158. background-color: mc('light-blue','600');
  159. border-color: lighten(mc('light-blue','600'), 10%);
  160. &:focus {
  161. border-color: #FFF;
  162. }
  163. &:hover {
  164. background-color: darken(mc('light-blue','600'), 10%);
  165. }
  166. }
  167. &.facebook {
  168. background-color: mc('indigo','600');
  169. border-color: lighten(mc('indigo','600'), 10%);
  170. &:focus {
  171. border-color: #FFF;
  172. }
  173. &:hover {
  174. background-color: darken(mc('indigo','600'), 10%);
  175. }
  176. }
  177. &.github {
  178. background-color: mc('blue-grey','700');
  179. border-color: lighten(mc('blue-grey','700'), 10%);
  180. &:focus {
  181. border-color: #FFF;
  182. }
  183. &:hover {
  184. background-color: darken(mc('blue-grey','700'), 10%);
  185. }
  186. }
  187. &.slack {
  188. background-color: mc('purple','700');
  189. border-color: lighten(mc('purple','700'), 10%);
  190. &:focus {
  191. border-color: #FFF;
  192. }
  193. &:hover {
  194. background-color: darken(mc('purple','700'), 10%);
  195. }
  196. }
  197. }
  198. }
  199. }
  200. #copyright {
  201. display: flex;
  202. align-items: center;
  203. justify-content: flex-start;
  204. position: absolute;
  205. left: 10vw;
  206. bottom: 10vh;
  207. z-index: 2;
  208. color: rgba(255,255,255,0.5);
  209. font-weight: bold;
  210. .icon {
  211. font-size: 1.2rem;
  212. margin: 0 8px;
  213. }
  214. a {
  215. opacity: 0.75;
  216. }
  217. }
  218. @include keyframes(bg) {
  219. 0% {
  220. @include prefix(transform, scale(1,1));
  221. visibility: visible;
  222. opacity: 0;
  223. },
  224. 5% {
  225. opacity: 0.5;
  226. },
  227. 33% {
  228. opacity: 0.5;
  229. },
  230. 38% {
  231. @include prefix(transform, scale(1.2, 1.2));
  232. opacity: 0;
  233. },
  234. 39% {
  235. visibility: hidden;
  236. }
  237. 100% {
  238. visibility: hidden;
  239. opacity: 0;
  240. }
  241. }
  242. @include keyframes(headerIntro) {
  243. 0% {
  244. opacity: 0;
  245. }
  246. 100% {
  247. opacity: 1;
  248. }
  249. }