Skip to content

Commit f9b0ce5

Browse files
committed
Align menu anchors and update group intro
Replace the global 90px scroll padding, which left part of the previous section visible, with one scroll margin shared by the menu anchors (Publications, Papers, Projects and Team) so each section heading lands near the top of the window. Mention Data Management and the scientific domains the group works with in the intro text, and update the group photo.
1 parent 8c926ff commit f9b0ce5

3 files changed

Lines changed: 11 additions & 9 deletions

File tree

‎web/app/globals.css‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@
1212
}
1313
html {
1414
scroll-behavior: smooth;
15-
scroll-padding-top: 90px;
15+
}
16+
/* Menu anchors land with the section heading near the top of the window. */
17+
#novidades,
18+
#artigos,
19+
#projetos,
20+
#pessoas {
21+
scroll-margin-top: -10px;
1622
}
1723
body {
1824
margin: 0;
@@ -330,9 +336,6 @@ footer {
330336
}
331337
}
332338
@media (max-width: 700px) {
333-
html {
334-
scroll-padding-top: 20px;
335-
}
336339
.site-header {
337340
padding: 10px 22px;
338341
gap: 16px;
@@ -1357,7 +1360,6 @@ footer {
13571360
.people-section {
13581361
padding: 64px 0;
13591362
border-top: 1px solid var(--line, #d7e0e9);
1360-
scroll-margin-top: 24px;
13611363
}
13621364
.people-lead {
13631365
display: flex;
@@ -1507,7 +1509,6 @@ footer {
15071509
.papers-section {
15081510
padding: 48px 40px 56px;
15091511
border-top: 1px solid var(--line);
1510-
scroll-margin-top: 24px;
15111512
}
15121513
.papers-year {
15131514
font: inherit;

‎web/app/page.js‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,10 @@ export default async function Home() {
4040
of Computing at Universidade Federal Fluminense (UFF).
4141
</p>
4242
<p>
43-
Our group is dedicated to advancing research in Data Science, Machine Learning, and
44-
their applications to social good and healthcare. Here you will find information about
45-
our team, ongoing projects, and scientific publications.
43+
Our group is dedicated to advancing research in Data Science, Data Management, Machine
44+
Learning, and their applications in multiple domains of Science (Bioinformatics,
45+
Astronomy, etc). Here you will find information about our team, ongoing projects, and
46+
scientific publications.
4647
</p>
4748
<div className="intro-actions">
4849
<a className="primary-button" href="#projetos">

‎web/public/group.jpeg‎

2.83 KB
Loading

0 commit comments

Comments
 (0)