-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
153 lines (131 loc) · 2.43 KB
/
main.css
File metadata and controls
153 lines (131 loc) · 2.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
:root {
--background-color: #3b3759;
--color1: #fefbf6;
--color2: #ecb159;
--color3: #b67352;
}
/* Default font size */
html {
font-size: 16px; /* This is typically the default but can be set as needed */
}
/* Media query for viewport widths less than 768px */
@media (max-width: 768px) {
html {
font-size: 10px; /* Decrease the font size */
}
}
body {
background-color: var(--background-color);
padding: 0 20% 0 20%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
font-family: "Protest Riot", sans-serif;
font-weight: 400;
font-style: normal;
}
@media (max-width: 768px) {
body {
height: auto;
padding: 0 16px 0 16px;
align-items: flex-start;
justify-content: center;
}
}
.connect-header {
color: var(--color1);
font-size: 3rem;
text-align: center;
}
.main-section {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.social-links {
display: flex;
justify-content: space-between;
gap: 48px;
}
@media (max-width: 768px) {
.social-links {
flex-wrap: wrap;
justify-content: center;
gap: 24px;
}
}
.link-item {
position: relative;
display: inline-block;
}
.tooltip-content {
visibility: hidden;
width: 120px;
background-color: black;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 5px 0;
/* Position the tooltip text */
position: absolute;
z-index: 1;
bottom: -70%;
left: 50%;
margin-left: -60px; /* Use half of the width value to align it */
/* Fade in tooltip - Optional */
opacity: 0;
transition: opacity 0.3s;
}
/* Show the tooltip text when you mouse over the tooltip container */
.link-item:hover .tooltip-content {
visibility: visible;
opacity: 1;
}
.logo {
font-size: 6rem;
transition: transform 0.3s ease-in-out;
}
.logo:hover {
transform: scale(1.3);
}
.instagram-logo {
background: linear-gradient(
45deg,
#f09433,
#e6683c,
#dc2743,
#cc2366,
#bc1888,
#8a0eab,
#5a0f8b,
#2e0f6e,
#0a0f4e
);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.welcome {
color: var(--color1);
font-size: 3rem;
margin-bottom: 2rem;
line-height: 1.5;
}
.twitter-logo {
color: #1da1f2;
}
.github-logo {
color: #000000;
}
.linkedin-logo {
color: #0a66c2;
}
.soundcloud-logo {
color: #ff7700;
}
.resume-logo {
color: #000000;
}