Header Integration
This commit is contained in:
parent
59da4a7cc5
commit
a37d322994
13 changed files with 80 additions and 3 deletions
54
frontend/header/css/nav.css
Normal file
54
frontend/header/css/nav.css
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
.nav {
|
||||
align-items: center;
|
||||
color: inherit;
|
||||
display: flex;
|
||||
flex: 1;
|
||||
gap: 15px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
color: inherit;
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.nav-link-account {
|
||||
background-color: #0d6efd;
|
||||
border-radius: 5px;
|
||||
margin-left: auto;
|
||||
padding: 5px 10px;
|
||||
}
|
||||
|
||||
.news-ticker {
|
||||
color: #00FF41;
|
||||
display: none;
|
||||
flex: 1;
|
||||
margin-left: auto;
|
||||
max-width: 480px;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.news-ticker-content {
|
||||
animation: news-ticker-animation 10s linear infinite;
|
||||
animation-play-state: paused;
|
||||
display: inline-block;
|
||||
padding-left: 100%;
|
||||
}
|
||||
|
||||
@keyframes news-ticker-animation {
|
||||
from {
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
||||
/* Finish the animation early to create a delay between announcements */
|
||||
90% {
|
||||
transform: translateX(-100%);
|
||||
}
|
||||
|
||||
to {
|
||||
transform: translateX(-100%);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue