144
html/css/social.css
Normal file
144
html/css/social.css
Normal file
@@ -0,0 +1,144 @@
|
||||
.home {
|
||||
position: fixed !important;
|
||||
}
|
||||
|
||||
.social {
|
||||
font-family: "Roboto", sans-serif;
|
||||
font: 18px;
|
||||
color: white;
|
||||
padding: 2rem;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.profile-card {
|
||||
box-shadow: 0 18px 200px -60px black;
|
||||
border-radius: 50px;
|
||||
width: 650px;
|
||||
position: relative;
|
||||
-webkit-backdrop-filter: blur(15px);
|
||||
backdrop-filter: blur(15px);
|
||||
border: 2px solid rgba(255, 255, 255, 0.2509803922);
|
||||
padding: 3rem 1rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 40px;
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.profile-card {
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
.profile-card__img img {
|
||||
margin: auto;
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
border-radius: 50%;
|
||||
-o-object-fit: cover;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
box-shadow: 0 10px 60px -10px rgba(13, 28, 39, 0.5);
|
||||
}
|
||||
|
||||
@media (max-width: 766px) {
|
||||
.profile-card__img img {
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
}
|
||||
|
||||
.profile-card__desc h1 {
|
||||
font-size: 1.5rem !important;
|
||||
margin-top: -25px !important;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
.profile-card__desc {
|
||||
text-align: center;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 25px;
|
||||
}
|
||||
.profile-card__desc h1 {
|
||||
font-size: 2.5rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
.profile-card__desc h1 + div {
|
||||
font-size: 20px !important;
|
||||
}
|
||||
.profile-card__info {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 50px;
|
||||
}
|
||||
@media screen and (max-width: 576px) {
|
||||
.profile-card__info {
|
||||
gap: 30px;
|
||||
}
|
||||
}
|
||||
.profile-card__info > div {
|
||||
text-transform: uppercase;
|
||||
font-weight: bold;
|
||||
letter-spacing: 1px;
|
||||
text-align: center;
|
||||
}
|
||||
.profile-card__info > div > *:first-child {
|
||||
font-weight: bold;
|
||||
}
|
||||
.profile-card__info > div > *:last-child {
|
||||
font-size: 16px !important;
|
||||
opacity: 0.7;
|
||||
}
|
||||
.profile-card__social {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.profile-card__social a {
|
||||
display: inline-flex;
|
||||
width: 55px;
|
||||
height: 55px;
|
||||
margin: 15px;
|
||||
border-radius: 40%;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: white;
|
||||
position: relative;
|
||||
flex-shrink: 0;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.profile-card__social a {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
margin: 10px;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 768px) {
|
||||
.profile-card__social a:hover {
|
||||
transform: scale(1.2) translateY(-5px);
|
||||
}
|
||||
}
|
||||
.profile-card__social a.site {
|
||||
background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
|
||||
box-shadow: 0 4px 30px rgba(43, 98, 168, 0.4);
|
||||
}
|
||||
.profile-card__social a.blog {
|
||||
background: linear-gradient(45deg, #1769ff, #213fca);
|
||||
box-shadow: 0 4px 30px rgba(27, 86, 231, 0.4);
|
||||
}
|
||||
.profile-card__social a.github {
|
||||
background: linear-gradient(45deg, #333333, #626b73);
|
||||
box-shadow: 0 4px 30px rgba(63, 65, 67, 0.4);
|
||||
}
|
||||
.profile-card__social a.twitter {
|
||||
background: linear-gradient(45deg, #1da1f2, #0e71c8);
|
||||
box-shadow: 0 4px 30px rgba(19, 127, 212, 0.4);
|
||||
}
|
||||
.profile-card__social a.status {
|
||||
background: linear-gradient(45deg, #3b5998, #0078d7);
|
||||
box-shadow: 0 4px 30px rgba(43, 98, 168, 0.4);
|
||||
}
|
||||
Reference in New Issue
Block a user