Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
87 lines (86 loc) · 1.73 KB
/
Copy pathstyle.css
File metadata and controls
87 lines (86 loc) · 1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
/* Fonts = Poppins */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&display=swap');
*
{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
list-style: none;
}
a{
text-decoration: none;
}
body{
background-image:url('bg.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
display: grid;
place-items: center;
}
.container{
width: 30em;
margin: 4em;
}
.head__section img{
display:block;
margin: 0 auto;
height: 5rem;
width: 5rem;
object-fit: cover;
border-radius: 50%;
}
.head__section p{
text-align: center;
margin-top: 13px;
font-size: 1.5em;
color: rgb(5, 120, 252);
}
.social__links ul li{
width: 100%;
margin: 1.2rem 0;
padding: 0.4rem 0.8rem;
background: rgba( 255, 255, 255, 0.1 );
backdrop-filter: blur( 0px );
border-radius: 5px;
transform-style: preserve-3d;
perspective: 500px;
box-shadow: 0 0 0.8rem rgba(255, 255, 255, .12);
}
.js-tilt-glare{
border-radius: 5px;
}
.social__links ul li a{
width: 100%;
display: flex;
align-items: center;
color: #ffff;
font-size: 1rem;
}
.social__links ul li a i{
text-align: center;
line-height: 4rem;
padding: 10px 20px;
font-size: 1.8rem;
text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.5);
transform: scale(1.4) translateZ(50px);
transition: 0.25s;
}
.social__links ul li a span{
line-height: 1.4rem;
}
.social__links ul .instagram:hover{
background: #fd5949;
}
.social__links ul .youtube:hover{
background:#FF0000;
}
.social__links ul .github:hover{
background: #333;
}
@media only screen and (max-width: 549px) {
.container{
width: 88vw;
}
}