Files
mue/src/scss/modules/_credit.scss
David Ralph 91fefbf73c 4.0
Co-authored-by: Alex Sparkes <turbomarshmello@gmail.com>
Co-authored-by: Wessel Tip <discord@go2it.eu>
Co-authored-by: Isaac Saunders <contact@eartharoid.me>
2020-08-26 14:32:52 +01:00

77 lines
1.4 KiB
SCSS

#location,
#photographer {
font-size: calc(10px + 1.2vmin);
text-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
text-overflow: ellipsis;
}
#location {
margin-bottom: -10px;
}
#photographer {
position: absolute;
bottom: 10px;
left: 50px;
width: 1000px;
}
.locationicon {
width: auto;
cursor: pointer;
}
.navbar-container > svg, #backgroundCredits > svg {
font-size: calc(10px + 1.5vmin) !important;
position: absolute;
bottom: 2px;
left: 2px;
transition: all 0.5s ease 0s;
}
.credits {
bottom: 2px;
left: 0px;
position: absolute;
text-align: left;
width: auto;
height: auto;
}
.tooltip {
position: relative;
display: inline-block;
bottom: 15px;
left: 10px;
-webkit-filter: drop-shadow(0px 3px 3px rgba(0, 0, 0, 0.4));
filter: drop-shadow(0px 3px 3px rgba(0, 0, 0, 0.4));
.tooltiptext {
width: 200px;
display: inline-block;
visibility: hidden;
border-radius: 12px;
background-color: map-get($theme-colours, "main");;
color: #000;
font-size: calc(10px + 1.2vmin);
position: absolute;
z-index: 1;
padding: 15px 32px;
bottom: 40px;
left: 60px;
margin-left: -60px;
opacity: 0;
transition: opacity 1s;
box-sizing: border-box;
}
&:hover .tooltiptext {
visibility: visible;
opacity: 1;
}
}
#photographer, .locationicon {
display: inline;
vertical-align: midddle;
}