-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
74 lines (62 loc) · 1.55 KB
/
styles.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
/* Custom CSS for hover effect */
.project-img {
transition: transform 0.3s ease-in-out;
}
.project-img:hover {
transform: translateY(-10px);
}
/* Custom CSS for progress circles */
.progress-circle {
margin: 15px auto;
width: 100px;
height: 100px;
border-radius: 50%;
background-color: #d3d3d3; /* Gray background color */
position: relative;
overflow: hidden; /* Hide overflow to create the black part */
}
.progress-circle::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: 50%;
background-color: #555; /* Darker shade of gray */
transform-origin: 50% 100%;
transform: rotate(calc(1turn * var(--value))); /* Dynamic rotation */
}
.progress-circle strong {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 24px;
color: #555; /* Darker shade of gray for the percentage */
}
.progress-circle span {
position: absolute;
top: 60%;
left: 50%;
transform: translateX(-50%);
font-size: 16px;
color: #555; /* Darker shade of gray for the percentage */
}
.icon-size {
width: 50px; /* Adjust the width as needed */
height: auto;
}
/* Custom CSS for About section */
#about p:first-of-type {
font-size: 18px; /* Adjust font size */
font-style: italic; /* Adjust font style */
margin-bottom: 20px; /* Add some bottom margin for spacing */
}
/* Add spacing between headings and paragraphs */
#about h2 {
margin-top: 40px; /* Add top margin */
}
#about p {
margin-bottom: 20px; /* Add bottom margin */
}