-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.projects.css
More file actions
165 lines (152 loc) · 4 KB
/
Copy pathstyle.projects.css
File metadata and controls
165 lines (152 loc) · 4 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
/* ===== PROJECTS PAGE STYLES ===== */
.cv-container {
max-width: 1400px; margin: 0 auto;
display: flex; flex-direction: column; gap: 40px;
}
/* Section card – same as CV for consistency */
.cv-section {
background: rgba(18,18,18,0.6);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid var(--border-color);
border-radius: 24px;
padding: 30px;
display: flex;
flex-direction: column;
margin-top: 30px;
}
[data-theme="light"] .cv-section { background: rgba(255,255,255,0.7); }
.section-title {
font-size: 24px; font-weight: 300; letter-spacing: 3px;
color: var(--accent-primary); text-transform: uppercase;
border-left: 4px solid var(--accent-primary); padding-left: 16px;
margin-bottom: 25px; text-shadow: 0 0 8px var(--accent-glow);
align-self: stretch;
}
/* Projects grid – large icons like Windows 10 extra‑large */
.projects-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
gap: 25px;
margin-top: 10px;
}
/* Individual project card (launcher icon style) */
.project-card {
background: var(--header-bg); /* theme‑aware semi‑transparent */
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
border: 1px solid var(--border-color);
border-radius: 20px;
padding: 25px 15px 20px;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
transition: all 0.3s ease;
text-decoration: none; /* in case it's an <a> */
color: var(--text-primary);
}
.project-card:hover {
transform: translateY(-5px);
border-color: var(--accent-primary);
box-shadow: 0 8px 25px var(--accent-primary);
}
/* Placeholder icon – Windows 10 extra large size */
.project-icon {
width: 180px;
height: 180px;
margin: 0 auto 15px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 24px;
background: rgba(128,128,128,0.15); /* neutral tint, works on both themes */
overflow: hidden;
}
/* light‑theme adjustment for icon background */
[data-theme="light"] .project-icon {
background: rgba(0,0,0,0.05);
}
.project-icon-placeholder {
font-size: 70px;
opacity: 0.8;
}
.project-name {
font-size: 18px;
font-weight: 600;
color: var(--text-primary);
margin-bottom: 8px;
}
.project-short {
font-size: 14px;
color: var(--text-secondary);
margin-bottom: 15px;
flex: 1;
}
/* Details button */
.project-card .toggle-expand {
display: inline-block;
background: transparent;
border: 1px solid var(--accent-primary);
color: var(--accent-primary);
padding: 6px 16px;
border-radius: 16px;
font-size: 13px;
letter-spacing: 1px;
text-transform: uppercase;
cursor: pointer;
transition: all 0.3s;
margin-top: auto;
}
.project-card .toggle-expand:hover {
background: var(--accent-primary);
color: #fff;
box-shadow: 0 0 12px var(--accent-primary);
}
/* Timeline list inside expanded card */
.project-timeline {
list-style: none;
padding: 0;
margin: 0;
text-align: left;
width: 100%;
}
.project-timeline li {
padding: 6px 0;
border-bottom: 1px solid var(--border-color);
font-size: 13px;
color: var(--text-secondary);
}
.project-timeline li:last-child {
border-bottom: none;
}
.project-timeline .timeline-date {
color: var(--accent-primary);
font-weight: 600;
margin-right: 5px;
}
/* Placeholder card (Others) */
.placeholder-card .project-icon-placeholder {
opacity: 0.5;
}
/* Light‑theme overrides for project card background */
[data-theme="light"] .project-card {
background: rgba(255,255,255,0.6); /* light blur */
}
/* Optional: lighten the section card even more in light mode – already handled by the shared .cv-section rule */
/* Responsive icon size on mobile */
@media (max-width: 900px) {
.projects-grid {
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.project-icon {
width: 130px;
height: 130px;
}
.project-icon-placeholder {
font-size: 50px;
}
}
@media (max-width: 600px) {
.cv-section { padding: 20px; }
}