-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
138 lines (113 loc) · 2.12 KB
/
Copy pathstyle.css
File metadata and controls
138 lines (113 loc) · 2.12 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
/* ---------- Base Reset & Theme ---------- */
:root {
font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.6;
font-weight: 400;
color-scheme: light dark;
color: #213547;
background-color: #f9fafb;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
--accent: #646cff;
--accent-hover: #535bf2;
--text-muted: #4b5563;
--border-light: #e5e7eb;
}
/* ---------- Global Elements ---------- */
body {
margin: 0;
min-width: 320px;
}
a {
font-weight: 500;
color: var(--accent);
text-decoration: none;
}
h1 {
font-size: 2.6rem;
line-height: 1.2;
margin-bottom: 0.25em;
}
h2 {
font-size: 1.5rem;
margin-top: 2.5em;
margin-bottom: 0.5em;
border-bottom: 2px solid var(--border-light);
padding-bottom: 0.3em;
}
/* ---------- Layout ---------- */
.container {
max-width: 900px;
margin: 60px auto;
background: white;
padding: 48px;
border-radius: 12px;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}
p {
color: var(--text-muted);
font-size: 1.05rem;
}
ul {
padding-left: 1.2em;
}
li {
margin-bottom: 1.2em;
}
.links a {
margin-right: 16px;
}
/* ---------- Footer ---------- */
footer {
margin-top: 4em;
font-size: 0.9rem;
color: var(--text-muted);
text-align: center;
}
/* ---------- Light/Dark Mode ---------- */
@media (prefers-color-scheme: dark) {
:root {
color: rgba(255, 255, 255, 0.87);
background-color: #242424;
}
.container {
background-color: #1a1a1a;
}
p {
color: #d1d5db;
}
}
/* ---------- Responsive ---------- */
@media (max-width: 600px) {
.container {
padding: 32px 24px;
}
h1 {
font-size: 2.1rem;
}
}
/* ---------- About Section ---------- */
.about {
display: flex;
gap: 32px;
align-items: flex-start;
}
.about-photo {
align-self: flex-start;
width: 240px;
max-width: 100%;
flex-shrink: 0;
border-radius: 12px;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.about-text {
max-width: 520px;
}
@media (max-width: 700px) {
.about {
flex-direction: column;
align-items: center;
}
}