home.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. .home {
  2. height: 100vh;
  3. padding: 0;
  4. margin: 0;
  5. color: #f9fafc;
  6. overflow: hidden;
  7. }
  8. .background {
  9. height: 100%;
  10. width: 100%;
  11. padding: 0;
  12. margin: 0;
  13. background-attachment: fixed;
  14. background-position: center;
  15. transform: scale(1.1);
  16. -webkit-filter: blur(3px);
  17. filter: blur(3px);
  18. background-size: cover;
  19. }
  20. .content {
  21. position: relative;
  22. top: -65%;
  23. height: 60%;
  24. }
  25. .home img {
  26. width: 148px;
  27. height: 148px;
  28. background-color: #e7e7ef;
  29. padding: 5px;
  30. margin-bottom: 10px;
  31. }
  32. .home .greeting {
  33. color: #f9fafc;
  34. }
  35. .home .typing-carousel {
  36. font-size: 14pt;
  37. color: #f0f0f0;
  38. }
  39. #typing-carousel-data {
  40. display: none;
  41. }
  42. .arrow {
  43. position: absolute;
  44. color: #f9fafc;
  45. font-size: 1.5rem;
  46. bottom: 0;
  47. }
  48. .bounce {
  49. -webkit-animation: bounce 2s infinite;
  50. animation: bounce 2s infinite;
  51. }
  52. @-webkit-keyframes bounce {
  53. 0%,
  54. 20%,
  55. 50%,
  56. 80%,
  57. 100% {
  58. transform: translateY(0);
  59. }
  60. 40% {
  61. transform: translateY(-30px);
  62. }
  63. 60% {
  64. transform: translateY(-15px);
  65. }
  66. }
  67. @keyframes bounce {
  68. 0%,
  69. 20%,
  70. 50%,
  71. 80%,
  72. 100% {
  73. transform: translateY(0);
  74. }
  75. 40% {
  76. transform: translateY(-30px);
  77. }
  78. 60% {
  79. transform: translateY(-15px);
  80. }
  81. }
  82. /* ============= Device specific fixes ======= */
  83. /* Large screens such as TV */
  84. @media only screen and (min-width: 1824px) {
  85. }
  86. /* Extra large devices (large desktops, 1200px and up) */
  87. @media (max-width: 1400px) {
  88. }
  89. @media (max-width: 1200px) {
  90. }
  91. /* IPad Pro */
  92. @media (max-width: 1024px) {
  93. }
  94. /* Large devices (desktops, 992px and up) */
  95. @media (max-width: 992px) {
  96. }
  97. /* Medium devices (tablets, 768px and up) */
  98. @media only screen and (max-width: 768px) {
  99. }
  100. /* Small devices (landscape phones, 576px and up) */
  101. @media only screen and (max-width: 576px) {
  102. .content {
  103. position: relative;
  104. top: -75%;
  105. height: 65%;
  106. }
  107. .home img {
  108. width: 140px;
  109. max-width: 50%;
  110. height: auto;
  111. }
  112. .home .greeting {
  113. font-size: 24pt;
  114. }
  115. }
  116. /* iPhoneX, iPhone 6,7,8 */
  117. @media only screen and (max-width: 375px) {
  118. }
  119. /* Galaxy S5, Moto G4 */
  120. @media only screen and (max-width: 360px) {
  121. }
  122. /* iPhone 5 or before */
  123. @media only screen and (max-width: 320px) {
  124. }