You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
737 B
38 lines
737 B
.backToTop {
|
|
position: fixed;
|
|
bottom: 20px;
|
|
right: 20px;
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
background-color: var(--ifm-color-primary);
|
|
color: white;
|
|
border: none;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.3s ease;
|
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
|
|
z-index: 1000;
|
|
}
|
|
|
|
.backToTop:hover {
|
|
background-color: var(--ifm-color-primary-darker);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.backToTop:active {
|
|
transform: translateY(0);
|
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
@media (max-width: 996px) {
|
|
.backToTop {
|
|
bottom: 15px;
|
|
right: 15px;
|
|
width: 35px;
|
|
height: 35px;
|
|
}
|
|
} |