Skip to content

Commit c68c2b5

Browse files
committed
Enhance website with Virginia Tech branding and improved visual design
1 parent 68933e3 commit c68c2b5

5 files changed

Lines changed: 91 additions & 47 deletions

File tree

assets/css/custom.css

Lines changed: 32 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,22 @@
11
/* Global Typography System - Academic Excellence */
22
:root {
3+
/* Virginia Tech Brand Colors */
4+
--vt-maroon: #861F41;
5+
--vt-orange: #E5751F;
6+
--vt-maroon-dark: #6B1833;
7+
--vt-orange-light: #FF8C42;
8+
--vt-gray-900: #1F2937;
9+
--vt-gray-800: #374151;
10+
--vt-gray-600: #6B7280;
11+
--vt-gray-400: #9CA3AF;
12+
--vt-gray-200: #E5E7EB;
13+
--vt-gray-100: #F3F4F6;
14+
--vt-gray-50: #F9FAFB;
15+
316
/* Animation Timings */
417
--transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
518
--transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
619
--transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
7-
820

921
/* Spacing System - 8-Point Grid */
1022
--space-1: 0.5rem; /* 8px */
@@ -46,7 +58,7 @@ body {
4658
font-family: var(--font-family-primary);
4759
font-size: var(--font-size-base);
4860
line-height: var(--line-height-normal);
49-
color: #374151;
61+
color: var(--vt-gray-800);
5062
font-weight: 400;
5163
letter-spacing: -0.01em;
5264
}
@@ -118,7 +130,7 @@ section.co-advised-section {
118130
transform: translate(-50%, -50%);
119131
width: 8px;
120132
height: 8px;
121-
background: linear-gradient(135deg, #861F41, #E5751F);
133+
background: linear-gradient(135deg, var(--vt-maroon), var(--vt-orange));
122134
border-radius: 50%;
123135
box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.8);
124136
}
@@ -128,7 +140,7 @@ section.co-advised-section {
128140
margin: var(--space-6) auto;
129141
max-width: 300px;
130142
height: 2px;
131-
background: linear-gradient(90deg, transparent, #861F41, #E5751F, transparent);
143+
background: linear-gradient(90deg, transparent, var(--vt-maroon), var(--vt-orange), transparent);
132144
}
133145

134146
/* Subtle Section Break */
@@ -173,7 +185,7 @@ section.co-advised-section {
173185
left: 0;
174186
width: 80px;
175187
height: 3px;
176-
background: linear-gradient(90deg, #861F41 0%, #E5751F 100%);
188+
background: linear-gradient(90deg, var(--vt-maroon) 0%, var(--vt-orange) 100%);
177189
border-radius: 2px;
178190
}
179191

@@ -293,7 +305,7 @@ section.co-advised-section {
293305
.content blockquote, .main-container blockquote {
294306
margin: 1.5rem 0;
295307
padding: 1rem 1.5rem;
296-
border-left: 4px solid #861F41;
308+
border-left: 4px solid var(--vt-maroon);
297309
background-color: #f8fafc;
298310
border-radius: 0 0.5rem 0.5rem 0;
299311
}
@@ -501,7 +513,7 @@ section.co-advised-section {
501513
}
502514

503515
.publication-entry .publication-title a:hover {
504-
color: #861F41;
516+
color: var(--vt-maroon);
505517
text-decoration: underline;
506518
}
507519

@@ -513,7 +525,7 @@ section.co-advised-section {
513525

514526
.publication-entry .publication-venue {
515527
font-size: 0.9rem;
516-
color: #861F41;
528+
color: var(--vt-maroon);
517529
font-weight: 500;
518530
margin-bottom: 0.5rem; /* Increased further for better spacing between venue and links */
519531
}
@@ -618,14 +630,14 @@ section.co-advised-section {
618630
/* Publication number styling */
619631
.publication-number {
620632
font-weight: 700;
621-
color: #861F41;
633+
color: var(--vt-maroon);
622634
font-size: 1.1rem;
623635
}
624636

625637
/* Author styling */
626638
.moatlab-author {
627639
text-decoration: underline;
628-
color: #861F41;
640+
color: var(--vt-maroon);
629641
font-weight: 500;
630642
}
631643

@@ -786,7 +798,7 @@ section.co-advised-section {
786798
}
787799

788800
.person-name a:hover {
789-
color: #861F41;
801+
color: var(--vt-maroon);
790802
text-decoration: none;
791803
}
792804

@@ -830,7 +842,7 @@ section.co-advised-section {
830842
}
831843

832844
.person-links a:hover {
833-
color: #861F41;
845+
color: var(--vt-maroon);
834846
text-decoration: none;
835847
}
836848

@@ -926,7 +938,7 @@ section.co-advised-section {
926938
left: 0;
927939
width: 3px;
928940
height: 0;
929-
background: linear-gradient(180deg, #861F41, #E5751F);
941+
background: linear-gradient(180deg, var(--vt-maroon), var(--vt-orange));
930942
transition: height 0.3s ease;
931943
border-radius: 6px 0 0 6px;
932944
}
@@ -1135,7 +1147,7 @@ section.co-advised-section {
11351147
left: 0;
11361148
right: 0;
11371149
height: 3px;
1138-
background: linear-gradient(90deg, #861F41 0%, #E5751F 100%);
1150+
background: linear-gradient(90deg, var(--vt-maroon) 0%, var(--vt-orange) 100%);
11391151
}
11401152

11411153
.news-scroll {
@@ -1195,7 +1207,7 @@ section.co-advised-section {
11951207
}
11961208

11971209
.news-date {
1198-
color: #861F41;
1210+
color: var(--vt-maroon);
11991211
font-size: 0.8rem;
12001212
font-weight: 700;
12011213
min-width: 65px;
@@ -1265,11 +1277,11 @@ section.co-advised-section {
12651277
.hero-title {
12661278
font-size: 3.5rem;
12671279
font-weight: 800;
1268-
color: #1e293b;
1280+
color: var(--vt-gray-900);
12691281
margin: 0 0 0.5rem 0;
12701282
letter-spacing: -0.025em;
12711283
line-height: 1.1;
1272-
background: linear-gradient(135deg, #861F41 0%, #E5751F 50%, #861F41 100%);
1284+
background: linear-gradient(135deg, var(--vt-maroon) 0%, var(--vt-orange) 50%, var(--vt-maroon) 100%);
12731285
background-size: 200% 200%;
12741286
-webkit-background-clip: text;
12751287
-webkit-text-fill-color: transparent;
@@ -1280,7 +1292,7 @@ section.co-advised-section {
12801292
.hero-subtitle {
12811293
font-size: 1.4rem;
12821294
font-weight: 500;
1283-
color: #64748b;
1295+
color: var(--vt-gray-600);
12841296
margin: 0 0 2rem 0;
12851297
letter-spacing: 0.025em;
12861298
text-transform: uppercase;
@@ -1418,7 +1430,7 @@ section.co-advised-section {
14181430
background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
14191431
padding: 16px 20px;
14201432
border-radius: 12px;
1421-
border-left: 4px solid #861F41;
1433+
border-left: 4px solid var(--vt-maroon);
14221434
font-size: 0.95rem;
14231435
line-height: 1.4;
14241436
transition: all 0.3s ease;
@@ -1433,7 +1445,7 @@ section.co-advised-section {
14331445
}
14341446

14351447
.content h3 + ul li strong {
1436-
color: #861F41;
1448+
color: var(--vt-maroon);
14371449
font-weight: 700;
14381450
}
14391451

98.3 KB
Loading
93 KB
Loading

layouts/_default/baseof.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<title>{{ .Site.Title }}</title>
7-
<link rel="stylesheet" href="/css/themes/blue.min.css">
8-
<link href="/dist/wc.min.css" rel="stylesheet">
7+
{{ $styles := resources.Get "css/custom.css" | resources.Minify }}
8+
<link rel="stylesheet" href="{{ $styles.RelPermalink }}">
99
{{ partial "custom_head.html" . }}
1010
<style>
1111
body {
@@ -182,7 +182,7 @@
182182
}
183183

184184
.publication-title a:hover {
185-
color: #861F41;
185+
color: var(--vt-maroon);
186186
text-decoration: underline;
187187
}
188188

@@ -194,7 +194,7 @@
194194

195195
.moatlab-author {
196196
text-decoration: underline;
197-
color: #861F41;
197+
color: var(--vt-maroon);
198198
}
199199

200200
.pi-author {
@@ -209,7 +209,7 @@
209209

210210
.publication-venue {
211211
font-size: 0.9rem;
212-
color: #861F41;
212+
color: var(--vt-maroon);
213213
font-weight: 500;
214214
margin-bottom: 0.5rem;
215215
}
@@ -219,7 +219,7 @@
219219
}
220220

221221
.publication-links a {
222-
color: #861F41;
222+
color: var(--vt-maroon);
223223
text-decoration: none;
224224
margin-right: 1rem;
225225
}
@@ -378,7 +378,7 @@
378378
}
379379

380380
.person-name a:hover {
381-
color: #861F41 !important;
381+
color: var(--vt-maroon) !important;
382382
}
383383

384384
.person-title, .person-card p:nth-of-type(1) {
@@ -394,7 +394,7 @@
394394
.person-email {
395395
margin: 0 0 5px 0 !important;
396396
font-size: 0.85rem !important;
397-
color: #861F41 !important;
397+
color: var(--vt-maroon) !important;
398398
line-height: 1.4 !important;
399399
padding: 0 !important;
400400
}
@@ -414,7 +414,7 @@
414414
}
415415

416416
.person-links a {
417-
color: #861F41;
417+
color: var(--vt-maroon);
418418
text-decoration: none;
419419
font-size: 0.85rem;
420420
font-weight: 500;

layouts/project/list.html

Lines changed: 50 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ <h1>Research Projects</h1>
88
<div class="projects-grid">
99
{{ range $index, $page := .Pages }}
1010
<article class="project-card">
11+
{{ $featured := .Resources.GetMatch "featured.*" }}
12+
{{ if $featured }}
13+
<div class="project-image">
14+
<img src="{{ $featured.RelPermalink }}" alt="{{ .Title }}" loading="lazy">
15+
</div>
16+
{{ end }}
17+
1118
<div class="project-content">
1219
<h2 class="project-title">
1320
{{ .Title }}
@@ -66,17 +73,35 @@ <h2 class="project-title">
6673

6774
.project-card {
6875
background: white;
69-
border: 1px solid #e5e7eb;
70-
border-radius: 12px;
76+
border: 1px solid var(--vt-gray-200);
77+
border-radius: 16px;
7178
overflow: hidden;
72-
transition: all 0.3s ease;
73-
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
79+
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
80+
box-shadow: 0 4px 12px rgba(134, 31, 65, 0.08);
81+
cursor: pointer;
7482
}
7583

7684
.project-card:hover {
77-
transform: translateY(-4px);
78-
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
79-
border-color: #c7d2fe;
85+
transform: translateY(-8px);
86+
box-shadow: 0 20px 40px rgba(134, 31, 65, 0.15);
87+
border-color: var(--vt-maroon);
88+
}
89+
90+
.project-image {
91+
position: relative;
92+
height: 200px;
93+
overflow: hidden;
94+
}
95+
96+
.project-image img {
97+
width: 100%;
98+
height: 100%;
99+
object-fit: cover;
100+
transition: transform 0.3s ease;
101+
}
102+
103+
.project-card:hover .project-image img {
104+
transform: scale(1.05);
80105
}
81106

82107

@@ -91,17 +116,22 @@ <h2 class="project-title">
91116
margin: 0 0 0.75rem 0;
92117
line-height: 1.3;
93118
text-align: center;
94-
color: #1f2937;
119+
color: var(--vt-gray-900);
120+
transition: color 0.3s ease;
121+
}
122+
123+
.project-card:hover .project-title {
124+
color: var(--vt-maroon);
95125
}
96126

97127

98128
.project-summary {
99-
color: #6b7280;
100-
line-height: 1.5;
129+
color: var(--vt-gray-600);
130+
line-height: 1.6;
101131
margin: 0 0 1rem 0;
102132
font-size: 0.95rem;
103133
display: -webkit-box;
104-
-webkit-line-clamp: 2;
134+
-webkit-line-clamp: 3;
105135
-webkit-box-orient: vertical;
106136
overflow: hidden;
107137
}
@@ -112,15 +142,17 @@ <h2 class="project-title">
112142

113143
.tag {
114144
display: inline-block;
115-
background: #f3f4f6;
116-
color: #6b7280;
117-
padding: 0.125rem 0.5rem;
118-
border-radius: 8px;
119-
font-size: 0.65rem;
120-
font-weight: 500;
121-
margin-right: 0.25rem;
145+
background: linear-gradient(135deg, var(--vt-maroon), var(--vt-orange));
146+
color: white;
147+
padding: 0.25rem 0.75rem;
148+
border-radius: 12px;
149+
font-size: 0.7rem;
150+
font-weight: 600;
151+
margin-right: 0.375rem;
152+
margin-bottom: 0.25rem;
122153
text-transform: uppercase;
123154
letter-spacing: 0.025em;
155+
box-shadow: 0 2px 4px rgba(134, 31, 65, 0.2);
124156
}
125157

126158

0 commit comments

Comments
 (0)