Skip to content

Commit d14f3ed

Browse files
authored
Merge pull request #22 from CompOnco/footerfix
Footerfix
2 parents 6c8b07f + 538bff2 commit d14f3ed

File tree

4 files changed

+107
-13
lines changed

4 files changed

+107
-13
lines changed

.DS_Store

0 Bytes
Binary file not shown.

Projects/GDI.qmd

+36-1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ body {
3232
color: var(--text-primary);
3333
margin: 0;
3434
padding: 0;
35+
3536
}
3637
3738
/* Hero section */
@@ -83,6 +84,9 @@ body {
8384
box-shadow: var(--shadow);
8485
padding: 2rem;
8586
margin-bottom: 2rem;
87+
width: auto;
88+
max-width: 100%;
89+
box-sizing: border-box;
8690
}
8791
8892
.content-section h2 {
@@ -96,12 +100,43 @@ body {
96100
color: var(--text-secondary);
97101
line-height: 1.7;
98102
margin-bottom: 1.5rem;
103+
text-align: left;
104+
width: 100%;
105+
word-wrap: break-word;
106+
overflow-wrap: break-word;
107+
99108
}
100109
101110
.content-section p:last-child {
102111
margin-bottom: 0;
103112
}
104113
114+
.genomic-text-section p {
115+
color: var(--text-secondary);
116+
line-height: 1.7;
117+
margin-bottom: 1.5rem;
118+
text-align: justify;
119+
hyphens: auto;
120+
-webkit-hyphens: auto;
121+
-ms-hyphens: auto;
122+
word-wrap: break-word;
123+
overflow-wrap: break-word;
124+
text-justify: inter-word;
125+
}
126+
127+
/* Mobile adjustments for the genomic text */
128+
@media (max-width: 768px) {
129+
.genomic-text-section p {
130+
text-align: left;
131+
hyphens: none;
132+
-webkit-hyphens: none;
133+
-ms-hyphens: none;
134+
}
135+
136+
.genomic-text-section {
137+
padding: 1.5rem;
138+
}
139+
}
105140
/* Intro statement */
106141
.intro-statement {
107142
background: var(--card-bg);
@@ -308,7 +343,7 @@ a:hover {
308343
```
309344

310345
```{=html}
311-
<div class="content-section">
346+
<div class="content-section genomic-text-section">
312347
<p>In Ireland, <a href="https://www.hrb.ie/news/news-story/article/hrb-supports-genomic-data-infrastructure-gdi-in-ireland/">the programme is jointly funded by the European Commission and the Health Research Board</a>. The overall programme is designed to support the European 1+ Million Genomes (1+MG) Initiative.</p>
313348
314349
<p>Specifically, GDI will drive the development, deployment, and operation of sustainable data-access infrastructures within each participating country, including the legal frameworks, operational procedures, and ethics principles required to foster and maintain citizens' trust in cross-border access to highly sensitive personal data.</p>

Projects/eHealthHub.qmd

+66-7
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,10 @@ h1.title {
133133
background-color: var(--card-bg);
134134
border-radius: var(--radius);
135135
box-shadow: var(--shadow);
136+
display: flex;
137+
flex-direction: column;
138+
align-items: center;
139+
justify-content: center;
136140
}
137141
138142
.logo {
@@ -161,7 +165,7 @@ h1.title {
161165
align-items: center;
162166
justify-content: center;
163167
padding: 0.8rem 1.5rem;
164-
border-radius: 50px; /* Fully rounded button */
168+
border-radius: 50px;
165169
background-color: var(--secondary-color);
166170
color: white !important;
167171
text-decoration: none;
@@ -188,6 +192,9 @@ h1.title {
188192
border-radius: var(--radius);
189193
box-shadow: var(--shadow);
190194
transition: var(--transition);
195+
display: flex;
196+
flex-direction: column;
197+
align-items: center;
191198
}
192199
193200
.funding-wrapper:hover {
@@ -221,9 +228,23 @@ h1.title {
221228
}
222229
223230
/* Responsive adjustments */
224-
@media (min-width: 768px) {
231+
@media (max-width: 767px) {
225232
.social-links {
226-
justify-content: center;
233+
flex-direction: column;
234+
align-items: center;
235+
gap: 1rem;
236+
margin: 4rem auto;
237+
max-width: 90%;
238+
}
239+
240+
.social-button {
241+
width: 80%;
242+
243+
}
244+
245+
/* Add some space between button rows */
246+
.social-links a:nth-child(odd) {
247+
margin-bottom: 0.5rem;
227248
}
228249
}
229250
@@ -240,17 +261,58 @@ h1.title {
240261
min-width: 130px;
241262
padding: 0.7rem 1.2rem;
242263
}
264+
265+
/* Mobile-specific adjustments */
266+
.social-links {
267+
flex-direction: column;
268+
align-items: center;
269+
gap: 1rem;
270+
}
271+
272+
.social-button {
273+
width: 100%;
274+
max-width: 220px;
275+
}
276+
277+
/* eHealth Hub logo */
278+
.logo-wrapper .logo {
279+
max-width: 120px;
280+
margin-bottom: 0.5rem;
281+
}
282+
283+
/* NSRP logo */
284+
.funding-logo {
285+
max-width: 250px;
286+
margin-left: auto;
287+
margin-right: auto;
288+
}
289+
290+
/* Logo wrapper */
291+
.logo-wrapper {
292+
padding: 1rem 0.5rem;
293+
margin: 2rem 0;
294+
}
295+
296+
/* Funding wrapper */
297+
.funding-wrapper {
298+
padding: 1.5rem 0.5rem;
299+
}
243300
}
244301
</style>
245302
```
246303

304+
```{=html}
305+
<div style="text-align: center; margin: 1rem 0 2rem 0;">
306+
<img src="../contents/logo/eHealthHub_logo.png" style="max-width: 150px; height: auto;">
307+
</div>
308+
247309
## About the eHealth Hub {.section-title}
248310
249311
```{=html}
250312
<div class="about-section">
251313
<p>We lead the all-island eHealth Hub for Cancer, an all-island partnership on the island of Ireland that is building software and data platforms using best practice open science international health data standards to unlock and share health data, to grow clinical cancer research and improve cancer care.</p>
252314
</div>
253-
```
315+
254316
255317
::: {.content-section}
256318
## Our Mission
@@ -266,9 +328,6 @@ Our work focuses on:
266328
- Supporting evidence-based improvements in cancer care
267329
:::
268330
269-
::: {.logo-wrapper}
270-
![](../contents/logo/eHealthHub_logo.png){.logo}
271-
:::
272331
273332
::: {.content-section}
274333
## Connecting Communities

_quarto.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,11 @@ website:
8383
left:
8484
- text: "© 2023 Culhane Lab | University of Limerick"
8585
center: |
86-
![](contents/logo/LDCRC_Logo_fixed.jpg "Limerick Digital Cancer Research Center"){height="40"}
87-
![](contents/logo/bioconductor_logo_cmyk.png "Bioconductor"){height="40"}
88-
![](contents/logo/eHealthHub_logo.png "eHealthHub For Cancer"){height="40"}
89-
![](contents/logo/Elixir_logo-3927606181.png "ELIXIR"){height="40"}
90-
![](contents/logo/OHDSI.jpeg "OHDSI Real World Data"){height="40"}
86+
![](/contents/logo/LDCRC_Logo_fixed.jpg "Limerick Digital Cancer Research Center"){height="40"}
87+
![](/contents/logo/bioconductor_logo_cmyk.png "Bioconductor"){height="40"}
88+
![](/contents/logo/eHealthHub_logo.png "eHealthHub For Cancer"){height="40"}
89+
![](/contents/logo/Elixir_logo-3927606181.png "ELIXIR"){height="40"}
90+
![](/contents/logo/OHDSI.jpeg "OHDSI Real World Data"){height="40"}
9191
right: |
9292
[Privacy Policy](#) | [Terms of Use](#)
9393

0 commit comments

Comments
 (0)