-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
150 lines (132 loc) · 3.39 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
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
body {
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #010101;
font-family: Arial, sans-serif;
background-size: cover;
background-size: 200%;
background-position: center;
background-image: url(https://raw.githubusercontent.com/tejasmali07/Linktree-Page-HTML-CSS-/313e6801ff1c39527a23da5b47f7d61c32261227/Images/tejas.png);
}
.card {
background-color: rgba(12, 12, 12, 0.8);
border-radius: 10px;
padding: 20px;
width: 100vw;
height: 110vh;
text-align: center;
color: white;
backdrop-filter: blur(30px);
}
.profile {
margin-bottom: 20px;
margin-top: 50px;
}
.profile-image {
width: 100px;
height: 100px;
border-radius: 50%;
}
h1 {
margin: 10px 0 0 0;
font-size: 24px;
}
.contact-info {
display: flex;
flex-direction: column;
}
.contact-link {
text-decoration: none; /* Remove underline from links */
}
.contact-item {
border-radius: 10px;
padding: 20px;
margin: 7px 0 ;
display: flex;
align-items: center;
background-color: rgba(0, 0, 0, 0.5);
cursor: pointer;
transition: transform 0.3s, box-shadow 0.3s;
transform: scale(1); /* Ensure the default scale is 1 */
color: white; /* Ensure text color is white */
}
.contact-item:hover {
box-shadow: 20px 20px 30px rgba(99, 96, 96, 0.2);
transform: scale(1.04); /* Scale up when hovered */
}
.icon {
width: 25px;
height: 25px;
margin-right: 10px;
}
#icon {
margin-left: 20px; /* Adjust this value as needed */
}
.contact-item span {
flex: 0.95; /* Make the text span take up remaining space */
text-align: center; /* Center the text within the span */
font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
/* Media query for larger screens */
@media (min-width: 768px) {
.contact-item {
width: 50%; /* Set the width to 50% for larger screens */
margin-left: auto; /* Center the items horizontally */
margin-right: auto; /* Center the items horizontally */
}
}/* Loading Screen */
#loading-screen {
position: fixed;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.411);
display: flex;
justify-content: center;
align-items: center;
z-index: 9999;
backdrop-filter: blur(30px);
}
.loader {
height: 15px;
aspect-ratio: 4;
--_g: no-repeat radial-gradient(farthest-side,#fefefe 90%,#ffffff00);
background:
var(--_g) left,
var(--_g) right;
background-size: 25% 100%;
display: grid;
}
.loader:before,
.loader:after {
content: "";
height: inherit;
aspect-ratio: 1;
grid-area: 1/1;
margin: auto;
border-radius: 50%;
transform-origin: -100% 50%;
background: #edeced;
animation: l49 1s infinite linear;
}
.loader:after {
transform-origin: 200% 50%;
--s:-1;
animation-delay: -.5s;
}
@keyframes l49 {
58%,
100% {transform: rotate(calc(var(--s,1)*1turn))}
}
.reveal {
opacity: 0;
transform: translateY(40px);
transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.reveal-active {
opacity: 1;
transform: none;
}