134 lines
3.5 KiB
CSS
134 lines
3.5 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;
|
|
}
|
|
|
|
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: 800px;
|
|
}
|
|
|
|
.social div {
|
|
width: 50px;
|
|
height: 50px;
|
|
background-size: contain;
|
|
cursor: pointer;
|
|
transition: 0.2s;
|
|
}
|
|
|
|
.social div:hover {
|
|
transform: scale(1.5);
|
|
}
|
|
|
|
.mastodon { background-image: url(../images/social/mastodon-off.png); }
|
|
.mastodon:hover { background-image: url(../images/social/mastodon-on.png); }
|
|
.twitter { background-image: url(../images/social/twitter-off.png); }
|
|
.twitter:hover { background-image: url(../images/social/twitter-on.png); }
|
|
.linkedin { background-image: url(../images/social/linkedin-off.png); }
|
|
.linkedin:hover { background-image: url(../images/social/linkedin-on.png); }
|
|
.facebook { background-image: url(../images/social/facebook-off.png); }
|
|
.facebook:hover { background-image: url(../images/social/facebook-on.png); }
|
|
.instagram { background-image: url(../images/social/instagram-off.png); }
|
|
.instagram:hover { background-image: url(../images/social/instagram-on.png); }
|
|
.git { background-image: url(../images/social/git-off.png); }
|
|
.git:hover { background-image: url(../images/social/git-on.png); }
|
|
.github { background-image: url(../images/social/github-off.png); }
|
|
.github:hover { background-image: url(../images/social/github-on.png); }
|
|
.telegram { background-image: url(../images/social/telegram-off.png); }
|
|
.telegram:hover { background-image: url(../images/social/telegram-on.png); }
|
|
.solus { background-image: url(../images/social/linux-off.png); }
|
|
.solus:hover { background-image: url(../images/social/linux-on.png); }
|
|
.blog { background-image: url(../images/social/blog-off.png); }
|
|
.blog:hover { background-image: url(../images/social/blog-on.png); }
|
|
.ftp { background-image: url(../images/social/ftp-off.png); }
|
|
.ftp:hover { background-image: url(../images/social/ftp-on.png); }
|
|
.email { background-image: url(../images/social/email-off.png); }
|
|
.email:hover { background-image: url(../images/social/email-on.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;
|
|
}
|