home.css 1.9 KB

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