-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
192 lines (164 loc) · 3.44 KB
/
Copy pathstyles.css
File metadata and controls
192 lines (164 loc) · 3.44 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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
/* ============================================
David Lawrence - Portfolio Custom Styles
============================================ */
/* ---------- Hero Section ---------- */
.hero-section {
padding: 4rem 0 3rem;
text-align: center;
border-bottom: 1px solid rgba(128, 128, 128, 0.15);
margin-bottom: 3rem;
}
.hero-section h1 {
font-size: 2.8rem;
font-weight: 700;
margin-bottom: 0.5rem;
letter-spacing: -0.02em;
}
.hero-section .subtitle {
font-size: 1.25rem;
opacity: 0.7;
font-weight: 400;
margin-bottom: 1.5rem;
}
.hero-section .tagline {
font-size: 1rem;
max-width: 600px;
margin: 0 auto;
line-height: 1.7;
opacity: 0.85;
}
/* ---------- Project Cards Grid ---------- */
.project-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 1.5rem;
margin: 2rem 0;
}
.project-card {
border: 1px solid rgba(128, 128, 128, 0.2);
border-radius: 8px;
padding: 1.75rem;
transition: transform 0.2s ease, box-shadow 0.2s ease;
background: var(--bs-body-bg);
}
.project-card:hover {
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.project-card h3 {
font-size: 1.2rem;
margin-bottom: 0.5rem;
font-weight: 600;
}
.project-card h3 a {
text-decoration: none;
color: var(--bs-body-color);
}
.project-card h3 a:hover {
color: var(--bs-link-color);
}
.project-card p {
font-size: 0.92rem;
line-height: 1.6;
opacity: 0.8;
margin-bottom: 1rem;
}
/* ---------- Tool Badges ---------- */
.tool-badge {
display: inline-block;
padding: 0.2rem 0.65rem;
font-size: 0.75rem;
font-weight: 600;
border-radius: 999px;
margin-right: 0.4rem;
margin-bottom: 0.3rem;
letter-spacing: 0.02em;
}
.badge-r {
background: rgba(39, 128, 227, 0.12);
color: #2780e3;
}
.badge-powerbi {
background: rgba(242, 180, 0, 0.12);
color: #c49300;
}
.badge-python {
background: rgba(60, 154, 100, 0.12);
color: #3c9a64;
}
.badge-sql {
background: rgba(150, 80, 200, 0.12);
color: #9650c8;
}
.badge-ml {
background: rgba(220, 80, 80, 0.12);
color: #dc5050;
}
/* ---------- Skills Section ---------- */
.skills-row {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 1.25rem;
margin: 1.5rem 0;
}
.skill-item {
text-align: center;
padding: 1.25rem;
border: 1px solid rgba(128, 128, 128, 0.15);
border-radius: 8px;
}
.skill-item .skill-icon {
font-size: 2rem;
margin-bottom: 0.5rem;
}
.skill-item h4 {
font-size: 0.95rem;
margin-bottom: 0.25rem;
font-weight: 600;
}
.skill-item p {
font-size: 0.8rem;
opacity: 0.65;
margin: 0;
}
/* ---------- Power BI Embed Container ---------- */
.powerbi-container {
position: relative;
width: 100%;
padding-bottom: 56.25%; /* 16:9 */
height: 0;
overflow: hidden;
border-radius: 8px;
border: 1px solid rgba(128, 128, 128, 0.2);
margin: 1.5rem 0;
}
.powerbi-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 0;
}
/* ---------- Section Spacing ---------- */
.section-heading {
font-size: 1.6rem;
font-weight: 700;
margin-top: 2.5rem;
margin-bottom: 1rem;
padding-bottom: 0.5rem;
border-bottom: 2px solid var(--bs-link-color);
display: inline-block;
}
/* ---------- Responsive Tweaks ---------- */
@media (max-width: 768px) {
.hero-section h1 {
font-size: 2rem;
}
.project-grid {
grid-template-columns: 1fr;
}
.skills-row {
grid-template-columns: repeat(2, 1fr);
}
}