-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
96 lines (83 loc) · 2.3 KB
/
main.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
92
93
94
95
96
html, body {
height: 100%;
margin: 0;
}
body {
display: flex;
flex-direction: column; /* Stack content vertically */
justify-content: space-between; /* Align content to space between which pushes footer to the bottom */
align-items: center; /* Center content horizontally */
height: 100vh; /* Full height of the viewport */
margin: 0;
padding: 0;
}
#content {
text-align: center;
max-width: 520px;
padding: 0px;
line-height: 2em;
}
.avatar {
border-radius: 180px;
width: 180px;
}
.icons {
list-style-type: none;
padding: 0;
display: flex;
justify-content: space-between;
width: 100%;
max-width: 800px;
margin: 1em auto;
padding-top: 50px;
}
.icons li {
display: inline;
width: 40px; /* Increased width for each icon */
}
.icons a {
color: black;
display: inline-block; /* Ensure transform applies correctly */
font-size: 32px; /* Increased font size for larger icons */
transition: transform 0.5s ease, color 3s ease; /* Smooth transition for transform and color */
}
.icons a:hover {
color: #C41E3A;
transform: scale(1.8); /* Enlarge icons on hover */
}
a {
text-decoration: none;
color: #C41E3A; /* Initial color for links */
}
a:hover {
color: #C41E3A; /* Keep the color consistent on hover for all links */
}
/* FOOTER SECTION */
footer {
width: 100%; /* Full width */
padding: 20px 0; /* Add some padding inside the footer */
text-align: center;
}
#particle-image {
position: absolute;
top: 0;
right: 0; /* Move the image to the right side */
height: 100%; /* Reduce the height by 50% */
width: 100%; /* Reduce the width by 50% */
}
.home-button {
position: absolute; /* Fixed position */
top: 40px; /* Distance from the top */
left: 40px; /* Distance from the left */
font-size: 24px; /* Icon size */
color: black; /* Icon color */
padding: 10px; /* Padding around the icon */
border-radius: 50%; /* Circular button */
text-decoration: none; /* Removes underline from the icon */
z-index: 1000; /* Makes sure the button is on top */
transition: transform 0.5s ease, color 3s ease; /* Smooth transition for transform and color */
}
.home-button:hover {
color: #C41E3A;
transform: scale(1.8); /* Enlarge icons on hover */
}