119 lines
1.7 KiB
CSS
119 lines
1.7 KiB
CSS
.home {
|
|
height: 100vh;
|
|
padding: 0;
|
|
margin: 0;
|
|
color: #f9fafc;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.background {
|
|
height: 100%;
|
|
width: 100%;
|
|
padding: 0;
|
|
margin: 0;
|
|
background-attachment: fixed;
|
|
transform: scale(1.1);
|
|
-webkit-transform: scale(1.1);
|
|
filter: blur(3px);
|
|
-webkit-filter: blur(3px);
|
|
background-size: cover;
|
|
}
|
|
|
|
.content {
|
|
position: relative;
|
|
top: -65%;
|
|
height: 60%;
|
|
}
|
|
|
|
.home img {
|
|
width: 148px;
|
|
height: 148px;
|
|
background-color: #e7e7ef;
|
|
padding: 5px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.home .greeting {
|
|
color: #f9fafc;
|
|
}
|
|
|
|
.home .typing-carousel {
|
|
font-size: 14pt;
|
|
color: #f0f0f0;
|
|
}
|
|
|
|
#typing-carousel-data {
|
|
display: none;
|
|
}
|
|
|
|
.arrow {
|
|
position: absolute;
|
|
color: #f9fafc;
|
|
font-size: 1.5rem;
|
|
bottom: 0;
|
|
}
|
|
|
|
.bounce {
|
|
animation: bounce 2s infinite;
|
|
}
|
|
|
|
@keyframes bounce {
|
|
0%,
|
|
20%,
|
|
50%,
|
|
80%,
|
|
100% {
|
|
transform: translateY(0);
|
|
}
|
|
40% {
|
|
transform: translateY(-30px);
|
|
}
|
|
60% {
|
|
transform: translateY(-15px);
|
|
}
|
|
}
|
|
|
|
/* ============= Device specific fixes ======= */
|
|
|
|
/* Extra small devices (portrait phones, less than 576px) */
|
|
|
|
/* No media query for `xs` since this is the default in Bootstrap */
|
|
|
|
/* Extra large devices (large desktops, 1200px and up) */
|
|
|
|
@media (max-width: 1400px) {
|
|
}
|
|
|
|
@media (max-width: 1200px) {
|
|
}
|
|
|
|
/* Large devices (desktops, 992px and up) */
|
|
|
|
@media (max-width: 992px) {
|
|
}
|
|
|
|
/* Medium devices (tablets, 768px and up) */
|
|
|
|
@media only screen and (max-width: 768px) {
|
|
}
|
|
|
|
/* Small devices (landscape phones, 576px and up) */
|
|
|
|
@media only screen and (max-width: 576px) {
|
|
.content {
|
|
position: relative;
|
|
top: -75%;
|
|
height: 65%;
|
|
}
|
|
|
|
.home img {
|
|
width: 140px;
|
|
max-width: 50%;
|
|
height: auto;
|
|
}
|
|
|
|
.home .greeting {
|
|
font-size: 24pt;
|
|
}
|
|
}
|