-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
123 lines (122 loc) · 2.54 KB
/
style.css
File metadata and controls
123 lines (122 loc) · 2.54 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
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.super-button{
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 12px;
padding: 14px 28px;
background: linear-gradient(145deg, #0f0f0f, #1c1c1c);
border: 2px solid rgba(255, 255, 255, 0.2);
border-radius: 100px;
color: #fff;
font-size: 16px;
font-weight: 600;
letter-spacing: 0.5px;
cursor: pointer;
overflow: hidden;
transition: all 0.4s ease-in-out;
box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
backdrop-filter: blur(8px);
z-index: 1;
}
.super-button::before{
content: "";
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: conic-gradient(from 0deg, #7c3aed, #36df00, #7c3aed);
animation: rotate 4s linear infinite;
z-index: -2;
}
.super-button::after{
content: "";
position: absolute;
inset: 2px;
background: #0a0a0a;
border-radius: inherit;
z-index: -1;
}
.super-button:hover{
transform: scale(1.05);
box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
}
.super-button:hover .arrow{
transform: translateX(6px);
}
.arrow{
width: 22px;
height: 22px;
transition: transform 0.3s ease-in-out;
color: #7c3aed;
}
@keyframes rotate{
0% {
transform: rotate(0deg);
}
100% {
rotate: rotate(360deg);
}
}
:where([class^="ri-"])::before { content: "\f3c2"; }
body {
font-family: 'Inter', sans-serif;
}
.hero-section {
background-position: center;
background-size: cover;
background-repeat: no-repeat;
}
input:focus {
outline: none;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
.masonry-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
grid-gap: 24px;
grid-auto-flow: dense;
}
.project-card:nth-child(3n+1) {
grid-row: span 1;
}
.project-card:nth-child(3n+2) {
grid-row: span 2;
}
.project-card:nth-child(3n+3) {
grid-row: span 1;
}
.timeline-item::before {
content: '';
position: absolute;
left: -5px;
top: 0;
width: 10px;
height: 10px;
border-radius: 50%;
background-color: #3b82f6;
z-index: 1;
}
.timeline-item::after {
content: '';
position: absolute;
left: 0;
top: 10px;
width: 1px;
height: calc(100% + 16px);
background-color: #e5e7eb;
}
.timeline-item:last-child::after {
display: none;
}