Skip to content

Commit 206bab8

Browse files
Merge branch 'design' into develop
2 parents aee8322 + f0052ba commit 206bab8

7 files changed

Lines changed: 65 additions & 21 deletions

File tree

frontend/src/lib/assets/styles/app.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -344,9 +344,9 @@ button.primary:disabled {
344344
}
345345

346346
button.secondary {
347-
background-color: var(--surface-3);
348-
border-color: var(--surface-3);
349-
color: var(--text-2);
347+
background-color: var(--brand);
348+
border-color: var(--brand);
349+
color: var(--surface-1);
350350
}
351351

352352
button.secondary-inverse {

frontend/src/lib/components/InscriptionPagination.svelte

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,23 @@
5656
align-items: center;
5757
display: flex;
5858
gap: var(--size-2);
59-
height: 100%;
6059
justify-content: center;
6160
62-
:global(button) {
61+
:global(button),
62+
:global(a) {
6363
background: none;
6464
border: none;
6565
box-shadow: none;
6666
font-weight: inherit;
67-
height: 100%;
6867
text-shadow: none;
6968
69+
min-width: 44px;
70+
min-height: 44px;
71+
display: inline-flex;
72+
align-items: center;
73+
justify-content: center;
74+
border-radius: var(--radius-2);
75+
7076
&:hover {
7177
background: var(--surface-4);
7278
}

frontend/src/pages/technical-overview.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ The homepage was designed to immediately guide users into the dataset through a
127127

128128
Iterations focused on hierarchy and call-to-action clarity, establishing search as the primary entry point. The design balances accessibility for first-time users with the depth and flexibility required for more advanced academic research.
129129

130-
![User research synthesis board with workshop notes, feedback clustering, and prioritisation across multiple participants.](images/technical_overview/Untitled-1-04.jpg 'Remote Usability Testing')
130+
![User research synthesis board with workshop notes, feedback clustering, and prioritisation across multiple participants.](images/technical_overview/remoteworkshop.jpg 'Remote Usability Testing')
131131

132132
_Figure 7: Remote usability testing workshops._
133133

@@ -145,9 +145,11 @@ By integrating different layers of annotations in the same publication, the site
145145

146146
## Source Code
147147

148-
- [Palaeographic Annotation repository](https://github.com/kingsdigitallab/crossreads)
149-
- [Petrographic Analysis repository](https://github.com/kingsdigitallab/crossreads-petrography)
150-
- [Corpus Building repository](https://github.com/kingsdigitallab/corpus-building)
148+
<ul class="tap-target-links">
149+
<li><a href="https://github.com/kingsdigitallab/crossreads">Palaeographic Annotation repository</a></li>
150+
<li><a href="https://github.com/kingsdigitallab/crossreads-petrography">Petrographic Analysis repository</a></li>
151+
<li><a href="https://github.com/kingsdigitallab/corpus-building">Corpus Building repository</a></li>
152+
</ul>
151153

152154
## Acknowledgements
153155

frontend/src/routes/+page.svelte

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,17 +116,26 @@
116116
.discover-link {
117117
align-items: center;
118118
color: var(--text-1);
119-
display: flex;
119+
display: inline-flex;
120120
font-size: var(--font-size-2);
121121
font-weight: bold;
122-
gap: var(--size-2);
122+
gap: var(--size-4);
123123
text-decoration: none;
124+
125+
min-height: 44px;
126+
padding-block: var(--size-1);
124127
}
125128
126129
.arrow {
127130
border-radius: var(--radius);
128131
border: var(--border-size-1) solid var(--border-color);
129132
padding-inline: var(--size-2);
133+
134+
min-width: 44px;
135+
min-height: 44px;
136+
display: inline-flex;
137+
align-items: center;
138+
justify-content: center;
130139
}
131140
132141
.discover-link-text {

frontend/src/routes/[...slug]/+page.svelte

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,17 @@
4040
text-underline-offset: 2px;
4141
}
4242
43+
:global(.md .tap-target-links a) {
44+
display: inline-flex;
45+
align-items: center;
46+
min-height: 44px;
47+
padding-inline: var(--size-2);
48+
}
49+
50+
:global(.md .tap-target-links li) {
51+
margin-bottom: 4px;
52+
}
53+
4354
:global(.md a[href^='http']:not(.badge)):not(:has(img))::after {
4455
content: '';
4556
margin-left: 0.25em;

frontend/src/routes/museum/+page.svelte

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -279,10 +279,12 @@
279279
border-radius: var(--radius-2);
280280
padding: var(--size-3) var(--size-4);
281281
background: var(--surface-1);
282-
display: flex;
283-
flex-direction: column;
284-
justify-content: space-between;
285-
gap: var(--size-2);
282+
283+
display: grid;
284+
grid-template-rows: minmax(2.6em, auto) auto minmax(3.2em, auto);
285+
row-gap: var(--size-2);
286+
align-content: start;
287+
286288
min-height: 200px;
287289
}
288290
@@ -292,6 +294,13 @@
292294
font-weight: 600;
293295
line-height: 1.3;
294296
word-break: break-word;
297+
298+
display: -webkit-box;
299+
-webkit-line-clamp: 2;
300+
-webkit-box-orient: vertical;
301+
overflow: hidden;
302+
303+
min-height: 2.8em;
295304
}
296305
.title:hover,
297306
.title:focus {
@@ -300,18 +309,25 @@
300309
301310
.meta-line {
302311
display: flex;
303-
flex-wrap: wrap;
312+
flex-direction: column;
313+
align-items: flex-start;
304314
gap: var(--size-2);
305-
align-items: center;
315+
align-items: left;
306316
font-size: var(--font-size-1);
317+
margin-top: var(--size-2);
307318
}
308319
309320
.description {
310-
font-size: var(--font-size-1);
311-
color: var(--text-2);
321+
margin-top: var(--size-6);
322+
font-size: 0.9rem;
323+
font-weight: 300;
324+
color: color-mix(in oklab, var(--text-1) 75%, transparent);
312325
line-height: 1.4;
326+
height: calc(1.4em * 2);
327+
max-height: calc(1.4em * 2);
328+
313329
display: -webkit-box;
314-
-webkit-line-clamp: 3;
330+
-webkit-line-clamp: 2;
315331
-webkit-box-orient: vertical;
316332
overflow: hidden;
317333
}

frontend/static/images/technical_overview/Untitled-1-04.jpg renamed to frontend/static/images/technical_overview/remoteworkshop.jpg

File renamed without changes.

0 commit comments

Comments
 (0)