Skip to content

Commit

Permalink
Fixed title changing when scrolling. Now stays fixed on 'ACCESS-Hive'
Browse files Browse the repository at this point in the history
  • Loading branch information
atteggiani committed Jul 20, 2023
1 parent b86318a commit 9ed643f
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion docs/css/access-nri.css
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,26 @@ h3 {
margin: 1.3em 0 0.4em !important;
}


/* ===============================================================
Keep ACCESS-Hive title as it is, without changing when scrolling
*/
.md-header__title--active .md-header__topic {
opacity: 1;
transform: none;
z-index: 0;
pointer-events: auto;
transition: none;
}

.md-header__title--active .md-header__topic+.md-header__topic {
opacity: 0;
z-index: -1;
}


/* ===============================================================
Introductory paragraph
Introductory paragraph
*/
.introduction {
font-size: 1.2em;
Expand Down

0 comments on commit 9ed643f

Please sign in to comment.