pub.solar/_includes/styles/homelink.scss

39 lines
676 B
SCSS
Raw Normal View History

2022-10-03 00:02:47 +00:00
.ps-homelink {
position: fixed;
top: 0;
left: 0;
z-index: 100;
pointer-events: all;
color: var(--foreground);
background: white;
text-decoration: none;
text-align: center;
font-weight: 900;
font-size: 1.5rem;
padding: 0.5rem;
2022-10-03 00:02:47 +00:00
line-height: 1em;
text-shadow: 0.1em 0px 0px white;
2022-10-03 00:02:47 +00:00
transition: text-shadow 0.1s ease;
border: 1rem solid black;
2022-10-03 00:02:47 +00:00
border-top: 0;
border-left: 0;
&:hover {
text-shadow: 0.1em 0px 0px var(--accent);
2022-10-03 00:02:47 +00:00
}
@media screen and (min-width: 1200px) {
font-size: 2rem;
padding: 1rem;
}
&_lang {
left: unset;
right: 0;
border: 1rem solid black;
border-top: 0;
border-right: 0;
2022-10-03 00:02:47 +00:00
}
}