mirror of
https://github.com/zaaarf/friendenstein.git
synced 2024-11-14 19:49:21 +01:00
89 lines
1.3 KiB
SCSS
89 lines
1.3 KiB
SCSS
div.home-container {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
|
|
div.home {
|
|
margin: 35% auto;
|
|
text-align: center;
|
|
|
|
h1 {
|
|
margin: 0;
|
|
font-size: 4rem;
|
|
color: var(--fgColor);
|
|
background-color: var(--bgColor);
|
|
|
|
&::before {
|
|
content: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-width: 650px) {
|
|
div.home {
|
|
margin: auto auto;
|
|
}
|
|
}
|
|
}
|
|
|
|
.social-icon {
|
|
padding: .2em .3em 0 .3em;
|
|
font-size: 32px;
|
|
cursor: pointer;
|
|
|
|
&-container {
|
|
position: relative;
|
|
display: inline-block;
|
|
text-align: center;
|
|
}
|
|
|
|
&-menu {
|
|
position: absolute;
|
|
|
|
display: none;
|
|
opacity: 0;
|
|
transition: all 0.15s ease-out 0.15s;
|
|
|
|
background-color: transparent;
|
|
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
top: 100%;
|
|
|
|
z-index: 10;
|
|
|
|
&-arrow {
|
|
margin: 0 auto;
|
|
width: 0;
|
|
height: 0;
|
|
border-left: 4px solid transparent;
|
|
border-right: 4px solid transparent;
|
|
border-bottom: 4px solid var(--metaColor);
|
|
}
|
|
|
|
&-inner {
|
|
position: relative;
|
|
padding: .2em .5em;
|
|
border: thin solid var(--metaColor);
|
|
border-radius: 2px;
|
|
|
|
&:before {
|
|
content: "";
|
|
border-color: transparent;
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: -1;
|
|
box-shadow: 0 0 20px 1px #000;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.nolink:hover .social-icon-menu {
|
|
display: inline-block;
|
|
opacity: 1;
|
|
}
|
|
|