mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
28 lines
552 B
SCSS
28 lines
552 B
SCSS
.float-container {
|
|
bottom: 2rem;
|
|
right: 2rem;
|
|
z-index: 100;
|
|
position: fixed;
|
|
font-size: 1.6em;
|
|
a {
|
|
display: block;
|
|
text-align: center;
|
|
width: 3.0rem;
|
|
height: 3.0rem;
|
|
color: $alt-fg-color;
|
|
background-color: $alt-bg-color;
|
|
font-size: 2.0rem;
|
|
border-radius: 0.5rem;
|
|
opacity: 50%;
|
|
transition: all .25s ease-in;
|
|
&:hover, &:focus {
|
|
color: $link-color;
|
|
opacity: 100%;
|
|
@media only screen and (max-width : 768px) {
|
|
color: $alt-fg-color;
|
|
opacity: 50%;
|
|
}
|
|
}
|
|
}
|
|
}
|