splash.css 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. #splash {
  2. position: fixed;
  3. z-index: 9999;
  4. width: 100%;
  5. height: 100%;
  6. top: 0;
  7. left: 0;
  8. background-color: #101010;
  9. }
  10. #splash-logo {
  11. margin-top: 6em;
  12. color: #ffa000;
  13. text-align: center;
  14. }
  15. #splash-version {
  16. color: white;
  17. text-align: center;
  18. margin-left: 40em;
  19. }
  20. #splash-text {
  21. margin-top: 3em;
  22. }
  23. #splash-text p {
  24. margin: 0 auto;
  25. font-size: 120%;
  26. text-align: center;
  27. white-space: nowrap;
  28. overflow: hidden;
  29. transform: translateY(-50%);
  30. color: white;
  31. }
  32. #splash-loader {
  33. margin-top: 2em;
  34. text-align: center;
  35. font-family: Menlo,Consolas,Monaco,monospace;
  36. font-size: 180%;
  37. color: #ffa000;
  38. }
  39. /* --- Responsive --- */
  40. @media (max-width: 1259px) and (min-width: 851px) {
  41. #splash-logo {
  42. font-size: 75%;
  43. }
  44. }
  45. @media (max-width: 851px) and (min-width: 504px) {
  46. #splash-logo {
  47. margin-top: 10em;
  48. font-size: 50%;
  49. }
  50. }
  51. @media (max-width: 504px) {
  52. #splash-logo {
  53. margin-top: 28em;
  54. font-size: 34%;
  55. }
  56. #splash-text p {
  57. margin: 0 auto;
  58. font-size: 80%;
  59. }
  60. #splash-loader {
  61. font-size: 120%;
  62. }
  63. }
  64. /* --- Animation --- */
  65. .anim-typewriter{
  66. animation: typewriter 1.6s steps(44) 250ms 1 normal both,
  67. blinkTextCursor 500ms steps(44) infinite normal;
  68. }
  69. @keyframes typewriter{
  70. from{width: 0;}
  71. to{width: 24em;}
  72. }