Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
chinacomx committed Jun 5, 2024
1 parent 3040cf7 commit 7c701d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion _includes/header.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<header id="header" class="navbar navbar-expand-lg fixed-top navbar-light">
<header id="header" class="navbar navbar-expand-lg fixed-top navbar-light" data-aos="slide-down" data-aos-anchor-placement="top-bottom">
<a title="ChinaComX Logo" class="navbar-brand" href="/">
<svg class="brand-logo">
<title>ChinaComX, beyond the silk road</title>
Expand Down
6 changes: 2 additions & 4 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,12 @@ header {
left: 0;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
z-index: 1000;
display: none; /* Hide initially */
opacity: 0; /* Initially hidden */
transition: top 0.3s, opacity 0.3s; /* Smooth transition */
}

header.show {
display: block;
opacity: 1;
opacity: 1; /* Show when scrolled */
}

header.navbar .navbar-brand svg {
Expand Down Expand Up @@ -80,7 +79,6 @@ header.navbar .navbar-nav .active > .nav-link {
line-height: 1.6;
}


.splash {
background: url('/assets/images/hero.jpg') no-repeat center center/cover;
color: #fff;
Expand Down

0 comments on commit 7c701d0

Please sign in to comment.