Skip to content

Commit 98fa377

Browse files
Create styles.css
1 parent a1ffb09 commit 98fa377

1 file changed

Lines changed: 97 additions & 0 deletions

File tree

styles.css

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
2+
:root {
3+
--primary-color: #1a1f36;
4+
--accent-color: #3b82f6;
5+
--moon-color: #f1f5f9;
6+
--star-color: #dbeafe;
7+
}
8+
9+
body {
10+
margin: 0;
11+
font-family: 'Playfair Display', serif;
12+
background: radial-gradient(circle at top, #0f172a 0%, #1e293b 100%);
13+
color: var(--moon-color);
14+
overflow-x: hidden;
15+
}
16+
17+
.stars {
18+
position: absolute;
19+
width: 100%;
20+
height: 100%;
21+
background: transparent;
22+
z-index: 0;
23+
}
24+
25+
.star {
26+
position: absolute;
27+
width: 2px;
28+
height: 2px;
29+
background: var(--star-color);
30+
border-radius: 50%;
31+
animation: twinkle 2s infinite ease-in-out;
32+
}
33+
34+
@keyframes twinkle {
35+
0%, 100% { opacity: 0.6; }
36+
50% { opacity: 1; }
37+
}
38+
39+
.container {
40+
position: relative;
41+
z-index: 1;
42+
padding: 4rem 2rem;
43+
text-align: center;
44+
}
45+
46+
h1 {
47+
font-size: 3rem;
48+
color: var(--moon-color);
49+
}
50+
51+
h2 {
52+
font-size: 2rem;
53+
margin-top: 2rem;
54+
color: var(--accent-color);
55+
}
56+
57+
p {
58+
font-size: 1.2rem;
59+
color: #cbd5e1;
60+
}
61+
62+
.project-list {
63+
list-style: none;
64+
padding: 0;
65+
margin: 0 auto;
66+
max-width: 600px;
67+
text-align: left;
68+
}
69+
70+
.project-list li {
71+
padding: 0.5rem 0;
72+
border-bottom: 1px solid #334155;
73+
}
74+
75+
.moon {
76+
width: 100px;
77+
height: 100px;
78+
background: var(--moon-color);
79+
border-radius: 50%;
80+
box-shadow: 0 0 30px 10px rgba(241, 245, 249, 0.5);
81+
margin: 2rem auto;
82+
}
83+
84+
footer {
85+
margin-top: 3rem;
86+
font-size: 0.9rem;
87+
color: #64748b;
88+
}
89+
90+
a {
91+
color: var(--accent-color);
92+
text-decoration: none;
93+
}
94+
95+
a:hover {
96+
text-decoration: underline;
97+
}

0 commit comments

Comments
 (0)