-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
91 lines (82 loc) · 1.52 KB
/
style.css
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
88
89
90
91
*, *::after, *::before{
box-sizing: border-box;
}
body{
margin: 1%;
padding: 0%;
background-color: #0A0841;
}
.top-section{
margin: 0%;
padding: 3.5%;
background-color: #16726F;
font-size: 60px;
font-weight:bold;
color: white;
text-align: center;
font-style:normal;
font-family: verdana;
text-decoration: none;
text-decoration-color: yellow;
}
.card{
float:left;
width: 300px;
background-color: rgb(76, 20, 114);
text-align: center;
padding: 15px;
margin: 10px;
position: relative;
overflow: hidden;
border-radius: 10px;
box-shadow: 0 0 11px rgba(33,33,33,.2);
color: white;
}
.card::before{
content: "";
position: absolute;
top: -250px;
left: -50px;
width: 400px;
height: 400px;
background-color: blueviolet;
border-radius: 50%;
}
.image{
position: relative;
margin: 0, auto;
z-index: 3;
}
.container{
align-items: center;
}
img{
border-radius: 50%;
border: 5px solid white;
filter: brightness(1);
transition: all 0.3s;
position: relative;
width: 220px;
height: 220px;
background-position: 50% 50%;
background-repeat: no-repeat;
background-size: cover;
object-fit: cover;
}
.links{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 3rem;
color: white;
opacity: 0;
transition: all 0.3s;
text-decoration: none;
}
.image:hover img{
filter: brightness(0);
}
.image:hover .links{
opacity: 1;
}