-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
307 lines (280 loc) · 9.04 KB
/
Copy pathindex.html
File metadata and controls
307 lines (280 loc) · 9.04 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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Prototype Patterns | St Andrews Digital</title>
<link
href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap"
rel="stylesheet"
/>
<style>
:root {
/* Material Design 3 / Modern UI Colors */
--md-sys-color-background: #f4f5f8;
--md-sys-color-surface: #ffffff;
--md-sys-color-on-surface: #1c1b1f;
--md-sys-color-on-surface-variant: #44474e;
--md-sys-color-primary: #0b57d0;
--md-sys-color-primary-container: #d3e3fd;
--md-sys-color-on-primary-container: #041e49;
--md-sys-elevation-1: 0px 2px 8px rgba(0, 0, 0, 0.05);
--md-sys-elevation-2: 0px 4px 16px rgba(0, 0, 0, 0.08);
}
body {
font-family: "Roboto", sans-serif;
background-color: var(--md-sys-color-background);
color: var(--md-sys-color-on-surface);
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;
}
header {
background-color: var(--md-sys-color-surface);
width: 100%;
padding: 60px 20px;
box-sizing: border-box;
border-bottom: 1px solid rgba(0, 0, 0, 0.08);
text-align: center;
}
.header-content {
max-width: 800px;
margin: 0 auto;
}
.eyebrow {
color: var(--md-sys-color-primary);
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.05em;
font-size: 13px;
margin-bottom: 12px;
display: block;
}
h1 {
margin: 0 0 16px 0;
font-size: 40px;
font-weight: 700;
letter-spacing: -0.02em;
}
.subtitle {
color: var(--md-sys-color-on-surface-variant);
font-size: 18px;
line-height: 1.5;
margin: 0;
}
main {
padding: 60px 20px;
max-width: 1000px;
width: 100%;
box-sizing: border-box;
}
.section-title {
font-size: 20px;
font-weight: 700;
margin-bottom: 24px;
color: var(--md-sys-color-on-surface);
}
.grid-container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 24px;
}
/* Pattern Card Styling */
.card {
background-color: var(--md-sys-color-surface);
border-radius: 16px;
padding: 24px;
text-decoration: none;
color: inherit;
display: flex;
flex-direction: column;
box-shadow: var(--md-sys-elevation-1);
transition:
transform 0.2s cubic-bezier(0.2, 0, 0, 1),
box-shadow 0.2s cubic-bezier(0.2, 0, 0, 1);
position: relative;
border: 1px solid transparent;
}
.card:hover,
.card:focus-visible {
transform: translateY(-4px);
box-shadow: var(--md-sys-elevation-2);
border-color: var(--md-sys-color-primary-container);
outline: none;
}
.card:active {
transform: scale(0.98);
}
.card-icon {
width: 48px;
height: 48px;
background-color: var(--md-sys-color-primary-container);
color: var(--md-sys-color-primary);
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 20px;
}
.card-icon svg {
width: 24px;
height: 24px;
fill: currentColor;
}
.card h2 {
margin: 0 0 8px 0;
font-size: 20px;
font-weight: 700;
}
.card p {
margin: 0 0 24px 0;
color: var(--md-sys-color-on-surface-variant);
font-size: 15px;
line-height: 1.5;
flex-grow: 1;
}
.card-footer {
display: flex;
align-items: center;
color: var(--md-sys-color-primary);
font-weight: 500;
font-size: 14px;
}
.card-footer svg {
width: 18px;
height: 18px;
fill: currentColor;
margin-left: 4px;
transition: transform 0.2s ease;
}
.card:hover .card-footer svg,
.card:focus-visible .card-footer svg {
transform: translateX(4px);
}
</style>
</head>
<body>
<header>
<div class="header-content">
<span class="eyebrow">St Andrews Digital</span>
<h1>Prototype Patterns</h1>
<p class="subtitle">
A living repository of UI components, interface explorations, and
interactive design patterns.
</p>
</div>
</header>
<main>
<h2 class="section-title">Available Patterns</h2>
<div class="grid-container">
<a href="course-page/index.html" class="card">
<div class="card-icon">
<svg viewBox="0 0 24 24">
<path d="M12 3L1 9l4 2.18v6L12 21l7-3.82v-6l2-1.09V17h2V9L12 3zm6.82 6L12 12.72 5.18 9 12 5.28 18.82 9zM17 15.99l-5 2.73-5-2.73v-3.72L12 15l5-2.73v3.72z"/>
</svg>
</div>
<h2>Course Page UI</h2>
<p>
A modern, two-column course information layout featuring bento-box data visualization, sticky navigation, and a stepwise application modal.
</p>
<div class="card-footer">
View Prototype
<svg viewBox="0 0 24 24">
<path d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"/>
</svg>
</div>
</a>
<a href="featured-courses.html" class="card">
<div class="card-icon">
<svg viewBox="0 0 24 24">
<path
d="M4 4h4v4H4V4zm6 0h4v4h-4V4zm6 0h4v4h-4V4zM4 10h4v4H4v-4zm6 0h4v4h-4v-4zm6 0h4v4h-4v-4zM4 16h4v4H4v-4zm6 0h4v4h-4v-4zm6 0h4v4h-4v-4z"
/>
</svg>
</div>
<h2>Featured Courses Grid</h2>
<p>
A modern bento-box layout for academic courses featuring rich
photography, hover states, and delivery mode tags.
</p>
<div class="card-footer">
View Prototype
<svg viewBox="0 0 24 24">
<path
d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"
/>
</svg>
</div>
</a>
<a href="blockquotes.html" class="card">
<div class="card-icon">
<svg viewBox="0 0 24 24">
<path d="M6 17h3l2-4V7H5v6h3zm8 0h3l2-4V7h-6v6h3z" />
</svg>
</div>
<h2>Blockquotes & Testimonials</h2>
<p>
Typographic explorations and container patterns for emphasizing pull
quotes and student testimonials.
</p>
<div class="card-footer">
View Prototype
<svg viewBox="0 0 24 24">
<path
d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"
/>
</svg>
</div>
</a>
<a href="news-cards.html" class="card">
<div class="card-icon">
<svg viewBox="0 0 24 24">
<path
d="M20 3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 14H7v-2h8v2zm3-4H7v-2h11v2zm0-4H7V7h11v2z"
/>
</svg>
</div>
<h2>Prestige News Cards</h2>
<p>
A responsive hierarchy of large, medium, and small news tiles
featuring unified styling, hover elevations, and interactive
taxonomy tags.
</p>
<div class="card-footer">
View Prototype
<svg viewBox="0 0 24 24">
<path
d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"
/>
</svg>
</div>
</a>
<a href="hero-banner-with-video.html" class="card">
<div class="card-icon">
<svg viewBox="0 0 24 24">
<path
d="M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h18v14zm-10-7l4-3-4-3v6z"
/>
</svg>
</div>
<h2>Hero Banner with Video</h2>
<p>
A responsive hero banner featuring an autoplaying, looping background
video with accessibility controls and solid text overlays.
</p>
<div class="card-footer">
View Prototype
<svg viewBox="0 0 24 24">
<path
d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"
/>
</svg>
</div>
</a>
</div>
</main>
</body>
</html>