home.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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: 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. animation: bounce 2s infinite;
  50. }
  51. @keyframes bounce {
  52. 0%,
  53. 20%,
  54. 50%,
  55. 80%,
  56. 100% {
  57. transform: translateY(0);
  58. }
  59. 40% {
  60. transform: translateY(-30px);
  61. }
  62. 60% {
  63. transform: translateY(-15px);
  64. }
  65. }
  66. /* ============= Device specific fixes ======= */
  67. /* Extra small devices (portrait phones, less than 576px) */
  68. /* No media query for `xs` since this is the default in Bootstrap */
  69. /* Extra large devices (large desktops, 1200px and up) */
  70. @media (max-width: 1400px) {
  71. }
  72. @media (max-width: 1200px) {
  73. }
  74. /* Large devices (desktops, 992px and up) */
  75. @media (max-width: 992px) {
  76. }
  77. /* Medium devices (tablets, 768px and up) */
  78. @media only screen and (max-width: 768px) {
  79. }
  80. /* Small devices (landscape phones, 576px and up) */
  81. @media only screen and (max-width: 576px) {
  82. .content {
  83. position: relative;
  84. top: -75%;
  85. height: 65%;
  86. }
  87. .home img {
  88. width: 140px;
  89. max-width: 50%;
  90. height: auto;
  91. }
  92. .home .greeting {
  93. font-size: 24pt;
  94. }
  95. }