-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
77 lines (68 loc) · 1.43 KB
/
Copy pathstyles.css
File metadata and controls
77 lines (68 loc) · 1.43 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
body, html {
height: 100%;
margin: 0;
display: flex;
justify-content: center;
align-items: center;
background-color: #f0f0f0;
}
.expertise-container {
position: relative;
width: 300px;
height: 300px;
display: flex;
justify-content: center;
align-items: center;
}
.expertise-circle {
width: 100px;
height: 100px;
border-radius: 50%;
background-color: #4CAF50;
color: white;
display: flex;
justify-content: center;
align-items: center;
position: absolute;
cursor: pointer;
transition: transform 0.3s;
}
.expertise-circle:hover {
transform: scale(1.1);
}
.central-figure {
width: 150px;
height: 150px;
z-index: 10;
}
/* Positioning circles around the central figure */
.expertise-container .expertise-circle:nth-child(1) {
top: 0;
left: 50%;
transform: translateX(-50%);
}
.expertise-container .expertise-circle:nth-child(2) {
right: 0;
top: 50%;
transform: translateY(-50%);
}
.expertise-container .expertise-circle:nth-child(3) {
bottom: 0;
left: 50%;
transform: translateX(-50%);
}
.expertise-container .expertise-circle:nth-child(4) {
left: 0;
top: 50%;
transform: translateY(-50%);
}
.expertise-detail {
position: absolute;
top: 350px;
background-color: white;
color: black;
padding: 10px;
border-radius: 8px;
display: none;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}