web-page/css/style.css

129 lines
2.9 KiB
CSS

@font-face {
font-family: ProblematicPiercer;
src: url(../css/ProblematicPiercer.ttf);
}
@font-face {
font-family: Caveat;
src: url(../css/Caveat-Regular.ttf);
}
@font-face {
font-family: Whypo-rrey;
src: url(../css/Whypo-rrey.ttf);
}
body {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
overflow: hidden;
flex-direction: column;
color: #333333;
margin: 0;
opacity: 0;
font-family: ProblematicPiercer;
cursor: default;
}
div.row {
display: flex;
flex-direction: row;
width: 1000px;
align-items: center;
}
div.photo {
border-radius: 300px;
box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
background-image: url(../images/favicon.jpg);
width: 300px;
height: 300px;
background-size: contain;
margin-right: 80px;
}
div.info {
display: flex;
width: 620px;
flex-direction: column;
}
div.title {
font-size: 50px;
display: flex;
align-items: center;
justify-content: center;
}
div.bio {
font-family: Caveat;
font-size: 25px;
text-align: justify;
}
div.social {
display: flex;
justify-content: space-between;
margin-top: 100px;
width: 960px;
}
.social div {
width: 50px;
height: 50px;
background-repeat: no-repeat;
cursor: pointer;
transition: transform 0.2s;
background-size: 100px auto;
}
.social div:hover {
transform: scale(1.5);
background-position: -50px 0;
}
.mastodon { background-image: url(../images/social/mastodon.png); }
.twitter { background-image: url(../images/social/twitter.png); }
.linkedin { background-image: url(../images/social/linkedin.png); }
.facebook { background-image: url(../images/social/facebook.png); }
.instagram { background-image: url(../images/social/instagram.png); }
.git { background-image: url(../images/social/git.png); }
.github { background-image: url(../images/social/github.png); }
.telegram { background-image: url(../images/social/telegram.png); }
.solus { background-image: url(../images/social/linux.png); }
.blog { background-image: url(../images/social/blog.png); }
.ftp { background-image: url(../images/social/ftp.png); }
.band { background-image: url(../images/social/band.png); }
.soundcloud { background-image: url(../images/social/soundcloud.png); }
.email { background-image: url(../images/social/email.png); }
.matrix { background-image: url(../images/social/matrix.png); }
.gallery { background-image: url(../images/social/gallery.png); }
.tooltip {
position: relative;
display: inline-block;
}
.tooltip .tooltiptext {
visibility: hidden;
width: 120px;
left: 50%;
margin-left: -60px;
color: #000000;
text-align: center;
padding: 5px 0;
position: absolute;
z-index: 1;
top: 110%;
opacity: 0;
transition: opacity 1s;
font-family: Whypo-rrey;
}
.tooltip:hover .tooltiptext {
visibility: visible;
opacity: 1;
}