home.css 1.9 KB

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