-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
168 lines (163 loc) · 3.34 KB
/
Copy pathstyle.css
File metadata and controls
168 lines (163 loc) · 3.34 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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
body {
font-family: 'Montserrat', sans-serif;
background: linear-gradient(135deg, #1e293b 0%, #64748b 100%);
color: #fff;
margin: 0;
min-height: 100vh;
}
body.light {
background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
color: #222;
}
body.light .container {
background: #fff;
color: #222;
}
body.light .desc,
body.light .project-card p,
body.light .project-card h2,
body.light .project-card a,
body.light footer {
color: #222 !important;
}
body.light .project-card {
background: #e0e7ef;
color: #222;
}
body.light .project-card h2 {
color: #0ea5e9;
}
body.light .project-card a {
background: #0ea5e9;
color: #fff;
}
body.light .project-card a:hover {
background: #38bdf8;
color: #222;
}
body.light footer {
color: #64748b;
}
.footer-buttons {
display: flex;
gap: 12px;
justify-content: center;
margin-top: 12px;
}
.footer-button {
display: inline-block;
padding: 8px 14px;
background: transparent;
color: inherit;
border: 1px solid rgba(255,255,255,0.08);
border-radius: 8px;
text-decoration: none;
font-weight: 700;
transition: background 0.15s, color 0.15s, border-color 0.15s;
}
:where(body.light) .footer-button {
border-color: rgba(0,0,0,0.08);
}
.footer-button:hover {
background: rgba(255,255,255,0.06);
}
.container {
max-width: 800px;
margin: 60px auto;
background: rgba(30,41,59,0.85);
border-radius: 18px;
box-shadow: 0 8px 32px rgba(0,0,0,0.2);
padding: 40px 32px;
}
h1 {
font-size: 2.8rem;
font-weight: 700;
margin-bottom: 0.5em;
letter-spacing: 2px;
}
.desc {
font-size: 1.2rem;
margin-bottom: 2em;
color: #cbd5e1;
}
.projects {
display: flex;
gap: 32px;
flex-wrap: wrap;
justify-content: center;
}
.project-card {
background: #334155;
border-radius: 12px;
box-shadow: 0 4px 16px rgba(0,0,0,0.12);
padding: 24px 20px;
min-width: 220px;
flex: 1 1 220px;
text-align: center;
transition: transform 0.2s;
}
.project-card:hover {
transform: translateY(-6px) scale(1.03);
box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.project-card h2 {
font-size: 1.3rem;
margin-bottom: 0.5em;
color: #38bdf8;
}
.project-card p {
font-size: 1rem;
color: #e0e7ef;
margin-bottom: 1em;
}
.project-card a {
display: inline-block;
padding: 8px 18px;
background: #38bdf8;
color: #1e293b;
border-radius: 6px;
text-decoration: none;
font-weight: 700;
transition: background 0.2s;
}
.project-card a:hover {
background: #0ea5e9;
color: #fff;
}
footer {
text-align: center;
margin-top: 40px;
color: #cbd5e1;
font-size: 0.95em;
}
/* Global link styles: readable, high-contrast, accessible */
a {
color: #38bdf8; /* primary cyan */
text-decoration: none;
font-weight: 600;
transition: color 0.15s ease, text-decoration 0.15s ease;
}
a:visited {
color: #7dd3fc;
}
a:hover,
a:focus {
color: #0ea5e9;
text-decoration: underline;
outline: none;
}
a:focus {
box-shadow: 0 0 0 4px rgba(14,165,233,0.12);
border-radius: 6px;
}
/* Light theme link adjustments */
body.light a {
color: #0ea5e9;
}
body.light a:visited {
color: #0369a1;
}
body.light a:hover,
body.light a:focus {
color: #0369a1;
}