home.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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. transform: scale(1.1);
  15. -webkit-transform: scale(1.1);
  16. filter: blur(3px);
  17. -webkit-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: 172px;
  27. height: 172px;
  28. background-color: #f9fafc;
  29. padding: 5px;
  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. /* Extra small devices (portrait phones, less than 576px) */
  67. /* No media query for `xs` since this is the default in Bootstrap */
  68. /* Extra large devices (large desktops, 1200px and up) */
  69. @media (max-width: 1400px) {
  70. }
  71. @media (max-width: 1200px) {
  72. }
  73. /* Large devices (desktops, 992px and up) */
  74. @media (max-width: 992px) {
  75. }
  76. /* Medium devices (tablets, 768px and up) */
  77. @media only screen and (max-width: 768px) {
  78. }
  79. /* Small devices (landscape phones, 576px and up) */
  80. @media only screen and (max-width: 576px) {
  81. .content {
  82. position: relative;
  83. top: -75%;
  84. height: 65%;
  85. }
  86. .home img {
  87. width: 140px;
  88. max-width: 50%;
  89. height: auto;
  90. }
  91. .home .greeting {
  92. font-size: 24pt;
  93. }
  94. }