simran40 commited on
Commit
f12c56f
·
verified ·
1 Parent(s): e4ad8b8

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +81 -104
style.css CHANGED
@@ -5,105 +5,100 @@
5
  font-family:"Inter","Segoe UI",system-ui,sans-serif;
6
  }
7
 
8
- /* ===== LAVENDER + PINK BACKGROUND (NO BLACK) ===== */
9
  body{
10
  min-height:100vh;
11
  background:
12
- radial-gradient(1100px at 10% 10%, rgba(221,214,254,0.75), transparent 40%),
13
- radial-gradient(1000px at 90% 20%, rgba(252,165,165,0.55), transparent 45%),
14
- radial-gradient(900px at 50% 90%, rgba(240,171,252,0.55), transparent 45%),
15
- linear-gradient(180deg,#faf5ff,#fdf2f8);
16
  color:#1f2937;
17
- padding:70px 18px;
18
  }
19
 
20
- /* ===== ULTRA GLASS CARD ===== */
21
- .glass{
22
- max-width:920px;
23
- margin:0 auto 90px;
24
- padding:52px;
25
- border-radius:36px;
26
-
27
- background: linear-gradient(
28
- 180deg,
29
- rgba(255,255,255,0.78),
30
- rgba(255,255,255,0.58)
31
- );
32
-
33
- backdrop-filter: blur(30px);
34
- -webkit-backdrop-filter: blur(30px);
35
-
36
- border:1px solid rgba(255,255,255,0.95);
37
- box-shadow:
38
- 0 40px 100px rgba(168,85,247,0.18),
39
- inset 0 1px 0 rgba(255,255,255,1);
40
-
41
- transition: transform .6s ease, box-shadow .6s ease;
42
- }
43
-
44
- .glass:hover{
45
- transform: translateY(-10px);
46
- box-shadow:
47
- 0 70px 140px rgba(168,85,247,0.25),
48
- inset 0 1px 0 rgba(255,255,255,1);
49
- }
50
-
51
- /* ===== HEADINGS ===== */
52
  h1{
53
- font-size:46px;
54
  font-weight:700;
55
- margin-bottom:16px;
56
- background:linear-gradient(90deg,#a78bfa,#f472b6,#fb7185);
57
  -webkit-background-clip:text;
58
  -webkit-text-fill-color:transparent;
59
  }
60
 
61
  .subtitle{
62
  font-size:16px;
63
- margin-bottom:28px;
64
- color:#6b7280;
65
  }
66
 
67
  h2{
68
- font-size:27px;
69
- margin-bottom:20px;
70
- color:#4c1d95;
71
- letter-spacing:.3px;
72
  }
73
 
74
- /* ===== TEXT ===== */
75
  p{
76
  font-size:16px;
77
- line-height:1.95;
78
- color:#374151;
 
79
  }
80
 
81
- /* ===== LINKS ===== */
82
- .links a{
83
  display:inline-block;
84
- margin-right:26px;
85
- margin-top:20px;
 
 
 
 
 
 
 
 
 
86
  text-decoration:none;
87
- font-weight:600;
88
- color:#7c3aed;
89
  position:relative;
 
90
  }
91
 
92
- .links a::after{
93
  content:"";
94
  position:absolute;
95
- left:0;
96
- bottom:-6px;
97
- width:100%;
98
- height:2px;
99
- background:linear-gradient(90deg,#a78bfa,#f472b6);
100
- transform:scaleX(0);
101
- transition:transform .4s ease;
 
 
 
 
 
 
102
  }
103
 
104
- .links a:hover::after{ transform:scaleX(1); }
 
 
 
 
 
 
 
 
105
 
106
- /* ===== SKILLS : GLASS PILLS ===== */
 
 
 
 
107
  .skills{
108
  display:flex;
109
  flex-wrap:wrap;
@@ -111,59 +106,41 @@ p{
111
  }
112
 
113
  .skills span{
114
- padding:12px 26px;
115
  border-radius:999px;
116
- background:rgba(255,255,255,0.85);
117
- backdrop-filter: blur(14px);
118
- border:1px solid rgba(216,180,254,0.9);
 
119
  font-size:14px;
120
- color:#4c1d95;
121
  }
122
 
123
- /* ===== PROJECT CARD ===== */
124
- .project{
125
- margin-top:38px;
126
- padding:38px;
127
- border-radius:32px;
128
-
129
- background:rgba(255,255,255,0.78);
130
- backdrop-filter: blur(26px);
131
 
132
- border:1px solid rgba(216,180,254,0.95);
 
 
 
133
  }
134
 
135
  .project h3{
136
  font-size:21px;
137
- margin-bottom:10px;
138
- color:#3b0764;
139
- }
140
-
141
- /* ===== PROJECT BUTTON ===== */
142
- .project-btn{
143
- display:inline-block;
144
- margin-top:22px;
145
- padding:16px 44px;
146
- border-radius:999px;
147
-
148
- background:linear-gradient(90deg,#a78bfa,#f472b6);
149
- color:white;
150
-
151
- font-weight:700;
152
- letter-spacing:1px;
153
- text-decoration:none;
154
-
155
- transition: transform .4s ease, box-shadow .4s ease;
156
  }
157
 
158
- .project-btn:hover{
159
- transform:scale(1.08);
160
- box-shadow:0 0 45px rgba(244,114,182,0.45);
161
  }
162
 
163
  /* ===== FOOTER ===== */
164
  footer{
 
165
  text-align:center;
166
  font-size:13px;
167
- color:#6b7280;
168
- margin-bottom:50px;
169
  }
 
5
  font-family:"Inter","Segoe UI",system-ui,sans-serif;
6
  }
7
 
8
+ /* ===== OPEN FLOW BACKGROUND (NO BLACK) ===== */
9
  body{
10
  min-height:100vh;
11
  background:
12
+ radial-gradient(1200px at 15% 20%, rgba(196,181,253,0.55), transparent 45%),
13
+ radial-gradient(1000px at 85% 30%, rgba(253,164,175,0.45), transparent 45%),
14
+ linear-gradient(180deg,#f8fafc,#eef2ff);
 
15
  color:#1f2937;
16
+ padding:70px 20px 100px;
17
  }
18
 
19
+ /* ===== TYPOGRAPHY ===== */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  h1{
21
+ font-size:48px;
22
  font-weight:700;
23
+ margin-bottom:12px;
24
+ background:linear-gradient(90deg,#6366f1,#ec4899);
25
  -webkit-background-clip:text;
26
  -webkit-text-fill-color:transparent;
27
  }
28
 
29
  .subtitle{
30
  font-size:16px;
31
+ color:#475569;
32
+ margin-bottom:26px;
33
  }
34
 
35
  h2{
36
+ font-size:26px;
37
+ margin:80px 0 20px;
38
+ color:#312e81;
 
39
  }
40
 
 
41
  p{
42
  font-size:16px;
43
+ line-height:1.9;
44
+ color:#334155;
45
+ max-width:900px;
46
  }
47
 
48
+ /* ===== GLASS BUTTON ===== */
49
+ .glass-btn{
50
  display:inline-block;
51
+ margin-top:22px;
52
+ padding:16px 42px;
53
+ border-radius:999px;
54
+
55
+ background:rgba(255,255,255,0.65);
56
+ backdrop-filter:blur(18px);
57
+ border:1px solid rgba(255,255,255,0.9);
58
+
59
+ color:#312e81;
60
+ font-weight:700;
61
+ letter-spacing:1px;
62
  text-decoration:none;
63
+
64
+ transition:all .4s ease;
65
  position:relative;
66
+ overflow:hidden;
67
  }
68
 
69
+ .glass-btn::after{
70
  content:"";
71
  position:absolute;
72
+ inset:0;
73
+ background:radial-gradient(circle at center, rgba(255,255,255,0.6), transparent 60%);
74
+ opacity:0;
75
+ transition:.4s;
76
+ }
77
+
78
+ .glass-btn:hover{
79
+ transform:translateY(-4px);
80
+ box-shadow:0 20px 50px rgba(99,102,241,.25);
81
+ }
82
+
83
+ .glass-btn:active::after{
84
+ opacity:1;
85
  }
86
 
87
+ /* ===== LINKS ===== */
88
+ .links a{
89
+ margin-right:26px;
90
+ text-decoration:none;
91
+ font-weight:600;
92
+ color:#4f46e5;
93
+ border-bottom:2px solid transparent;
94
+ transition:.3s;
95
+ }
96
 
97
+ .links a:hover{
98
+ border-bottom-color:#ec4899;
99
+ }
100
+
101
+ /* ===== SKILLS (GLASS CHIPS) ===== */
102
  .skills{
103
  display:flex;
104
  flex-wrap:wrap;
 
106
  }
107
 
108
  .skills span{
109
+ padding:12px 28px;
110
  border-radius:999px;
111
+ background:rgba(255,255,255,0.7);
112
+ backdrop-filter:blur(14px);
113
+ border:1px solid rgba(255,255,255,0.9);
114
+ color:#312e81;
115
  font-size:14px;
116
+ transition:.3s;
117
  }
118
 
119
+ .skills span:hover{
120
+ transform:translateY(-4px);
121
+ box-shadow:0 12px 30px rgba(236,72,153,.25);
122
+ }
 
 
 
 
123
 
124
+ /* ===== PROJECT LIST (NO BOX) ===== */
125
+ .project{
126
+ margin-top:34px;
127
+ max-width:900px;
128
  }
129
 
130
  .project h3{
131
  font-size:21px;
132
+ margin-bottom:8px;
133
+ color:#1e1b4b;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
134
  }
135
 
136
+ .project p{
137
+ margin-bottom:14px;
 
138
  }
139
 
140
  /* ===== FOOTER ===== */
141
  footer{
142
+ margin-top:120px;
143
  text-align:center;
144
  font-size:13px;
145
+ color:#64748b;
 
146
  }