parent
802b7cab86
commit
2c9cf5e805
After Width: | Height: | Size: 208 KiB |
After Width: | Height: | Size: 896 KiB |
After Width: | Height: | Size: 8.2 KiB |
@ -0,0 +1,233 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700&display=swap');
|
||||
|
||||
body {
|
||||
font: 18px "Nunito", sans-serif;
|
||||
color: black;
|
||||
min-height: 100vh;
|
||||
padding: 2rem;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
body::before {
|
||||
content: '';
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: -1;
|
||||
pointer-events: none;
|
||||
background: url("../Images/Back(2).jpg") no-repeat center;
|
||||
background-size: cover;
|
||||
animation: backgroundZoomAnimate 20s forwards;
|
||||
}
|
||||
|
||||
@keyframes backgroundZoomAnimate {
|
||||
from {
|
||||
transform: scale(1);
|
||||
}
|
||||
to {
|
||||
transform: scale(1.3);
|
||||
}
|
||||
}
|
||||
|
||||
.profil-card {
|
||||
box-shadow: 0 18px 200px -60px black;
|
||||
border-radius: 50px;
|
||||
width: 650px;
|
||||
position: relative;
|
||||
backdrop-filter: blur(15px);
|
||||
border: 2px solid #ffffff40;
|
||||
padding: 3rem 5rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 40px;
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.profil-card__img img {
|
||||
margin: auto;
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
border-radius: 50%;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
box-shadow: 0 10px 60px -10px rgba(13,28,39,.5);
|
||||
}
|
||||
|
||||
.profil-card__desc {
|
||||
text-align: center;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 25px;
|
||||
|
||||
}
|
||||
|
||||
.localisation {
|
||||
display: flex;
|
||||
align-items:center;
|
||||
gap:10px;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.profil-card__desc h1 {
|
||||
font-size: 2.5rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.profil-card__desc h1 + div {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.info{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 50px;
|
||||
|
||||
@media screen and (max-width: 576px) {
|
||||
gap: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
.info > div {
|
||||
text-transform: uppercase;
|
||||
font-weight: bold;
|
||||
letter-spacing: 1px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.info > div > *:first-child {
|
||||
font-weight: bold;
|
||||
letter-spacing: 3px;
|
||||
font-size: 2rem;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.info > div > *:last-child {
|
||||
font-size: 16px;
|
||||
opacity: .7;
|
||||
}
|
||||
|
||||
.social {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.social a {
|
||||
display: inline-block;
|
||||
width: 55px;
|
||||
height: 55px;
|
||||
margin: 15px;
|
||||
border-radius: 40%;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: white;
|
||||
position: relative;
|
||||
flex-shrink: 0;
|
||||
transition: all .2s;
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
margin: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 768px) {
|
||||
.social a:hover {
|
||||
transform: scale(1.2) translateY(-5px);
|
||||
}
|
||||
}
|
||||
|
||||
.social a.facebook {
|
||||
padding-top: 15px;
|
||||
padding-left: 15px;
|
||||
background: linear-gradient(45deg, #3b5998,#0078d7);
|
||||
box-shadow: 0 4px 30px rgba(45, 98, 169, 1);
|
||||
}
|
||||
|
||||
.social a.twitter {
|
||||
padding-top: 15px;
|
||||
padding-left: 15px;
|
||||
background: linear-gradient(45deg, #1da1f2,#0e71c8);
|
||||
box-shadow: 0 4px 30px rgba(19, 127, 212, 1);
|
||||
}
|
||||
|
||||
.social a.instagram {
|
||||
padding-top: 15px;
|
||||
padding-left: 15px;
|
||||
background: linear-gradient(45deg, #405de6,#5851db,#833ab4,#c13584,#e1306c,#fd1d1d);
|
||||
box-shadow: 0 4px 30px rgba(120, 64, 190, 0.8);
|
||||
}
|
||||
|
||||
.social a.gitlab {
|
||||
padding-top: 15px;
|
||||
padding-left: 15px;
|
||||
background: linear-gradient(45deg, #FF9467,#DB4100);
|
||||
box-shadow: 0 4px 30px rgba(255,148,103, 0.6);
|
||||
}
|
||||
|
||||
.actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 2rem;
|
||||
|
||||
@media screen and (max-width: 576px) {
|
||||
flex-direction: column;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
.actions > button {
|
||||
font-weight: bold;
|
||||
font-size: 22px;
|
||||
padding: 15px 0;
|
||||
min-width: 250px;
|
||||
border-radius: 50px;
|
||||
text-align: center;
|
||||
color: white;
|
||||
cursor: pointer;
|
||||
transition: all .2s;
|
||||
|
||||
@media screen and (max-width: 760px) {
|
||||
min-width: 170px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 576px) {
|
||||
min-width: inherit;
|
||||
width: 100%;
|
||||
max-width: 350%;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 576px) {
|
||||
.actions > button:hover {
|
||||
transform: translateY(-5px);
|
||||
}
|
||||
}
|
||||
|
||||
.bleu{
|
||||
background: linear-gradient(45deg, #1da1f2,#0e71c8);
|
||||
box-shadow: 0 4px 30px rgba(19, 127, 212, 0.4);
|
||||
}
|
||||
|
||||
.bleu:hover {
|
||||
box-shadow: 0 7px 30px rgba(19, 127, 212, 0.75);
|
||||
}
|
||||
|
||||
|
||||
.orange {
|
||||
background: linear-gradient(45deg, #d5135a,#f05924);
|
||||
box-shadow: 0 4px 30px rgba(223, 45, 70, 0.35);
|
||||
}
|
||||
|
||||
|
||||
.orange:hover {
|
||||
box-shadow: 0 7px 30px rgba(223,45,70,0.75);
|
||||
}
|
@ -0,0 +1,80 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Page Profil</title>
|
||||
<link rel="stylesheet" href="../css/profil.css">
|
||||
<link rel="stylesheet" href="../css/reset.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="profil-card">
|
||||
<figure class="profil-card__img">
|
||||
<img src="../Images/avatar.jpeg" alt="Image Profil">
|
||||
</figure>
|
||||
|
||||
<div class="profil-card__desc">
|
||||
<h1>Ritchie Golozer</h1>
|
||||
<div>front-end Developer</div>
|
||||
<div style="localisation">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-map-pin" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
|
||||
<circle cx="12" cy="11" r="3"></circle>
|
||||
<path d="M17.657 16.657l-4.243 4.243a2 2 0 0 1 -2.827 0l-4.244 -4.243a8 8 0 1 1 11.314 0z"></path>
|
||||
</svg>
|
||||
<span>Clermont-Ferrand</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="info">
|
||||
<div>
|
||||
<div>850</div>
|
||||
<div>Followers</div>
|
||||
</div>
|
||||
<div>
|
||||
<div>50</div>
|
||||
<div>References</div>
|
||||
</div>
|
||||
<div>
|
||||
<div>105</div>
|
||||
<div>Works</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="social">
|
||||
<a href="#" class="facebook">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-facebook" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
|
||||
<path d="M7 10v4h3v7h4v-7h3l1 -4h-4v-2a1 1 0 0 1 1 -1h3v-4h-3a5 5 0 0 0 -5 5v2h-3"></path>
|
||||
</svg>
|
||||
</a>
|
||||
<a href="#" class="twitter">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-twitter" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
|
||||
<path d="M22 4.01c-1 .49 -1.98 .689 -3 .99c-1.121 -1.265 -2.783 -1.335 -4.38 -.737s-2.643 2.06 -2.62 3.737v1c-3.245 .083 -6.135 -1.395 -8 -4c0 0 -4.182 7.433 4 11c-1.872 1.247 -3.739 2.088 -6 2c3.308 1.803 6.913 2.423 10.034 1.517c3.58 -1.04 6.522 -3.723 7.651 -7.742a13.84 13.84 0 0 0 .497 -3.753c-.002 -.249 1.51 -2.772 1.818 -4.013z"></path>
|
||||
</svg>
|
||||
</a>
|
||||
<a href="#" class="instagram">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-instagram" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
|
||||
<rect x="4" y="4" width="16" height="16" rx="4"></rect>
|
||||
<circle cx="12" cy="12" r="3"></circle>
|
||||
<line x1="16.5" y1="7.5" x2="16.5" y2="7.501"></line>
|
||||
</svg>
|
||||
</a>
|
||||
<a href="#" class="gitlab">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-gitlab" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
|
||||
<path d="M21 14l-9 7l-9 -7l3 -11l3 7h6l3 -7z"></path>
|
||||
</svg>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="actions">
|
||||
<button class="bleu">Envoyer un Message</button>
|
||||
<button class="orange">Follow Me</button>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in new issue